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