Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gs1-admin
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴迪
gs1-admin
Commits
f60c9c33
Commit
f60c9c33
authored
Jan 10, 2022
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台管理
parent
d493a532
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
44 changed files
with
487 additions
and
430 deletions
+487
-430
_base.scss
src/assets/scss/_base.scss
+0
-0
index.js
src/router/index.js
+0
-0
indexcarouselmanage-add-or-update.vue
src/views/modules/info/indexcarouselmanage-add-or-update.vue
+71
-38
indexcarouselmanage.vue
src/views/modules/info/indexcarouselmanage.vue
+23
-23
news-add-or-update.vue
src/views/modules/info/news-add-or-update.vue
+13
-13
news.vue
src/views/modules/info/news.vue
+18
-16
newsmovie-add-or-update.vue
src/views/modules/info/newsmovie-add-or-update.vue
+13
-23
newsmovie.vue
src/views/modules/info/newsmovie.vue
+20
-18
newtopic-add-or-update.vue
src/views/modules/info/newtopic-add-or-update.vue
+8
-8
newtopic.vue
src/views/modules/info/newtopic.vue
+15
-13
picture-add-or-update.vue
src/views/modules/info/picture-add-or-update.vue
+30
-16
picture.vue
src/views/modules/info/picture.vue
+44
-29
schedule-add-or-update.vue
src/views/modules/job/schedule-add-or-update.vue
+2
-2
schedule-log.vue
src/views/modules/job/schedule-log.vue
+2
-2
schedule.vue
src/views/modules/job/schedule.vue
+5
-5
logistics-add-or-update.vue
src/views/modules/logistics/logistics-add-or-update.vue
+11
-11
logistics.vue
src/views/modules/logistics/logistics.vue
+13
-12
medical-add-or-update.vue
src/views/modules/medical/medical-add-or-update.vue
+10
-10
medical.vue
src/views/modules/medical/medical.vue
+12
-11
oss-config.vue
src/views/modules/oss/oss-config.vue
+2
-2
oss-upload.vue
src/views/modules/oss/oss-upload.vue
+1
-1
oss.vue
src/views/modules/oss/oss.vue
+2
-2
center-add-or-update.vue
src/views/modules/party/center-add-or-update.vue
+11
-11
center.vue
src/views/modules/party/center.vue
+18
-18
hotFlow-add-or-update.vue
src/views/modules/party/hotFlow-add-or-update.vue
+11
-11
hotFlow.vue
src/views/modules/party/hotFlow.vue
+15
-18
rules-add-or-update.vue
src/views/modules/party/rules-add-or-update.vue
+11
-11
rules.vue
src/views/modules/party/rules.vue
+18
-18
topicnews-add-or-update.vue
src/views/modules/party/topicnews-add-or-update.vue
+11
-11
topicnews.vue
src/views/modules/party/topicnews.vue
+10
-12
policy-add-or-update.vue
src/views/modules/policy/policy-add-or-update.vue
+11
-11
policy.vue
src/views/modules/policy/policy.vue
+17
-15
doc-add-or-update.vue
src/views/modules/service/doc-add-or-update.vue
+4
-4
doc.vue
src/views/modules/service/doc.vue
+14
-13
config-add-or-update.vue
src/views/modules/sys/config-add-or-update.vue
+1
-1
config.vue
src/views/modules/sys/config.vue
+2
-2
log.vue
src/views/modules/sys/log.vue
+1
-1
menu-add-or-update.vue
src/views/modules/sys/menu-add-or-update.vue
+3
-3
menu.vue
src/views/modules/sys/menu.vue
+2
-3
role-add-or-update.vue
src/views/modules/sys/role-add-or-update.vue
+3
-3
role.vue
src/views/modules/sys/role.vue
+2
-2
user-add-or-update.vue
src/views/modules/sys/user-add-or-update.vue
+3
-3
user.vue
src/views/modules/sys/user.vue
+2
-2
index.js
static/config/index.js
+2
-2
No files found.
src/assets/scss/_base.scss
View file @
f60c9c33
This diff is collapsed.
Click to expand it.
src/router/index.js
View file @
f60c9c33
This diff is collapsed.
Click to expand it.
src/views/modules/info/indexcarouselmanage-add-or-update.vue
View file @
f60c9c33
...
...
@@ -3,25 +3,37 @@
:title=
"!dataForm.id ? '新增' : this.showInfo?'详情':'修改'"
:close-on-click-modal=
"false"
:visible
.
sync=
"visible"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"1
0
0px"
v-loading=
'loading'
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"1
2
0px"
v-loading=
'loading'
>
<el-form-item
label=
"标题:"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入标题"
size=
"small"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
<el-form-item
label=
"背景颜色:"
prop=
"colorBackground"
class=
" setdes setdes1"
>
<el-select
v-model=
"dataForm.colorBackground"
placeholder=
"请选择背景颜色"
size=
"small"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in colorBackgroundList"
:key=
"item.label"
:label=
"item.label"
:value=
"item.label"
>
</el-option>
</el-select>
<span
v-show=
"!showInfo"
>
大轮播图需要编辑该项
</span>
<el-row>
<el-col
:span=
"22"
>
<el-select
v-model=
"dataForm.colorBackground"
placeholder=
"请选择背景颜色"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in colorBackgroundList"
:key=
"item.label"
:label=
"item.label"
:value=
"item.label"
>
</el-option>
</el-select>
</el-col>
<el-col
:span=
"2"
class=
"iconStyle"
>
<el-tooltip
placement=
"top"
effect=
"light"
>
<div
slot=
"content"
>
大轮播图需要编辑该项
</div>
<i
class=
"el-icon-warning"
></i>
</el-tooltip>
</el-col>
</el-row>
<p
v-show=
"showInfo"
>
{{
dataForm
.
colorBackground
}}
</p>
</el-form-item>
<el-form-item
label=
"按钮跳转色:"
prop=
"colorMore"
class=
"setdes setdes1"
>
<el-select
v-model=
"dataForm.colorMore"
placeholder=
"请选择背景颜色"
size=
"small"
v-show=
"!showInfo"
>
<el-row>
<el-col
:span=
"22"
>
<el-select
v-model=
"dataForm.colorMore"
placeholder=
"请选择背景颜色"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in colorMoreList"
:key=
"item.label"
...
...
@@ -29,11 +41,18 @@
:value=
"item.label"
>
</el-option>
</el-select>
<span
v-show=
"!showInfo"
>
大轮播图需要编辑该项
</span>
</el-col>
<el-col
:span=
"2"
class=
"iconStyle"
>
<el-tooltip
placement=
"top"
effect=
"light"
>
<div
slot=
"content"
>
大轮播图需要编辑该项
</div>
<i
class=
"el-icon-warning"
></i>
</el-tooltip>
</el-col>
</el-row>
<p
v-show=
"showInfo"
>
{{
dataForm
.
colorMore
}}
</p>
</el-form-item>
<el-form-item
label=
"类型:"
prop=
"classnum"
>
<el-select
v-model=
"dataForm.classnum"
placeholder=
"请选择类别"
size=
"small"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.classnum"
placeholder=
"请选择类别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in classnumList"
:key=
"item.label"
...
...
@@ -44,24 +63,42 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
classnum
}}
</p>
</el-form-item>
<el-form-item
label=
'等级:'
prop=
'levels'
class=
"setdes setdes2"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入等级"
size=
"small"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in levelList"
:key=
"item"
:label=
"item"
:value=
"item"
>
</el-option>
</el-select>
<span
v-show=
"!showInfo"
>
轮播按等级降序显示,保持同类轮播图片等级连续取值
</span>
<el-row>
<el-col
:span=
"22"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入等级"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in levelList"
:key=
"item"
:label=
"item"
:value=
"item"
>
</el-option>
</el-select>
</el-col>
<el-col
:span=
"2"
class=
"iconStyle"
>
<el-tooltip
placement=
"top"
effect=
"light"
>
<div
slot=
"content"
>
轮播按等级降序显示,保持同类轮播图片等级连续取值
</div>
<i
class=
"el-icon-warning"
></i>
</el-tooltip>
</el-col>
</el-row>
<p
v-show=
"showInfo"
>
{{
dataForm
.
classnum
}}
</p>
</el-form-item>
<el-form-item
label=
"跳转:"
prop=
"directpath"
>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转"
size=
"small"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
directpath
}}
</p>
</el-form-item>
<el-form-item
label=
"轮播简介:"
prop=
"brief"
class=
"setdes setdes1"
>
<el-input
type=
"textarea"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
size=
"small"
v-show=
"!showInfo"
></el-input>
<span
v-show=
"!showInfo"
>
大轮播图需要编辑该项
</span>
<el-row>
<el-col
:span=
"22"
>
<el-input
type=
"textarea"
rows=
"5"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo"
></el-input>
</el-col>
<el-col
:span=
"2"
class=
"iconStyle"
>
<el-tooltip
placement=
"top"
effect=
"light"
>
<div
slot=
"content"
>
大轮播图需要编辑该项
</div>
<i
class=
"el-icon-warning"
></i>
</el-tooltip>
</el-col>
</el-row>
<p
v-show=
"showInfo"
>
{{
dataForm
.
brief
}}
</p>
</el-form-item>
...
...
@@ -77,7 +114,7 @@
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
<!--
<el-input
v-model=
"dataForm.picIndexPath"
placeholder=
""
></el-input>
-->
<span
v-show=
"!showInfo"
>
图片尺寸大轮播600X400px 小轮播360x160px
</span>
<span
v-show=
"!showInfo"
style=
"font-size:12px;color:red"
>
图片尺寸大轮播600X400px 小轮播360x160px
</span>
<p><img
:src=
"imgUrlStr"
class=
"avatar"
v-show=
"showInfo"
></p>
</el-form-item>
</el-form>
...
...
@@ -285,15 +322,10 @@
}
</
script
>
<
style
scoped
>
.setdes1
.el-form-item__content
>
span
{
right
:
-140px
!important
;
}
.setdes2
.el-form-item__content
>
span
{
right
:
-310px
!important
;
}
.setdes3
.el-form-item__content
>
span
{
right
:
140px
!important
;
top
:
42px
;
}
.iconStyle
{
font-size
:
18px
;
text-align
:
center
;
color
:
#e6a23c
;
cursor
:
pointer
;
}
</
style
>
\ No newline at end of file
src/views/modules/info/indexcarouselmanage.vue
View file @
f60c9c33
<
template
>
<div
class=
"mod-config mod-list-form"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
label-width=
"80px"
>
<el-form-item
label=
'标题'
prop=
'title'
>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'状态'
prop=
'status'
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
clearable
>
<el-option
v-for=
"item in statusList"
:key=
"item.value"
...
...
@@ -15,7 +15,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'类别'
prop=
'classnum'
>
<el-select
v-model=
"dataForm.classnum"
placeholder=
"请选择类别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.classnum"
placeholder=
"请选择类别"
clearable
>
<el-option
v-for=
"item in classnumList"
:key=
"item.value"
...
...
@@ -25,7 +25,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -36,7 +36,7 @@
</el-form-item>
<el-form-item
label=
'发布日期'
prop=
'releaseDate'
>
<el-date-picker
size=
"small"
clearable
v-model=
"releaseDate"
type=
"daterange"
...
...
@@ -46,16 +46,19 @@
>
</el-date-picker>
</el-form-item>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
>
搜索
</el-button>
</el-form>
<div
class=
"add-btn"
>
<el-button
v-if=
"isAuth('manage:picture:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
<!--
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:delete')"
type=
"danger"
@
click=
"deleteHandle()"
:disabled=
"dataListSelections.length
<
=
0
"
>
批量删除
</el-button>
-->
</div>
<div
class=
"table-list"
>
<el-table
:data=
"dataList"
v-loading=
"dataListLoading"
@
selection-change=
"selectionChangeHandle"
border
style=
"width: 100%; "
>
<el-table-column
prop=
"levels"
...
...
@@ -131,12 +134,12 @@
width=
"150"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
type=
"text"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true
)"
>
预览
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
type=
"text
"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:indexcarouselmanage:check')"
/>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row.id
)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:indexcarouselmanage:delete')"
type=
"text"
size=
"small
"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -258,6 +261,9 @@
this
.
$refs
.
addOrUpdate
.
init
(
id
,
showInfo
)
})
},
showMsg
(
id
)
{
window
.
open
(
window
.
location
.
host
+
'/News/msg?id='
+
id
,
'_blank'
)
},
// 删除
deleteHandle
(
id
)
{
var
ids
=
id
?
[
id
]
:
this
.
dataListSelections
.
map
(
item
=>
{
...
...
@@ -328,13 +334,6 @@
}
</
script
>
<
style
scoped
>
.el-select-dropdown__item
{
font-size
:
12px
!important
;
}
.el-table
.cell
,
.el-table
th
div
{
padding-right
:
0
;
}
.add-btn
>
.el-button
{
width
:
135px
!important
;
}
</
style
>
\ No newline at end of file
src/views/modules/info/news-add-or-update.vue
View file @
f60c9c33
...
...
@@ -5,26 +5,26 @@
:visible
.
sync=
"visible"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"120px"
v-loading=
'loading'
>
<el-form-item
label=
"原始标题:"
prop=
"titleOld"
>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入原始标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入原始标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
titleOld
}}
</p>
</el-form-item>
<el-form-item
label=
"显示标题:"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
<el-form-item
label=
"显示最新要闻:"
prop=
"ishead"
>
<el-radio-group
v-model=
"dataForm.ishead"
v-show=
"!showInfo"
size=
"small"
>
<el-radio-group
v-model=
"dataForm.ishead"
v-show=
"!showInfo"
>
<el-radio
:label=
"1"
>
是
</el-radio>
<el-radio
:label=
"0"
>
否
</el-radio>
</el-radio-group>
<p
v-show=
"showInfo"
>
{{
dataForm
.
ishead
===
0
?
'否'
:
'是'
}}
</p>
</el-form-item>
<el-form-item
label=
"跳转至:"
prop=
"directpath"
>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
directpath
}}
</p>
</el-form-item>
<el-form-item
label=
"栏目:"
prop=
"classid"
>
<el-select
v-model=
"dataForm.classid"
@
change=
"getClassList([dataForm.classid])"
style=
'width:121px!important'
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.classid"
@
change=
"getClassList([dataForm.classid])"
style=
'width:121px!important'
v-show=
"!showInfo"
>
<el-option
v-for=
"item in classidList"
:key=
"item.id"
...
...
@@ -32,7 +32,7 @@
:value=
"item.id"
>
</el-option>
</el-select>
<el-select
v-model=
"dataForm.cclassid"
style=
'width:121px!important'
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.cclassid"
style=
'width:121px!important'
v-show=
"!showInfo"
>
<el-option
v-for=
"item in cclassidList"
:key=
"item.id"
...
...
@@ -43,7 +43,7 @@
<p
v-show=
"showInfo"
>
{{
className
+
'/'
+
cclassName
}}
</p>
</el-form-item>
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in piclevelList"
:key=
"item"
...
...
@@ -56,7 +56,7 @@
<el-form-item
label=
"展示时间:"
prop=
"showtime"
>
<el-date-picker
v-show=
"!showInfo"
size=
"small"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
type=
"date"
...
...
@@ -65,21 +65,21 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
</el-form-item>
<el-form-item
label=
"关键字:"
prop=
"keyword"
>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
keyword
}}
</p>
</el-form-item>
<el-form-item
label=
"稿源:"
prop=
"source"
>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
source
}}
</p>
</el-form-item>
<el-form-item
label=
"作者:"
prop=
"author"
>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
author
}}
</p>
</el-form-item>
<el-form-item
label=
"上传图片:"
prop=
"pic"
>
<el-upload
v-show=
"!showInfo"
size=
"small"
class=
"avatar-uploader"
action=
""
:show-file-list=
"false"
...
...
@@ -92,7 +92,7 @@
</el-form-item>
<el-form-item
label=
"简介:"
prop=
"brief"
>
<el-input
type=
"textarea"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo"
size=
"small
"
></el-input>
<el-input
type=
"textarea"
rows=
"5"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo
"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
brief
}}
</p>
</el-form-item>
<el-form-item
label=
"文章内容:"
prop=
"content"
>
...
...
src/views/modules/info/news.vue
View file @
f60c9c33
<
template
>
<div
class=
"mod-config mod-list-form"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
label-width=
"80px"
>
<el-form-item
label=
'标题'
prop=
'title'
>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'作者'
prop=
'title'
>
<el-input
v-model=
'dataForm.author'
placeholder=
'请输入作者'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.author'
placeholder=
'请输入作者'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'编辑'
prop=
'editor'
>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'关键字'
prop=
'keyword'
>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'状态'
prop=
'status'
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
clearable
>
<el-option
v-for=
"item in statusList"
:key=
"item.value"
...
...
@@ -24,7 +24,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in piclevelList"
:key=
"item"
...
...
@@ -36,7 +36,7 @@
<el-form-item
label=
'发布日期'
prop=
'releaseDate'
>
<el-date-picker
clearable
size=
"small"
v-model=
"releaseDate"
type=
"daterange"
start-placeholder=
"开始日期"
...
...
@@ -47,7 +47,7 @@
</el-form-item>
<el-form-item
label=
'更新日期'
prop=
'updateDate'
>
<el-date-picker
size=
"small"
clearable
v-model=
"updateDate"
type=
"daterange"
...
...
@@ -57,7 +57,7 @@
>
</el-date-picker>
</el-form-item>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
>
搜索
</el-button>
</el-form>
<div
class=
"add-btn"
>
<el-button
v-if=
"isAuth('manage:news:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
...
...
@@ -67,6 +67,8 @@
:data=
"dataList"
v-loading=
"dataListLoading"
@
selection-change=
"selectionChangeHandle"
border
style=
"width: 100%; "
>
<el-table-column
prop=
"levels"
...
...
@@ -145,12 +147,12 @@
width=
"150"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:news:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:news:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:news:check')"
/>
<el-button
v-if=
"isAuth('manage:news:info')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:news:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:news:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
src/views/modules/info/newsmovie-add-or-update.vue
View file @
f60c9c33
...
...
@@ -3,20 +3,20 @@
:title=
"!dataForm.id ? '新增' : this.showInfo?'详情':'修改'"
:close-on-click-modal=
"false"
:visible
.
sync=
"visible"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"1
2
0px"
v-loading=
'loading'
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"1
3
0px"
v-loading=
'loading'
>
<el-form-item
label=
"原始标题:"
prop=
"titleOld"
>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入原始标题"
size=
"small"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入原始标题"
v-show=
"!showInfo"
></el-input>
</el-form-item>
<el-form-item
label=
"显示标题:"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
size=
"small"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
<el-form-item
label=
"跳转至:"
prop=
"directpath"
>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
size=
"small"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
directpath
}}
</p>
</el-form-item>
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
size=
"small"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -27,20 +27,20 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
</el-form-item>
<el-form-item
label=
"关键字:"
prop=
"keyword"
>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
size=
"small"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
keyword
}}
</p>
</el-form-item>
<el-form-item
label=
"演讲人:"
prop=
"author"
>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入演讲人"
size=
"small"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入演讲人"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
author
}}
</p>
</el-form-item>
<el-form-item
label=
"长度:"
prop=
"longStr"
>
<el-input
v-model=
"dataForm.longStr"
placeholder=
"请输入长度"
size=
"small"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.longStr"
placeholder=
"请输入长度"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
longStr
}}
</p>
</el-form-item>
<el-form-item
label=
"时间:"
prop=
"stdate"
>
<el-date-picker
size=
"small"
v-show=
"!showInfo"
v-model=
"dataForm.stdate"
value-format=
'yyyy-MM-dd'
...
...
@@ -50,7 +50,7 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
stdate
}}
</p>
</el-form-item>
<el-form-item
label=
'语种:'
prop=
'clanguage'
>
<el-select
v-model=
"dataForm.clanguage"
placeholder=
"请输入级别"
size=
"small"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.clanguage"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in clanguageList"
:key=
"item"
...
...
@@ -60,7 +60,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
"上传图片命名规则"
prop=
"rules"
>
<span
>
点击查看
</span>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
</el-form-item>
<el-form-item
label=
"描述图片:"
prop=
"pic"
>
<el-upload
...
...
@@ -362,16 +362,5 @@
}
</
script
>
<
style
scoped
>
.form-list
{
padding-left
:
4%
!important
;
}
.el-form-item__content
{
width
:
50%
;
}
.el-select
,
.el-input
{
width
:
241px
!important
;
}
.edui-editor
{
width
:
100%
;
}
</
style
>
\ No newline at end of file
src/views/modules/info/newsmovie.vue
View file @
f60c9c33
<
template
>
<div
class=
"mod-config mod-list-form"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
label-width=
"80px"
>
<el-form-item
label=
'显示标题'
prop=
'title'
>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'演讲人'
prop=
'author'
>
<el-input
v-model=
'dataForm.author'
placeholder=
'请输入演讲人'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.author'
placeholder=
'请输入演讲人'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'编辑'
prop=
'editor'
>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'关键字'
prop=
'keyword'
>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'状态'
prop=
'status'
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
clearable
>
<el-option
v-for=
"item in statusList"
:key=
"item.value"
...
...
@@ -24,7 +24,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'语种'
prop=
'clanguage'
>
<el-select
v-model=
"dataForm.clanguage"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.clanguage"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in clanguageList"
:key=
"item"
...
...
@@ -34,7 +34,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -45,7 +45,7 @@
</el-form-item>
<el-form-item
label=
'更新日期'
prop=
'updateDate'
>
<el-date-picker
size=
"small"
clearable
v-model=
"updateDate"
type=
"daterange"
...
...
@@ -57,7 +57,7 @@
</el-form-item>
<el-form-item
label=
'发布日期'
prop=
'releaseDate'
>
<el-date-picker
size=
"small"
clearable
v-model=
"releaseDate"
type=
"daterange"
...
...
@@ -68,16 +68,18 @@
</el-date-picker>
</el-form-item>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
>
搜索
</el-button>
</el-form>
<div
class=
"add-btn"
>
<el-button
v-if=
"isAuth('manage:news:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
<el-button
v-if=
"isAuth('manage:news
movie
:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
</div>
<div
class=
"table-list"
>
<el-table
:data=
"dataList"
v-loading=
"dataListLoading"
@
selection-change=
"selectionChangeHandle"
border
style=
"width: 100%; "
>
<el-table-column
prop=
"levels"
...
...
@@ -182,12 +184,12 @@
width=
"150"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:newsmovie:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:newsmovie:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:newsmovie:check')"
/>
<el-button
v-if=
"isAuth('manage:newsmovie:info')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:newsmovie:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:newsmovie:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
src/views/modules/info/newtopic-add-or-update.vue
View file @
f60c9c33
...
...
@@ -5,15 +5,15 @@
:visible
.
sync=
"visible"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"120px"
v-loading=
'loading'
>
<el-form-item
label=
"专题描述:"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入专题描述"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入专题描述"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
<el-form-item
label=
"跳转至:"
prop=
"directpath"
>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
directpath
}}
</p>
</el-form-item>
<el-form-item
label=
"子类:"
prop=
"classid"
>
<el-select
v-model=
"dataForm.classid"
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.classid"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in classidList"
:key=
"item.id"
...
...
@@ -24,7 +24,7 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
classid
}}
</p>
</el-form-item>
<el-form-item
label=
"专题模板:"
prop=
"newtmpid"
>
<el-select
v-model=
"dataForm.newtmpid"
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.newtmpid"
v-show=
"!showInfo"
>
<el-option
v-for=
"(item, i) in newtmList"
:key=
"i"
...
...
@@ -35,7 +35,7 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
newtmpid
}}
</p>
</el-form-item>
<el-form-item
label=
'等级:'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入等级"
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入等级"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in piclevelList"
:key=
"item"
...
...
@@ -48,7 +48,7 @@
<el-form-item
label=
"显示时间:"
prop=
"showtime"
class=
" setdes setdes1"
>
<el-date-picker
v-show=
"!showInfo"
size=
"small"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
type=
"date"
...
...
@@ -71,11 +71,11 @@
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar"
></p>
</el-form-item>
<el-form-item
label=
"专题简介:"
prop=
"shortcontent"
>
<el-input
type=
"textarea"
v-model=
"dataForm.shortcontent"
placeholder=
"请输入专题简介"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
type=
"textarea"
v-model=
"dataForm.shortcontent"
placeholder=
"请输入专题简介"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
shortcontent
}}
</p>
</el-form-item>
<el-form-item
label=
"头部内容:"
prop=
"headad"
>
<el-input
type=
"textarea"
v-model=
"dataForm.headad"
placeholder=
"请输入头部内容"
v-show=
"!showInfo"
size=
"small
"
></el-input>
<el-input
type=
"textarea"
rows=
"5"
v-model=
"dataForm.headad"
placeholder=
"请输入头部内容"
v-show=
"!showInfo
"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
headad
}}
</p>
</el-form-item>
<el-form-item
label=
"专题描述:"
prop=
"content"
>
...
...
src/views/modules/info/newtopic.vue
View file @
f60c9c33
<
template
>
<div
class=
"mod-config mod-list-form"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
label-width=
"80px"
>
<el-form-item
label=
'标题'
prop=
'title'
>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'状态'
prop=
'status'
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
clearable
>
<el-option
v-for=
"item in statusList"
:key=
"item.value"
...
...
@@ -15,7 +15,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -27,7 +27,7 @@
<el-form-item
label=
'发布日期'
prop=
'releaseDate'
>
<el-date-picker
clearable
size=
"small"
v-model=
"releaseDate"
type=
"daterange"
start-placeholder=
"开始日期"
...
...
@@ -36,16 +36,18 @@
>
</el-date-picker>
</el-form-item>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
>
搜索
</el-button>
</el-form>
<div
class=
"add-btn"
>
<el-button
v-if=
"isAuth('manage:new
s
:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
<el-button
v-if=
"isAuth('manage:new
topic
:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
</div>
<div
class=
"table-list"
>
<el-table
:data=
"dataList"
v-loading=
"dataListLoading"
@
selection-change=
"selectionChangeHandle"
border
style=
"width: 100%; "
>
<el-table-column
prop=
"levels"
...
...
@@ -117,12 +119,12 @@
width=
"150"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text
"
@
click=
"checkHandle(scope.row.classid,1)"
>
[成功]
</el-button>
<el-button
type=
"text
"
@
click=
"checkHandle(scope.row.classid,-1)"
>
[失败]
</el-button>
<br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.classid,true)"
>
预览
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.classid)"
>
修改
</el-button>
<el-button
type=
"text
"
@
click=
"deleteHandle(scope.row.classid)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:newtopic:check')"
type=
"text"
size=
"small
"
@
click=
"checkHandle(scope.row.classid,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:newtopic:check')"
type=
"text"
size=
"small
"
@
click=
"checkHandle(scope.row.classid,-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:newtopic:check')"
/>
<el-button
v-if=
"isAuth('manage:newtopic:info')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.classid,true)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:newtopic:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.classid)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:newtopic:delete')"
type=
"text"
size=
"small
"
@
click=
"deleteHandle(scope.row.classid)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
src/views/modules/info/picture-add-or-update.vue
View file @
f60c9c33
...
...
@@ -12,11 +12,11 @@
v-loading=
'loading'
>
<el-form-item
label=
'标题:'
prop=
'title'
>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
size=
"small"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
<el-form-item
label=
'类别:'
prop=
'pictureType'
>
<el-select
v-model=
"dataForm.pictureType"
placeholder=
"请选择类别"
size=
"small"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.pictureType"
placeholder=
"请选择类别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in pictureTypeList"
:key=
"item.value"
...
...
@@ -27,7 +27,7 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
pictureType
}}
</p>
</el-form-item>
<el-form-item
label=
'级别:'
prop=
'piclevel'
>
<el-select
v-model=
"dataForm.piclevel"
placeholder=
"请输入级别"
size=
"small"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.piclevel"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in piclevelList"
:key=
"item"
...
...
@@ -38,23 +38,31 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
piclevel
}}
</p>
</el-form-item>
<el-form-item
label=
'显示时间:'
prop=
'showtime'
class=
"setdes"
>
<el-date-picker
v-show=
"!showInfo"
size=
"small"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
type=
"date"
placeholder=
"选择日期"
>
</el-date-picker>
<span
v-show=
"!showInfo"
>
时间格式为:xxxx/xx/xx
</span>
<el-row>
<el-col
:span=
"22"
>
<el-date-picker
v-show=
"!showInfo"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
type=
"date"
placeholder=
"选择日期"
>
</el-date-picker>
</el-col>
<el-col
:span=
"2"
class=
"icon-list__tips"
>
<el-tooltip
placement=
"top"
effect=
"light"
>
<div
slot=
"content"
>
时间格式为:xxxx/xx/xx
</div>
<i
class=
"el-icon-warning"
></i>
</el-tooltip>
</el-col>
</el-row>
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
</el-form-item>
<el-form-item
label=
'关键字:'
prop=
'keyword'
>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
size=
"small"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
keyword
}}
</p>
</el-form-item>
<el-form-item
label=
'跳转:'
prop=
'jumppath'
>
<el-input
v-model=
'dataForm.jumppath'
placeholder=
'请输入跳转'
size=
"small"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
'dataForm.jumppath'
placeholder=
'请输入跳转'
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
jumppath
}}
</p>
</el-form-item>
<el-form-item
label=
'图片:'
prop=
'picFile'
>
...
...
@@ -292,10 +300,16 @@ export default {
this
.
$refs
[
'dataForm'
].
resetFields
()
this
.
imgUrlStr
=
''
this
.
dialogVisible
=
false
this
.
ueditor
.
value
=
''
}
}
}
</
script
>
<
style
scoped
>
.icon-list__tips
{
font-size
:
18px
;
text-align
:
center
;
color
:
#e6a23c
;
cursor
:
pointer
;
}
</
style
>
src/views/modules/info/picture.vue
View file @
f60c9c33
<
template
>
<div
class=
"mod-config mod-list-form"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
label-width=
"80px"
>
<el-form-item
label=
'标题'
prop=
'title'
>
<el-input
size=
"small"
v-model=
'dataForm.title'
placeholder=
'请输入标题'
clearable
></el-input>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'编辑'
prop=
'editor'
>
<el-input
size=
"small"
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
clearable
></el-input>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'关键字'
prop=
'keyword'
>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'状态'
prop=
'status'
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
clearable
>
<el-option
v-for=
"item in statusList"
:key=
"item.value"
...
...
@@ -21,7 +21,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'类别'
prop=
'pictureType'
>
<el-select
v-model=
"dataForm.pictureType"
placeholder=
"请选择类别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.pictureType"
placeholder=
"请选择类别"
clearable
>
<el-option
v-for=
"item in pictureTypeList"
:key=
"item.value"
...
...
@@ -31,7 +31,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'级别'
prop=
'pictureLevel'
>
<el-select
v-model=
"dataForm.pictureLevel"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.pictureLevel"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in pictureLevel"
:key=
"item"
...
...
@@ -43,7 +43,7 @@
<el-form-item
label=
'发布日期'
prop=
'releaseDate'
>
<el-date-picker
clearable
size=
"small"
v-model=
"releaseDate"
type=
"daterange"
start-placeholder=
"开始日期"
...
...
@@ -52,34 +52,42 @@
>
</el-date-picker>
</el-form-item>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
>
搜索
</el-button>
</el-form>
<div
class=
"add-btn"
>
<el-button
v-if=
"isAuth('manage:picture:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
<!--
<el-button
v-if=
"isAuth('manage:picture:delete')"
type=
"danger"
@
click=
"deleteHandle()"
:disabled=
"dataListSelections.length
<
=
0
"
>
批量删除
</el-button>
-->
</div>
<div
class=
"table-list"
>
<el-table
tooltip-effect=
"dark"
:data=
"dataList"
v-loading=
"dataListLoading"
@
selection-change=
"selectionChangeHandle"
border
style=
"width: 100%; "
>
<el-table-column
prop=
"piclevel"
header-align=
"center"
label=
"级别"
>
</el-table-column>
<el-table-column
prop=
"title"
header-align=
"center"
label=
"标题"
>
<el-table-column
type=
"selection"
header-align=
"center"
align=
"center"
width=
"50"
>
</el-table-column>
<el-table-column
prop=
"piclevel"
header-align=
"center"
align=
"center"
label=
"级别"
>
</el-table-column>
<el-table-column
prop=
"title"
header-align=
"center"
align=
"center"
label=
"标题"
>
<template
slot-scope=
"scope"
>
<div>
{{
scope
.
row
.
title
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"pictureType"
header-align=
"center"
label=
"分类"
>
</el-table-column>
<el-table-column
prop=
"showtime"
header-align=
"center"
sortable
label=
"显示时间"
>
</el-table-column>
<el-table-column
prop=
"inputdate"
header-align=
"center"
sortable
label=
"发布时间"
>
</el-table-column>
<el-table-column
prop=
"keyword"
header-align=
"center"
label=
"关键字"
>
</el-table-column>
<el-table-column
prop=
"editor"
header-align=
"center"
label=
"编辑"
>
</el-table-column>
<el-table-column
prop=
"lasteditor"
header-align=
"center"
label=
"最后编辑"
>
</el-table-column>
<el-table-column
prop=
"auditor"
header-align=
"center"
label=
"审核人"
>
</el-table-column>
<el-table-column
prop=
"status"
header-align=
"center"
label=
"状态"
>
<el-table-column
prop=
"pictureType"
header-align=
"center"
align=
"center"
label=
"分类"
>
</el-table-column>
<el-table-column
prop=
"showtime"
header-align=
"center"
align=
"center"
sortable
label=
"显示时间"
>
</el-table-column>
<el-table-column
prop=
"inputdate"
header-align=
"center"
align=
"center"
sortable
label=
"发布时间"
>
</el-table-column>
<el-table-column
prop=
"keyword"
header-align=
"center"
align=
"center"
label=
"关键字"
>
</el-table-column>
<el-table-column
prop=
"editor"
header-align=
"center"
align=
"center"
label=
"编辑"
>
</el-table-column>
<el-table-column
prop=
"lasteditor"
header-align=
"center"
align=
"center"
label=
"最后编辑"
>
</el-table-column>
<el-table-column
prop=
"auditor"
header-align=
"center"
align=
"center"
label=
"审核人"
>
</el-table-column>
<el-table-column
prop=
"status"
header-align=
"center"
align=
"center"
label=
"状态"
>
<
template
slot-scope=
"scope"
>
<div>
<span
v-if=
"scope.row.status === 0"
>
待审核
</span>
...
...
@@ -90,15 +98,16 @@
</el-table-column>
<el-table-column
fixed=
"right"
header-align=
"center"
align=
"center"
width=
"150"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.pictureid,1)"
>
[成功]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.pictureid,-1)"
>
[失败]
</el-button>
<br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.pictureid,true
)"
>
预览
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.pictureid)"
>
修改
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.pictureid)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:picture:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.pictureid,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:picture:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.pictureid,-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:picture:check')"
/>
<el-button
v-if=
"isAuth('manage:picture:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row.pictureid
)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:picture:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.pictureid)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:picture:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.pictureid)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -219,6 +228,9 @@
this
.
$refs
.
addOrUpdate
.
init
(
id
,
showInfo
)
})
},
showMsg
(
id
)
{
window
.
open
(
window
.
location
.
host
+
'/News/msg?id='
+
id
,
'_blank'
)
},
// 删除
deleteHandle
(
id
)
{
...
...
@@ -290,10 +302,12 @@
}
</
script
>
<
style
scoped
>
.el-select-dropdown__item
{
.el-select-dropdown__item
,
.el-form-item__label
{
font-size
:
12px
!important
;
}
.el-table
.cell
,
.el-table
th
div
{
/* .el-table .cell, .el-table th div {
padding-right: 0;
}
}
*/
</
style
>
\ No newline at end of file
src/views/modules/job/schedule-add-or-update.vue
View file @
f60c9c33
...
...
@@ -55,7 +55,7 @@
this
.
$refs
[
'dataForm'
].
resetFields
()
if
(
this
.
dataForm
.
id
)
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/sys/schedule/info/
${
this
.
dataForm
.
id
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/
office/
sys/schedule/info/
${
this
.
dataForm
.
id
}
`
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
()
}).
then
(({
data
})
=>
{
...
...
@@ -75,7 +75,7 @@
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/sys/schedule/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/
office/
sys/schedule/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
({
'jobId'
:
this
.
dataForm
.
id
||
undefined
,
...
...
src/views/modules/job/schedule-log.vue
View file @
f60c9c33
...
...
@@ -104,7 +104,7 @@
getDataList
()
{
this
.
dataListLoading
=
true
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/scheduleLog/list'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/scheduleLog/list'
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
({
'page'
:
this
.
pageIndex
,
...
...
@@ -136,7 +136,7 @@
// 失败信息
showErrorInfo
(
id
)
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/sys/scheduleLog/info/
${
id
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/
office/
sys/scheduleLog/info/
${
id
}
`
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
()
}).
then
(({
data
})
=>
{
...
...
src/views/modules/job/schedule.vue
View file @
f60c9c33
...
...
@@ -129,7 +129,7 @@
getDataList
()
{
this
.
dataListLoading
=
true
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/schedule/list'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/schedule/list'
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
({
'page'
:
this
.
pageIndex
,
...
...
@@ -180,7 +180,7 @@
type
:
'warning'
}).
then
(()
=>
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/schedule/delete'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/schedule/delete'
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
(
ids
,
false
)
}).
then
(({
data
})
=>
{
...
...
@@ -210,7 +210,7 @@
type
:
'warning'
}).
then
(()
=>
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/schedule/pause'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/schedule/pause'
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
(
ids
,
false
)
}).
then
(({
data
})
=>
{
...
...
@@ -240,7 +240,7 @@
type
:
'warning'
}).
then
(()
=>
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/schedule/resume'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/schedule/resume'
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
(
ids
,
false
)
}).
then
(({
data
})
=>
{
...
...
@@ -270,7 +270,7 @@
type
:
'warning'
}).
then
(()
=>
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/schedule/run'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/schedule/run'
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
(
ids
,
false
)
}).
then
(({
data
})
=>
{
...
...
src/views/modules/logistics/logistics-add-or-update.vue
View file @
f60c9c33
...
...
@@ -5,15 +5,15 @@
:visible
.
sync=
"visible"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"120px"
v-loading=
'loading'
>
<el-form-item
label=
"原始标题:"
prop=
"oldtitle"
>
<el-input
v-model=
"dataForm.oldtitle"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.oldtitle"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
titleOld
}}
</p>
</el-form-item>
<el-form-item
label=
"显示标题:"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
<el-form-item
label=
'类别:'
prop=
'type'
>
<el-select
v-model=
"dataForm.type"
placeholder=
"请输入级别"
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.type"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in typeList"
:key=
"item.typeName"
...
...
@@ -24,7 +24,7 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
typeName
}}
</p>
</el-form-item>
<el-form-item
label=
'级别:'
prop=
'level'
>
<el-select
v-model=
"dataForm.level"
placeholder=
"请输入级别"
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.level"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -35,24 +35,24 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
level
}}
</p>
</el-form-item>
<el-form-item
label=
"跳转至:"
prop=
"jumppath"
>
<el-input
v-model=
"dataForm.jumppath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.jumppath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
jumppath
}}
</p>
</el-form-item>
<el-form-item
label=
"关键字:"
prop=
"keyword"
>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
keyword
}}
</p>
</el-form-item>
<el-form-item
label=
"稿源:"
prop=
"source"
>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
source
}}
</p>
</el-form-item>
<el-form-item
label=
"作者:"
prop=
"author"
>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
author
}}
</p>
</el-form-item>
<el-form-item
label=
"发布日期:"
prop=
"releasetime"
>
<el-date-picker
v-show=
"!showInfo"
size=
"small"
v-show=
"!showInfo"
v-model=
"dataForm.releasetime"
value-format=
'yyyy-MM-dd HH:mm:ss'
type=
"datetime"
...
...
@@ -62,7 +62,7 @@
</el-form-item>
<el-form-item
label=
"实施日期:"
prop=
"implementationtime"
>
<el-date-picker
v-show=
"!showInfo"
size=
"small"
v-show=
"!showInfo"
v-model=
"dataForm.implementationtime"
value-format=
'yyyy-MM-dd HH:mm:ss'
type=
"datetime"
...
...
@@ -72,7 +72,7 @@
</el-form-item>
<el-form-item
label=
"备注:"
prop=
"remarks"
>
<el-input
type=
"textarea"
v-model=
"dataForm.remarks"
placeholder=
"请输入简介"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
type=
"textarea"
v-model=
"dataForm.remarks"
placeholder=
"请输入简介"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
remarks
}}
</p>
</el-form-item>
<el-form-item
label=
"内容:"
prop=
"content"
>
...
...
src/views/modules/logistics/logistics.vue
View file @
f60c9c33
<
template
>
<div
class=
"mod-config mod-list-form"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
label-width=
"80px"
>
<el-form-item
label=
'标题'
prop=
'title'
>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'类别'
prop=
'type'
>
<el-select
v-model=
"dataForm.type"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.type"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in typeList"
:key=
"item.typeName"
...
...
@@ -15,18 +15,19 @@
</el-select>
</el-form-item>
<!--
<el-form-item
label=
'关键字'
prop=
'keyword'
>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
clearable
></el-input>
</el-form-item>
-->
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
>
搜索
</el-button>
</el-form>
<div
class=
"add-btn"
>
<el-button
v-if=
"isAuth('manage:
new
s:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
<el-button
v-if=
"isAuth('manage:
logistic
s:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
</div>
<div
class=
"table-list"
>
<el-table
:data=
"dataList"
v-loading=
"dataListLoading"
@
selection-change=
"selectionChangeHandle"
border
style=
"width: 100%;"
>
<el-table-column
prop=
"level"
...
...
@@ -86,12 +87,12 @@
width=
"150"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:logistics:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:logistics:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:logistics:check')"
/>
<el-button
v-if=
"isAuth('manage:logistics:info')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:logistics:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:logistics:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
src/views/modules/medical/medical-add-or-update.vue
View file @
f60c9c33
...
...
@@ -5,11 +5,11 @@
:visible
.
sync=
"visible"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"120px"
v-loading=
'loading'
>
<el-form-item
label=
"标题:"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
<el-form-item
label=
'类别:'
prop=
'type'
>
<el-select
v-model=
"dataForm.type"
placeholder=
"请输入级别"
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.type"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in typeList"
:key=
"item.typeName"
...
...
@@ -20,7 +20,7 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
type
}}
</p>
</el-form-item>
<el-form-item
label=
'级别:'
prop=
'level'
>
<el-select
v-model=
"dataForm.level"
placeholder=
"请输入级别"
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.level"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -31,24 +31,24 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
level
}}
</p>
</el-form-item>
<el-form-item
label=
"跳转至:"
prop=
"jumppath"
>
<el-input
v-model=
"dataForm.jumppath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.jumppath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
jumppath
}}
</p>
</el-form-item>
<el-form-item
label=
"关键字:"
prop=
"keyword"
>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
keyword
}}
</p>
</el-form-item>
<el-form-item
label=
"稿源:"
prop=
"source"
>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
source
}}
</p>
</el-form-item>
<el-form-item
label=
"作者:"
prop=
"author"
>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
author
}}
</p>
</el-form-item>
<el-form-item
label=
"发布日期:"
prop=
"releasetime"
>
<el-date-picker
v-show=
"!showInfo"
size=
"small"
v-show=
"!showInfo"
v-model=
"dataForm.releasetime"
value-format=
'yyyy-MM-dd HH:mm:ss'
type=
"datetime"
...
...
@@ -58,7 +58,7 @@
</el-form-item>
<el-form-item
label=
"实施日期:"
prop=
"implementationtime"
>
<el-date-picker
v-show=
"!showInfo"
size=
"small"
v-show=
"!showInfo"
v-model=
"dataForm.implementationtime"
value-format=
'yyyy-MM-dd HH:mm:ss'
type=
"datetime"
...
...
@@ -68,7 +68,7 @@
</el-form-item>
<el-form-item
label=
"备注:"
prop=
"remarks"
>
<el-input
type=
"textarea"
v-model=
"dataForm.remarks"
placeholder=
"请输入简介"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
type=
"textarea"
v-model=
"dataForm.remarks"
placeholder=
"请输入简介"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
remarks
}}
</p>
</el-form-item>
<el-form-item
label=
"内容:"
prop=
"content"
>
...
...
src/views/modules/medical/medical.vue
View file @
f60c9c33
<
template
>
<div
class=
"mod-config mod-list-form"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
label-width=
"80px"
>
<el-form-item
label=
'标题'
prop=
'title'
>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'类别'
prop=
'type'
>
<el-select
v-model=
"dataForm.type"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.type"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in typeList"
:key=
"item.typeName"
...
...
@@ -15,16 +15,17 @@
</el-select>
</el-form-item>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
>
搜索
</el-button>
</el-form>
<div
class=
"add-btn"
>
<el-button
v-if=
"isAuth('manage:
news:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
<el-button
v-if=
"isAuth('manage:
medical:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
</div>
<div
class=
"table-list"
>
<el-table
:data=
"dataList"
v-loading=
"dataListLoading"
@
selection-change=
"selectionChangeHandle"
border
style=
"width: 100%;"
>
<el-table-column
prop=
"level"
...
...
@@ -84,12 +85,12 @@
width=
"150"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:medical:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:medical:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:medical:check')"
/>
<el-button
v-if=
"isAuth('manage:medical:info')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:medical:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:medical:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
src/views/modules/oss/oss-config.vue
View file @
f60c9c33
...
...
@@ -95,7 +95,7 @@
init
(
id
)
{
this
.
visible
=
true
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/oss/config'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/oss/config'
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
()
}).
then
(({
data
})
=>
{
...
...
@@ -107,7 +107,7 @@
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/oss/saveConfig'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/oss/saveConfig'
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
(
this
.
dataForm
)
}).
then
(({
data
})
=>
{
...
...
src/views/modules/oss/oss-upload.vue
View file @
f60c9c33
...
...
@@ -32,7 +32,7 @@
},
methods
:
{
init
(
id
)
{
this
.
url
=
this
.
$http
.
adornUrl
(
`/sys/oss/upload?token=
${
sessionStorage
.
getItem
(
'token'
)}
`
)
this
.
url
=
this
.
$http
.
adornUrl
(
`/
office/
sys/oss/upload?token=
${
sessionStorage
.
getItem
(
'token'
)}
`
)
this
.
visible
=
true
},
// 上传之前
...
...
src/views/modules/oss/oss.vue
View file @
f60c9c33
...
...
@@ -95,7 +95,7 @@
getDataList
()
{
this
.
dataListLoading
=
true
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/oss/list'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/oss/list'
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
({
'page'
:
this
.
pageIndex
,
...
...
@@ -152,7 +152,7 @@
type
:
'warning'
}).
then
(()
=>
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/oss/delete'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/oss/delete'
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
(
ids
,
false
)
}).
then
(({
data
})
=>
{
...
...
src/views/modules/party/center-add-or-update.vue
View file @
f60c9c33
...
...
@@ -3,21 +3,21 @@
:title=
"!dataForm.id ? '新增' : this.showInfo?'详情':'修改'"
:close-on-click-modal=
"false"
:visible
.
sync=
"visible"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"1
2
0px"
v-loading=
'loading'
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"1
3
0px"
v-loading=
'loading'
>
<el-form-item
label=
"原始标题:"
prop=
"titleOld"
>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入原始标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入原始标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
titleOld
}}
</p>
</el-form-item>
<el-form-item
label=
"显示标题:"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
<el-form-item
label=
"跳转至:"
prop=
"directpath"
>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
directpath
}}
</p>
</el-form-item>
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -29,7 +29,7 @@
</el-form-item>
<el-form-item
label=
"显示时间:"
prop=
"showtime"
>
<el-date-picker
v-show=
"!showInfo"
size=
"small"
v-show=
"!showInfo"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
type=
"datetime"
...
...
@@ -38,18 +38,18 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
</el-form-item>
<el-form-item
label=
"关键字:"
prop=
"keyword"
>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
keyword
}}
</p>
</el-form-item>
<el-form-item
label=
"稿源:"
prop=
"source"
>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
source
}}
</p>
</el-form-item>
<el-form-item
label=
"作者:"
prop=
"author"
>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
author
}}
</p>
</el-form-item>
<el-form-item
label=
"上传图片命名规则
:
"
>
<el-form-item
label=
"上传图片命名规则"
>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
</el-form-item>
<el-form-item
label=
"图片:"
prop=
"pic"
>
...
...
@@ -66,7 +66,7 @@
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar"
></p>
</el-form-item>
<el-form-item
label=
"简介:"
prop=
"brief"
>
<el-input
type=
"textarea"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo"
size=
"small
"
></el-input>
<el-input
type=
"textarea"
rows=
"5"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo
"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
brief
}}
</p>
</el-form-item>
<el-form-item
label=
"文章内容:"
prop=
"content"
>
...
...
src/views/modules/party/center.vue
View file @
f60c9c33
<
template
>
<div
class=
"mod-config mod-list-form"
>
<div
class=
"title"
>
中央和总局精神
</div>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
label-width=
"80px"
>
<el-form-item
label=
'标题'
prop=
'title'
>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'作者'
prop=
'author'
>
<el-input
v-model=
'dataForm.author'
placeholder=
'请输入作者'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.author'
placeholder=
'请输入作者'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'编辑'
prop=
'editor'
>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'关键字'
prop=
'keyword'
>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'状态'
prop=
'status'
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
clearable
>
<el-option
v-for=
"item in statusList"
:key=
"item.value"
...
...
@@ -25,7 +24,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -37,7 +36,7 @@
<el-form-item
label=
'发布日期'
prop=
'releaseDate'
>
<el-date-picker
clearable
size=
"small"
v-model=
"releaseDate"
type=
"daterange"
start-placeholder=
"开始日期"
...
...
@@ -48,7 +47,7 @@
</el-form-item>
<el-form-item
label=
'更新日期'
prop=
'updateDate'
>
<el-date-picker
size=
"small"
clearable
v-model=
"updateDate"
type=
"daterange"
...
...
@@ -58,16 +57,17 @@
>
</el-date-picker>
</el-form-item>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
>
搜索
</el-button>
</el-form>
<div
class=
"add-btn"
>
<el-button
v-if=
"isAuth('manage:
news
:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
<el-button
v-if=
"isAuth('manage:
center
:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
</div>
<div
class=
"table-list"
>
<el-table
:data=
"dataList"
v-loading=
"dataListLoading"
@
selection-change=
"selectionChangeHandle"
border
style=
"width: 100%;"
>
<el-table-column
prop=
"levels"
...
...
@@ -145,12 +145,12 @@
width=
"150"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:center:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:center:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:center:check')"
/>
<el-button
v-if=
"isAuth('manage:center:check')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:center:check')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:center:check')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
src/views/modules/party/hotFlow-add-or-update.vue
View file @
f60c9c33
...
...
@@ -3,21 +3,21 @@
:title=
"!dataForm.id ? '新增' : this.showInfo?'详情':'修改'"
:close-on-click-modal=
"false"
:visible
.
sync=
"visible"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"1
2
0px"
v-loading=
'loading'
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"1
3
0px"
v-loading=
'loading'
>
<el-form-item
label=
"原始标题:"
prop=
"titleOld"
>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入原始标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入原始标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
titleOld
}}
</p>
</el-form-item>
<el-form-item
label=
"显示标题:"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
<el-form-item
label=
"跳转至:"
prop=
"directpath"
>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
directpath
}}
</p>
</el-form-item>
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -29,7 +29,7 @@
</el-form-item>
<el-form-item
label=
"显示时间:"
prop=
"showtime"
>
<el-date-picker
v-show=
"!showInfo"
size=
"small"
v-show=
"!showInfo"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
type=
"datetime"
...
...
@@ -38,18 +38,18 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
</el-form-item>
<el-form-item
label=
"关键字:"
prop=
"keyword"
>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
keyword
}}
</p>
</el-form-item>
<el-form-item
label=
"稿源:"
prop=
"source"
>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
source
}}
</p>
</el-form-item>
<el-form-item
label=
"作者:"
prop=
"author"
>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
author
}}
</p>
</el-form-item>
<el-form-item
label=
"上传图片命名规则
:
"
>
<el-form-item
label=
"上传图片命名规则"
>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
</el-form-item>
<el-form-item
label=
"图片:"
prop=
"pic"
>
...
...
@@ -66,7 +66,7 @@
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar"
></p>
</el-form-item>
<el-form-item
label=
"简介:"
prop=
"brief"
>
<el-input
type=
"textarea"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo"
size=
"small
"
></el-input>
<el-input
type=
"textarea"
rows=
"5"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo
"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
brief
}}
</p>
</el-form-item>
<el-form-item
label=
"文章内容:"
prop=
"content"
>
...
...
src/views/modules/party/hotFlow.vue
View file @
f60c9c33
<
template
>
<div
class=
"mod-config mod-list-form"
>
<div
class=
"title"
>
热点关注
</div>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
label-width=
"80px"
>
<el-form-item
label=
'标题'
prop=
'title'
>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'作者'
prop=
'author'
>
<el-input
v-model=
'dataForm.author'
placeholder=
'请输入作者'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.author'
placeholder=
'请输入作者'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'编辑'
prop=
'editor'
>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'关键字'
prop=
'keyword'
>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'状态'
prop=
'status'
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
clearable
>
<el-option
v-for=
"item in statusList"
:key=
"item.value"
...
...
@@ -25,7 +24,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -37,7 +36,6 @@
<el-form-item
label=
'发布日期'
prop=
'releaseDate'
>
<el-date-picker
clearable
size=
"small"
v-model=
"releaseDate"
type=
"daterange"
start-placeholder=
"开始日期"
...
...
@@ -49,7 +47,6 @@
<el-form-item
label=
'更新日期'
prop=
'updateDate'
>
<el-date-picker
clearable
size=
"small"
v-model=
"updateDate"
type=
"daterange"
start-placeholder=
"开始日期"
...
...
@@ -58,10 +55,10 @@
>
</el-date-picker>
</el-form-item>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
>
搜索
</el-button>
</el-form>
<div
class=
"add-btn"
>
<el-button
v-if=
"isAuth('manage:
news
:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
<el-button
v-if=
"isAuth('manage:
hotFlow
:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
</div>
<div
class=
"table-list"
>
<el-table
...
...
@@ -145,12 +142,12 @@
width=
"150"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:hotFlow:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:hotFlow:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:hotFlow:check')"
/>
<el-button
v-if=
"isAuth('manage:hotFlow:info')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:hotFlow:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:hotFlow:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
src/views/modules/party/rules-add-or-update.vue
View file @
f60c9c33
...
...
@@ -3,21 +3,21 @@
:title=
"!dataForm.id ? '新增' : this.showInfo?'详情':'修改'"
:close-on-click-modal=
"false"
:visible
.
sync=
"visible"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"1
2
0px"
v-loading=
'loading'
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"1
3
0px"
v-loading=
'loading'
>
<el-form-item
label=
"原始标题:"
prop=
"titleOld"
>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入原始标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入原始标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
titleOld
}}
</p>
</el-form-item>
<el-form-item
label=
"显示标题:"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
<el-form-item
label=
"跳转至:"
prop=
"directpath"
>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
size=
"small"
>
</el-input>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
>
</el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
directpath
}}
</p>
</el-form-item>
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -29,7 +29,7 @@
</el-form-item>
<el-form-item
label=
"显示时间:"
prop=
"showtime"
>
<el-date-picker
v-show=
"!showInfo"
size=
"small"
v-show=
"!showInfo"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
type=
"datetime"
...
...
@@ -38,18 +38,18 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
</el-form-item>
<el-form-item
label=
"关键字:"
prop=
"keyword"
>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
keyword
}}
</p>
</el-form-item>
<el-form-item
label=
"稿源:"
prop=
"source"
>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
source
}}
</p>
</el-form-item>
<el-form-item
label=
"作者:"
prop=
"author"
>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
author
}}
</p>
</el-form-item>
<el-form-item
label=
"上传图片命名规则
:
"
>
<el-form-item
label=
"上传图片命名规则"
>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
</el-form-item>
<el-form-item
label=
"图片:"
prop=
"pic"
>
...
...
@@ -66,7 +66,7 @@
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar"
></p>
</el-form-item>
<el-form-item
label=
"简介:"
prop=
"brief"
>
<el-input
type=
"textarea"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
type=
"textarea"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
brief
}}
</p>
</el-form-item>
<el-form-item
label=
"文章内容:"
prop=
"content"
>
...
...
src/views/modules/party/rules.vue
View file @
f60c9c33
<
template
>
<div
class=
"mod-config mod-list-form"
>
<div
class=
"title"
>
规章制度
</div>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
label-width=
"80px"
>
<el-form-item
label=
'标题'
prop=
'title'
>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'作者'
prop=
'author'
>
<el-input
v-model=
'dataForm.author'
placeholder=
'请输入作者'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.author'
placeholder=
'请输入作者'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'编辑'
prop=
'editor'
>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'关键字'
prop=
'keyword'
>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'状态'
prop=
'status'
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
clearable
>
<el-option
v-for=
"item in statusList"
:key=
"item.value"
...
...
@@ -25,7 +24,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -37,7 +36,7 @@
<el-form-item
label=
'发布日期'
prop=
'releaseDate'
>
<el-date-picker
clearable
size=
"small"
v-model=
"releaseDate"
type=
"datetimerange"
start-placeholder=
"开始日期"
...
...
@@ -49,7 +48,7 @@
<el-form-item
label=
'更新日期'
prop=
'updateDate'
>
<el-date-picker
clearable
size=
"small"
v-model=
"updateDate"
type=
"datetimerange"
start-placeholder=
"开始日期"
...
...
@@ -58,16 +57,17 @@
>
</el-date-picker>
</el-form-item>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
>
搜索
</el-button>
</el-form>
<div
class=
"add-btn"
>
<el-button
v-if=
"isAuth('manage:
new
s:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
<el-button
v-if=
"isAuth('manage:
rule
s:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
</div>
<div
class=
"table-list"
>
<el-table
:data=
"dataList"
v-loading=
"dataListLoading"
@
selection-change=
"selectionChangeHandle"
border
style=
"width: 100%;"
>
<el-table-column
prop=
"levels"
...
...
@@ -145,12 +145,12 @@
width=
"150"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:rules:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:rules:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:rules:check')"
/>
<el-button
v-if=
"isAuth('manage:rules:info')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:rules:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:rules:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
src/views/modules/party/topicnews-add-or-update.vue
View file @
f60c9c33
...
...
@@ -3,21 +3,21 @@
:title=
"!dataForm.id ? '新增' : this.showInfo?'详情':'修改'"
:close-on-click-modal=
"false"
:visible
.
sync=
"visible"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"1
2
0px"
v-loading=
'loading'
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"1
3
0px"
v-loading=
'loading'
>
<el-form-item
label=
"原始标题:"
prop=
"titleOld"
>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入原始标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入原始标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
titleOld
}}
</p>
</el-form-item>
<el-form-item
label=
"显示标题:"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
<el-form-item
label=
"跳转至:"
prop=
"directpath"
>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
directpath
}}
</p>
</el-form-item>
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -29,7 +29,7 @@
</el-form-item>
<el-form-item
label=
"显示时间:"
prop=
"showtime"
>
<el-date-picker
v-show=
"!showInfo"
size=
"small"
v-show=
"!showInfo"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
type=
"datetime"
...
...
@@ -38,18 +38,18 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
</el-form-item>
<el-form-item
label=
"关键字:"
prop=
"keyword"
>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
keyword
}}
</p>
</el-form-item>
<el-form-item
label=
"稿源:"
prop=
"source"
>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
source
}}
</p>
</el-form-item>
<el-form-item
label=
"作者:"
prop=
"author"
>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
author
}}
</p>
</el-form-item>
<el-form-item
label=
"上传图片命名规则
:
"
>
<el-form-item
label=
"上传图片命名规则"
>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
</el-form-item>
<el-form-item
label=
"图片:"
prop=
"pic"
>
...
...
@@ -66,7 +66,7 @@
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar"
></p>
</el-form-item>
<el-form-item
label=
"简介:"
prop=
"brief"
>
<el-input
type=
"textarea"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
type=
"textarea"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
brief
}}
</p>
</el-form-item>
<el-form-item
label=
"文章内容:"
prop=
"content"
>
...
...
src/views/modules/party/topicnews.vue
View file @
f60c9c33
<
template
>
<div
class=
"mod-config mod-list-form"
>
<div
class=
"title"
>
活动报道
</div>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
label-width=
"80px"
>
<el-form-item
label=
'标题'
prop=
'title'
>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'作者'
prop=
'author'
>
<el-input
v-model=
'dataForm.author'
placeholder=
'请输入作者'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.author'
placeholder=
'请输入作者'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'编辑'
prop=
'editor'
>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'关键字'
prop=
'keyword'
>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'状态'
prop=
'status'
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
clearable
>
<el-option
v-for=
"item in statusList"
:key=
"item.value"
...
...
@@ -25,7 +24,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -36,7 +35,6 @@
</el-form-item>
<el-form-item
label=
'发布日期'
prop=
'releaseDate'
>
<el-date-picker
size=
"small"
clearable
v-model=
"releaseDate"
type=
"daterange"
...
...
@@ -49,7 +47,6 @@
<el-form-item
label=
'更新日期'
prop=
'updateDate'
>
<el-date-picker
clearable
size=
"small"
v-model=
"updateDate"
type=
"daterange"
start-placeholder=
"开始日期"
...
...
@@ -58,16 +55,17 @@
>
</el-date-picker>
</el-form-item>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
>
搜索
</el-button>
</el-form>
<div
class=
"add-btn"
>
<el-button
v-if=
"isAuth('manage:news:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
<el-button
v-if=
"isAuth('manage:
topic
news:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
</div>
<div
class=
"table-list"
>
<el-table
:data=
"dataList"
v-loading=
"dataListLoading"
@
selection-change=
"selectionChangeHandle"
border
style=
"width: 100%;"
>
<el-table-column
prop=
"levels"
...
...
src/views/modules/policy/policy-add-or-update.vue
View file @
f60c9c33
...
...
@@ -5,15 +5,15 @@
:visible
.
sync=
"visible"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"120px"
v-loading=
'loading'
>
<el-form-item
label=
"原始标题:"
prop=
"titleOld"
>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.titleOld"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
titleOld
}}
</p>
</el-form-item>
<el-form-item
label=
"显示标题:"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
<el-form-item
label=
'类别:'
prop=
'class1'
>
<el-select
v-model=
"dataForm.class1"
placeholder=
"请输入级别"
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.class1"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in typeList"
:key=
"item.typeName"
...
...
@@ -24,7 +24,7 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
class1
}}
</p>
</el-form-item>
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
size=
"small"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -35,24 +35,24 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
</el-form-item>
<el-form-item
label=
"跳转至:"
prop=
"directpath"
>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
directpath
}}
</p>
</el-form-item>
<el-form-item
label=
"关键字:"
prop=
"keyword"
>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.keyword"
placeholder=
"请输入关键字"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
keyword
}}
</p>
</el-form-item>
<el-form-item
label=
"稿源:"
prop=
"source"
>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.source"
placeholder=
"请输入稿源"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
source
}}
</p>
</el-form-item>
<el-form-item
label=
"作者:"
prop=
"author"
>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
size=
"small"
></el-input>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
author
}}
</p>
</el-form-item>
<el-form-item
label=
"发布日期:"
prop=
"publicdate"
>
<el-date-picker
v-show=
"!showInfo"
size=
"small"
v-show=
"!showInfo"
v-model=
"dataForm.publicdate"
value-format=
'yyyy-MM-dd HH:mm:ss'
type=
"datetime"
...
...
@@ -62,7 +62,7 @@
</el-form-item>
<el-form-item
label=
"实施日期:"
prop=
"startdate"
>
<el-date-picker
v-show=
"!showInfo"
size=
"small"
v-show=
"!showInfo"
v-model=
"dataForm.startdate"
value-format=
'yyyy-MM-dd HH:mm:ss'
type=
"datetime"
...
...
@@ -72,7 +72,7 @@
</el-form-item>
<el-form-item
label=
"备注:"
prop=
"brief"
>
<el-input
type=
"textarea"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo"
size=
"small
"
></el-input>
<el-input
type=
"textarea"
rows=
"5"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo
"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
brief
}}
</p>
</el-form-item>
<el-form-item
label=
"内容:"
prop=
"content"
>
...
...
src/views/modules/policy/policy.vue
View file @
f60c9c33
...
...
@@ -2,16 +2,16 @@
<div
class=
"mod-config mod-list-form"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
>
<el-form-item
label=
'标题'
prop=
'title'
>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'编辑'
prop=
'editor'
>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.editor'
placeholder=
'请输入编辑'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'关键字'
prop=
'keyword'
>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
size=
"small"
clearable
></el-input>
<el-input
v-model=
'dataForm.keyword'
placeholder=
'请输入关键字'
clearable
></el-input>
</el-form-item>
<el-form-item
label=
'状态'
prop=
'status'
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.status"
placeholder=
"请选择状态"
clearable
>
<el-option
v-for=
"item in statusList"
:key=
"item.value"
...
...
@@ -21,7 +21,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'类别'
prop=
'class1'
>
<el-select
v-model=
"dataForm.class1"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.class1"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in typeList"
:key=
"item.typeName"
...
...
@@ -31,7 +31,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in piclevelList"
:key=
"item"
...
...
@@ -43,7 +43,7 @@
<el-form-item
label=
'更新日期'
prop=
'updateDate'
>
<el-date-picker
clearable
size=
"small"
v-model=
"updateDate"
type=
"datetimerange"
start-placeholder=
"开始日期"
...
...
@@ -52,16 +52,18 @@
>
</el-date-picker>
</el-form-item>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
>
搜索
</el-button>
</el-form>
<div
class=
"add-btn"
>
<el-button
v-if=
"isAuth('manage:
news
:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
<el-button
v-if=
"isAuth('manage:
policy
:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
</div>
<div
class=
"table-list"
>
<el-table
:data=
"dataList"
v-loading=
"dataListLoading"
@
selection-change=
"selectionChangeHandle"
border
style=
"width: 100%;"
>
>
<el-table-column
prop=
"levels"
...
...
@@ -134,12 +136,12 @@
width=
"150"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:policy:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:policy:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:policy:check')"
/>
<el-button
v-if=
"isAuth('manage:policy:info')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:policy:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:policy:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
src/views/modules/service/doc-add-or-update.vue
View file @
f60c9c33
...
...
@@ -5,11 +5,11 @@
:visible
.
sync=
"visible"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"120px"
v-loading=
'loading'
>
<el-form-item
label=
"标题:"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
size=
"small"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
size=
"small"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -20,14 +20,14 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
</el-form-item>
<el-form-item
label=
'类型:'
prop=
'category'
>
<el-select
v-model=
"dataForm.category"
placeholder=
"请输入类型"
size=
"small"
v-show=
"!showInfo"
@
change=
"changeType"
>
<el-select
v-model=
"dataForm.category"
placeholder=
"请输入类型"
v-show=
"!showInfo"
@
change=
"changeType"
>
<el-option
label=
'表格下载'
value=
"1"
>
表格下载
</el-option>
<el-option
label=
"分支机构培训计划"
value=
"2"
>
分支机构培训计划
</el-option>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
category
}}
</p>
</el-form-item>
<el-form-item
label=
"作者:"
prop=
"author"
>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
size=
"small"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
author
}}
</p>
</el-form-item>
<el-form-item
label=
"文件:"
prop=
"file"
>
...
...
src/views/modules/service/doc.vue
View file @
f60c9c33
<
template
>
<div
class=
"mod-config mod-list-form"
>
<div
class=
"title"
>
文档管理
</div>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
>
<el-form
:inline=
"true"
:model=
"dataForm"
@
keyup
.
enter
.
native=
"getDataList()"
label-width=
"80px"
>
<el-form-item
label=
'标题'
prop=
'title'
>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
size=
"small"
></el-input>
<el-input
v-model=
'dataForm.title'
placeholder=
'请输入标题'
></el-input>
</el-form-item>
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
size=
"small"
clearable
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in levelList"
:key=
"item"
...
...
@@ -16,7 +15,7 @@
</el-select>
</el-form-item>
<el-form-item
label=
'类型'
prop=
'category'
>
<el-select
v-model=
"dataForm.category"
placeholder=
"请选择类型"
size=
"small"
>
<el-select
v-model=
"dataForm.category"
placeholder=
"请选择类型"
>
<el-option
v-for=
"item in typeList"
:key=
"item.value"
...
...
@@ -25,16 +24,18 @@
</el-option>
</el-select>
</el-form-item>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
size=
"small"
>
搜索
</el-button>
<el-button
class=
"seach-btn"
@
click=
"getDataList()"
type=
"primary"
>
搜索
</el-button>
</el-form>
<div
class=
"add-btn"
>
<el-button
v-if=
"isAuth('manage:news
:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
<el-button
v-if=
"isAuth('manage:doc
:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
</div>
<div
class=
"table-list"
>
<el-table
:data=
"dataList"
v-loading=
"dataListLoading"
@
selection-change=
"selectionChangeHandle"
border
style=
"width: 100%; "
>
<el-table-column
prop=
"levels"
...
...
@@ -78,12 +79,12 @@
width=
"150"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
<el-button
v-if=
"isAuth('manage:doc:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,1)"
>
[成功]
</el-button>
<el-button
v-if=
"isAuth('manage:doc:check')"
type=
"text"
size=
"small"
@
click=
"checkHandle(scope.row.id,-1)"
>
[失败]
</el-button>
<br
v-if=
"isAuth('manage:doc:check')"
/>
<el-button
v-if=
"isAuth('manage:doc:info')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,true)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:doc:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:doc:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
src/views/modules/sys/config-add-or-update.vue
View file @
f60c9c33
...
...
@@ -68,7 +68,7 @@
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/sys/config/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/
office/
sys/config/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
({
'id'
:
this
.
dataForm
.
id
||
undefined
,
...
...
src/views/modules/sys/config.vue
View file @
f60c9c33
...
...
@@ -101,7 +101,7 @@
getDataList
()
{
this
.
dataListLoading
=
true
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/config/list'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/config/list'
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
({
'page'
:
this
.
pageIndex
,
...
...
@@ -152,7 +152,7 @@
type
:
'warning'
}).
then
(()
=>
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/config/delete'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/config/delete'
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
(
ids
,
false
)
}).
then
(({
data
})
=>
{
...
...
src/views/modules/sys/log.vue
View file @
f60c9c33
...
...
@@ -104,7 +104,7 @@
getDataList
()
{
this
.
dataListLoading
=
true
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/log/list'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/log/list'
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
({
'page'
:
this
.
pageIndex
,
...
...
src/views/modules/sys/menu-add-or-update.vue
View file @
f60c9c33
...
...
@@ -129,7 +129,7 @@
init
(
id
)
{
this
.
dataForm
.
id
=
id
||
0
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/menu/select'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/menu/select'
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
()
}).
then
(({
data
})
=>
{
...
...
@@ -146,7 +146,7 @@
}
else
{
// 修改
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/sys/menu/info/
${
this
.
dataForm
.
id
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/
office/
sys/menu/info/
${
this
.
dataForm
.
id
}
`
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
()
}).
then
(({
data
})
=>
{
...
...
@@ -182,7 +182,7 @@
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/sys/menu/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/
office/
sys/menu/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
({
'menuId'
:
this
.
dataForm
.
id
||
undefined
,
...
...
src/views/modules/sys/menu.vue
View file @
f60c9c33
...
...
@@ -5,7 +5,6 @@
<el-button
v-if=
"isAuth('sys:menu:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
新增
</el-button>
</el-form-item>
</el-form>
<el-table
:data=
"dataList"
row-key=
"menuId"
...
...
@@ -105,7 +104,7 @@
getDataList
()
{
this
.
dataListLoading
=
true
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/menu/list'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/menu/list'
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
()
}).
then
(({
data
})
=>
{
...
...
@@ -128,7 +127,7 @@
type
:
'warning'
}).
then
(()
=>
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/sys/menu/delete/
${
id
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/
office/
sys/menu/delete/
${
id
}
`
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
()
}).
then
(({
data
})
=>
{
...
...
src/views/modules/sys/role-add-or-update.vue
View file @
f60c9c33
...
...
@@ -56,7 +56,7 @@
init
(
id
)
{
this
.
dataForm
.
id
=
id
||
0
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/menu/list'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/menu/list'
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
()
}).
then
(({
data
})
=>
{
...
...
@@ -70,7 +70,7 @@
}).
then
(()
=>
{
if
(
this
.
dataForm
.
id
)
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/sys/role/info/
${
this
.
dataForm
.
id
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/
office/
sys/role/info/
${
this
.
dataForm
.
id
}
`
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
()
}).
then
(({
data
})
=>
{
...
...
@@ -92,7 +92,7 @@
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/sys/role/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/
office/
sys/role/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
({
'roleId'
:
this
.
dataForm
.
id
||
undefined
,
...
...
src/views/modules/sys/role.vue
View file @
f60c9c33
...
...
@@ -102,7 +102,7 @@
getDataList
()
{
this
.
dataListLoading
=
true
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/role/list'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/role/list'
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
({
'page'
:
this
.
pageIndex
,
...
...
@@ -153,7 +153,7 @@
type
:
'warning'
}).
then
(()
=>
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/role/delete'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/role/delete'
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
(
ids
,
false
)
}).
then
(({
data
})
=>
{
...
...
src/views/modules/sys/user-add-or-update.vue
View file @
f60c9c33
...
...
@@ -111,7 +111,7 @@
init
(
id
)
{
this
.
dataForm
.
id
=
id
||
0
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/role/select'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/role/select'
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
()
}).
then
(({
data
})
=>
{
...
...
@@ -124,7 +124,7 @@
}).
then
(()
=>
{
if
(
this
.
dataForm
.
id
)
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/sys/user/info/
${
this
.
dataForm
.
id
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/
office/
sys/user/info/
${
this
.
dataForm
.
id
}
`
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
()
}).
then
(({
data
})
=>
{
...
...
@@ -145,7 +145,7 @@
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/sys/user/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/
office/
sys/user/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
({
'userId'
:
this
.
dataForm
.
id
||
undefined
,
...
...
src/views/modules/sys/user.vue
View file @
f60c9c33
...
...
@@ -118,7 +118,7 @@
getDataList
()
{
this
.
dataListLoading
=
true
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/user/list'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/user/list'
),
method
:
'get'
,
params
:
this
.
$http
.
adornParams
({
'page'
:
this
.
pageIndex
,
...
...
@@ -169,7 +169,7 @@
type
:
'warning'
}).
then
(()
=>
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/sys/user/delete'
),
url
:
this
.
$http
.
adornUrl
(
'/
office/
sys/user/delete'
),
method
:
'post'
,
data
:
this
.
$http
.
adornData
(
userIds
,
false
)
}).
then
(({
data
})
=>
{
...
...
static/config/index.js
View file @
f60c9c33
...
...
@@ -5,8 +5,8 @@
window
.
SITE_CONFIG
=
{}
// api接口请求地址
//
window.SITE_CONFIG['baseUrl'] = 'http://81.68.189.225:9091'
window
.
SITE_CONFIG
[
'baseUrl'
]
=
' http://192.168.0.77:9091'
window
.
SITE_CONFIG
[
'baseUrl'
]
=
'http://81.68.189.225:9091'
//
window.SITE_CONFIG['baseUrl'] = ' http://192.168.0.77:9091'
// cdn地址 = 域名 + 版本号
window
.
SITE_CONFIG
[
'domain'
]
=
'./'
// 域名
window
.
SITE_CONFIG
[
'version'
]
=
''
// 版本号(年月日时分)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment