Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
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
marketing-web
marketing
Commits
3392bd50
Commit
3392bd50
authored
Jan 19, 2021
by
chenxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: api建券;组件更新
parent
71c88e02
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
6 deletions
+5
-6
index.html
index.html
+2
-2
form.vue
src/views/card/form.vue
+2
-2
list.vue
src/views/card/list.vue
+1
-2
No files found.
index.html
View file @
3392bd50
...
...
@@ -27,9 +27,9 @@
<script
src=
"//web-1251519181.file.myqcloud.com/components/store.2.0.01.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/member-group.2.2.24.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/store-card.2.0.2
4
.js"
></script>
<!-- 门店选择器 -->
<script
src=
"//web-1251519181.file.myqcloud.com/components/store-card.2.0.2
51
.js"
></script>
<!-- 门店选择器 -->
<script
src=
"//web-1251519181.file.myqcloud.com/components/store-new.2.0.65.js"
></script>
<!-- 新版门店选择器 -->
<script
src=
"//web-1251519181.file.myqcloud.com/components/confirm-people.2.0.0
1
.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/confirm-people.2.0.0
3
.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/people.2.0.43.js"
></script>
<script
src=
"//web-1251519181.file.myqcloud.com/components/export-excel.2.0.16.js"
></script>
<!-- 数据导出 -->
<script
src=
"//web-1251519181.file.myqcloud.com/components/input.2.0.20.js"
></script>
...
...
src/views/card/form.vue
View file @
3392bd50
...
...
@@ -294,7 +294,7 @@
<
/el-form-item
>
<
el
-
form
-
item
label
=
"首图链接设置"
prop
=
"bannerJumpUrl"
>
<
el
-
checkbox
v
-
model
=
"form.useJumpFlag"
:
true
-
label
=
"1"
:
false
-
label
=
"0"
>
首图链接
<
/el-checkbox
>
<
span
style
=
"position:relative;top:
3
px;"
v
-
if
=
"form.useJumpFlag"
>
<
span
style
=
"position:relative;top:
1
px;"
v
-
if
=
"form.useJumpFlag"
>
<
el
-
button
@
click
=
"linkToolsVisible2 = true"
type
=
"text"
class
=
"ml10"
>
{{
JSON
.
stringify
(
form
.
bannerJumpUrl
)
==
'{
}
'
?
'设置链接'
:
'修改链接:'
}}
<
/el-button
>
<
span
class
=
"gray ml10"
>
{{
form
.
bannerJumpUrl
.
name
}}
<
/span
>
<
/span
>
...
...
@@ -350,7 +350,7 @@
<
/el-dialog
>
<
dm
-
send
-
preview
:
data
=
"form"
:
visible
.
sync
=
"preview.visible"
/>
<!--
转赠预览
-->
<
linktools
showType
=
"5"
:
canSave
=
"!isInfo"
:
linkVisible
.
sync
=
"linkToolsVisible"
@
linkSelect
=
"linkSelect"
:
linkData
=
"form.jumpLink"
/>
<!--
链接小工具
-->
<
linktools
showType
=
"5"
:
canSave
=
"
!isInfo
"
:
linkVisible
.
sync
=
"linkToolsVisible2"
@
linkSelect
=
"linkSelect2"
:
linkData
=
"form.bannerJumpUrl"
/>
<!--
链接小工具
-
转赠
-->
<
linktools
showType
=
"5"
:
canSave
=
"
isAdd || isCopy
"
:
linkVisible
.
sync
=
"linkToolsVisible2"
@
linkSelect
=
"linkSelect2"
:
linkData
=
"form.bannerJumpUrl"
/>
<!--
链接小工具
-
转赠
-->
<
/div
>
<
/template
>
...
...
src/views/card/list.vue
View file @
3392bd50
...
...
@@ -104,8 +104,7 @@ export default {
let
res
=
await
cardPageList
(
this
.
listParams
);
this
.
tableList
=
res
.
result
.
result
.
map
(
v
=>
{
// v.isApiCreate = Math.random() > 0.7;
v
.
isApiCreate
=
false
;
v
.
isApiCreate
=
v
.
gicCouponType
==
3
;
// 是gic侧不可用
return
v
;
})
||
[];
this
.
total
=
res
.
result
.
totalCount
;
...
...
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