Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
C
chinafrica
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zhengfg
chinafrica
Commits
dce4e164
提交
dce4e164
authored
9月 16, 2020
作者:
吴德鹏
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化英文版商品管理
上级
7a64aac4
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
394 行增加
和
384 行删除
+394
-384
tbcfstationitemEn.html
...n/src/main/webapp/WEB-INF/page/sys/tbcfstationitemEn.html
+377
-370
common.js
platform-admin/src/main/webapp/js/common.js
+2
-2
tbcfhomepage.js
platform-admin/src/main/webapp/js/sys/tbcfhomepage.js
+5
-2
tbcfstationitemEn.js
platform-admin/src/main/webapp/js/sys/tbcfstationitemEn.js
+10
-10
没有找到文件。
platform-admin/src/main/webapp/WEB-INF/page/sys/tbcfstationitemEn.html
浏览文件 @
dce4e164
差异被折叠。
点击展开。
platform-admin/src/main/webapp/js/common.js
浏览文件 @
dce4e164
...
@@ -816,9 +816,9 @@ itemStatusFormat = function (cellvalue) {
...
@@ -816,9 +816,9 @@ itemStatusFormat = function (cellvalue) {
itemStatusFormatEn
=
function
(
cellvalue
)
{
itemStatusFormatEn
=
function
(
cellvalue
)
{
var
returnStr
;
var
returnStr
;
if
(
cellvalue
==
'1'
)
{
if
(
cellvalue
==
'1'
)
{
returnStr
=
"<i-button class=
\"
ivu-btn ivu-btn-info
\"
style='border-radius:25px;' type=
\"
info
\"
>on
line sale
</i-button>"
;
returnStr
=
"<i-button class=
\"
ivu-btn ivu-btn-info
\"
style='border-radius:25px;' type=
\"
info
\"
>on
shelf
</i-button>"
;
}
else
if
(
cellvalue
==
'2'
)
{
}
else
if
(
cellvalue
==
'2'
)
{
returnStr
=
"<i-button class=
\"
ivu-btn ivu-btn-warning
\"
style='border-radius:25px;' type=
\"
warning
\"
>
has been removed
</i-button>"
;
returnStr
=
"<i-button class=
\"
ivu-btn ivu-btn-warning
\"
style='border-radius:25px;' type=
\"
warning
\"
>
off shelf
</i-button>"
;
}
else
if
(
cellvalue
==
'0'
)
{
}
else
if
(
cellvalue
==
'0'
)
{
returnStr
=
"<i-button class=
\"
ivu-btn ivu-btn-error
\"
style='border-radius:25px;' type=
\"
error
\"
>deleted</i-button>"
;
returnStr
=
"<i-button class=
\"
ivu-btn ivu-btn-error
\"
style='border-radius:25px;' type=
\"
error
\"
>deleted</i-button>"
;
}
}
...
...
platform-admin/src/main/webapp/js/sys/tbcfhomepage.js
浏览文件 @
dce4e164
...
@@ -309,8 +309,11 @@ let vm = new Vue({
...
@@ -309,8 +309,11 @@ let vm = new Vue({
}
}
}
else
if
(
vm
.
typeActive
===
2
)
{
}
else
if
(
vm
.
typeActive
===
2
)
{
setTimeout
(()
=>
{
setTimeout
(()
=>
{
vm
.
handleSearch
(
vm
.
tbCfHomePage
.
linkUrl
);
let
itemId
=
vm
.
tbCfHomePage
.
linkUrl
},
500
)
vm
.
handleSearch
(
itemId
);
console
.
log
(
'itemId'
,
itemId
)
$
(
"#searchjqGrid"
).
jqGrid
(
'setSelection'
,
itemId
);
},
200
)
}
else
if
(
vm
.
typeActive
===
3
)
{
}
else
if
(
vm
.
typeActive
===
3
)
{
vm
.
tagListsActive
=
vm
.
tbCfHomePage
.
linkUrl
;
vm
.
tagListsActive
=
vm
.
tbCfHomePage
.
linkUrl
;
}
}
...
...
platform-admin/src/main/webapp/js/sys/tbcfstationitemEn.js
浏览文件 @
dce4e164
...
@@ -3,27 +3,27 @@ $(function () {
...
@@ -3,27 +3,27 @@ $(function () {
url
:
'../tbcfstationitem/list'
,
url
:
'../tbcfstationitem/list'
,
colModel
:
[
colModel
:
[
{
label
:
'itemId'
,
name
:
'itemId'
,
index
:
'item_id'
,
key
:
true
,
hidden
:
true
},
{
label
:
'itemId'
,
name
:
'itemId'
,
index
:
'item_id'
,
key
:
true
,
hidden
:
true
},
{
label
:
'
product p
icture'
,
name
:
'itemImg'
,
index
:
'item_img'
,
width
:
80
,
formatter
:
imageFormat
},
{
label
:
'
P
icture'
,
name
:
'itemImg'
,
index
:
'item_img'
,
width
:
80
,
formatter
:
imageFormat
},
{
label
:
'
product number
'
,
name
:
'itemCode'
,
index
:
'item_code'
,
width
:
80
},
{
label
:
'
Item No
'
,
name
:
'itemCode'
,
index
:
'item_code'
,
width
:
80
},
{
label
:
'
product n
ame'
,
name
:
'itemName'
,
index
:
'item_name'
,
width
:
120
},
{
label
:
'
Product N
ame'
,
name
:
'itemName'
,
index
:
'item_name'
,
width
:
120
},
/* {label: '商品标题', name: 'itemBrief', index: 'item_brief', width: 120},*/
/* {label: '商品标题', name: 'itemBrief', index: 'item_brief', width: 120},*/
/*{label: '商品链接', name: 'itemUrl', index: 'item_url', width: 80,formatter:linkFormat},*/
/*{label: '商品链接', name: 'itemUrl', index: 'item_url', width: 80,formatter:linkFormat},*/
// {label: '商品原价', name: 'itemPrice', index: 'item_price', width: 45},
// {label: '商品原价', name: 'itemPrice', index: 'item_price', width: 45},
// {label: '商品现价', name: 'discountPrice', index: 'discount_price', width: 45},
// {label: '商品现价', name: 'discountPrice', index: 'discount_price', width: 45},
{
label
:
'
s
tock'
,
name
:
'itemCount'
,
index
:
'item_count'
,
width
:
45
},
{
label
:
'
S
tock'
,
name
:
'itemCount'
,
index
:
'item_count'
,
width
:
45
},
// {label: '点击量', name: 'itemNum', index: 'item_num', width: 45},
// {label: '点击量', name: 'itemNum', index: 'item_num', width: 45},
/*{label: '所属平台', name: 'platformCode', index: 'platform_code', width: 80},
/*{label: '所属平台', name: 'platformCode', index: 'platform_code', width: 80},
{label: '平台名', name: 'platformName', index: 'platform_name', width: 80},*/
{label: '平台名', name: 'platformName', index: 'platform_name', width: 80},*/
// {label: '供应商', name: 'supplier', index: 'supplier', width: 80},
// {label: '供应商', name: 'supplier', index: 'supplier', width: 80},
{
label
:
'置顶'
,
name
:
'itemTop'
,
index
:
'item_top'
,
width
:
80
,
hidden
:
true
},
{
label
:
'置顶'
,
name
:
'itemTop'
,
index
:
'item_top'
,
width
:
80
,
hidden
:
true
},
{
label
:
'
commodity classification
'
,
name
:
'goodtype'
,
index
:
'goodtype'
,
width
:
110
},
{
label
:
'
Top Category
'
,
name
:
'goodtype'
,
index
:
'goodtype'
,
width
:
110
},
{
label
:
'
commodity secondary classification
'
,
name
:
'title'
,
index
:
'title'
,
width
:
155
},
{
label
:
'
Secondary Category
'
,
name
:
'title'
,
index
:
'title'
,
width
:
155
},
{
label
:
'
commodity three-level classification
'
,
name
:
'dname'
,
index
:
'itemDescritionId'
,
width
:
155
},
{
label
:
'
Tertiary Category
'
,
name
:
'dname'
,
index
:
'itemDescritionId'
,
width
:
155
},
{
label
:
'
s
tatus'
,
name
:
'enableFlag'
,
index
:
'enable_flag'
,
width
:
70
,
formatter
:
itemStatusFormatEn
},
{
label
:
'
S
tatus'
,
name
:
'enableFlag'
,
index
:
'enable_flag'
,
width
:
70
,
formatter
:
itemStatusFormatEn
},
{
label
:
'
creation dat
e'
,
name
:
'createTime'
,
index
:
'create_time'
,
width
:
80
},
{
label
:
'
Creation Tim
e'
,
name
:
'createTime'
,
index
:
'create_time'
,
width
:
80
},
// {label: 'creator', name: 'uname', index: 'uname', width: 80},
// {label: 'creator', name: 'uname', index: 'uname', width: 80},
{
{
label
:
'
operate
'
,
index
:
'operate'
,
width
:
120
,
formatter
:
function
(
value
,
grid
,
rows
)
{
label
:
'
Operation
'
,
index
:
'operate'
,
width
:
120
,
formatter
:
function
(
value
,
grid
,
rows
)
{
if
(
rows
.
itemTop
===
1
)
{
if
(
rows
.
itemTop
===
1
)
{
return
'<span class="label label-primary pointer" onclick="vm.itemUpward(
\'
'
+
rows
.
itemId
+
'
\'
)" ">up</span> '
+
return
'<span class="label label-primary pointer" onclick="vm.itemUpward(
\'
'
+
rows
.
itemId
+
'
\'
)" ">up</span> '
+
'<span class="label label-success pointer" onclick="vm.itemDownward(
\'
'
+
rows
.
itemId
+
'
\'
)" ">down</span>  '
+
'<span class="label label-success pointer" onclick="vm.itemDownward(
\'
'
+
rows
.
itemId
+
'
\'
)" ">down</span>  '
+
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论