Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-outbound
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 9df1550e
authored
Oct 25, 2023
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复BUG
1 parent
8901f72a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
18 additions
and
7 deletions
src/api/modules/questionnaire.js
src/components/glsx-combi-form/index.vue
src/views/questionnaire/components/StepOne/index.vue
src/views/questionnaire/index.vue
src/views/redEnvelope/components/RedEnvelopeConfig/edit.vue
src/api/modules/questionnaire.js
View file @
9df1550
...
@@ -94,7 +94,7 @@ export default {
...
@@ -94,7 +94,7 @@ export default {
method
:
'scrm.api.coupon.list.merchant'
,
method
:
'scrm.api.coupon.list.merchant'
,
validType
:
'valid'
,
validType
:
'valid'
,
directionalFlag
:
1
,
directionalFlag
:
1
,
pageSize
:
9
,
pageSize
:
20
,
discountTypes
:
[
2
,
3
,
4
],
discountTypes
:
[
2
,
3
,
4
],
status
:
2
,
status
:
2
,
...
params
...
params
...
...
src/components/glsx-combi-form/index.vue
View file @
9df1550
...
@@ -93,6 +93,14 @@
...
@@ -93,6 +93,14 @@
</template>
</template>
<slot
name=
"footer"
></slot>
<slot
name=
"footer"
></slot>
</el-form>
</el-form>
<GLDialog
v-if=
"isImgVisible"
bigTitle=
"查看"
mode=
"big"
:visible
.
sync=
"isImgVisible"
:close-on-click-modal=
"false"
@
onOk=
"isImgVisible = false"
@
onCancel=
"isImgVisible = false"
>
<div
class=
"dialog-look"
>
<video
v-if=
"dialogObj.uploadType == 'video'"
class=
"dialog-video"
controls
>
<source
:src=
"dialogObj.url"
type=
"video/mp4"
/>
</video>
<img
v-else
class=
"dialog-img"
width=
"100%"
:src=
"dialogObj.url"
alt=
""
/>
</div>
</GLDialog>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -230,6 +238,7 @@ export default {
...
@@ -230,6 +238,7 @@ export default {
},
},
// 图片查看
// 图片查看
handleImgLook
(
src
,
targetItem
)
{
handleImgLook
(
src
,
targetItem
)
{
console
.
log
(
src
,
targetItem
)
this
.
isImgVisible
=
true
this
.
isImgVisible
=
true
this
.
dialogObj
=
{
this
.
dialogObj
=
{
url
:
src
,
url
:
src
,
...
...
src/views/questionnaire/components/StepOne/index.vue
View file @
9df1550
...
@@ -95,6 +95,7 @@ import { getMerchantListMixin } from '@/mixins'
...
@@ -95,6 +95,7 @@ import { getMerchantListMixin } from '@/mixins'
import
EquityItem
from
'./EquityItem.vue'
import
EquityItem
from
'./EquityItem.vue'
import
CouponItem
from
'./CouponItem.vue'
import
CouponItem
from
'./CouponItem.vue'
import
RedEnvelopeItem
from
'./RedEnvelopeItem.vue'
import
RedEnvelopeItem
from
'./RedEnvelopeItem.vue'
// import CombiForm from '@/components/glsx-combi-form/index.vue'
export
default
{
export
default
{
name
:
'StepOne'
,
name
:
'StepOne'
,
mixins
:
[
getMerchantListMixin
],
mixins
:
[
getMerchantListMixin
],
...
@@ -208,7 +209,7 @@ export default {
...
@@ -208,7 +209,7 @@ export default {
{
total
,
pageNum
}
=
_this
.
activityObj
{
total
,
pageNum
}
=
_this
.
activityObj
if
(
condition
)
{
if
(
condition
)
{
if
(
index
==
2
)
{
if
(
index
==
2
)
{
if
(
Math
.
ceil
(
total
/
9
)
>
pageNum
)
{
if
(
Math
.
ceil
(
total
/
20
)
>
pageNum
)
{
_this
.
activityObj
.
pageNum
+=
1
_this
.
activityObj
.
pageNum
+=
1
_this
.
getActivityList
()
_this
.
getActivityList
()
}
else
{
}
else
{
...
@@ -285,7 +286,7 @@ export default {
...
@@ -285,7 +286,7 @@ export default {
}
}
/
deep
/
.el-form-item__content
{
/
deep
/
.el-form-item__content
{
width
:
fit-content
;
width
:
fit-content
;
max-width
:
calc
(
100%
-
1
5
4px
);
max-width
:
calc
(
100%
-
1
7
4px
);
}
}
/
deep
/
.activity-img
,
/
deep
/
.activity-img
,
/
deep
/
.muti-imgs
{
/
deep
/
.muti-imgs
{
...
@@ -303,10 +304,11 @@ export default {
...
@@ -303,10 +304,11 @@ export default {
height
:
100%
;
height
:
100%
;
}
}
}
}
/
deep
/
.activity-img
{
/
deep
/
.activity-img
,/
deep
/
.muti-imgs
{
margin-bottom
:
30px
;
margin-bottom
:
30px
;
&::before
{
&::before
{
content
:
'图片大小10M以内'
;
//
content
:
'图片大小10M以内'
;
content
:
'\56fe\7247\5927\5c0f\0031\0030M\4ee5\5185'
;
display
:
block
;
display
:
block
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#999999
;
color
:
#999999
;
...
...
src/views/questionnaire/index.vue
View file @
9df1550
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
>
>
<el-popover
<el-popover
placement=
"top"
placement=
"top"
trigger=
"
hover
"
trigger=
"
click
"
>
>
<img
<img
class=
"img-plus"
class=
"img-plus"
...
...
src/views/redEnvelope/components/RedEnvelopeConfig/edit.vue
View file @
9df1550
...
@@ -233,7 +233,7 @@ export default {
...
@@ -233,7 +233,7 @@ export default {
activityTime
:
[
dayjs
(
res
.
activityStartTime
).
toDate
(),
dayjs
(
res
.
activityEndTime
).
toDate
()],
activityTime
:
[
dayjs
(
res
.
activityStartTime
).
toDate
(),
dayjs
(
res
.
activityEndTime
).
toDate
()],
id
id
}
}
this
.
merchantObj
.
dat
=
[{
this
.
merchantObj
.
dat
a
=
[{
confId
:
merchantId
,
confId
:
merchantId
,
confName
:
res
.
merchantName
confName
:
res
.
merchantName
}]
}]
...
...
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