Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
C
chinafrica
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
zhengfg
chinafrica
Commits
7fd4cfd5
提交
7fd4cfd5
authored
3月 03, 2020
作者:
zgy
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化显示
上级
0cbebe1a
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
102 行增加
和
102 行删除
+102
-102
TbCfClassificationDao.xml
...main/resources/com/platform/dao/TbCfClassificationDao.xml
+1
-1
TbCfPostersDao.xml
...in/src/main/resources/com/platform/dao/TbCfPostersDao.xml
+1
-1
TbCfSortDao.xml
...admin/src/main/resources/com/platform/dao/TbCfSortDao.xml
+1
-1
tbcfposters.html
...m-admin/src/main/webapp/WEB-INF/page/sys/tbcfposters.html
+5
-5
tbcfsort.html
...form-admin/src/main/webapp/WEB-INF/page/sys/tbcfsort.html
+7
-7
tbcfclassification.js
platform-admin/src/main/webapp/js/sys/tbcfclassification.js
+1
-1
tbcfposters.js
platform-admin/src/main/webapp/js/sys/tbcfposters.js
+82
-82
tbcfsort.js
platform-admin/src/main/webapp/js/sys/tbcfsort.js
+4
-4
没有找到文件。
platform-admin/src/main/resources/com/platform/dao/TbCfClassificationDao.xml
浏览文件 @
7fd4cfd5
...
...
@@ -48,7 +48,7 @@
order by ${sidx} ${order}
</when>
<otherwise>
order by
id desc
order by
sort
</otherwise>
</choose>
<if
test=
"offset != null and limit != null"
>
...
...
platform-admin/src/main/resources/com/platform/dao/TbCfPostersDao.xml
浏览文件 @
7fd4cfd5
...
...
@@ -54,7 +54,7 @@
order by ${sidx} ${order}
</when>
<otherwise>
order by
id desc
order by
sort
</otherwise>
</choose>
<if
test=
"offset != null and limit != null"
>
...
...
platform-admin/src/main/resources/com/platform/dao/TbCfSortDao.xml
浏览文件 @
7fd4cfd5
...
...
@@ -51,7 +51,7 @@
order by ${sidx} ${order}
</when>
<otherwise>
order by
id desc
order by
type
</otherwise>
</choose>
<if
test=
"offset != null and limit != null"
>
...
...
platform-admin/src/main/webapp/WEB-INF/page/sys/tbcfposters.html
浏览文件 @
7fd4cfd5
...
...
@@ -36,8 +36,8 @@
<Form-item
label=
"标题"
prop=
"postersTitle"
>
<i-input
v-model=
"tbCfPosters.postersTitle"
placeholder=
"标题"
/>
</Form-item>
<Form-item
label=
"
类型"
prop=
"postersType
"
>
<i-input
v-model=
"tbCfPosters.
postersType
"
placeholder=
"类型"
/>
<Form-item
label=
"
排序"
prop=
"sort
"
>
<i-input
v-model=
"tbCfPosters.
sort
"
placeholder=
"类型"
/>
</Form-item>
<!--<Form-item label="图片" prop="postersPicture">
<i-input v-model="tbCfPosters.postersPicture" placeholder="图片"/>
...
...
@@ -46,12 +46,12 @@
<img
v-bind:src=
"tbCfPosters.postersPicture"
v-show=
"!!tbCfPosters.postersPicture"
/>
<input
type=
"file"
placeholder=
"图片"
@
change=
"tirggerFile($event)"
/>
</Form-item>
<Form-item
label=
"是否展示"
prop=
"isShow"
>
<i-input
v-model=
"tbCfPosters.isShow"
placeholder=
"是否展示"
/>
</Form-item>
<Form-item
label=
"跳转链接"
prop=
"redirectUrl"
>
<i-input
v-model=
"tbCfPosters.redirectUrl"
placeholder=
"跳转链接"
/>
</Form-item>
<Form-item
label=
"是否展示"
prop=
"isShow"
>
<i-input
v-model=
"tbCfPosters.isShow"
placeholder=
"是否展示"
/>
</Form-item>
<Form-item
label=
"备注"
prop=
"remark"
>
<i-input
v-model=
"tbCfPosters.remark"
placeholder=
"备注"
/>
</Form-item>
...
...
platform-admin/src/main/webapp/WEB-INF/page/sys/tbcfsort.html
浏览文件 @
7fd4cfd5
...
...
@@ -33,21 +33,21 @@
<Card
v-show=
"!showList"
>
<p
slot=
"title"
>
{{title}}
</p>
<i-form
ref=
"formValidate"
:model=
"tbCfSort"
:rules=
"ruleValidate"
:label-width=
"80"
>
<Form-item
label=
"模块ID"
prop=
"moduleId"
>
<
!--<
Form-item label="模块ID" prop="moduleId">
<i-input v-model="tbCfSort.moduleId" placeholder="模块ID"/>
</Form-item>
<Form-item
label=
"
序号
"
prop=
"sort"
>
</Form-item>
-->
<Form-item
label=
"
排序
"
prop=
"sort"
>
<i-input
v-model=
"tbCfSort.sort"
placeholder=
"序号"
/>
</Form-item>
<Form-item
label=
"模块"
prop=
"module"
>
<i-input
v-model=
"tbCfSort.module"
placeholder=
"模块"
/>
</Form-item>
<Form-item
label=
"名称"
prop=
"name"
>
<
!--<
Form-item label="名称" prop="name">
<i-input v-model="tbCfSort.name" placeholder="名称"/>
</Form-item>
<Form-item
label=
"分类"
prop=
"type"
>
</Form-item>
-->
<
!--<
Form-item label="分类" prop="type">
<i-input v-model="tbCfSort.type" placeholder="1:分类导航栏 2.爬虫品牌 3.海报图"/>
</Form-item>
</Form-item>
-->
<Form-item
label=
"备注"
prop=
"remark"
>
<i-input
v-model=
"tbCfSort.remark"
placeholder=
"备注"
/>
</Form-item>
...
...
platform-admin/src/main/webapp/js/sys/tbcfclassification.js
浏览文件 @
7fd4cfd5
...
...
@@ -5,8 +5,8 @@ $(function () {
{
label
:
'id'
,
name
:
'id'
,
index
:
'id'
,
key
:
true
,
hidden
:
true
},
/*{label: '一级分类ID', name: 'goodtypeId', index: 'goodtype_id', width: 80},*/
{
label
:
'标题'
,
name
:
'classTitle'
,
index
:
'class_title'
,
width
:
80
},
{
label
:
'图片'
,
name
:
'picture'
,
index
:
'picture'
,
width
:
80
,
formatter
:
imageFormat
},
{
label
:
'排序'
,
name
:
'sort'
,
index
:
'sort'
,
width
:
80
},
{
label
:
'图片'
,
name
:
'picture'
,
index
:
'picture'
,
width
:
80
,
formatter
:
imageFormat
},
{
label
:
'是否展示'
,
name
:
'isShow'
,
index
:
'is_show'
,
width
:
80
,
formatter
:
validFormat
},
{
label
:
'创建时间'
,
name
:
'createTime'
,
index
:
'create_time'
,
width
:
80
}]
});
...
...
platform-admin/src/main/webapp/js/sys/tbcfposters.js
浏览文件 @
7fd4cfd5
...
...
@@ -4,10 +4,10 @@ $(function () {
colModel
:
[
{
label
:
'id'
,
name
:
'id'
,
index
:
'id'
,
key
:
true
,
hidden
:
true
},
{
label
:
'标题'
,
name
:
'postersTitle'
,
index
:
'posters_title'
,
width
:
80
},
{
label
:
'类型'
,
name
:
'postersType'
,
index
:
'posters_type
'
,
width
:
80
},
{
label
:
'排序'
,
name
:
'sort'
,
index
:
'sort
'
,
width
:
80
},
{
label
:
'图片'
,
name
:
'postersPicture'
,
index
:
'posters_picture'
,
width
:
80
,
formatter
:
imageFormat
},
{
label
:
'是否展示'
,
name
:
'isShow'
,
index
:
'is_show'
,
width
:
80
,
formatter
:
validFormat
},
{
label
:
'跳转链接'
,
name
:
'redirectUrl'
,
index
:
'redirect_url'
,
width
:
80
},
{
label
:
'是否展示'
,
name
:
'isShow'
,
index
:
'is_show'
,
width
:
80
,
formatter
:
validFormat
},
{
label
:
'创建时间'
,
name
:
'createTime'
,
index
:
'create_time'
,
width
:
80
},
{
label
:
'备注'
,
name
:
'remark'
,
index
:
'remark'
,
width
:
80
}
]
...
...
@@ -64,7 +64,7 @@ let vm = new Vue({
},
del
:
function
(
event
)
{
let
ids
=
getSelectedRows
(
"#jqGrid"
);
if
(
ids
==
null
)
{
if
(
ids
==
null
)
{
return
;
}
...
...
@@ -82,9 +82,9 @@ let vm = new Vue({
});
});
},
getInfo
:
function
(
id
)
{
getInfo
:
function
(
id
)
{
Ajax
.
request
({
url
:
"../tbcfposters/info/"
+
id
,
url
:
"../tbcfposters/info/"
+
id
,
async
:
true
,
successCallback
:
function
(
r
)
{
vm
.
tbCfPosters
=
r
.
tbCfPosters
;
...
...
@@ -100,7 +100,7 @@ let vm = new Vue({
}).
trigger
(
"reloadGrid"
);
vm
.
handleReset
(
'formValidate'
);
},
reloadSearch
:
function
()
{
reloadSearch
:
function
()
{
vm
.
q
=
{
name
:
''
};
...
...
platform-admin/src/main/webapp/js/sys/tbcfsort.js
浏览文件 @
7fd4cfd5
...
...
@@ -3,11 +3,11 @@ $(function () {
url
:
'../tbcfsort/list'
,
colModel
:
[
{
label
:
'id'
,
name
:
'id'
,
index
:
'id'
,
key
:
true
,
hidden
:
true
},
{
label
:
'模块ID'
,
name
:
'moduleId'
,
index
:
'module_id'
,
width
:
80
},
{
label
:
'序号'
,
name
:
'sort'
,
index
:
'sort'
,
width
:
80
},
/*{label: '模块ID', name: 'moduleId', index: 'module_id', width: 80},*/
{
label
:
'模块'
,
name
:
'module'
,
index
:
'module'
,
width
:
80
},
{
label
:
'名称'
,
name
:
'name'
,
index
:
'name'
,
width
:
80
},
{
label
:
'分类'
,
name
:
'type'
,
index
:
'type'
,
width
:
80
},
{
label
:
'序号'
,
name
:
'sort'
,
index
:
'sort'
,
width
:
80
},
/*{label: '名称', name: 'name', index: 'name', width: 80},*/
/*{label: '分类', name: 'type', index: 'type', width: 80},*/
{
label
:
'备注'
,
name
:
'remark'
,
index
:
'remark'
,
width
:
80
},
{
label
:
'创建时间'
,
name
:
'createTime'
,
index
:
'create_time'
,
width
:
80
}
]
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论