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
70ecdeb1
Commit
70ecdeb1
authored
Feb 09, 2022
by
Lyan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
3e705fee
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
19 additions
and
6 deletions
+19
-6
announce-add-or-update.vue
src/views/modules/info/announce-add-or-update.vue
+1
-0
indexcarouselmanage-add-or-update.vue
src/views/modules/info/indexcarouselmanage-add-or-update.vue
+4
-3
news-add-or-update.vue
src/views/modules/info/news-add-or-update.vue
+4
-2
newsmovie-add-or-update.vue
src/views/modules/info/newsmovie-add-or-update.vue
+2
-0
newtopic-add-or-update.vue
src/views/modules/info/newtopic-add-or-update.vue
+1
-0
newtopic.vue
src/views/modules/info/newtopic.vue
+1
-1
picture-add-or-update.vue
src/views/modules/info/picture-add-or-update.vue
+1
-0
center-add-or-update.vue
src/views/modules/party/center-add-or-update.vue
+1
-0
hotFlow-add-or-update.vue
src/views/modules/party/hotFlow-add-or-update.vue
+1
-0
rules-add-or-update.vue
src/views/modules/party/rules-add-or-update.vue
+1
-0
topicnews-add-or-update.vue
src/views/modules/party/topicnews-add-or-update.vue
+1
-0
partners-add-or-update.vue
src/views/modules/standard/partners-add-or-update.vue
+1
-0
No files found.
src/views/modules/info/announce-add-or-update.vue
View file @
70ecdeb1
...
...
@@ -234,6 +234,7 @@
// 上传之前校验
beforeAvatarUpload
(
file
)
{
this
.
fileUrl
=
new
FormData
()
if
(
file
)
{
var
windowURL
=
window
.
URL
||
window
.
webkitURL
this
.
fileUrlStr
=
windowURL
.
createObjectURL
(
file
)
...
...
src/views/modules/info/indexcarouselmanage-add-or-update.vue
View file @
70ecdeb1
...
...
@@ -151,9 +151,9 @@
title
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
brief
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
],
//
brief: [
//
{ required: true, message: '不能为空', trigger: 'blur' }
//
],
levels
:
[
{
required
:
true
,
message
:
'不能为空'
,
trigger
:
'blur'
}
]
...
...
@@ -309,6 +309,7 @@
},
// 上传之前校验
beforeAvatarUpload
(
file
)
{
this
.
imgUrl
=
new
FormData
()
const
isJPG
=
file
.
type
===
'image/jpeg'
const
isPNG
=
file
.
type
===
'image/png'
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
...
...
src/views/modules/info/news-add-or-update.vue
View file @
70ecdeb1
...
...
@@ -24,7 +24,7 @@
<p
v-show=
"showInfo"
>
{{
dataForm
.
directpath
}}
</p>
</el-form-item>
<el-form-item
label=
"栏目:"
prop=
"classid"
>
<el-select
v-model=
"dataForm.classid"
@
change=
"getCclassList2"
style=
'width:121px!important'
v-show=
"!showInfo"
>
<el-select
v-model=
"dataForm.classid"
@
change=
"getCclassList2"
style=
'width:121px!important'
v-show=
"!showInfo"
clearable
>
<!--
<el-option
ref =
'sel1'
v-for=
"item in classidList"
...
...
@@ -43,7 +43,7 @@
<el-option
value=
"38"
label=
"质检中心"
></el-option>
<el-option
value=
"42"
label=
"条码通"
></el-option>
</el-select>
<el-select
v-model=
"dataForm.cclassid"
style=
'width:121px!important'
v-if=
"!showInfo"
v-show=
"cclassShow"
>
<el-select
v-model=
"dataForm.cclassid"
style=
'width:121px!important'
v-if=
"!showInfo"
v-show=
"cclassShow"
clearable
>
<el-option
v-for=
"item in cclassidList"
:key=
"item.id"
...
...
@@ -211,6 +211,7 @@
created
()
{
// this.getClassList([5, 9])
this
.
getCclassList
(
5
)
this
.
dataForm
.
cclassid
=
''
},
mounted
()
{
console
.
log
(
this
.
classidList
)
...
...
@@ -404,6 +405,7 @@
// 上传之前校验
beforeAvatarUpload
(
file
)
{
this
.
imgUrl
=
new
FormData
()
const
isJPG
=
file
.
type
===
'image/jpeg'
const
isPNG
=
file
.
type
===
'image/png'
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
...
...
src/views/modules/info/newsmovie-add-or-update.vue
View file @
70ecdeb1
...
...
@@ -273,6 +273,7 @@
// 上传之前校验
beforeAvatarUpload
(
file
)
{
this
.
imgUrl
=
new
FormData
()
const
isJPG
=
file
.
type
===
'image/jpeg'
const
isPNG
=
file
.
type
===
'image/png'
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
...
...
@@ -312,6 +313,7 @@
},
beforeUploadVideo
(
file
)
{
this
.
videoUrl
=
new
FormData
()
const
isLt100M
=
file
.
size
/
1024
/
1024
<
10
if
([
'video/mp4'
].
indexOf
(
file
.
type
)
===
-
1
)
{
this
.
$message
.
error
(
'请上传正确的视频格式'
)
...
...
src/views/modules/info/newtopic-add-or-update.vue
View file @
70ecdeb1
...
...
@@ -298,6 +298,7 @@
},
// 上传之前校验
beforeAvatarUpload
(
file
)
{
this
.
imgUrl
=
new
FormData
()
const
isJPG
=
file
.
type
===
'image/jpeg'
const
isPNG
=
file
.
type
===
'image/png'
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
...
...
src/views/modules/info/newtopic.vue
View file @
70ecdeb1
...
...
@@ -298,7 +298,7 @@ export default {
method
:
'post'
,
data
:
this
.
$http
.
adornData
({
'id'
:
id
,
'
checkflag
'
:
status
'
status
'
:
status
})
}).
then
(({
data
})
=>
{
if
(
data
&&
data
.
code
===
0
)
{
...
...
src/views/modules/info/picture-add-or-update.vue
View file @
70ecdeb1
...
...
@@ -275,6 +275,7 @@ export default {
},
// 上传之前校验
beforeAvatarUpload
(
file
)
{
this
.
imgUrl
=
new
FormData
()
const
isJPG
=
file
.
type
===
'image/jpeg'
const
isPNG
=
file
.
type
===
'image/png'
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
...
...
src/views/modules/party/center-add-or-update.vue
View file @
70ecdeb1
...
...
@@ -240,6 +240,7 @@
},
// 上传之前校验
beforeAvatarUpload
(
file
)
{
this
.
imgUrl
=
new
FormData
()
const
isJPG
=
file
.
type
===
'image/jpeg'
const
isPNG
=
file
.
type
===
'image/png'
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
...
...
src/views/modules/party/hotFlow-add-or-update.vue
View file @
70ecdeb1
...
...
@@ -237,6 +237,7 @@
},
// 上传之前校验
beforeAvatarUpload
(
file
)
{
this
.
imgUrl
=
new
FormData
()
const
isJPG
=
file
.
type
===
'image/jpeg'
const
isPNG
=
file
.
type
===
'image/png'
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
...
...
src/views/modules/party/rules-add-or-update.vue
View file @
70ecdeb1
...
...
@@ -240,6 +240,7 @@
},
// 上传之前校验
beforeAvatarUpload
(
file
)
{
this
.
imgUrl
=
new
FormData
()
const
isJPG
=
file
.
type
===
'image/jpeg'
const
isPNG
=
file
.
type
===
'image/png'
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
...
...
src/views/modules/party/topicnews-add-or-update.vue
View file @
70ecdeb1
...
...
@@ -240,6 +240,7 @@
},
// 上传之前校验
beforeAvatarUpload
(
file
)
{
this
.
imgUrl
=
new
FormData
()
const
isJPG
=
file
.
type
===
'image/jpeg'
const
isPNG
=
file
.
type
===
'image/png'
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
...
...
src/views/modules/standard/partners-add-or-update.vue
View file @
70ecdeb1
...
...
@@ -333,6 +333,7 @@ export default {
// 上传之前校验
beforeAvatarUpload
(
file
)
{
this
.
imgUrl
=
new
FormData
()
const
isJPG
=
file
.
type
===
'image/jpeg'
const
isPNG
=
file
.
type
===
'image/png'
const
isLt2M
=
file
.
size
/
1024
/
1024
<
2
...
...
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