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
1c264e08
Commit
1c264e08
authored
Jun 18, 2022
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改必填项
parent
7e128887
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
30 changed files
with
504 additions
and
463 deletions
+504
-463
news-add-or-update.vue
src/views/modules/application/news-add-or-update.vue
+4
-4
announce-add-or-update.vue
src/views/modules/info/announce-add-or-update.vue
+17
-13
indexcarouselmanage-add-or-update.vue
src/views/modules/info/indexcarouselmanage-add-or-update.vue
+8
-7
news-add-or-update.vue
src/views/modules/info/news-add-or-update.vue
+29
-28
newsmovie-add-or-update.vue
src/views/modules/info/newsmovie-add-or-update.vue
+25
-23
newtopic-add-or-update.vue
src/views/modules/info/newtopic-add-or-update.vue
+15
-14
picture-add-or-update.vue
src/views/modules/info/picture-add-or-update.vue
+6
-5
logistics-add-or-update.vue
src/views/modules/logistics/logistics-add-or-update.vue
+16
-15
logistics.vue
src/views/modules/logistics/logistics.vue
+1
-1
medical-add-or-update.vue
src/views/modules/medical/medical-add-or-update.vue
+16
-15
center-add-or-update.vue
src/views/modules/party/center-add-or-update.vue
+16
-15
hotFlow-add-or-update.vue
src/views/modules/party/hotFlow-add-or-update.vue
+12
-11
rules-add-or-update.vue
src/views/modules/party/rules-add-or-update.vue
+17
-16
topicnews-add-or-update.vue
src/views/modules/party/topicnews-add-or-update.vue
+12
-11
annual-add-or-update.vue
src/views/modules/planbranch/annual-add-or-update.vue
+2
-2
annual.vue
src/views/modules/planbranch/annual.vue
+3
-3
fistplan.vue
src/views/modules/planbranch/fistplan.vue
+3
-3
fourplan.vue
src/views/modules/planbranch/fourplan.vue
+3
-3
secondplan.vue
src/views/modules/planbranch/secondplan.vue
+3
-3
thirdplan.vue
src/views/modules/planbranch/thirdplan.vue
+3
-3
glossary-add-or-update.vue
src/views/modules/plate/glossary-add-or-update.vue
+77
-77
knowledgeinfo-add-or-update.vue
src/views/modules/plate/knowledgeinfo-add-or-update.vue
+17
-11
product-add-or-update.vue
src/views/modules/plate/product-add-or-update.vue
+43
-25
policy-add-or-update.vue
src/views/modules/policy/policy-add-or-update.vue
+15
-14
picture-add-or-update.vue
src/views/modules/retail/picture-add-or-update.vue
+12
-11
branch.vue
src/views/modules/service/branch.vue
+1
-1
doc-add-or-update.vue
src/views/modules/service/doc-add-or-update.vue
+13
-12
doc.vue
src/views/modules/service/doc.vue
+2
-2
cases-add-or-update.vue
src/views/modules/standard/cases-add-or-update.vue
+112
-113
partners-add-or-update.vue
src/views/modules/standard/partners-add-or-update.vue
+1
-2
No files found.
src/views/modules/application/news-add-or-update.vue
View file @
1c264e08
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
:key=
"item.value"
:key=
"item.value"
:label=
"item.name"
:label=
"item.name"
:value=
"item.value"
:value=
"item.value"
v-show=
"item.value"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -183,12 +183,12 @@ export default {
...
@@ -183,12 +183,12 @@ export default {
title
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
title
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
titleOld
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
titleOld
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
keyword
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
keyword
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
brief
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
//
brief: [{ required: true, message: '不能为空', trigger: 'blur' }],
author
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
author
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
source
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
source
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
levels
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
levels
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
directpath
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
//
directpath: [{ required: true, message: '不能为空', trigger: 'blur' }],
pic
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
//
pic: [{ required: true, message: '不能为空', trigger: 'blur' }],
// content: [
// content: [
// { required: true, message: '不能为空', trigger: 'blur' }
// { required: true, message: '不能为空', trigger: 'blur' }
// ],
// ],
...
...
src/views/modules/info/announce-add-or-update.vue
View file @
1c264e08
...
@@ -19,9 +19,9 @@
...
@@ -19,9 +19,9 @@
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in piclevelList"
v-for=
"item in piclevelList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
</el-form-item>
</el-form-item>
<el-form-item
label=
"附件路径:"
prop=
"fileUrl"
class=
"pic"
>
<el-form-item
label=
"附件路径:"
prop=
"fileUrl"
>
<el-upload
<el-upload
v-show=
"!showInfo"
v-show=
"!showInfo"
class=
"avatar-uploaderFile"
class=
"avatar-uploaderFile"
...
@@ -77,8 +77,9 @@
...
@@ -77,8 +77,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
Ueditor
from
'../temps/ueditor'
import
{
piclevelList
}
from
'@/utils'
export
default
{
import
Ueditor
from
'../temps/ueditor'
export
default
{
components
:
{
components
:
{
Ueditor
Ueditor
},
},
...
@@ -95,7 +96,7 @@
...
@@ -95,7 +96,7 @@
id
:
0
,
id
:
0
,
title
:
''
,
title
:
''
,
author
:
''
,
author
:
''
,
levels
:
''
,
levels
:
1
,
fileurl
:
''
,
fileurl
:
''
,
content
:
''
,
content
:
''
,
showtime
:
''
,
showtime
:
''
,
...
@@ -133,6 +134,9 @@
...
@@ -133,6 +134,9 @@
showtime
:
[
showtime
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
content
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
]
]
},
},
...
@@ -143,7 +147,7 @@
...
@@ -143,7 +147,7 @@
value
:
''
,
value
:
''
,
config
:
{}
config
:
{}
},
},
piclevelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
id
:
[],
id
:
[],
classidList
:
[],
classidList
:
[],
cclassidList
:
[],
cclassidList
:
[],
...
@@ -195,10 +199,10 @@
...
@@ -195,10 +199,10 @@
this
.
loading
=
true
this
.
loading
=
true
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
dataForm
.
fileurl
===
''
||
this
.
dataForm
.
fileurl
===
null
)
{
//
if (this.dataForm.fileurl === '' || this.dataForm.fileurl === null) {
this
.
$message
.
error
(
'图片未上传,请上传图片!'
)
//
this.$message.error('图片未上传,请上传图片!')
return
//
return
}
//
}
this
.
$http
({
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/office/announce/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/office/announce/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
method
:
'post'
,
method
:
'post'
,
...
@@ -273,7 +277,7 @@
...
@@ -273,7 +277,7 @@
})
})
}
}
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.avatar-uploader
>
.el-upload
{
.avatar-uploader
>
.el-upload
{
...
...
src/views/modules/info/indexcarouselmanage-add-or-update.vue
View file @
1c264e08
...
@@ -68,9 +68,9 @@
...
@@ -68,9 +68,9 @@
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入等级"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入等级"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in levelList"
v-for=
"item in levelList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-col>
</el-col>
...
@@ -126,7 +126,8 @@
...
@@ -126,7 +126,8 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
import
{
piclevelList
}
from
'@/utils'
export
default
{
data
()
{
data
()
{
return
{
return
{
loading
:
false
,
loading
:
false
,
...
@@ -138,7 +139,7 @@
...
@@ -138,7 +139,7 @@
classnum
:
''
,
classnum
:
''
,
title
:
''
,
title
:
''
,
brief
:
''
,
brief
:
''
,
levels
:
''
,
levels
:
1
,
directpath
:
''
,
directpath
:
''
,
picIndexPath
:
''
,
picIndexPath
:
''
,
colorBackground
:
''
,
colorBackground
:
''
,
...
@@ -173,7 +174,7 @@
...
@@ -173,7 +174,7 @@
imgUrl
:
new
FormData
(),
imgUrl
:
new
FormData
(),
imgUrlStr
:
''
,
imgUrlStr
:
''
,
dialogVisible
:
false
,
dialogVisible
:
false
,
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
levelList
:
piclevelList
,
colorBackgroundList
:
[
colorBackgroundList
:
[
{
{
label
:
'桔色'
,
label
:
'桔色'
,
...
@@ -353,7 +354,7 @@
...
@@ -353,7 +354,7 @@
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
}
}
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.iconStyle
{
.iconStyle
{
...
...
src/views/modules/info/news-add-or-update.vue
View file @
1c264e08
...
@@ -57,9 +57,9 @@
...
@@ -57,9 +57,9 @@
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in piclevelList"
v-for=
"item in piclevelList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
...
@@ -87,7 +87,7 @@
...
@@ -87,7 +87,7 @@
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
author
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
author
}}
</p>
</el-form-item>
</el-form-item>
<el-form-item
label=
"上传图片:"
prop=
"pic"
class=
"pic"
>
<el-form-item
label=
"上传图片:"
prop=
"pic"
>
<el-upload
<el-upload
v-show=
"!showInfo"
v-show=
"!showInfo"
class=
"avatar-uploader avatar2"
class=
"avatar-uploader avatar2"
...
@@ -119,8 +119,9 @@
...
@@ -119,8 +119,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
Ueditor
from
'../temps/ueditor'
import
{
piclevelList
}
from
'@/utils'
export
default
{
import
Ueditor
from
'../temps/ueditor'
export
default
{
components
:
{
components
:
{
Ueditor
Ueditor
},
},
...
@@ -141,7 +142,7 @@
...
@@ -141,7 +142,7 @@
brief
:
''
,
brief
:
''
,
author
:
''
,
author
:
''
,
source
:
''
,
source
:
''
,
levels
:
''
,
levels
:
1
,
directpath
:
''
,
directpath
:
''
,
pic
:
''
,
pic
:
''
,
content
:
''
,
content
:
''
,
...
@@ -158,18 +159,18 @@
...
@@ -158,18 +159,18 @@
titleOld
:
[
titleOld
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
],
keyword
:
[
//
keyword: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
],
//
],
brief
:
[
//
brief: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
],
//
],
author
:
[
//
author: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
],
//
],
source
:
[
//
source: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
],
//
],
levels
:
[
levels
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
],
...
@@ -179,9 +180,9 @@
...
@@ -179,9 +180,9 @@
// pic: [
// pic: [
// { required: true, message: '不能为空', trigger: 'blur' }
// { required: true, message: '不能为空', trigger: 'blur' }
// ],
// ],
//
content: [
content
:
[
//
{ required: true, message: '不能为空', trigger: 'blur' }
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
],
],
classid
:
[
classid
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
],
...
@@ -199,7 +200,7 @@
...
@@ -199,7 +200,7 @@
value
:
''
,
value
:
''
,
config
:
{}
config
:
{}
},
},
piclevelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
id
:
[],
id
:
[],
// cclassidList: [],
// cclassidList: [],
title
:
''
,
title
:
''
,
...
@@ -275,10 +276,10 @@
...
@@ -275,10 +276,10 @@
this
.
loading
=
true
this
.
loading
=
true
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
dataForm
.
pic
===
''
||
this
.
dataForm
.
pic
===
null
)
{
//
if (this.dataForm.pic === '' || this.dataForm.pic === null) {
this
.
$message
.
error
(
'图片未上传,请上传图片!'
)
//
this.$message.error('图片未上传,请上传图片!')
return
//
return
}
//
}
this
.
$http
({
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/office/news/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/office/news/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
method
:
'post'
,
method
:
'post'
,
...
@@ -465,7 +466,7 @@
...
@@ -465,7 +466,7 @@
})
})
}
}
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
/* .form-list{
/* .form-list{
...
...
src/views/modules/info/newsmovie-add-or-update.vue
View file @
1c264e08
...
@@ -18,10 +18,10 @@
...
@@ -18,10 +18,10 @@
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in levelList"
v-for=
"item in
pic
levelList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
...
@@ -54,16 +54,16 @@
...
@@ -54,16 +54,16 @@
<el-select
v-model=
"dataForm.clanguage"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.clanguage"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in clanguageList"
v-for=
"item in clanguageList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"上传图片命名规则"
prop=
"rules"
>
<el-form-item
label=
"上传图片命名规则"
prop=
"rules"
>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"描述图片:"
prop=
"pic"
class=
"pic"
>
<el-form-item
label=
"描述图片:"
prop=
"pic"
>
<el-upload
<el-upload
class=
"avatar-uploader avatar2"
class=
"avatar-uploader avatar2"
action=
""
action=
""
...
@@ -102,8 +102,9 @@
...
@@ -102,8 +102,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
Ueditor
from
'../temps/ueditor'
import
{
piclevelList
}
from
'@/utils'
export
default
{
import
Ueditor
from
'../temps/ueditor'
export
default
{
components
:
{
components
:
{
Ueditor
Ueditor
},
},
...
@@ -123,7 +124,7 @@
...
@@ -123,7 +124,7 @@
directpath
:
''
,
directpath
:
''
,
keyword
:
''
,
keyword
:
''
,
author
:
''
,
author
:
''
,
levels
:
''
,
levels
:
1
,
pic
:
''
,
pic
:
''
,
content
:
''
,
content
:
''
,
longStr
:
''
,
longStr
:
''
,
...
@@ -139,18 +140,18 @@
...
@@ -139,18 +140,18 @@
titleOld
:
[
titleOld
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
],
keyword
:
[
// keyword: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
// longStr: [
// { required: true, message: '不能为空', trigger: 'blur' }
// { required: true, message: '不能为空', trigger: 'blur' }
// ],
// ],
//
autho
r: [
//
longSt
r: [
// { required: true, message: '不能为空', trigger: 'blur' }
// { required: true, message: '不能为空', trigger: 'blur' }
// ],
// ],
//
stdate
: [
//
author
: [
// { required: true, message: '不能为空', trigger: 'blur' }
// { required: true, message: '不能为空', trigger: 'blur' }
// ],
// ],
stdate
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
levels
:
[
levels
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
]
]
...
@@ -178,7 +179,7 @@
...
@@ -178,7 +179,7 @@
value
:
''
,
value
:
''
,
config
:
{}
config
:
{}
},
},
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
clanguageList
:
[
'中文'
],
clanguageList
:
[
'中文'
],
id
:
[],
id
:
[],
title
:
''
title
:
''
...
@@ -226,10 +227,11 @@
...
@@ -226,10 +227,11 @@
this
.
loading
=
true
this
.
loading
=
true
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
dataForm
.
pic
===
''
||
this
.
dataForm
.
pic
===
null
)
{
// if (this.dataForm.pic === '' || this.dataForm.pic === null) {
this
.
$message
.
error
(
'图片未上传,请上传图片!'
)
// this.$message.error('图片未上传,请上传图片!')
return
// return
}
else
if
(
this
.
dataForm
.
wavname
===
''
||
this
.
dataForm
.
wavname
===
null
)
{
// } else
if
(
this
.
dataForm
.
wavname
===
''
||
this
.
dataForm
.
wavname
===
null
)
{
this
.
$message
.
error
(
'视频未上传,请上传视频!'
)
this
.
$message
.
error
(
'视频未上传,请上传视频!'
)
return
return
}
}
...
@@ -365,7 +367,7 @@
...
@@ -365,7 +367,7 @@
})
})
}
}
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
...
...
src/views/modules/info/newtopic-add-or-update.vue
View file @
1c264e08
...
@@ -41,9 +41,9 @@
...
@@ -41,9 +41,9 @@
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入等级"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入等级"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in piclevelList"
v-for=
"item in piclevelList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
...
@@ -103,8 +103,9 @@
...
@@ -103,8 +103,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
Ueditor
from
'../temps/ueditor'
import
{
piclevelList
}
from
'@/utils'
export
default
{
import
Ueditor
from
'../temps/ueditor'
export
default
{
components
:
{
components
:
{
Ueditor
Ueditor
},
},
...
@@ -123,7 +124,7 @@
...
@@ -123,7 +124,7 @@
directpath
:
''
,
directpath
:
''
,
categoryid
:
''
,
categoryid
:
''
,
newtmpid
:
''
,
newtmpid
:
''
,
levels
:
''
,
levels
:
1
,
showtime
:
''
,
showtime
:
''
,
ppath
:
''
,
ppath
:
''
,
content
:
''
,
content
:
''
,
...
@@ -137,9 +138,9 @@
...
@@ -137,9 +138,9 @@
titleOld
:
[
titleOld
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
],
headad
:
[
//
headad: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
],
//
],
author
:
[
author
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
],
...
@@ -160,10 +161,10 @@
...
@@ -160,10 +161,10 @@
],
],
showtime
:
[
showtime
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
shortcontent
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
]
]
// shortcontent: [
// { required: true, message: '不能为空', trigger: 'blur' }
// ]
},
},
imgUrl
:
new
FormData
(),
imgUrl
:
new
FormData
(),
imgUrlStr
:
''
,
imgUrlStr
:
''
,
...
@@ -172,7 +173,7 @@
...
@@ -172,7 +173,7 @@
value
:
''
,
value
:
''
,
config
:
{}
config
:
{}
},
},
piclevelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
id
:
[],
id
:
[],
newtmList
:
[
newtmList
:
[
{
{
...
@@ -350,7 +351,7 @@
...
@@ -350,7 +351,7 @@
})
})
}
}
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
...
...
src/views/modules/info/picture-add-or-update.vue
View file @
1c264e08
...
@@ -30,9 +30,9 @@
...
@@ -30,9 +30,9 @@
<el-select
v-model=
"dataForm.piclevel"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.piclevel"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in piclevelList"
v-for=
"item in piclevelList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
piclevel
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
piclevel
}}
</p>
...
@@ -87,6 +87,7 @@
...
@@ -87,6 +87,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
piclevelList
}
from
'@/utils'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -100,13 +101,13 @@ export default {
...
@@ -100,13 +101,13 @@ export default {
pictureType
:
''
,
pictureType
:
''
,
picFile
:
''
,
picFile
:
''
,
editor
:
''
,
editor
:
''
,
piclevel
:
''
,
piclevel
:
1
,
status
:
''
,
status
:
''
,
keyword
:
''
,
keyword
:
''
,
jumppath
:
''
,
jumppath
:
''
,
showtime
:
''
showtime
:
''
},
},
piclevelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
pictureTypeList
:
[
pictureTypeList
:
[
{
{
value
:
'图片信息'
,
value
:
'图片信息'
,
...
...
src/views/modules/logistics/logistics-add-or-update.vue
View file @
1c264e08
...
@@ -27,9 +27,9 @@
...
@@ -27,9 +27,9 @@
<el-select
v-model=
"dataForm.level"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.level"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in levelList"
v-for=
"item in levelList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
level
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
level
}}
</p>
...
@@ -89,6 +89,7 @@
...
@@ -89,6 +89,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
piclevelList
}
from
'@/utils'
import
Ueditor
from
'../temps/ueditor'
import
Ueditor
from
'../temps/ueditor'
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -109,7 +110,7 @@
...
@@ -109,7 +110,7 @@
keyword
:
''
,
keyword
:
''
,
author
:
''
,
author
:
''
,
source
:
''
,
source
:
''
,
level
:
''
,
level
:
1
,
jumppath
:
''
,
jumppath
:
''
,
content
:
''
,
content
:
''
,
releasetime
:
''
,
releasetime
:
''
,
...
@@ -142,26 +143,26 @@
...
@@ -142,26 +143,26 @@
],
],
source
:
[
source
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
]
,
]
releasetime
:
[
//
releasetime: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
],
//
],
implementationtime
:
[
//
implementationtime: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
],
//
],
// content: [
// content: [
// { required: true, message: '不能为空', trigger: 'blur' }
// { required: true, message: '不能为空', trigger: 'blur' }
// ],
// ],
remarks
:
[
//
remarks: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
]
//
]
},
},
ueditor
:
{
ueditor
:
{
value
:
''
,
value
:
''
,
config
:
{}
config
:
{}
},
},
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
levelList
:
piclevelList
,
id
:
[],
id
:
[],
typeList
:
[
typeList
:
[
{
{
...
...
src/views/modules/logistics/logistics.vue
View file @
1c264e08
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
<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>
<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')"
/>
<br
v-if=
"isAuth('manage:logistics:check')"
/>
<
el-button
v-if=
"isAuth('manage:logistics:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</el-button
>
<
!--
<el-button
v-if=
"isAuth('manage:logistics:info')"
type=
"text"
size=
"small"
@
click=
"showMsg(scope.row)"
>
预览
</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: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>
<el-button
v-if=
"isAuth('manage:logistics:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(scope.row.id)"
>
删除
</el-button>
</
template
>
</
template
>
...
...
src/views/modules/medical/medical-add-or-update.vue
View file @
1c264e08
...
@@ -23,9 +23,9 @@
...
@@ -23,9 +23,9 @@
<el-select
v-model=
"dataForm.level"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.level"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in levelList"
v-for=
"item in levelList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
level
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
level
}}
</p>
...
@@ -85,6 +85,7 @@
...
@@ -85,6 +85,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
piclevelList
}
from
'@/utils'
import
Ueditor
from
'../temps/ueditor'
import
Ueditor
from
'../temps/ueditor'
export
default
{
export
default
{
components
:
{
components
:
{
...
@@ -105,7 +106,7 @@
...
@@ -105,7 +106,7 @@
keyword
:
''
,
keyword
:
''
,
author
:
''
,
author
:
''
,
source
:
''
,
source
:
''
,
level
:
''
,
level
:
1
,
jumpath
:
''
,
jumpath
:
''
,
content
:
''
,
content
:
''
,
releasetime
:
''
,
releasetime
:
''
,
...
@@ -134,26 +135,26 @@
...
@@ -134,26 +135,26 @@
],
],
source
:
[
source
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
]
,
]
releasetime
:
[
//
releasetime: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
],
//
],
implementationtime
:
[
//
implementationtime: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
],
//
],
// content: [
// content: [
// { required: true, message: '不能为空', trigger: 'blur' }
// { required: true, message: '不能为空', trigger: 'blur' }
// ],
// ],
remarks
:
[
//
remarks: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
]
//
]
},
},
ueditor
:
{
ueditor
:
{
value
:
''
,
value
:
''
,
config
:
{}
config
:
{}
},
},
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
levelList
:
piclevelList
,
id
:
[],
id
:
[],
typeList
:
[],
typeList
:
[],
title
:
''
title
:
''
...
...
src/views/modules/party/center-add-or-update.vue
View file @
1c264e08
...
@@ -20,9 +20,9 @@
...
@@ -20,9 +20,9 @@
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in levelList"
v-for=
"item in levelList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<el-form-item
label=
"上传图片命名规则"
>
<el-form-item
label=
"上传图片命名规则"
>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"图片:"
prop=
"pic"
class=
"pic"
>
<el-form-item
label=
"图片:"
prop=
"pic"
>
<el-upload
<el-upload
v-show=
"!showInfo"
v-show=
"!showInfo"
class=
"avatar-uploader avatar2"
class=
"avatar-uploader avatar2"
...
@@ -83,8 +83,9 @@
...
@@ -83,8 +83,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
Ueditor
from
'../temps/ueditor'
import
{
piclevelList
}
from
'@/utils'
export
default
{
import
Ueditor
from
'../temps/ueditor'
export
default
{
components
:
{
components
:
{
Ueditor
Ueditor
},
},
...
@@ -122,9 +123,9 @@
...
@@ -122,9 +123,9 @@
keyword
:
[
keyword
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
],
brief
:
[
//
brief: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
],
//
],
author
:
[
author
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
],
...
@@ -154,7 +155,7 @@
...
@@ -154,7 +155,7 @@
value
:
''
,
value
:
''
,
config
:
{}
config
:
{}
},
},
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
levelList
:
piclevelList
,
id
:
[],
id
:
[],
classidList
:
[],
classidList
:
[],
cclassidList
:
[],
cclassidList
:
[],
...
@@ -195,10 +196,10 @@
...
@@ -195,10 +196,10 @@
this
.
loading
=
true
this
.
loading
=
true
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
dataForm
.
pic
===
''
||
this
.
dataForm
.
pic
===
null
)
{
//
if (this.dataForm.pic === '' || this.dataForm.pic === null) {
this
.
$message
.
error
(
'图片未上传,请上传图片!'
)
//
this.$message.error('图片未上传,请上传图片!')
return
//
return
}
//
}
this
.
$http
({
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/office/center/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/office/center/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
method
:
'post'
,
method
:
'post'
,
...
@@ -301,5 +302,5 @@
...
@@ -301,5 +302,5 @@
})
})
}
}
}
}
}
}
</
script
>
</
script
>
src/views/modules/party/hotFlow-add-or-update.vue
View file @
1c264e08
...
@@ -20,9 +20,9 @@
...
@@ -20,9 +20,9 @@
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in levelList"
v-for=
"item in levelList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
...
@@ -83,8 +83,9 @@
...
@@ -83,8 +83,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
Ueditor
from
'../temps/ueditor'
import
{
piclevelList
}
from
'@/utils'
export
default
{
import
Ueditor
from
'../temps/ueditor'
export
default
{
components
:
{
components
:
{
Ueditor
Ueditor
},
},
...
@@ -153,7 +154,7 @@
...
@@ -153,7 +154,7 @@
value
:
''
,
value
:
''
,
config
:
{}
config
:
{}
},
},
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
levelList
:
piclevelList
,
id
:
[],
id
:
[],
title
:
''
title
:
''
}
}
...
@@ -192,10 +193,10 @@
...
@@ -192,10 +193,10 @@
this
.
loading
=
true
this
.
loading
=
true
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
dataForm
.
pic
===
''
||
this
.
dataForm
.
pic
===
null
)
{
//
if (this.dataForm.pic === '' || this.dataForm.pic === null) {
this
.
$message
.
error
(
'图片未上传,请上传图片!'
)
//
this.$message.error('图片未上传,请上传图片!')
return
//
return
}
//
}
this
.
$http
({
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/office/hotFlow/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/office/hotFlow/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
method
:
'post'
,
method
:
'post'
,
...
@@ -298,5 +299,5 @@
...
@@ -298,5 +299,5 @@
})
})
}
}
}
}
}
}
</
script
>
</
script
>
src/views/modules/party/rules-add-or-update.vue
View file @
1c264e08
...
@@ -19,10 +19,10 @@
...
@@ -19,10 +19,10 @@
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in levelList"
v-for=
"item in
pic
levelList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
...
@@ -83,8 +83,9 @@
...
@@ -83,8 +83,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
Ueditor
from
'../temps/ueditor'
import
{
piclevelList
}
from
'@/utils'
export
default
{
import
Ueditor
from
'../temps/ueditor'
export
default
{
components
:
{
components
:
{
Ueditor
Ueditor
},
},
...
@@ -105,7 +106,7 @@
...
@@ -105,7 +106,7 @@
brief
:
''
,
brief
:
''
,
author
:
''
,
author
:
''
,
source
:
''
,
source
:
''
,
levels
:
''
,
levels
:
1
,
directpath
:
''
,
directpath
:
''
,
pic
:
''
,
pic
:
''
,
content
:
''
,
content
:
''
,
...
@@ -122,9 +123,9 @@
...
@@ -122,9 +123,9 @@
keyword
:
[
keyword
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
],
brief
:
[
//
brief: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
],
//
],
author
:
[
author
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
],
...
@@ -154,7 +155,7 @@
...
@@ -154,7 +155,7 @@
value
:
''
,
value
:
''
,
config
:
{}
config
:
{}
},
},
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
id
:
[],
id
:
[],
classidList
:
[],
classidList
:
[],
cclassidList
:
[],
cclassidList
:
[],
...
@@ -195,10 +196,10 @@
...
@@ -195,10 +196,10 @@
this
.
loading
=
true
this
.
loading
=
true
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
dataForm
.
pic
===
''
||
this
.
dataForm
.
pic
===
null
)
{
//
if (this.dataForm.pic === '' || this.dataForm.pic === null) {
this
.
$message
.
error
(
'图片未上传,请上传图片!'
)
//
this.$message.error('图片未上传,请上传图片!')
return
//
return
}
//
}
this
.
$http
({
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/office/rules/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
url
:
this
.
$http
.
adornUrl
(
`/office/rules/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
method
:
'post'
,
method
:
'post'
,
...
@@ -293,5 +294,5 @@
...
@@ -293,5 +294,5 @@
})
})
}
}
}
}
}
}
</
script
>
</
script
>
src/views/modules/party/topicnews-add-or-update.vue
View file @
1c264e08
...
@@ -20,9 +20,9 @@
...
@@ -20,9 +20,9 @@
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in levelList"
v-for=
"item in levelList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
...
@@ -52,7 +52,7 @@
...
@@ -52,7 +52,7 @@
<el-form-item
label=
"上传图片命名规则"
>
<el-form-item
label=
"上传图片命名规则"
>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
<span
style=
"color:red;font-size:12px"
>
图片命名格式为DB+时间+拼音,如:DB20180701tupian1;图片尺寸500*375
</span>
</el-form-item>
</el-form-item>
<el-form-item
label=
"图片:"
prop=
"pic"
class=
"pic"
>
<el-form-item
label=
"图片:"
prop=
"pic"
>
<el-upload
<el-upload
v-show=
"!showInfo"
v-show=
"!showInfo"
class=
"avatar-uploader avatar2"
class=
"avatar-uploader avatar2"
...
@@ -83,8 +83,9 @@
...
@@ -83,8 +83,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
Ueditor
from
'../temps/ueditor'
import
{
piclevelList
}
from
'@/utils'
export
default
{
import
Ueditor
from
'../temps/ueditor'
export
default
{
components
:
{
components
:
{
Ueditor
Ueditor
},
},
...
@@ -122,9 +123,9 @@
...
@@ -122,9 +123,9 @@
keyword
:
[
keyword
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
],
brief
:
[
//
brief: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
],
//
],
author
:
[
author
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
],
...
@@ -154,7 +155,7 @@
...
@@ -154,7 +155,7 @@
value
:
''
,
value
:
''
,
config
:
{}
config
:
{}
},
},
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
levelList
:
piclevelList
,
id
:
[],
id
:
[],
classidList
:
[],
classidList
:
[],
cclassidList
:
[],
cclassidList
:
[],
...
@@ -293,5 +294,5 @@
...
@@ -293,5 +294,5 @@
})
})
}
}
}
}
}
}
</
script
>
</
script
>
src/views/modules/planbranch/annual-add-or-update.vue
View file @
1c264e08
...
@@ -54,11 +54,11 @@
...
@@ -54,11 +54,11 @@
mounted
()
{
mounted
()
{
},
},
methods
:
{
methods
:
{
init
(
id
,
name
)
{
init
(
id
,
name
,
ppth
)
{
this
.
dataForm
.
id
=
id
||
0
this
.
dataForm
.
id
=
id
||
0
this
.
visible
=
true
this
.
visible
=
true
this
.
dataForm
.
name
=
name
this
.
dataForm
.
name
=
name
this
.
dataForm
.
docfile
=
''
this
.
dataForm
.
docfile
=
ppth
},
},
// 表单提交
// 表单提交
...
...
src/views/modules/planbranch/annual.vue
View file @
1c264e08
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,scope.row.name)"
>
修改
</el-button><br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,scope.row.name
,scope.row.ppath
)"
>
修改
</el-button><br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,-1)"
>
[未上报]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,-1)"
>
[未上报]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,0)"
>
[未上传]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,0)"
>
[未上传]
</el-button>
</
template
>
</
template
>
...
@@ -184,10 +184,10 @@
...
@@ -184,10 +184,10 @@
this
.
dataListSelections
=
val
this
.
dataListSelections
=
val
},
},
// 新增 / 修改
// 新增 / 修改
addOrUpdateHandle
(
id
,
name
)
{
addOrUpdateHandle
(
id
,
name
,
ppth
)
{
this
.
addOrUpdateVisible
=
true
this
.
addOrUpdateVisible
=
true
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
addOrUpdate
.
init
(
id
,
name
)
this
.
$refs
.
addOrUpdate
.
init
(
id
,
name
,
ppth
)
})
})
},
},
checkHandle
(
data
)
{
checkHandle
(
data
)
{
...
...
src/views/modules/planbranch/fistplan.vue
View file @
1c264e08
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,scope.row.name)"
>
修改
</el-button><br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,scope.row.name
,scope.row.ppath
)"
>
修改
</el-button><br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,-1)"
>
[未上报]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,-1)"
>
[未上报]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,0)"
>
[未上传]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,0)"
>
[未上传]
</el-button>
</
template
>
</
template
>
...
@@ -184,10 +184,10 @@
...
@@ -184,10 +184,10 @@
this
.
dataListSelections
=
val
this
.
dataListSelections
=
val
},
},
// 新增 / 修改
// 新增 / 修改
addOrUpdateHandle
(
id
,
name
)
{
addOrUpdateHandle
(
id
,
name
,
ppath
)
{
this
.
addOrUpdateVisible
=
true
this
.
addOrUpdateVisible
=
true
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
addOrUpdate
.
init
(
id
,
name
)
this
.
$refs
.
addOrUpdate
.
init
(
id
,
name
,
ppath
)
})
})
},
},
checkHandle
(
data
)
{
checkHandle
(
data
)
{
...
...
src/views/modules/planbranch/fourplan.vue
View file @
1c264e08
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,scope.row.name)"
>
修改
</el-button><br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,scope.row.name
,scope.row.ppath
)"
>
修改
</el-button><br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,-1)"
>
[未上报]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,-1)"
>
[未上报]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,0)"
>
[未上传]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,0)"
>
[未上传]
</el-button>
</
template
>
</
template
>
...
@@ -184,10 +184,10 @@
...
@@ -184,10 +184,10 @@
this
.
dataListSelections
=
val
this
.
dataListSelections
=
val
},
},
// 新增 / 修改
// 新增 / 修改
addOrUpdateHandle
(
id
,
name
)
{
addOrUpdateHandle
(
id
,
name
,
ppath
)
{
this
.
addOrUpdateVisible
=
true
this
.
addOrUpdateVisible
=
true
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
addOrUpdate
.
init
(
id
,
name
)
this
.
$refs
.
addOrUpdate
.
init
(
id
,
name
,
ppath
)
})
})
},
},
checkHandle
(
data
)
{
checkHandle
(
data
)
{
...
...
src/views/modules/planbranch/secondplan.vue
View file @
1c264e08
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,scope.row.name)"
>
修改
</el-button><br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,scope.row.name
,scope.row.ppath
)"
>
修改
</el-button><br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,-1)"
>
[未上报]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,-1)"
>
[未上报]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,0)"
>
[未上传]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,0)"
>
[未上传]
</el-button>
</
template
>
</
template
>
...
@@ -184,10 +184,10 @@
...
@@ -184,10 +184,10 @@
this
.
dataListSelections
=
val
this
.
dataListSelections
=
val
},
},
// 新增 / 修改
// 新增 / 修改
addOrUpdateHandle
(
id
,
name
)
{
addOrUpdateHandle
(
id
,
name
,
ppath
)
{
this
.
addOrUpdateVisible
=
true
this
.
addOrUpdateVisible
=
true
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
addOrUpdate
.
init
(
id
,
name
)
this
.
$refs
.
addOrUpdate
.
init
(
id
,
name
,
ppath
)
})
})
},
},
checkHandle
(
data
)
{
checkHandle
(
data
)
{
...
...
src/views/modules/planbranch/thirdplan.vue
View file @
1c264e08
...
@@ -65,7 +65,7 @@
...
@@ -65,7 +65,7 @@
width=
"150"
width=
"150"
label=
"操作"
>
label=
"操作"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,scope.row.name)"
>
修改
</el-button><br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id,scope.row.name
,scope.row.ppath
)"
>
修改
</el-button><br
/>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,-1)"
>
[未上报]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,-1)"
>
[未上报]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,0)"
>
[未上传]
</el-button>
<el-button
type=
"text"
size=
"small"
@
click=
"allUpload(scope.row.id,0)"
>
[未上传]
</el-button>
</
template
>
</
template
>
...
@@ -184,10 +184,10 @@
...
@@ -184,10 +184,10 @@
this
.
dataListSelections
=
val
this
.
dataListSelections
=
val
},
},
// 新增 / 修改
// 新增 / 修改
addOrUpdateHandle
(
id
,
name
)
{
addOrUpdateHandle
(
id
,
name
,
ppath
)
{
this
.
addOrUpdateVisible
=
true
this
.
addOrUpdateVisible
=
true
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
addOrUpdate
.
init
(
id
,
name
)
this
.
$refs
.
addOrUpdate
.
init
(
id
,
name
,
ppath
)
})
})
},
},
checkHandle
(
data
)
{
checkHandle
(
data
)
{
...
...
src/views/modules/plate/glossary-add-or-update.vue
View file @
1c264e08
...
@@ -39,105 +39,105 @@
...
@@ -39,105 +39,105 @@
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
showInfo
:
false
,
showInfo
:
false
,
visible
:
false
,
visible
:
false
,
dataForm
:
{
dataForm
:
{
id
:
0
,
id
:
0
,
titleEn
:
""
,
titleEn
:
''
,
titleCn
:
""
,
titleCn
:
''
,
keyword
:
""
,
keyword
:
''
,
brief
:
""
,
brief
:
''
,
releasedate
:
""
,
releasedate
:
''
,
updatedate
:
""
,
updatedate
:
''
,
author
:
""
,
author
:
''
,
content
:
""
,
content
:
''
,
hits
:
""
,
hits
:
''
,
editor
:
""
,
editor
:
''
,
lasteditor
:
""
,
lasteditor
:
''
},
},
dataRule
:
{
dataRule
:
{
titleEn
:
[
titleEn
:
[
{
{
required
:
true
,
required
:
true
,
message
:
"英文标题不能为空"
,
message
:
'英文标题不能为空'
,
trigger
:
"blur"
,
trigger
:
'blur'
}
,
}
],
],
titleCn
:
[
titleCn
:
[
{
{
required
:
true
,
required
:
true
,
message
:
"中文标题不能为空"
,
message
:
'中文标题不能为空'
,
trigger
:
"blur"
,
trigger
:
'blur'
},
}
],
keyword
:
[
{
required
:
true
,
message
:
"关键字不能为空"
,
trigger
:
"blur"
,
},
],
],
// keyword: [
// {
// required: true,
// message: '关键字不能为空',
// trigger: 'blur'
// }
// ],
brief
:
[
brief
:
[
{
{
required
:
true
,
required
:
true
,
message
:
"解释不能为空"
,
message
:
'解释不能为空'
,
trigger
:
"blur"
,
trigger
:
'blur'
}
,
}
]
,
]
author
:
[
//
author: [
{
//
{
required
:
true
,
//
required: true,
message
:
"作者不能为空"
,
// message: '作者不能为空'
,
trigger
:
"blur"
,
// trigger: 'blur'
},
// }
],
//
],
content
:
[
//
content: [
{
//
{
required
:
true
,
//
required: true,
message
:
"备注不能为空"
,
// message: '备注不能为空'
,
trigger
:
"blur"
,
// trigger: 'blur'
},
// }
],
// ]
}
,
}
}
;
}
},
},
methods
:
{
methods
:
{
init
(
id
)
{
init
(
id
)
{
this
.
dataForm
.
id
=
id
||
0
;
this
.
dataForm
.
id
=
id
||
0
this
.
visible
=
true
;
this
.
visible
=
true
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
[
"dataForm"
].
resetFields
();
this
.
$refs
[
'dataForm'
].
resetFields
()
if
(
this
.
dataForm
.
id
)
{
if
(
this
.
dataForm
.
id
)
{
this
.
$http
({
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
url
:
this
.
$http
.
adornUrl
(
`/office/glossary/info/
${
this
.
dataForm
.
id
}
`
`/office/glossary/info/
${
this
.
dataForm
.
id
}
`
),
),
method
:
"get"
,
method
:
'get'
,
params
:
this
.
$http
.
adornParams
()
,
params
:
this
.
$http
.
adornParams
()
}).
then
(({
data
})
=>
{
}).
then
(({
data
})
=>
{
if
(
data
&&
data
.
code
===
0
)
{
if
(
data
&&
data
.
code
===
0
)
{
this
.
dataForm
.
titleEn
=
data
.
glossary
.
titleEn
;
this
.
dataForm
.
titleEn
=
data
.
glossary
.
titleEn
this
.
dataForm
.
titleCn
=
data
.
glossary
.
titleCn
;
this
.
dataForm
.
titleCn
=
data
.
glossary
.
titleCn
this
.
dataForm
.
keyword
=
data
.
glossary
.
keyword
;
this
.
dataForm
.
keyword
=
data
.
glossary
.
keyword
this
.
dataForm
.
brief
=
data
.
glossary
.
brief
;
this
.
dataForm
.
brief
=
data
.
glossary
.
brief
this
.
dataForm
.
author
=
data
.
glossary
.
author
;
this
.
dataForm
.
author
=
data
.
glossary
.
author
this
.
dataForm
.
content
=
data
.
glossary
.
content
;
this
.
dataForm
.
content
=
data
.
glossary
.
content
}
}
})
;
})
}
}
})
;
})
},
},
// 表单提交
// 表单提交
dataFormSubmit
()
{
dataFormSubmit
()
{
this
.
$refs
[
"dataForm"
].
validate
((
valid
)
=>
{
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
this
.
$http
({
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
url
:
this
.
$http
.
adornUrl
(
`/office/glossary/
${
!
this
.
dataForm
.
id
?
"save"
:
"update"
}
`
`/office/glossary/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
),
method
:
"post"
,
method
:
'post'
,
data
:
this
.
$http
.
adornData
({
data
:
this
.
$http
.
adornData
({
id
:
this
.
dataForm
.
id
||
undefined
,
id
:
this
.
dataForm
.
id
||
undefined
,
titleEn
:
this
.
dataForm
.
titleEn
,
titleEn
:
this
.
dataForm
.
titleEn
,
...
@@ -145,26 +145,26 @@ export default {
...
@@ -145,26 +145,26 @@ export default {
keyword
:
this
.
dataForm
.
keyword
,
keyword
:
this
.
dataForm
.
keyword
,
brief
:
this
.
dataForm
.
brief
,
brief
:
this
.
dataForm
.
brief
,
author
:
this
.
dataForm
.
author
,
author
:
this
.
dataForm
.
author
,
content
:
this
.
dataForm
.
content
,
content
:
this
.
dataForm
.
content
})
,
})
}).
then
(({
data
})
=>
{
}).
then
(({
data
})
=>
{
if
(
data
&&
data
.
code
===
0
)
{
if
(
data
&&
data
.
code
===
0
)
{
this
.
$message
({
this
.
$message
({
message
:
"操作成功"
,
message
:
'操作成功'
,
type
:
"success"
,
type
:
'success'
,
duration
:
1500
,
duration
:
1500
,
onClose
:
()
=>
{
onClose
:
()
=>
{
this
.
visible
=
false
;
this
.
visible
=
false
this
.
$emit
(
"refreshDataList"
);
this
.
$emit
(
'refreshDataList'
)
}
,
}
})
;
})
}
else
{
}
else
{
this
.
$message
.
error
(
data
.
msg
)
;
this
.
$message
.
error
(
data
.
msg
)
}
}
})
;
})
}
}
})
;
})
}
,
}
}
,
}
}
;
}
</
script
>
</
script
>
src/views/modules/plate/knowledgeinfo-add-or-update.vue
View file @
1c264e08
...
@@ -24,11 +24,11 @@
...
@@ -24,11 +24,11 @@
</el-option>
</el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"标题
:
"
prop=
"title"
>
<el-form-item
label=
"标题"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
</el-form-item>
<el-form-item
label=
'级别
:
'
prop=
'levels'
>
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in levelList"
v-for=
"item in levelList"
...
@@ -39,12 +39,12 @@
...
@@ -39,12 +39,12 @@
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
level
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
level
}}
</p>
</el-form-item>
</el-form-item>
<el-form-item
label=
"跳转至
:
"
prop=
"directpath"
>
<el-form-item
label=
"跳转至"
prop=
"directpath"
>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.directpath"
placeholder=
"请输入跳转地址"
v-show=
"!showInfo"
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
directpath
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
directpath
}}
</p>
</el-form-item>
</el-form-item>
<el-form-item
label=
"内容
:
"
prop=
"content"
>
<el-form-item
label=
"内容"
prop=
"content"
>
<Ueditor
@
ready=
"editorReady"
:value=
"ueditor.value"
:config=
"ueditor.config"
ref=
"ue"
v-show=
"!showInfo"
></Ueditor>
<Ueditor
@
ready=
"editorReady"
:value=
"ueditor.value"
:config=
"ueditor.config"
ref=
"ue"
v-show=
"!showInfo"
></Ueditor>
<!--
<el-input
v-model=
"dataForm.content"
placeholder=
"请输入内容"
></el-input>
-->
<!--
<el-input
v-model=
"dataForm.content"
placeholder=
"请输入内容"
></el-input>
-->
<div
v-show=
"showInfo"
v-html=
"dataForm.content"
></div>
<div
v-show=
"showInfo"
v-html=
"dataForm.content"
></div>
...
@@ -76,7 +76,7 @@
...
@@ -76,7 +76,7 @@
dataForm
:
{
dataForm
:
{
id
:
0
,
id
:
0
,
title
:
''
,
title
:
''
,
levels
:
''
,
levels
:
1
,
class1id
:
''
,
class1id
:
''
,
class2id
:
''
,
class2id
:
''
,
directpath
:
''
,
directpath
:
''
,
...
@@ -85,13 +85,19 @@
...
@@ -85,13 +85,19 @@
},
},
dataRule
:
{
dataRule
:
{
// title: [
class1id
:
[
// { required: true, message: '不能为空', trigger: 'blur' }
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
// ],
],
class2
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
title
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
//
levels: [
levels
:
[
//
{ required: true, message: '不能为空', trigger: 'blur' }
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
]
]
},
},
ueditor
:
{
ueditor
:
{
...
...
src/views/modules/plate/product-add-or-update.vue
View file @
1c264e08
...
@@ -27,7 +27,14 @@
...
@@ -27,7 +27,14 @@
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品等级"
prop=
"levels"
>
<el-form-item
label=
"商品等级"
prop=
"levels"
>
<el-input
v-model=
"dataForm.levels"
placeholder=
"请输入"
></el-input>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请选择级别"
v-show=
"!showInfo"
>
<el-option
v-for=
"item in piclevelList"
:key=
"item.value"
:label=
"item.name"
:value=
"item.value"
>
</el-option>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品价格"
prop=
"price"
>
<el-form-item
label=
"商品价格"
prop=
"price"
>
<el-input
v-model=
"dataForm.price"
placeholder=
"请输入"
></el-input>
<el-input
v-model=
"dataForm.price"
placeholder=
"请输入"
></el-input>
...
@@ -88,7 +95,7 @@
...
@@ -88,7 +95,7 @@
<
script
>
<
script
>
import
Ueditor
from
'../temps/ueditor'
import
Ueditor
from
'../temps/ueditor'
import
{
piclevelList
}
from
'@/utils'
export
default
{
export
default
{
components
:
{
components
:
{
Ueditor
Ueditor
...
@@ -141,11 +148,13 @@ export default {
...
@@ -141,11 +148,13 @@ export default {
link
:
''
,
link
:
''
,
mark
:
''
,
mark
:
''
,
type
:
''
,
type
:
''
,
levels
:
''
,
levels
:
1
,
author
:
''
,
author
:
''
,
status
:
''
,
status
:
''
,
auditor
:
''
auditor
:
''
},
},
piclevelList
,
dataRule
:
{
dataRule
:
{
prename
:
[
prename
:
[
{
{
...
@@ -176,27 +185,27 @@ export default {
...
@@ -176,27 +185,27 @@ export default {
trigger
:
'blur'
trigger
:
'blur'
}
}
],
],
predate
:
[
//
predate: [
{
//
{
required
:
true
,
//
required: true,
message
:
'上市时间不能为空'
,
//
message: '上市时间不能为空',
trigger
:
'blur'
//
trigger: 'blur'
}
//
}
],
//
],
author
:
[
//
author: [
{
//
{
required
:
true
,
//
required: true,
message
:
'作者不能为空'
,
//
message: '作者不能为空',
trigger
:
'blur'
//
trigger: 'blur'
}
//
}
],
//
],
company
:
[
//
company: [
{
//
{
required
:
true
,
//
required: true,
message
:
'出版社不能为空'
,
//
message: '出版社不能为空',
trigger
:
'blur'
//
trigger: 'blur'
}
//
}
],
//
],
graph
:
[
graph
:
[
{
{
required
:
true
,
required
:
true
,
...
@@ -228,12 +237,15 @@ export default {
...
@@ -228,12 +237,15 @@ export default {
}
}
}
}
},
},
created
()
{
this
.
dialogVisible
=
false
},
methods
:
{
methods
:
{
init
(
id
)
{
init
(
id
)
{
this
.
dataForm
.
id
=
id
||
0
this
.
dataForm
.
id
=
id
||
0
this
.
visible
=
true
this
.
visible
=
true
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
this
.
$refs
[
'dataForm'
].
resetFields
()
this
.
clearInp
()
if
(
this
.
dataForm
.
id
)
{
if
(
this
.
dataForm
.
id
)
{
this
.
$http
({
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
url
:
this
.
$http
.
adornUrl
(
...
@@ -243,6 +255,7 @@ export default {
...
@@ -243,6 +255,7 @@ export default {
params
:
this
.
$http
.
adornParams
()
params
:
this
.
$http
.
adornParams
()
}).
then
(({
data
})
=>
{
}).
then
(({
data
})
=>
{
if
(
data
&&
data
.
code
===
0
)
{
if
(
data
&&
data
.
code
===
0
)
{
this
.
dialogVisible
=
true
console
.
log
(
data
.
product
,
'data.productdata.productdata.product'
)
console
.
log
(
data
.
product
,
'data.productdata.productdata.product'
)
this
.
dataForm
.
prename
=
data
.
product
.
prename
this
.
dataForm
.
prename
=
data
.
product
.
prename
this
.
dataForm
.
company
=
data
.
product
.
company
this
.
dataForm
.
company
=
data
.
product
.
company
...
@@ -400,6 +413,11 @@ export default {
...
@@ -400,6 +413,11 @@ export default {
instance
.
addListener
(
'contentChange'
,
()
=>
{
instance
.
addListener
(
'contentChange'
,
()
=>
{
this
.
dataForm
.
description
=
instance
.
getContent
()
this
.
dataForm
.
description
=
instance
.
getContent
()
})
})
},
clearInp
()
{
this
.
$refs
[
'dataForm'
].
resetFields
()
this
.
dataForm
.
graph
=
''
this
.
dialogVisible
=
false
}
}
}
}
}
}
...
...
src/views/modules/policy/policy-add-or-update.vue
View file @
1c264e08
...
@@ -26,10 +26,10 @@
...
@@ -26,10 +26,10 @@
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in levelList"
v-for=
"item in
pic
levelList"
:key=
"item
"
:key=
"item.value
"
:label=
"item
"
:label=
"item.name
"
:value=
"item
"
>
:value=
"item.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
...
@@ -89,8 +89,9 @@
...
@@ -89,8 +89,9 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
Ueditor
from
'../temps/ueditor'
import
{
piclevelList
}
from
'@/utils'
export
default
{
import
Ueditor
from
'../temps/ueditor'
export
default
{
components
:
{
components
:
{
Ueditor
Ueditor
},
},
...
@@ -145,12 +146,12 @@
...
@@ -145,12 +146,12 @@
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
],
publicdate
:
[
//
publicdate: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
],
//
],
startdate
:
[
//
startdate: [
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
//
{ required: true, message: '不能为空', trigger: 'blur' }
],
//
],
// content: [
// content: [
// { required: true, message: '不能为空', trigger: 'blur' }
// { required: true, message: '不能为空', trigger: 'blur' }
// ],
// ],
...
@@ -162,7 +163,7 @@
...
@@ -162,7 +163,7 @@
value
:
''
,
value
:
''
,
config
:
{}
config
:
{}
},
},
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
id
:
[],
id
:
[],
typeList
:
[
typeList
:
[
{
{
...
@@ -260,5 +261,5 @@
...
@@ -260,5 +261,5 @@
}
}
}
}
}
}
</
script
>
</
script
>
src/views/modules/retail/picture-add-or-update.vue
View file @
1c264e08
...
@@ -30,9 +30,9 @@
...
@@ -30,9 +30,9 @@
<el-select
v-model=
"dataForm.piclevel"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.piclevel"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-option
<el-option
v-for=
"item in piclevelList"
v-for=
"item in piclevelList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
piclevel
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
piclevel
}}
</p>
...
@@ -87,6 +87,7 @@
...
@@ -87,6 +87,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
{
piclevelList
}
from
'@/utils'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -106,7 +107,7 @@ export default {
...
@@ -106,7 +107,7 @@ export default {
jumppath
:
''
,
jumppath
:
''
,
showtime
:
''
showtime
:
''
},
},
piclevelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
pictureTypeList
:
[
pictureTypeList
:
[
{
{
value
:
'图片信息'
,
value
:
'图片信息'
,
...
@@ -164,13 +165,13 @@ export default {
...
@@ -164,13 +165,13 @@ export default {
trigger
:
'blur'
trigger
:
'blur'
}
}
],
],
keyword
:
[
//
keyword: [
{
//
{
required
:
true
,
//
required: true,
message
:
'不能为空'
,
//
message: '不能为空',
trigger
:
'blur'
//
trigger: 'blur'
}
//
}
],
//
],
// jumppath: [
// jumppath: [
// {
// {
// required: true,
// required: true,
...
...
src/views/modules/service/branch.vue
View file @
1c264e08
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<el-form-item>
<el-form-item>
<el-button
@
click=
"getDataList()"
type=
"primary"
>
查询
</el-button>
<el-button
@
click=
"getDataList()"
type=
"primary"
>
查询
</el-button>
<el-button
v-if=
"isAuth('manage:branch:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
新增
</el-button>
<el-button
v-if=
"isAuth('manage:branch:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
新增
</el-button>
<
el-button
v-if=
"isAuth('manage:branch:delete')"
type=
"danger"
@
click=
"deleteHandle()"
:disabled=
"dataListSelections.length
<
=
0
"
>
批量删除
</el-button
>
<
!--
<el-button
v-if=
"isAuth('manage:branch:delete')"
type=
"danger"
@
click=
"deleteHandle()"
:disabled=
"dataListSelections.length
<
=
0
"
>
批量删除
</el-button>
--
>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<el-table
<el-table
...
...
src/views/modules/service/doc-add-or-update.vue
View file @
1c264e08
<
template
>
<
template
>
<el-dialog
<el-dialog
:title=
"!dataForm.id ? '新增' :
this.showInfo?'详情':
'修改'"
:title=
"!dataForm.id ? '新增' : '修改'"
:close-on-click-modal=
"false"
:close-on-click-modal=
"false"
:visible
.
sync=
"visible"
>
:visible
.
sync=
"visible"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"120px"
>
<el-form
:model=
"dataForm"
:rules=
"dataRule"
ref=
"dataForm"
@
keyup
.
enter
.
native=
"dataFormSubmit()"
label-width=
"120px"
>
<el-form-item
label=
"标题:"
prop=
"title"
>
<el-form-item
label=
"标题:"
prop=
"title"
>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.title"
placeholder=
"请输入显示标题"
:disabled=
'!showInfo'
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
title
}}
</p>
</el-form-item>
</el-form-item>
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-form-item
label=
'级别:'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
>
<el-option
<el-option
v-for=
"item in levelList"
v-for=
"item in levelList"
:key=
"item"
:key=
"item
.value
"
:label=
"item"
:label=
"item
.name
"
:value=
"item"
>
:value=
"item
.value
"
>
</el-option>
</el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
</el-form-item>
</el-form-item>
<el-form-item
label=
'类型:'
prop=
'category'
>
<el-form-item
label=
'类型:'
prop=
'category'
>
<el-select
v-model=
"dataForm.category"
placeholder=
"请输入类型"
v-show=
"!showInfo"
@
change=
"changeType"
>
<el-select
v-model=
"dataForm.category"
placeholder=
"请输入类型"
@
change=
"changeType"
:disabled=
'!showInfo'
>
<el-option
label=
'表格下载'
value=
"1"
></el-option>
<el-option
label=
'表格下载'
value=
"1"
></el-option>
<el-option
label=
"分支机构培训计划"
value=
"2"
></el-option>
<el-option
label=
"分支机构培训计划"
value=
"2"
></el-option>
</el-select>
</el-select>
<p
v-show=
"showInfo"
>
{{
dataForm
.
categoryname
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
categoryname
}}
</p>
</el-form-item>
</el-form-item>
<el-form-item
label=
"作者:"
prop=
"author"
>
<el-form-item
label=
"作者:"
prop=
"author"
>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
v-show=
"!showInfo"
></el-input>
<el-input
v-model=
"dataForm.author"
placeholder=
"请输入作者"
:disabled=
'!showInfo'
></el-input>
<p
v-show=
"showInfo"
>
{{
dataForm
.
author
}}
</p>
<p
v-show=
"showInfo"
>
{{
dataForm
.
author
}}
</p>
</el-form-item>
</el-form-item>
<el-form-item
label=
"文件:"
prop=
"file"
class=
"pic"
>
<el-form-item
label=
"文件:"
prop=
"file"
class=
"pic"
>
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
:show-file-list=
"false"
:show-file-list=
"false"
:http-request=
"UploadFile"
:http-request=
"UploadFile"
:before-upload=
"beforeUploadFile"
>
:before-upload=
"beforeUploadFile"
>
<el-button
size=
"small"
type=
"primary"
>
点击上传
</el-button>
<el-button
size=
"small"
type=
"primary"
v-show=
"showInfo"
>
点击上传
</el-button>
</el-upload>
</el-upload>
<a
:href=
"dataForm.docfile"
target=
"_blank"
>
{{
dataForm
.
docfile
}}
</a>
<a
:href=
"dataForm.docfile"
target=
"_blank"
>
{{
dataForm
.
docfile
}}
</a>
<p
v-show=
"showInfo"
><a
:href=
"dataForm.docfile"
></a></p>
<p
v-show=
"showInfo"
><a
:href=
"dataForm.docfile"
></a></p>
...
@@ -63,7 +63,8 @@
...
@@ -63,7 +63,8 @@
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
import
{
piclevelList
}
from
'@/utils'
export
default
{
data
()
{
data
()
{
return
{
return
{
...
@@ -96,7 +97,7 @@
...
@@ -96,7 +97,7 @@
fileUrl
:
new
FormData
(),
fileUrl
:
new
FormData
(),
fileUrlStr
:
''
,
fileUrlStr
:
''
,
dialogVisible
:
false
,
dialogVisible
:
false
,
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
levelList
:
piclevelList
,
typeList
:
[
typeList
:
[
{
{
value
:
'表格下载'
,
value
:
'表格下载'
,
...
@@ -251,7 +252,7 @@
...
@@ -251,7 +252,7 @@
}
}
}
}
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
.form-list
{
.form-list
{
...
...
src/views/modules/service/doc.vue
View file @
1c264e08
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<el-button
class=
"seach-btn"
@
click=
"getDataList2()"
type=
"primary"
>
搜索
</el-button>
<el-button
class=
"seach-btn"
@
click=
"getDataList2()"
type=
"primary"
>
搜索
</el-button>
</el-form>
</el-form>
<div
class=
"add-btn"
>
<div
class=
"add-btn"
>
<el-button
v-if=
"isAuth('manage:doc:save')"
type=
"primary"
@
click=
"addOrUpdateHandle()"
>
+ 添加
</el-button>
<el-button
v-if=
"isAuth('manage:doc:save')"
type=
"primary"
@
click=
"addOrUpdateHandle(
'',true
)"
>
+ 添加
</el-button>
</div>
</div>
<div
class=
"table-list"
>
<div
class=
"table-list"
>
<el-table
<el-table
...
@@ -92,7 +92,7 @@
...
@@ -92,7 +92,7 @@
<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')"
/>
<br
v-if=
"isAuth('manage:doc:check')"
/>
<el-button
v-if=
"isAuth('manage:doc:info')"
type=
"text"
size=
"small"
@
click=
"downFile(scope.row.docfile)"
>
预览
</el-button>
<el-button
v-if=
"isAuth('manage:doc:info')"
type=
"text"
size=
"small"
@
click=
"downFile(scope.row.docfile)"
>
预览
</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:update')"
type=
"text"
size=
"small"
@
click=
"addOrUpdateHandle(scope.row.id
,false
)"
>
修改
</el-button>
<el-button
v-if=
"isAuth('manage:doc:delete')"
type=
"text"
size=
"small"
@
click=
"deleteHandle(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
>
</
template
>
</el-table-column>
</el-table-column>
...
...
src/views/modules/standard/cases-add-or-update.vue
View file @
1c264e08
This diff is collapsed.
Click to expand it.
src/views/modules/standard/partners-add-or-update.vue
View file @
1c264e08
...
@@ -95,7 +95,6 @@
...
@@ -95,7 +95,6 @@
:key=
"item.value"
:key=
"item.value"
:label=
"item.name"
:label=
"item.name"
:value=
"item.value"
:value=
"item.value"
v-show=
"item.value"
>
>
</el-option>
</el-option>
</el-select>
</el-select>
...
@@ -229,7 +228,7 @@ export default {
...
@@ -229,7 +228,7 @@ export default {
name
:
''
,
name
:
''
,
phone
:
''
,
phone
:
''
,
email
:
''
,
email
:
''
,
levels
:
''
,
levels
:
1
,
pic
:
''
,
pic
:
''
,
brief
:
''
brief
:
''
},
},
...
...
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