Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-activity
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 4d347d78
authored
Jan 18, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
精品交付单
1 parent
a8b04c81
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
20 deletions
src/mixins/shareMixin.js
src/views/coupon/index.vue
src/mixins/shareMixin.js
View file @
4d347d7
...
@@ -51,9 +51,7 @@ export default {
...
@@ -51,9 +51,7 @@ export default {
case
'coupon'
:
{
case
'coupon'
:
{
let
desc
=
'您的专属服务顾问为您发来了优惠券,请点击领取~'
let
desc
=
'您的专属服务顾问为您发来了优惠券,请点击领取~'
let
imgUrl
=
'http://img01.glsx.com.cn/upload/biz/dracMini-yh-10004.png'
let
imgUrl
=
'http://img01.glsx.com.cn/upload/biz/dracMini-yh-10004.png'
console
.
log
(
entry
)
if
(
tabIndex
==
0
)
{
if
(
false
)
{
// if (tabIndex == 0 ) {
if
(
entry
!=
'normal'
)
if
(
entry
!=
'normal'
)
this
.
sendChatMessage
({
this
.
sendChatMessage
({
// channelType 1 嘀加 2:广汇
// channelType 1 嘀加 2:广汇
...
...
src/views/coupon/index.vue
View file @
4d347d7
...
@@ -21,8 +21,7 @@
...
@@ -21,8 +21,7 @@
class=
"item"
class=
"item"
>
>
<div
:class=
"['sprite-icon', 'text-center',tabIndex == 0 ?'icon-coupon':'icon-discount',
{'clear-padding':i.discountType == 3}]">
<div
:class=
"['sprite-icon', 'text-center',tabIndex == 0 ?'icon-coupon':'icon-discount',
{'clear-padding':i.discountType == 3}]">
<template
v-if=
"false"
>
<template
v-if=
"tabIndex == 0 "
>
<!--
<template
v-if=
"tabIndex == 0 "
>
-->
{{
i
.
couponTypeName
}}
{{
i
.
couponTypeName
}}
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
...
@@ -77,30 +76,29 @@
...
@@ -77,30 +76,29 @@
<
script
type=
'text/ecmascript-6'
>
<
script
type=
'text/ecmascript-6'
>
import
{
shareMixin
,
pageMixin
,
discountTypeMixin
}
from
'@/mixins'
import
{
shareMixin
,
pageMixin
,
discountTypeMixin
}
from
'@/mixins'
import
{
couponApi
,
boutiquecouponApi
}
from
'@/api'
import
{
couponApi
,
boutiquecouponApi
}
from
'@/api'
const
tabList
=
[
'商城优惠券'
]
const
tabList
=
[
'新车精品礼券'
,
'商城优惠券'
]
// const tabList = ['新车精品礼券', '商城优惠券']
export
default
{
export
default
{
name
:
'coupon'
,
name
:
'coupon'
,
mixins
:
[
shareMixin
,
pageMixin
,
discountTypeMixin
],
mixins
:
[
shareMixin
,
pageMixin
,
discountTypeMixin
],
data
()
{
data
()
{
return
{
return
{
tabList
,
tabList
,
updata
:
new
Date
().
getTime
()
updata
:
new
Date
().
getTime
()
}
}
},
},
mounted
()
{
},
mounted
()
{
},
methods
:
{
methods
:
{
// getList_0
(pageNum) {
getList_0
(
pageNum
)
{
//
let { list } = this
let
{
list
}
=
this
//
boutiquecouponApi.getBoutiqueCouponList({ pageNum }).then(res => {
boutiquecouponApi
.
getBoutiqueCouponList
({
pageNum
}).
then
(
res
=>
{
//
this.hideLoading()
this
.
hideLoading
()
//
console.log('精品礼券', res)
console
.
log
(
'精品礼券'
,
res
)
//
this.flag = true
this
.
flag
=
true
//
this.list = list.concat(res.list)
this
.
list
=
list
.
concat
(
res
.
list
)
//
this.total = res.total
this
.
total
=
res
.
total
//
})
})
//
},
},
getList_
0
(
pageNum
)
{
getList_
1
(
pageNum
)
{
let
{
list
}
=
this
let
{
list
}
=
this
couponApi
.
getMerchantCouponList
({
pageNum
}).
then
(
res
=>
{
couponApi
.
getMerchantCouponList
({
pageNum
}).
then
(
res
=>
{
this
.
hideLoading
()
this
.
hideLoading
()
...
...
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