Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e7d02082
authored
Sep 05, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
订单管理,新增/编辑众筹
1 parent
b0c70e6a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
14 deletions
src/components/glsx-combi-form/index.vue
src/views/orderManage/index.vue
src/views/seckillActivity/editCrowdFund.vue
src/components/glsx-combi-form/index.vue
View file @
e7d0208
...
@@ -453,6 +453,7 @@ export default {
...
@@ -453,6 +453,7 @@ export default {
.glsx-combi-form
.muti-imgs
{
.glsx-combi-form
.muti-imgs
{
display
:
inline-block
;
display
:
inline-block
;
position
:
relative
;
position
:
relative
;
margin
:
10px
8px
0
0
;
}
}
.activity-img
.add
{
.activity-img
.add
{
...
...
src/views/orderManage/index.vue
View file @
e7d0208
...
@@ -528,6 +528,11 @@ export default {
...
@@ -528,6 +528,11 @@ export default {
}
}
},
},
{
{
label
:
'其他信息'
,
prop
:
'otherInformation'
,
width
:
'280'
},
{
label
:
'微信名称'
,
label
:
'微信名称'
,
prop
:
'weChatName'
,
prop
:
'weChatName'
,
addHtml
:
'weChatName'
,
addHtml
:
'weChatName'
,
...
@@ -600,12 +605,6 @@ export default {
...
@@ -600,12 +605,6 @@ export default {
}
}
},
},
{
{
label
:
'其他信息'
,
prop
:
'otherInformation'
,
width
:
'280'
,
line
:
1
},
{
label
:
'活动名称'
,
label
:
'活动名称'
,
prop
:
'activityName'
,
prop
:
'activityName'
,
width
:
'120'
width
:
'120'
...
...
src/views/seckillActivity/editCrowdFund.vue
View file @
e7d0208
...
@@ -640,9 +640,15 @@ export default {
...
@@ -640,9 +640,15 @@ export default {
handleUpload
:
(
e
,
file
,
targetItem
,
formObj
)
=>
{
handleUpload
:
(
e
,
file
,
targetItem
,
formObj
)
=>
{
const
imgFile
=
e
.
target
.
result
const
imgFile
=
e
.
target
.
result
const
base64
=
file
.
name
.
split
(
'.'
)[
file
.
name
.
split
(
'.'
).
length
-
1
]
+
'@'
+
imgFile
.
split
(
','
)[
1
]
const
base64
=
file
.
name
.
split
(
'.'
)[
file
.
name
.
split
(
'.'
).
length
-
1
]
+
'@'
+
imgFile
.
split
(
','
)[
1
]
this
.
$apis
.
common
.
uploadImgApi
({
file
:
base64
,
fileType
:
'image'
}).
then
(
res
=>
{
this
.
loading
=
true
this
.
editForm
.
activityExperienceDTOs
[
formObj
.
idx
][
targetItem
.
name
].
push
(
res
)
this
.
$apis
.
common
})
.
uploadImgApi
({
file
:
base64
,
fileType
:
'image'
})
.
then
(
res
=>
{
this
.
editForm
.
activityExperienceDTOs
[
formObj
.
idx
][
targetItem
.
name
].
push
(
res
)
})
.
finally
(()
=>
{
this
.
loading
=
false
})
}
}
}
}
],
],
...
@@ -826,10 +832,16 @@ export default {
...
@@ -826,10 +832,16 @@ export default {
handleUpload
:
(
e
,
file
,
targetItem
)
=>
{
handleUpload
:
(
e
,
file
,
targetItem
)
=>
{
const
imgFile
=
e
.
target
.
result
const
imgFile
=
e
.
target
.
result
const
base64
=
file
.
name
.
split
(
'.'
)[
file
.
name
.
split
(
'.'
).
length
-
1
]
+
'@'
+
imgFile
.
split
(
','
)[
1
]
const
base64
=
file
.
name
.
split
(
'.'
)[
file
.
name
.
split
(
'.'
).
length
-
1
]
+
'@'
+
imgFile
.
split
(
','
)[
1
]
this
.
$apis
.
common
.
uploadImgApi
({
file
:
base64
,
fileType
:
'image'
}).
then
(
res
=>
{
this
.
loading
=
true
this
.
editForm
[
targetItem
.
name
]
=
res
this
.
$apis
.
common
this
.
$refs
.
configEditFormRef
.
$refs
[
this
.
editChildRef
].
validateField
(
targetItem
.
name
)
.
uploadImgApi
({
file
:
base64
,
fileType
:
'image'
})
})
.
then
(
res
=>
{
this
.
editForm
[
targetItem
.
name
]
=
res
this
.
$refs
.
configEditFormRef
.
$refs
[
this
.
editChildRef
].
validateField
(
targetItem
.
name
)
})
.
finally
(()
=>
{
this
.
loading
=
false
})
}
}
},
},
{
{
...
@@ -1815,7 +1827,7 @@ export default {
...
@@ -1815,7 +1827,7 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
}
}
.form-open
{
.form-open
{
max-height
:
16
00px
;
max-height
:
25
00px
;
transition
:
max-height
0.5s
ease
;
transition
:
max-height
0.5s
ease
;
}
}
.form-close
{
.form-close
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment