Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
C
chinafrica
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zhengfg
chinafrica
Commits
7a64aac4
提交
7a64aac4
authored
9月 15, 2020
作者:
吴德鹏
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
英文版商品管理
上级
e27a56a5
显示空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
18 行增加
和
13 行删除
+18
-13
TbCfStationItemController.java
...va/com/platform/controller/TbCfStationItemController.java
+2
-1
tbcfstationitemEn.html
...n/src/main/webapp/WEB-INF/page/sys/tbcfstationitemEn.html
+9
-9
tbcfstationitemEn.js
platform-admin/src/main/webapp/js/sys/tbcfstationitemEn.js
+1
-1
Constant.java
...orm-common/src/main/java/com/platform/utils/Constant.java
+6
-2
没有找到文件。
platform-admin/src/main/java/com/platform/controller/TbCfStationItemController.java
浏览文件 @
7a64aac4
...
@@ -66,7 +66,8 @@ public class TbCfStationItemController extends ApiBaseAction {
...
@@ -66,7 +66,8 @@ public class TbCfStationItemController extends ApiBaseAction {
public
R
list
(
@RequestParam
Map
<
String
,
Object
>
params
)
{
public
R
list
(
@RequestParam
Map
<
String
,
Object
>
params
)
{
if
(!
Constant
.
SUPER_ADMIN
.
equals
(
ShiroUtils
.
getUserId
())
&&
if
(!
Constant
.
SUPER_ADMIN
.
equals
(
ShiroUtils
.
getUserId
())
&&
!
Constant
.
SUPER_ITEM
.
equals
(
ShiroUtils
.
getUserId
())
&&
!
Constant
.
SUPER_ITEM
.
equals
(
ShiroUtils
.
getUserId
())
&&
!
Constant
.
SUPER_USER
.
equals
(
ShiroUtils
.
getUserId
()))
{
!
Constant
.
SUPER_USER
.
equals
(
ShiroUtils
.
getUserId
())
&&
!
Constant
.
SUPER_AFRISHOP_USER
.
equals
(
ShiroUtils
.
getUserId
()))
{
params
.
put
(
"creator"
,
ShiroUtils
.
getUserId
());
params
.
put
(
"creator"
,
ShiroUtils
.
getUserId
());
}
}
//查询列表数据
//查询列表数据
...
...
platform-admin/src/main/webapp/WEB-INF/page/sys/tbcfstationitemEn.html
浏览文件 @
7a64aac4
...
@@ -612,7 +612,7 @@
...
@@ -612,7 +612,7 @@
<i-input
v-model=
"tbCfStationItem.itemTags"
placeholder=
"search for the keyword"
/>
<i-input
v-model=
"tbCfStationItem.itemTags"
placeholder=
"search for the keyword"
/>
</Form-item>
</Form-item>
<div
class=
"item-tag-container pp-flex-start"
>
<div
class=
"item-tag-container pp-flex-start"
>
<span>
tag
</span>
<span>
tag
s
</span>
<div
class=
"tag-preview"
>
<div
class=
"tag-preview"
>
<transition-group
tag=
"div"
name=
"slide"
>
<transition-group
tag=
"div"
name=
"slide"
>
<div
class=
"pp-tag"
v-for=
"(element,index) in isSelectedArr"
:key=
"index"
>
<div
class=
"pp-tag"
v-for=
"(element,index) in isSelectedArr"
:key=
"index"
>
...
@@ -686,9 +686,9 @@
...
@@ -686,9 +686,9 @@
</div>
</div>
</div>
</div>
</Form-item>
</Form-item>
<Form-item
label=
"commodity link"
prop=
"itemUrl"
style=
"width: 800px"
>
<!-- <Form-item label="commodity link" prop="itemUrl" style="width: 800px">--
>
<i-input
v-model=
"tbCfStationItem.itemUrl"
placeholder=
"commodity link"
/
>
<!-- <i-input v-model="tbCfStationItem.itemUrl" placeholder="commodity link"/>--
>
</Form-item
>
<!-- </Form-item>--
>
<!-- <Form-item label="供应商" prop="supplier" style="width: 800px">-->
<!-- <Form-item label="供应商" prop="supplier" style="width: 800px">-->
<!-- <i-input v-model="tbCfStationItem.supplier" placeholder="供应商"/>-->
<!-- <i-input v-model="tbCfStationItem.supplier" placeholder="供应商"/>-->
<!-- </Form-item>-->
<!-- </Form-item>-->
...
@@ -1052,11 +1052,11 @@
...
@@ -1052,11 +1052,11 @@
</Form-item>
</Form-item>
</i-form>
</i-form>
<!-- 退出警告 -->
<!-- 退出警告 -->
<Modal
<!-- <Modal-->
v-model=
"showQuitHint"
<!-- v-model="showQuitHint"-->
@
on-ok=
"quit"
>
<!-- @on-ok="quit">--
>
<p>
not saved yet, do you want to exit?
</p
>
<!-- <p>not saved yet, do you want to exit?</p>--
>
</Modal
>
<!-- </Modal>--
>
</Card>
</Card>
<script
src=
"${rc.contextPath}/js/plugins/Sortable.min.js"
></script>
<script
src=
"${rc.contextPath}/js/plugins/Sortable.min.js"
></script>
<script
src=
"${rc.contextPath}/statics/libs/iview.js"
></script>
<script
src=
"${rc.contextPath}/statics/libs/iview.js"
></script>
...
...
platform-admin/src/main/webapp/js/sys/tbcfstationitemEn.js
浏览文件 @
7a64aac4
...
@@ -667,7 +667,7 @@ let vm = new Vue({
...
@@ -667,7 +667,7 @@ let vm = new Vue({
},
},
back
()
{
back
()
{
this
.
showQuitHint
=
true
;
vm
.
quit
()
;
},
},
reload
:
function
(
event
)
{
reload
:
function
(
event
)
{
this
.
prevItem
=
[]
this
.
prevItem
=
[]
...
...
platform-common/src/main/java/com/platform/utils/Constant.java
浏览文件 @
7a64aac4
...
@@ -19,6 +19,10 @@ public class Constant {
...
@@ -19,6 +19,10 @@ public class Constant {
*/
*/
public
static
final
String
SUPER_USER
=
"3"
;
public
static
final
String
SUPER_USER
=
"3"
;
/**
* 非洲商品管理员
*/
public
static
final
String
SUPER_AFRISHOP_USER
=
"4"
;
/**
/**
* 默认系统domainId 业务系统
* 默认系统domainId 业务系统
*/
*/
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论