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
441b25db
Commit
441b25db
authored
Jan 20, 2022
by
林家欣
Browse files
Options
Browse Files
Download
Plain Diff
合并同事代码
parents
6634bacf
b5f42ef4
Show whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
236 additions
and
223 deletions
+236
-223
news-add-or-update.vue
src/views/modules/application/news-add-or-update.vue
+100
-100
news.vue
src/views/modules/application/news.vue
+10
-10
announce-add-or-update.vue
src/views/modules/info/announce-add-or-update.vue
+1
-1
announce.vue
src/views/modules/info/announce.vue
+9
-7
indexcarouselmanage-add-or-update.vue
src/views/modules/info/indexcarouselmanage-add-or-update.vue
+2
-2
indexcarouselmanage.vue
src/views/modules/info/indexcarouselmanage.vue
+11
-10
news-add-or-update.vue
src/views/modules/info/news-add-or-update.vue
+1
-1
news.vue
src/views/modules/info/news.vue
+8
-7
newsmovie-add-or-update.vue
src/views/modules/info/newsmovie-add-or-update.vue
+1
-1
newsmovie.vue
src/views/modules/info/newsmovie.vue
+9
-8
newtopic-add-or-update.vue
src/views/modules/info/newtopic-add-or-update.vue
+1
-1
newtopic.vue
src/views/modules/info/newtopic.vue
+9
-8
picture-add-or-update.vue
src/views/modules/info/picture-add-or-update.vue
+1
-1
picture.vue
src/views/modules/info/picture.vue
+11
-10
logistics-add-or-update.vue
src/views/modules/logistics/logistics-add-or-update.vue
+1
-1
medical-add-or-update.vue
src/views/modules/medical/medical-add-or-update.vue
+1
-1
center-add-or-update.vue
src/views/modules/party/center-add-or-update.vue
+1
-1
center.vue
src/views/modules/party/center.vue
+9
-8
hotFlow-add-or-update.vue
src/views/modules/party/hotFlow-add-or-update.vue
+1
-1
hotFlow.vue
src/views/modules/party/hotFlow.vue
+9
-8
rules-add-or-update.vue
src/views/modules/party/rules-add-or-update.vue
+1
-1
rules.vue
src/views/modules/party/rules.vue
+9
-8
topicnews-add-or-update.vue
src/views/modules/party/topicnews-add-or-update.vue
+1
-1
topicnews.vue
src/views/modules/party/topicnews.vue
+9
-8
policy-add-or-update.vue
src/views/modules/policy/policy-add-or-update.vue
+1
-1
policy.vue
src/views/modules/policy/policy.vue
+8
-7
doc-add-or-update.vue
src/views/modules/service/doc-add-or-update.vue
+1
-1
doc.vue
src/views/modules/service/doc.vue
+10
-9
No files found.
src/views/modules/application/news-add-or-update.vue
View file @
441b25db
...
...
@@ -149,58 +149,58 @@
<
script
>
import
{
piclevelList
}
from
'@/utils'
import
Ueditor
from
"../temps/ueditor"
;
import
Ueditor
from
'../temps/ueditor'
export
default
{
components
:
{
Ueditor
,
Ueditor
},
props
:
[
'classidList'
],
data
()
{
data
()
{
return
{
loading
:
false
,
showInfo
:
false
,
visible
:
false
,
defaultProps
:
{
children
:
"children"
,
label
:
"label"
,
children
:
'children'
,
label
:
'label'
},
dataForm
:
{
id
:
0
,
title
:
""
,
titleOld
:
""
,
keyword
:
""
,
brief
:
""
,
author
:
""
,
source
:
""
,
levels
:
""
,
directpath
:
""
,
pic
:
""
,
content
:
""
,
showtime
:
""
,
classid
:
""
,
title
:
''
,
titleOld
:
''
,
keyword
:
''
,
brief
:
''
,
author
:
''
,
source
:
''
,
levels
:
''
,
directpath
:
''
,
pic
:
''
,
content
:
''
,
showtime
:
''
,
classid
:
''
},
dataRule
:
{
title
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
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"
}],
levels
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
directpath
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
pic
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
title
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
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'
}],
levels
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
directpath
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
pic
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
// content: [
// { required: true, message: '不能为空', trigger: 'blur' }
// ],
classid
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
showtime
:
[{
required
:
true
,
message
:
"不能为空"
,
trigger
:
"blur"
}],
classid
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}],
showtime
:
[{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}]
},
imgUrl
:
new
FormData
(),
imgUrlStr
:
""
,
imgUrlStr
:
''
,
dialogVisible
:
false
,
ueditor
:
{
value
:
""
,
config
:
{}
,
value
:
''
,
config
:
{}
},
piclevelList
,
id
:
[],
...
...
@@ -213,47 +213,47 @@ export default {
console
.
log
(
this
.
classidList
);
},
methods
:
{
getSelectName
(
list
,
id
)
{
getSelectName
(
list
,
id
)
{
let
arr
=
list
.
filter
((
item
)
=>
{
return
item
.
id
===
id
;
})
;
return
arr
[
0
].
name
;
return
item
.
id
===
id
})
return
arr
[
0
].
name
},
init
(
id
,
showInfo
)
{
console
.
log
(
id
,
'id'
)
;
this
.
dataForm
.
id
=
id
||
0
;
this
.
visible
=
true
;
this
.
showInfo
=
showInfo
;
init
(
id
,
showInfo
)
{
console
.
log
(
id
,
'id'
)
this
.
dataForm
.
id
=
id
||
0
this
.
visible
=
true
this
.
showInfo
=
showInfo
this
.
$nextTick
(()
=>
{
this
.
clearInp
()
;
this
.
clearInp
()
if
(
this
.
dataForm
.
id
)
{
this
.
loading
=
true
;
this
.
loading
=
true
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/office/news/info/
${
this
.
dataForm
.
id
}
`
),
method
:
"get"
,
params
:
this
.
$http
.
adornParams
()
,
method
:
'get'
,
params
:
this
.
$http
.
adornParams
()
}).
then
(({
data
})
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
if
(
data
&&
data
.
code
===
0
)
{
this
.
dataForm
=
data
.
news
;
this
.
imgUrlStr
=
data
.
news
.
pic
;
this
.
dialogVisible
=
true
;
this
.
ueditor
.
value
=
this
.
dataForm
.
content
;
this
.
dataForm
=
data
.
news
this
.
imgUrlStr
=
data
.
news
.
pic
this
.
dialogVisible
=
true
this
.
ueditor
.
value
=
this
.
dataForm
.
content
}
})
;
})
}
})
;
})
},
// 表单提交
dataFormSubmit
()
{
this
.
$refs
[
"dataForm"
].
validate
((
valid
)
=>
{
dataFormSubmit
()
{
this
.
$refs
[
'dataForm'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
loading
=
true
;
this
.
loading
=
true
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
`/office/news/
${
!
this
.
dataForm
.
id
?
"save"
:
"update"
}
`
`/office/news/
${
!
this
.
dataForm
.
id
?
'save'
:
'update'
}
`
),
method
:
"post"
,
method
:
'post'
,
data
:
this
.
$http
.
adornData
({
id
:
this
.
dataForm
.
id
||
undefined
,
title
:
this
.
dataForm
.
title
,
...
...
@@ -267,79 +267,79 @@ export default {
pic
:
this
.
dataForm
.
pic
,
content
:
this
.
dataForm
.
content
,
classid
:
this
.
dataForm
.
classid
,
showtime
:
this
.
dataForm
.
showtime
,
})
,
showtime
:
this
.
dataForm
.
showtime
})
}).
then
(({
data
})
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
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
)
}
})
;
})
}
})
;
})
},
// 上传之前校验
beforeAvatarUpload
(
file
)
{
const
isJPG
=
file
.
type
===
"image/jpeg"
;
const
isPNG
=
file
.
type
===
"image/png"
;
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
;
beforeAvatarUpload
(
file
)
{
const
isJPG
=
file
.
type
===
'image/jpeg'
const
isPNG
=
file
.
type
===
'image/png'
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
if
(
!
isJPG
)
{
if
(
!
isPNG
)
{
this
.
$message
.
error
(
"上传图片只能是 JPG, PNG 格式!"
);
this
.
$message
.
error
(
'上传图片只能是 JPG, PNG 格式!'
)
}
}
if
(
!
isLt2M
)
{
this
.
$message
.
error
(
"上传头像图片大小不能超过 2MB!"
);
this
.
$message
.
error
(
'上传头像图片大小不能超过 2MB!'
)
}
if
(
file
)
{
var
windowURL
=
window
.
URL
||
window
.
webkitURL
;
this
.
imgUrlStr
=
windowURL
.
createObjectURL
(
file
)
;
this
.
dialogVisible
=
true
;
this
.
imgUrl
.
append
(
"file"
,
file
);
var
windowURL
=
window
.
URL
||
window
.
webkitURL
this
.
imgUrlStr
=
windowURL
.
createObjectURL
(
file
)
this
.
dialogVisible
=
true
this
.
imgUrl
.
append
(
'file'
,
file
)
}
},
Upload
()
{
Upload
()
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
"/office/file/uploadFile"
),
method
:
"post"
,
url
:
this
.
$http
.
adornUrl
(
'/office/file/uploadFile'
),
method
:
'post'
,
data
:
this
.
imgUrl
,
headers
:
{
"Content-Type"
:
"multipart/form-data"
,
}
,
'Content-Type'
:
'multipart/form-data'
}
})
.
then
((
res
)
=>
{
console
.
log
(
res
)
;
this
.
dataForm
.
pic
=
res
.
data
.
data
;
console
.
log
(
res
)
this
.
dataForm
.
pic
=
res
.
data
.
data
})
.
catch
((
err
)
=>
{
console
.
log
(
err
)
;
})
;
console
.
log
(
err
)
})
},
clearInp
()
{
this
.
$refs
[
"dataForm"
].
resetFields
();
this
.
imgUrlStr
=
""
;
this
.
dialogVisible
=
false
;
this
.
ueditor
.
value
=
""
;
clearInp
()
{
this
.
$refs
[
'dataForm'
].
resetFields
()
this
.
imgUrlStr
=
''
this
.
dialogVisible
=
false
this
.
ueditor
.
value
=
''
},
// 更新父子组件内容
editorReady
(
instance
)
{
instance
.
setContent
(
this
.
dataForm
.
content
)
;
instance
.
addListener
(
"contentChange"
,
()
=>
{
this
.
dataForm
.
content
=
instance
.
getContent
()
;
})
;
}
,
}
,
}
;
editorReady
(
instance
)
{
instance
.
setContent
(
this
.
dataForm
.
content
)
instance
.
addListener
(
'contentChange'
,
()
=>
{
this
.
dataForm
.
content
=
instance
.
getContent
()
})
}
}
}
</
script
>
<
style
scoped
>
/* .form-list{
...
...
src/views/modules/application/news.vue
View file @
441b25db
...
...
@@ -182,8 +182,8 @@
<
script
>
import
{
piclevelList
}
from
'@/utils'
import
AddOrUpdate
from
'./news-add-or-update'
export
default
{
import
AddOrUpdate
from
'./news-add-or-update'
export
default
{
components
:
{
AddOrUpdate
},
...
...
@@ -220,7 +220,7 @@ import { piclevelList } from '@/utils'
label
:
'成功'
}
],
columnList
:
[],
columnList
:
[],
piclevelList
,
updateDate
:
[],
releaseDate
:
[]
...
...
@@ -228,7 +228,7 @@ import { piclevelList } from '@/utils'
},
activated
()
{
this
.
getColumnList
();
this
.
getColumnList
()
this
.
getDataList
()
},
methods
:
{
...
...
@@ -236,11 +236,11 @@ import { piclevelList } from '@/utils'
getColumnList
()
{
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/office/news/columnList'
),
method
:
'get'
,
method
:
'get'
}).
then
(({
data
})
=>
{
console
.
log
(
data
,
'getColumnList'
);
console
.
log
(
data
,
'getColumnList'
)
if
(
data
&&
data
.
code
===
0
)
{
this
.
columnList
=
data
.
data
;
this
.
columnList
=
data
.
data
}
else
{
this
.
columnList
=
[]
}
...
...
@@ -248,8 +248,8 @@ import { piclevelList } from '@/utils'
},
// 获取数据列表
getDataList
()
{
console
.
log
(
this
.
releaseDate
,
'this.releaseDate'
);
this
.
dataListLoading
=
true
;
console
.
log
(
this
.
releaseDate
,
'this.releaseDate'
)
this
.
dataListLoading
=
true
this
.
$http
({
url
:
this
.
$http
.
adornUrl
(
'/office/news/yylyList'
),
method
:
'post'
,
...
...
@@ -370,5 +370,5 @@ import { piclevelList } from '@/utils'
}).
catch
(()
=>
{})
}
}
}
}
</
script
>
src/views/modules/info/announce-add-or-update.vue
View file @
441b25db
...
...
@@ -142,7 +142,7 @@
value
:
''
,
config
:
{}
},
piclevelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
piclevelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
id
:
[],
classidList
:
[],
cclassidList
:
[],
...
...
src/views/modules/info/announce.vue
View file @
441b25db
...
...
@@ -31,9 +31,10 @@
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<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>
</el-form-item>
...
...
@@ -167,8 +168,9 @@
</template>
<
script
>
import
AddOrUpdate
from
'./announce-add-or-update'
export
default
{
import
{
piclevelList
}
from
'@/utils'
import
AddOrUpdate
from
'./announce-add-or-update'
export
default
{
components
:
{
AddOrUpdate
},
...
...
@@ -213,7 +215,7 @@
label
:
'地方公告'
}
],
piclevelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
releaseDate
:
[]
}
},
...
...
@@ -349,5 +351,5 @@
}).
catch
(()
=>
{})
}
}
}
}
</
script
>
src/views/modules/info/indexcarouselmanage-add-or-update.vue
View file @
441b25db
...
...
@@ -138,7 +138,7 @@
classnum
:
''
,
title
:
''
,
brief
:
''
,
levels
:
0
,
levels
:
''
,
directpath
:
''
,
picIndexPath
:
''
,
colorBackground
:
''
,
...
...
@@ -173,7 +173,7 @@
imgUrl
:
new
FormData
(),
imgUrlStr
:
''
,
dialogVisible
:
false
,
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
colorBackgroundList
:
[
{
label
:
'蓝色'
...
...
src/views/modules/info/indexcarouselmanage.vue
View file @
441b25db
...
...
@@ -19,18 +19,18 @@
<el-option
v-for=
"item in classnumList"
:key=
"item.value"
:label=
"item.
label
"
:value=
"item.
label
"
>
:label=
"item.
name
"
:value=
"item.
name
"
>
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<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>
</el-form-item>
...
...
@@ -159,8 +159,9 @@
</template>
<
script
>
import
AddOrUpdate
from
'./indexcarouselmanage-add-or-update'
export
default
{
import
{
piclevelList
}
from
'@/utils'
import
AddOrUpdate
from
'./indexcarouselmanage-add-or-update'
export
default
{
components
:
{
AddOrUpdate
},
...
...
@@ -194,7 +195,7 @@
label
:
'成功'
}
],
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
classnumList
:
[
{
label
:
'大轮播'
...
...
@@ -338,7 +339,7 @@
}).
catch
(()
=>
{})
}
}
}
}
</
script
>
<
style
scoped
>
...
...
src/views/modules/info/news-add-or-update.vue
View file @
441b25db
...
...
@@ -191,7 +191,7 @@
value
:
''
,
config
:
{}
},
piclevelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
piclevelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
id
:
[],
classidList
:
[],
cclassidList
:
[],
...
...
src/views/modules/info/news.vue
View file @
441b25db
...
...
@@ -27,9 +27,9 @@
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<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>
</el-form-item>
...
...
@@ -173,8 +173,9 @@
</template>
<
script
>
import
AddOrUpdate
from
'./news-add-or-update'
export
default
{
import
{
piclevelList
}
from
'@/utils'
import
AddOrUpdate
from
'./news-add-or-update'
export
default
{
components
:
{
AddOrUpdate
},
...
...
@@ -210,7 +211,7 @@
label
:
'成功'
}
],
piclevelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
updateDate
:
[],
releaseDate
:
[]
}
...
...
@@ -351,5 +352,5 @@
}).
catch
(()
=>
{})
}
}
}
}
</
script
>
src/views/modules/info/newsmovie-add-or-update.vue
View file @
441b25db
...
...
@@ -177,7 +177,7 @@
value
:
''
,
config
:
{}
},
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
clanguageList
:
[
'中文'
],
id
:
[],
title
:
''
...
...
src/views/modules/info/newsmovie.vue
View file @
441b25db
...
...
@@ -36,10 +36,10 @@
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<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>
</el-form-item>
...
...
@@ -210,8 +210,9 @@
</template>
<
script
>
import
AddOrUpdate
from
'./newsmovie-add-or-update'
export
default
{
import
{
piclevelList
}
from
'@/utils'
import
AddOrUpdate
from
'./newsmovie-add-or-update'
export
default
{
components
:
{
AddOrUpdate
},
...
...
@@ -247,7 +248,7 @@
label
:
'成功'
}
],
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
clanguageList
:
[
'中文'
],
updateDate
:
[],
releaseDate
:
[]
...
...
@@ -388,5 +389,5 @@
}).
catch
(()
=>
{})
}
}
}
}
</
script
>
src/views/modules/info/newtopic-add-or-update.vue
View file @
441b25db
...
...
@@ -161,7 +161,7 @@
value
:
''
,
config
:
{}
},
piclevelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
piclevelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
id
:
[],
newtmList
:
[
{
...
...
src/views/modules/info/newtopic.vue
View file @
441b25db
...
...
@@ -17,10 +17,10 @@
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<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>
</el-form-item>
...
...
@@ -144,8 +144,9 @@
</template>
<
script
>
import
AddOrUpdate
from
'./news-add-or-update'
export
default
{
import
{
piclevelList
}
from
'@/utils'
import
AddOrUpdate
from
'./news-add-or-update'
export
default
{
components
:
{
AddOrUpdate
},
...
...
@@ -179,7 +180,7 @@
label
:
'成功'
}
],
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
releaseDate
:
[]
}
},
...
...
@@ -311,5 +312,5 @@
}).
catch
(()
=>
{})
}
}
}
}
</
script
>
src/views/modules/info/picture-add-or-update.vue
View file @
441b25db
...
...
@@ -106,7 +106,7 @@ export default {
jumppath
:
''
,
showtime
:
''
},
piclevelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
piclevelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
pictureTypeList
:
[
{
value
:
'1'
,
...
...
src/views/modules/info/picture.vue
View file @
441b25db
...
...
@@ -33,10 +33,10 @@
<el-form-item
label=
'级别'
prop=
'pictureLevel'
>
<el-select
v-model=
"dataForm.pictureLevel"
placeholder=
"请输入级别"
clearable
>
<el-option
v-for=
"item in pic
tureLevel
"
: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>
</el-form-item>
...
...
@@ -122,8 +122,9 @@
</template>
<
script
>
import
AddOrUpdate
from
'./picture-add-or-update'
export
default
{
import
{
piclevelList
}
from
'@/utils'
import
AddOrUpdate
from
'./picture-add-or-update'
export
default
{
data
()
{
return
{
addOrUpdateVisible
:
false
,
...
...
@@ -155,7 +156,7 @@
label
:
'成功'
}
],
pictureLevel
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
pictureTypeList
:
[
{
value
:
'1'
,
...
...
@@ -304,13 +305,13 @@
}).
catch
(
e
=>
e
)
}
}
}
}
</
script
>
<
style
scoped
>
/*
.el-select-dropdown__item,.el-form-item__label{
font-size: 12px!important;
}
}
*/
/* .el-table .cell, .el-table th div {
padding-right: 0;
...
...
src/views/modules/logistics/logistics-add-or-update.vue
View file @
441b25db
...
...
@@ -161,7 +161,7 @@
value
:
''
,
config
:
{}
},
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
id
:
[],
typeList
:
[
{
...
...
src/views/modules/medical/medical-add-or-update.vue
View file @
441b25db
...
...
@@ -153,7 +153,7 @@
value
:
''
,
config
:
{}
},
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
id
:
[],
typeList
:
[],
title
:
''
...
...
src/views/modules/party/center-add-or-update.vue
View file @
441b25db
...
...
@@ -154,7 +154,7 @@
value
:
''
,
config
:
{}
},
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
id
:
[],
classidList
:
[],
cclassidList
:
[],
...
...
src/views/modules/party/center.vue
View file @
441b25db
...
...
@@ -26,10 +26,10 @@
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<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>
</el-form-item>
...
...
@@ -171,8 +171,9 @@
</template>
<
script
>
import
AddOrUpdate
from
'./center-add-or-update'
export
default
{
import
{
piclevelList
}
from
'@/utils'
import
AddOrUpdate
from
'./center-add-or-update'
export
default
{
components
:
{
AddOrUpdate
},
...
...
@@ -207,7 +208,7 @@
label
:
'成功'
}
],
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
updateDate
:
[],
releaseDate
:
[]
}
...
...
@@ -346,5 +347,5 @@
}).
catch
(()
=>
{})
}
}
}
}
</
script
>
src/views/modules/party/hotFlow-add-or-update.vue
View file @
441b25db
...
...
@@ -153,7 +153,7 @@
value
:
''
,
config
:
{}
},
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
id
:
[],
title
:
''
}
...
...
src/views/modules/party/hotFlow.vue
View file @
441b25db
...
...
@@ -26,10 +26,10 @@
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<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>
</el-form-item>
...
...
@@ -168,8 +168,9 @@
</template>
<
script
>
import
AddOrUpdate
from
'./hotFlow-add-or-update'
export
default
{
import
{
piclevelList
}
from
'@/utils'
import
AddOrUpdate
from
'./hotFlow-add-or-update'
export
default
{
components
:
{
AddOrUpdate
},
...
...
@@ -204,7 +205,7 @@
label
:
'成功'
}
],
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
updateDate
:
[],
releaseDate
:
[]
}
...
...
@@ -342,5 +343,5 @@
}).
catch
(()
=>
{})
}
}
}
}
</
script
>
src/views/modules/party/rules-add-or-update.vue
View file @
441b25db
...
...
@@ -154,7 +154,7 @@
value
:
''
,
config
:
{}
},
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
id
:
[],
classidList
:
[],
cclassidList
:
[],
...
...
src/views/modules/party/rules.vue
View file @
441b25db
...
...
@@ -26,10 +26,10 @@
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<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>
</el-form-item>
...
...
@@ -171,8 +171,9 @@
</template>
<
script
>
import
AddOrUpdate
from
'./rules-add-or-update'
export
default
{
import
{
piclevelList
}
from
'@/utils'
import
AddOrUpdate
from
'./rules-add-or-update'
export
default
{
components
:
{
AddOrUpdate
},
...
...
@@ -207,7 +208,7 @@
label
:
'成功'
}
],
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
updateDate
:
[],
releaseDate
:
[]
}
...
...
@@ -345,5 +346,5 @@
}).
catch
(()
=>
{})
}
}
}
}
</
script
>
src/views/modules/party/topicnews-add-or-update.vue
View file @
441b25db
...
...
@@ -154,7 +154,7 @@
value
:
''
,
config
:
{}
},
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
id
:
[],
classidList
:
[],
cclassidList
:
[],
...
...
src/views/modules/party/topicnews.vue
View file @
441b25db
...
...
@@ -26,10 +26,10 @@
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<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>
</el-form-item>
...
...
@@ -169,8 +169,9 @@
</template>
<
script
>
import
AddOrUpdate
from
'./topicnews-add-or-update'
export
default
{
import
{
piclevelList
}
from
'@/utils'
import
AddOrUpdate
from
'./topicnews-add-or-update'
export
default
{
components
:
{
AddOrUpdate
},
...
...
@@ -205,7 +206,7 @@
label
:
'成功'
}
],
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
updateDate
:
[],
releaseDate
:
[]
}
...
...
@@ -343,5 +344,5 @@
}).
catch
(()
=>
{})
}
}
}
}
</
script
>
src/views/modules/policy/policy-add-or-update.vue
View file @
441b25db
...
...
@@ -162,7 +162,7 @@
value
:
''
,
config
:
{}
},
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
id
:
[],
typeList
:
[
{
...
...
src/views/modules/policy/policy.vue
View file @
441b25db
...
...
@@ -34,9 +34,9 @@
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<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>
</el-form-item>
...
...
@@ -162,8 +162,9 @@
</template>
<
script
>
import
AddOrUpdate
from
'./policy-add-or-update'
export
default
{
import
{
piclevelList
}
from
'@/utils'
import
AddOrUpdate
from
'./policy-add-or-update'
export
default
{
components
:
{
AddOrUpdate
},
...
...
@@ -199,7 +200,7 @@
label
:
'成功'
}
],
piclevelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
,
piclevelList
,
updateDate
:
[],
typeList
:
[
{
...
...
@@ -346,5 +347,5 @@
}
}
}
}
</
script
>
src/views/modules/service/doc-add-or-update.vue
View file @
441b25db
...
...
@@ -96,7 +96,7 @@
fileUrl
:
new
FormData
(),
fileUrlStr
:
''
,
dialogVisible
:
false
,
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
levelList
:
[
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
],
typeList
:
[
{
value
:
1
,
...
...
src/views/modules/service/doc.vue
View file @
441b25db
...
...
@@ -7,10 +7,10 @@
<el-form-item
label=
'级别'
prop=
'levels'
>
<el-select
v-model=
"dataForm.levels"
placeholder=
"请输入级别"
clearable
>
<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>
</el-form-item>
...
...
@@ -107,8 +107,9 @@
</template>
<
script
>
import
AddOrUpdate
from
'./doc-add-or-update'
export
default
{
import
{
piclevelList
}
from
'@/utils'
import
AddOrUpdate
from
'./doc-add-or-update'
export
default
{
components
:
{
AddOrUpdate
},
...
...
@@ -118,7 +119,7 @@
dataForm
:
{
'title'
:
''
,
'category'
:
''
,
'levels'
:
''
'levels'
:
null
},
dataList
:
[],
pageIndex
:
1
,
...
...
@@ -136,7 +137,7 @@
label
:
'分支机构培训计划'
}
],
levelList
:
[
0
,
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
]
piclevelList
}
},
activated
()
{
...
...
@@ -260,5 +261,5 @@
window
.
open
(
file
,
'_blank'
)
}
}
}
}
</
script
>
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