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
84346e27
Commit
84346e27
authored
Jan 22, 2022
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug更改
parent
b8fc2da9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
109 additions
and
109 deletions
+109
-109
_base.scss
src/assets/scss/_base.scss
+4
-0
indexcarouselmanage-add-or-update.vue
src/views/modules/info/indexcarouselmanage-add-or-update.vue
+3
-3
news-add-or-update.vue
src/views/modules/info/news-add-or-update.vue
+6
-6
newsmovie-add-or-update.vue
src/views/modules/info/newsmovie-add-or-update.vue
+6
-6
newtopic-add-or-update.vue
src/views/modules/info/newtopic-add-or-update.vue
+30
-34
newtopic.vue
src/views/modules/info/newtopic.vue
+1
-1
picture-add-or-update.vue
src/views/modules/info/picture-add-or-update.vue
+14
-14
logistics-add-or-update.vue
src/views/modules/logistics/logistics-add-or-update.vue
+3
-3
medical-add-or-update.vue
src/views/modules/medical/medical-add-or-update.vue
+3
-3
center-add-or-update.vue
src/views/modules/party/center-add-or-update.vue
+9
-9
hotFlow-add-or-update.vue
src/views/modules/party/hotFlow-add-or-update.vue
+9
-9
rules-add-or-update.vue
src/views/modules/party/rules-add-or-update.vue
+9
-9
topicnews-add-or-update.vue
src/views/modules/party/topicnews-add-or-update.vue
+9
-9
policy-add-or-update.vue
src/views/modules/policy/policy-add-or-update.vue
+3
-3
partners-add-or-update.vue
src/views/modules/standard/partners-add-or-update.vue
+0
-0
No files found.
src/assets/scss/_base.scss
View file @
84346e27
...
...
@@ -368,6 +368,7 @@ img {
width
:
100%
;
}
.avatar-uploader
>
.el-upload
{
border
:
2px
dashed
#666666
;
cursor
:
pointer
;
position
:
relative
;
...
...
@@ -398,6 +399,9 @@ img {
}
.avatar2
{
width
:
70%
;
img
{
width
:
100%
;
}
}
p
{
margin
:
0
;
...
...
src/views/modules/info/indexcarouselmanage-add-or-update.vue
View file @
84346e27
...
...
@@ -159,10 +159,10 @@
],
directpath
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
picIndexPath
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
]
// picIndexPath: [
// { required: true, message: '不能为空', trigger: 'blur' }
// ]
// colorBackground: [
// { required: true, message: '不能为空', trigger: 'blur' }
// ],
...
...
src/views/modules/info/news-add-or-update.vue
View file @
84346e27
...
...
@@ -82,15 +82,15 @@
<el-upload
v-show=
"!showInfo"
class=
"avatar-uploader"
class=
"avatar-uploader
avatar2
"
action=
""
:show-file-list=
"false"
:http-request=
"Upload"
:before-upload=
"beforeAvatarUpload"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
"
avatar
"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
""
>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar"
></p>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar
2
"
></p>
</el-form-item>
<el-form-item
label=
"简介:"
prop=
"brief"
>
...
...
@@ -202,7 +202,7 @@
},
created
()
{
this
.
getClassList
([])
this
.
getClassList
([
5
,
9
])
},
mounted
()
{
console
.
log
(
this
.
classidList
)
...
...
@@ -230,7 +230,7 @@
this
.
loading
=
false
if
(
data
&&
data
.
code
===
0
)
{
this
.
dataForm
=
data
.
news
this
.
getClassList
([])
this
.
getClassList
([
5
,
9
])
this
.
dataForm
.
ishead
=
parseInt
(
data
.
news
.
ishead
)
this
.
dataForm
.
classid
=
this
.
dataForm
.
classid
this
.
getClassList
([
this
.
dataForm
.
classid
])
...
...
@@ -295,7 +295,7 @@
data
:
id
}).
then
(({
data
})
=>
{
if
(
data
&&
data
.
code
===
0
)
{
if
(
id
.
length
===
0
)
{
if
(
id
.
length
===
2
)
{
this
.
classidList
=
data
.
data
}
else
{
this
.
cclassidList
=
data
.
data
[
0
].
child
...
...
src/views/modules/info/newsmovie-add-or-update.vue
View file @
84346e27
...
...
@@ -64,27 +64,27 @@
</el-form-item>
<el-form-item
label=
"描述图片:"
prop=
"pic"
>
<el-upload
class=
"avatar-uploader"
class=
"avatar-uploader
avatar2
"
action=
""
:show-file-list=
"false"
:http-request=
"Upload"
:before-upload=
"beforeAvatarUpload"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
"
avatar
"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
""
>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar"
></p>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar
2
"
></p>
</el-form-item>
<el-form-item
label=
"MP4文件:"
prop=
"video"
>
<el-upload
class=
"avatar-uploader"
class=
"avatar-uploader
avatar2
"
action=
""
:show-file-list=
"false"
:http-request=
"UploadVideo"
:before-upload=
"beforeUploadVideo"
>
<video
v-if=
"dialogVisible2"
:src=
"videoUrlStr"
class=
"
avatar
"
></video>
<video
v-if=
"dialogVisible2"
:src=
"videoUrlStr"
class=
""
></video>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
<p
v-show=
"showInfo"
><video
:src=
"videoUrlStr"
class=
"avatar"
></video></p>
<p
v-show=
"showInfo"
><video
:src=
"videoUrlStr"
class=
"avatar
2
"
></video></p>
</el-form-item>
<el-form-item
label=
""
prop=
"content"
>
...
...
src/views/modules/info/newtopic-add-or-update.vue
View file @
84346e27
...
...
@@ -46,29 +46,37 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
levels
}}
</p>
</el-form-item>
<el-form-item
label=
"显示时间:"
prop=
"showtime"
class=
" setdes setdes1"
>
<el-date-picker
<el-row
v-show=
"!showInfo"
>
<el-col
:span=
"22"
>
<el-date-picker
v-show=
"!showInfo"
v-model=
"dataForm.showtime"
value-format=
'yyyy-MM-dd'
type=
"date"
placeholder=
"选择日期"
>
</el-date-picker>
<span
v-show=
"!showInfo"
>
时间格式为:xxxx/xx/xx
</span>
</el-col>
<el-col
:span=
"2"
class=
"iconStyle"
>
<el-tooltip
placement=
"top"
effect=
"light"
>
<div
slot=
"content"
>
时间格式为:xxxx/xx/xx
</div>
<i
class=
"el-icon-warning"
></i>
</el-tooltip>
</el-col>
</el-row>
<p
v-show=
"showInfo"
>
{{
dataForm
.
showtime
}}
</p>
</el-form-item>
<el-form-item
label=
"专题图片:"
prop=
"pic"
>
<el-upload
v-show=
"!showInfo"
class=
"avatar-uploader"
class=
"avatar-uploader
avatar2
"
action=
""
:show-file-list=
"false"
:http-request=
"Upload"
:before-upload=
"beforeAvatarUpload"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
"
avatar
"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
""
>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar"
></p>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar
2
"
></p>
</el-form-item>
<el-form-item
label=
"专题简介:"
prop=
"shortcontent"
>
<el-input
type=
"textarea"
v-model=
"dataForm.shortcontent"
placeholder=
"请输入专题简介"
v-show=
"!showInfo"
></el-input>
...
...
@@ -135,12 +143,12 @@
levels
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
directpath
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
ppic
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
//
directpath: [
//
{ required: true, message: '不能为空', trigger: 'blur' }
//
],
//
ppic: [
//
{ required: true, message: '不能为空', trigger: 'blur' }
//
],
// content: [
// { required: true, message: '不能为空', trigger: 'blur' }
// ],
...
...
@@ -178,7 +186,7 @@
},
created
()
{
this
.
getClassList
([])
this
.
getClassList
([
9
,
12
,
13
])
},
mounted
()
{
...
...
@@ -256,12 +264,7 @@
data
:
id
}).
then
(({
data
})
=>
{
if
(
data
&&
data
.
code
===
0
)
{
if
(
id
.
length
===
0
)
{
this
.
classidList
=
data
.
data
}
else
{
this
.
dataForm
.
cclassid
=
''
this
.
cclassidList
=
data
.
data
[
0
].
child
}
this
.
classidList
=
data
.
data
}
else
{
this
.
$message
.
error
(
data
.
msg
)
}
...
...
@@ -321,19 +324,11 @@
}
</
script
>
<
style
scoped
>
.form-list
{
padding-left
:
4%
!important
;
}
.el-form-item__content
{
width
:
50%
;
}
.el-select
,
.el-input
{
width
:
241px
!important
;
}
.edui-editor
{
width
:
100%
;
}
.setdes1
.el-form-item__content
>
span
{
left
:
280px
!important
;
}
.iconStyle
{
font-size
:
18px
;
text-align
:
center
;
color
:
#e6a23c
;
cursor
:
pointer
;
}
</
style
>
\ No newline at end of file
src/views/modules/info/newtopic.vue
View file @
84346e27
...
...
@@ -145,7 +145,7 @@
<
script
>
import
{
piclevelList
}
from
'@/utils'
import
AddOrUpdate
from
'./new
s
-add-or-update'
import
AddOrUpdate
from
'./new
topic
-add-or-update'
export
default
{
components
:
{
AddOrUpdate
...
...
src/views/modules/info/picture-add-or-update.vue
View file @
84346e27
...
...
@@ -128,13 +128,13 @@ export default {
trigger
:
'blur'
}
],
picFile
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
//
picFile: [
//
{
//
required: true,
//
message: '不能为空',
//
trigger: 'blur'
//
}
//
],
editor
:
[
{
required
:
true
,
...
...
@@ -163,13 +163,13 @@ export default {
trigger
:
'blur'
}
],
jumppath
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
//
jumppath: [
//
{
//
required: true,
//
message: '不能为空',
//
trigger: 'blur'
//
}
//
],
showtime
:
[
{
required
:
true
,
...
...
src/views/modules/logistics/logistics-add-or-update.vue
View file @
84346e27
...
...
@@ -134,9 +134,9 @@
keyword
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
jumppath
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
//
jumppath: [
//
{ required: true, message: '不能为空', trigger: 'blur' }
//
],
author
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
...
...
src/views/modules/medical/medical-add-or-update.vue
View file @
84346e27
...
...
@@ -126,9 +126,9 @@
keyword
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
jumpath
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
//
jumpath: [
//
{ required: true, message: '不能为空', trigger: 'blur' }
//
],
author
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
...
...
src/views/modules/party/center-add-or-update.vue
View file @
84346e27
...
...
@@ -55,15 +55,15 @@
<el-form-item
label=
"图片:"
prop=
"pic"
>
<el-upload
v-show=
"!showInfo"
class=
"avatar-uploader"
class=
"avatar-uploader
avatar2
"
action=
""
:show-file-list=
"false"
:http-request=
"Upload"
:before-upload=
"beforeAvatarUpload"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
"
avatar
"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
""
>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar"
></p>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar
2
"
></p>
</el-form-item>
<el-form-item
label=
"简介:"
prop=
"brief"
>
<el-input
type=
"textarea"
rows=
"5"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo"
></el-input>
...
...
@@ -134,12 +134,12 @@
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/party/hotFlow-add-or-update.vue
View file @
84346e27
...
...
@@ -55,15 +55,15 @@
<el-form-item
label=
"图片:"
prop=
"pic"
>
<el-upload
v-show=
"!showInfo"
class=
"avatar-uploader"
class=
"avatar-uploader
avatar2
"
action=
""
:show-file-list=
"false"
:http-request=
"Upload"
:before-upload=
"beforeAvatarUpload"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
"
avatar
"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
""
>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar"
></p>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar
2
"
></p>
</el-form-item>
<el-form-item
label=
"简介:"
prop=
"brief"
>
<el-input
type=
"textarea"
rows=
"5"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo"
></el-input>
...
...
@@ -133,12 +133,12 @@
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/party/rules-add-or-update.vue
View file @
84346e27
...
...
@@ -55,15 +55,15 @@
<el-form-item
label=
"图片:"
prop=
"pic"
>
<el-upload
v-show=
"!showInfo"
class=
"avatar-uploader"
class=
"avatar-uploader
avatar2
"
action=
""
:show-file-list=
"false"
:http-request=
"Upload"
:before-upload=
"beforeAvatarUpload"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
"
avatar
"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
""
>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar"
></p>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar
2
"
></p>
</el-form-item>
<el-form-item
label=
"简介:"
prop=
"brief"
>
<el-input
type=
"textarea"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo"
></el-input>
...
...
@@ -134,12 +134,12 @@
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/party/topicnews-add-or-update.vue
View file @
84346e27
...
...
@@ -55,15 +55,15 @@
<el-form-item
label=
"图片:"
prop=
"pic"
>
<el-upload
v-show=
"!showInfo"
class=
"avatar-uploader"
class=
"avatar-uploader
avatar2
"
action=
""
:show-file-list=
"false"
:http-request=
"Upload"
:before-upload=
"beforeAvatarUpload"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
"
avatar
"
>
<img
v-if=
"dialogVisible"
:src=
"imgUrlStr"
class=
""
>
<i
v-else
class=
"el-icon-plus avatar-uploader-icon"
></i>
</el-upload>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar"
></p>
<p
v-show=
"showInfo"
><img
:src=
"imgUrlStr"
class=
"avatar
2
"
></p>
</el-form-item>
<el-form-item
label=
"简介:"
prop=
"brief"
>
<el-input
type=
"textarea"
v-model=
"dataForm.brief"
placeholder=
"请输入简介"
v-show=
"!showInfo"
></el-input>
...
...
@@ -134,12 +134,12 @@
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/policy/policy-add-or-update.vue
View file @
84346e27
...
...
@@ -135,9 +135,9 @@
keyword
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
directpath
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
//
directpath: [
//
{ required: true, message: '不能为空', trigger: 'blur' }
//
],
author
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
...
...
src/views/modules/standard/partners-add-or-update.vue
View file @
84346e27
This diff is collapsed.
Click to expand it.
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