Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-pay
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 7e30dda6
authored
Dec 11, 2021
by
wangql
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://192.168.3.233:8090/saas/scrm-micro-marketing
2 parents
88f21edd
9427629f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
31 changed files
with
383 additions
and
163 deletions
package-lock.json
package.json
src/App.vue
src/assets/css/public.scss
src/assets/guestCustom/applet-logo.png
src/assets/home-set.png
src/common/constant.js
src/components/glsx-combi-form/index.vue
src/components/selectMutiProDialog/index.vue
src/views/classifyList/editClassify.vue
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/addCustomerGroup.vue
src/views/customerTransform/components/activityModel.vue
src/views/customerTransform/components/basicInfo.vue
src/views/customerTransform/components/selectMembers.vue
src/views/customerTransform/components/tag-textarea.vue
src/views/customerTransform/components/welcomeWords.vue
src/views/customerTransform/detaiCustomeGroup.vue
src/views/customerTransform/detailCustomer.vue
src/views/home/components/barChart.vue
src/views/home/components/pieChart.vue
src/views/home/index.vue
src/views/homeSet/index.vue
src/views/memberCenter/center.vue
src/views/memberCenter/orderDetail.vue
src/views/memberCenter/serviceAddUpdateLook.vue
src/views/memberCenter/setmeal.vue
src/views/memberCenter/setmealAddUpdate.vue
src/views/orderManage/index.vue
src/views/productGroup/editProduct.vue
src/views/zoneList/editZone.vue
package-lock.json
View file @
7e30dda
...
@@ -5355,9 +5355,9 @@
...
@@ -5355,9 +5355,9 @@
}
}
},
},
"glsx-components"
:
{
"glsx-components"
:
{
"version"
:
"1.2.
4
"
,
"version"
:
"1.2.
5
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-components/-/glsx-components-1.2.
4
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/glsx-components/-/glsx-components-1.2.
5
.tgz"
,
"integrity"
:
"sha512-
SYdn82Qoohe28jCYQBw+E4vYofwAzzOWheXfw5DZKQPR16KW76dbw0H2nL/OqN/sVIeQdERsTdC6iSIAjItdD
w=="
,
"integrity"
:
"sha512-
lXobGXHn8NlO3SI/q7XpdmW5HaqIdwRuaSGkiy9Lfq5hFgi55VmSjJpEh99Srk2blCMNP4tHvVfdS/z1rucB2
w=="
,
"requires"
:
{
"requires"
:
{
"core-js"
:
"^3.6.5"
,
"core-js"
:
"^3.6.5"
,
"element-ui"
:
"^2.15.6"
,
"element-ui"
:
"^2.15.6"
,
...
...
package.json
View file @
7e30dda
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
"el-tree-transfer"
:
"^2.2.6"
,
"el-tree-transfer"
:
"^2.2.6"
,
"element-ui"
:
"^2.4.5"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-components"
:
"^1.2.
4
"
,
"glsx-components"
:
"^1.2.
5
"
,
"lodash"
:
"^4.17.21"
,
"lodash"
:
"^4.17.21"
,
"vue"
:
"^2.6.10"
,
"vue"
:
"^2.6.10"
,
"vue-router"
:
"^3.1.3"
,
"vue-router"
:
"^3.1.3"
,
...
...
src/App.vue
View file @
7e30dda
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<el-button
class=
"right"
type=
"primary"
size=
"medium"
@
click=
"callParentChange('default')"
>
通知父应用收到
</el-button>
<el-button
class=
"right"
type=
"primary"
size=
"medium"
@
click=
"callParentChange('default')"
>
通知父应用收到
</el-button>
</div>
</div>
<img
src=
"./assets/logo.png"
alt=
""
srcset=
""
/>
<img
src=
"./assets/logo.png"
alt=
""
srcset=
""
/>
</div>
-->
</div>
-->
<router-view
/>
<router-view
/>
</div>
</div>
...
@@ -58,7 +58,7 @@ export default {
...
@@ -58,7 +58,7 @@ export default {
}
}
#app
{
#app
{
padding
:
0px
20px
20px
40px
;
padding
:
0px
20px
20px
40px
;
overflow-y
:
auto
;
//
overflow-y
:
auto
;
height
:
100%
;
height
:
100%
;
}
}
</
style
>
</
style
>
...
...
src/assets/css/public.scss
View file @
7e30dda
...
@@ -21,7 +21,7 @@ html {
...
@@ -21,7 +21,7 @@ html {
}
}
.marketing.edit-box
.container
{
.marketing.edit-box
.container
{
padding
:
20px
0
20px
;
padding
:
0
0
20px
;
}
}
.live-room
.container
{
.live-room
.container
{
...
@@ -195,6 +195,12 @@ html {
...
@@ -195,6 +195,12 @@ html {
text-align
:
center
;
text-align
:
center
;
}
}
.marketing
.edit-tips
{
line-height
:
20px
;
font-size
:
14px
;
color
:
#999999
;
}
.marketing
.footer
{
.marketing
.footer
{
position
:
fixed
;
position
:
fixed
;
bottom
:
0
;
bottom
:
0
;
...
@@ -222,13 +228,12 @@ html {
...
@@ -222,13 +228,12 @@ html {
.marketing
.edit-title
{
.marketing
.edit-title
{
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
500
;
font-weight
:
600
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
height
:
58px
;
height
:
28px
;
line-height
:
58px
;
line-height
:
28px
;
border-bottom
:
1px
solid
#E7EAEC
;
border-bottom
:
1px
solid
#E7EAEC
;
margin
:
0
0
;
margin
:
0
0
;
padding
:
0
0
11px
4
0px
;
padding
:
0
0
0
2
0px
;
}
}
// .marketing .edit-sub-title::before {
// .marketing .edit-sub-title::before {
...
@@ -272,3 +277,15 @@ html {
...
@@ -272,3 +277,15 @@ html {
.marketing
.table-img
.el-table--medium
td
.el-table__cell
{
.marketing
.table-img
.el-table--medium
td
.el-table__cell
{
padding
:
2px
0
!
important
;
padding
:
2px
0
!
important
;
}
}
::-webkit-scrollbar
{
/*滚动条整体样式*/
width
:
6px
;
height
:
4px
;
}
::-webkit-scrollbar-thumb
{
/*滚动条里面小方块*/
border-radius
:
4px
;
background-color
:
rgba
(
144
,
147
,
153
,
0
.3
);
}
\ No newline at end of file
\ No newline at end of file
src/assets/guestCustom/applet-logo.png
View file @
7e30dda
1.23 KB
|
W:
|
H:
3.02 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/assets/home-set.png
View file @
7e30dda
61.3 KB
|
W:
|
H:
78.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/common/constant.js
View file @
7e30dda
...
@@ -33,7 +33,7 @@ function limitPrice(newValue, oldValue, intergerDigit, pointDigit, minValue, max
...
@@ -33,7 +33,7 @@ function limitPrice(newValue, oldValue, intergerDigit, pointDigit, minValue, max
const
orderManageStatusList
=
[
const
orderManageStatusList
=
[
{
confId
:
'1'
,
confName
:
'未支付'
},
{
confId
:
'1'
,
confName
:
'未支付'
},
// { i
d: '2', confName: '已支付' },
{
confI
d
:
'2'
,
confName
:
'已支付'
},
{
confId
:
'3'
,
confName
:
'已失效'
},
{
confId
:
'3'
,
confName
:
'已失效'
},
{
confId
:
'4'
,
confName
:
'已发货'
},
{
confId
:
'4'
,
confName
:
'已发货'
},
{
confId
:
'5'
,
confName
:
'已收货'
},
{
confId
:
'5'
,
confName
:
'已收货'
},
...
@@ -45,7 +45,8 @@ const orderManageStatusList = [
...
@@ -45,7 +45,8 @@ const orderManageStatusList = [
{
confId
:
'11'
,
confName
:
'已退款'
},
{
confId
:
'11'
,
confName
:
'已退款'
},
{
confId
:
'12'
,
confName
:
'退款失败'
},
{
confId
:
'12'
,
confName
:
'退款失败'
},
{
confId
:
'13'
,
confName
:
'待发货'
},
{
confId
:
'13'
,
confName
:
'待发货'
},
{
confId
:
'14'
,
confName
:
'已安装'
}
{
confId
:
'14'
,
confName
:
'待安装'
},
{
confId
:
'15'
,
confName
:
'已安装'
}
]
]
const
orderSourceList
=
[
const
orderSourceList
=
[
...
...
src/components/glsx-combi-form/index.vue
View file @
7e30dda
...
@@ -93,6 +93,7 @@
...
@@ -93,6 +93,7 @@
</span>
</span>
</div>
</div>
</
template
>
</
template
>
<slot
:name=
"item.suffixSlot"
:scope=
"item"
></slot>
</template>
</template>
</el-form-item>
</el-form-item>
</template>
</template>
...
@@ -424,4 +425,18 @@ export default {
...
@@ -424,4 +425,18 @@ export default {
height
:
50%
;
height
:
50%
;
}
}
/* 图片上传 */
/* 图片上传 */
.glsx-combi-form
.el-tag.el-tag--info
.el-tag__close
{
color
:
#E8E8EA
;
background-color
:
#5850ff
!important
;
}
.glsx-combi-form
.el-tag.el-tag--info
{
border-color
:
#5850ff
;
}
.el-tag--plain.el-tag--info
.el-tag__close
:hover
{
background-color
:
#E8E8EA
;
}
.el-tag.el-tag--info
.el-tag__close
:hover
{
background-color
:
#E8E8EA
;
}
</
style
>
</
style
>
src/components/selectMutiProDialog/index.vue
View file @
7e30dda
<!-- 选择商品弹窗 -->
<!-- 选择商品弹窗 -->
<
template
>
<
template
>
<glsx-dialog
class=
"muti-pro"
title=
"选择商品"
:isVisible
.
sync=
"isMutiSelectVisible"
width=
"70%"
@
confirmDialog=
"handleMutiSelectConfirm"
@
closeDialog=
"handleMutiSelectClose"
>
<glsx-dialog
class=
"muti-pro"
title=
"选择商品"
:isVisible
.
sync=
"isMutiSelectVisible"
width=
"70%"
@
confirmDialog=
"handleMutiSelectConfirm"
@
closeDialog=
"handleMutiSelectClose"
>
<GLTable
ref=
"mutiProRef"
:tableData=
"productList"
:hasPage=
"false
"
:tableParams=
"tableParams"
@
refreshTable=
"getList"
>
<GLTable
v-loading=
"loading"
ref=
"mutiProRef"
:tableData=
"productList"
:hasPage=
"false"
:noDataImg=
"url
"
:tableParams=
"tableParams"
@
refreshTable=
"getList"
>
<span
slot=
"goodsImage"
slot-scope=
"scope"
>
<span
slot=
"goodsImage"
slot-scope=
"scope"
>
<img
class=
"m-t-10 img-60"
:src=
"scope.scope.goodsImage"
/>
<img
class=
"m-t-10 img-60"
:src=
"scope.scope.goodsImage"
/>
</span>
</span>
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
<
script
>
<
script
>
// import { getGoodsList } from '@/api/modules/common'
// import { getGoodsList } from '@/api/modules/common'
import
url
from
"@/assets/empty.png"
import
glsxDialog
from
'@/components/glsx-dialog'
import
glsxDialog
from
'@/components/glsx-dialog'
export
default
{
export
default
{
name
:
'selectMutiProDialog'
,
name
:
'selectMutiProDialog'
,
...
@@ -19,6 +20,8 @@ export default {
...
@@ -19,6 +20,8 @@ export default {
// 表格组件
// 表格组件
// getListApi: this.$apis.common.getGoodsListApi,
// getListApi: this.$apis.common.getGoodsListApi,
productList
:
[],
productList
:
[],
url
:
url
,
loading
:
true
,
// pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
// pageConf: { pageSize: 'pageSize', pageNum: 'pageNum', totalCount: 'total' },
// 表格参数
// 表格参数
tableParams
:
{
tableParams
:
{
...
@@ -65,7 +68,7 @@ export default {
...
@@ -65,7 +68,7 @@ export default {
glsxDialog
glsxDialog
},
},
moun
ted
()
{
crea
ted
()
{
this
.
getList
(
true
)
this
.
getList
(
true
)
},
},
...
@@ -78,9 +81,10 @@ export default {
...
@@ -78,9 +81,10 @@ export default {
pageSize
:
isMounted
?
10
:
this
.
$refs
.
mutiProRef
.
page
.
pageSize
pageSize
:
isMounted
?
10
:
this
.
$refs
.
mutiProRef
.
page
.
pageSize
}
}
var
that
=
this
var
that
=
this
this
.
loading
=
true
this
.
$apis
.
common
.
getGoodsListApi
(
params
).
then
(
res
=>
{
this
.
$apis
.
common
.
getGoodsListApi
(
params
).
then
(
res
=>
{
// console.log(res)
this
.
productList
=
res
this
.
productList
=
res
this
.
loading
=
false
// this.$refs.mutiProRef.tableTotal = res.total
// this.$refs.mutiProRef.tableTotal = res.total
this
.
productList
.
forEach
(
function
(
item
)
{
this
.
productList
.
forEach
(
function
(
item
)
{
item
.
saleAmount
=
item
.
goodsStatistics
.
saleAmount
item
.
saleAmount
=
item
.
goodsStatistics
.
saleAmount
...
@@ -108,10 +112,11 @@ export default {
...
@@ -108,10 +112,11 @@ export default {
}
}
})
})
this
.
recoverySelected
()
this
.
recoverySelected
()
this
.
$refs
.
mutiProRef
.
tableHeightValues
=
'50vh'
})
})
},
},
recoverySelected
()
{
recoverySelected
()
{
if
(
this
.
selectedProList
.
length
)
{
if
(
this
.
selectedProList
&&
this
.
selectedProList
.
length
)
{
this
.
selectedProList
.
forEach
(
row
=>
{
this
.
selectedProList
.
forEach
(
row
=>
{
this
.
$refs
.
mutiProRef
.
$refs
[
this
.
tableParams
.
mutiSelectName
+
'MutiTable'
].
toggleRowSelection
(
row
)
this
.
$refs
.
mutiProRef
.
$refs
[
this
.
tableParams
.
mutiSelectName
+
'MutiTable'
].
toggleRowSelection
(
row
)
})
})
...
@@ -119,7 +124,7 @@ export default {
...
@@ -119,7 +124,7 @@ export default {
},
},
handleMutiSelectConfirm
()
{
handleMutiSelectConfirm
()
{
var
selectedData
=
this
.
$refs
.
mutiProRef
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
]
var
selectedData
=
this
.
$refs
.
mutiProRef
.
mutiSelectArr
[
this
.
tableParams
.
mutiSelectName
]
console
.
log
(
selectedData
)
//
console.log(selectedData)
this
.
$emit
(
'handleMutiSelectConfirm'
,
selectedData
)
this
.
$emit
(
'handleMutiSelectConfirm'
,
selectedData
)
},
},
handleMutiSelectClose
()
{
handleMutiSelectClose
()
{
...
...
src/views/classifyList/editClassify.vue
View file @
7e30dda
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<p
class=
"edit-title"
>
{{
title
}}
</p>
<p
class=
"edit-title"
>
{{
title
}}
</p>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container m-r-20"
ref=
"editFormRef"
:isEdit=
"isEdit"
defaultWidth=
"320px"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<div
slot=
"selectProBtn"
slot-scope=
"scope"
class=
"select-pro"
>
<div
slot=
"selectProBtn"
slot-scope=
"scope"
class=
"select-pro"
>
<el-button
type=
"
primary"
@
click=
"handleMutiProClose(scope)"
>
{{
editForm
.
goodsRefList
.
length
?
'更换'
:
'请选择
'
}}
</el-button>
<el-button
type=
"
default"
@
click=
"handleMutiProClose(scope)"
>
{{
editForm
.
goodsRefList
.
length
?
'更换商品'
:
'+选择商品
'
}}
</el-button>
</div>
</div>
<div
slot=
"proTable"
class=
"select-pro"
>
<div
slot=
"proTable"
class=
"select-pro"
>
<GLTable
v-show=
"editForm.goodsRefList.length"
:hasPage=
"false"
:tableParams=
"tableParams"
:tableData=
"editForm.goodsRefList"
>
<GLTable
v-show=
"editForm.goodsRefList.length"
:hasPage=
"false"
:tableParams=
"tableParams"
:tableData=
"editForm.goodsRefList"
>
...
@@ -142,7 +142,7 @@ export default {
...
@@ -142,7 +142,7 @@ export default {
this
.
selectedProList
=
this
.
$common
.
utils
.
deepClone
(
this
.
editForm
.
goodsRefList
)
this
.
selectedProList
=
this
.
$common
.
utils
.
deepClone
(
this
.
editForm
.
goodsRefList
)
this
.
handleMutiSelectClose
()
this
.
handleMutiSelectClose
()
},
},
handleMutiSelectConfirm
(
selectedData
)
{
handleMutiSelectConfirm
(
selectedData
=
[]
)
{
this
.
editForm
.
goodsRefList
=
selectedData
this
.
editForm
.
goodsRefList
=
selectedData
this
.
handleMutiSelectClose
()
this
.
handleMutiSelectClose
()
},
},
...
...
src/views/customerTransform/addCustomer.vue
View file @
7e30dda
...
@@ -22,7 +22,21 @@
...
@@ -22,7 +22,21 @@
class=
"sale-select"
class=
"sale-select"
v-show=
"basicForm.userList && basicForm.userList.length != 0"
v-show=
"basicForm.userList && basicForm.userList.length != 0"
>
>
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper"
>
<div
class=
"el-input-tag input-tag-wrapper"
>
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
.
staffName
}}
</el-tag>
</div>
<!--
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper"
>
<el-tag
<el-tag
v-for=
"(tag, idx) in basicForm.userList"
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
:key=
"idx"
...
@@ -32,7 +46,7 @@
...
@@ -32,7 +46,7 @@
@
close=
"remove(tag)"
@
close=
"remove(tag)"
>
{{
tag
.
staffName
}}
</el-tag>
>
{{
tag
.
staffName
}}
</el-tag>
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
</div>
</div>
-->
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"选择客户"
prop=
"selectType"
>
<el-form-item
label=
"选择客户"
prop=
"selectType"
>
...
@@ -57,6 +71,7 @@
...
@@ -57,6 +71,7 @@
v-model=
"basicForm.condition.chatId"
v-model=
"basicForm.condition.chatId"
@
change=
"valueChange"
@
change=
"valueChange"
@
focus=
"groupFocus"
@
focus=
"groupFocus"
:size=
"size"
multiple
multiple
collapse-tags
collapse-tags
placeholder=
"请选择"
placeholder=
"请选择"
...
@@ -77,7 +92,8 @@
...
@@ -77,7 +92,8 @@
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
size=
"small"
:size=
"size"
style=
"width: 320px;"
></el-date-picker>
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"标签筛选"
>
<el-form-item
label=
"标签筛选"
>
...
@@ -98,7 +114,7 @@
...
@@ -98,7 +114,7 @@
:disable-transitions=
"false"
:disable-transitions=
"false"
@
close=
"removeTag(tag, idx)"
@
close=
"removeTag(tag, idx)"
>
{{
tag
.
name
}}
</el-tag>
>
{{
tag
.
name
}}
</el-tag>
<
el-input
size=
"small"
style=
"outline: none; border: none"
></el-input
>
<
!--
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
--
>
</div>
</div>
<!--
<span
class=
"label-text"
>
<!--
<span
class=
"label-text"
>
已选择
已选择
...
@@ -134,7 +150,7 @@
...
@@ -134,7 +150,7 @@
<!-- 编辑入群欢迎语 -->
<!-- 编辑入群欢迎语 -->
<div
class=
"title"
>
编辑群发内容
</div>
<div
class=
"title"
>
编辑群发内容
</div>
<div>
<div>
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"groupForm"
label-width=
"1
2
0px"
>
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"groupForm"
label-width=
"1
0
0px"
>
<el-form-item
prop=
"attachmentList"
>
<el-form-item
prop=
"attachmentList"
>
<label
slot=
"label"
class=
"required"
>
群发内容
</label>
<label
slot=
"label"
class=
"required"
>
群发内容
</label>
<WelcomeWords
ref=
"welcome"
:form=
"'customer'"
:eventBus=
"eventBus"
></WelcomeWords>
<WelcomeWords
ref=
"welcome"
:form=
"'customer'"
:eventBus=
"eventBus"
></WelcomeWords>
...
@@ -508,7 +524,6 @@ export default {
...
@@ -508,7 +524,6 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.container
{
.container
{
margin-top
:
26px
;
margin-bottom
:
84px
;
margin-bottom
:
84px
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
...
@@ -517,6 +532,7 @@ export default {
...
@@ -517,6 +532,7 @@ export default {
padding
:
20px
0
17px
20px
;
padding
:
20px
0
17px
20px
;
font-size
:
16px
;
font-size
:
16px
;
color
:
#333
;
color
:
#333
;
font-weight
:
600
;
border-bottom
:
1px
solid
#d8d8d8
;
border-bottom
:
1px
solid
#d8d8d8
;
}
}
.info-box
{
.info-box
{
...
@@ -529,6 +545,7 @@ export default {
...
@@ -529,6 +545,7 @@ export default {
width
:
calc
(
100%
-
360px
);
width
:
calc
(
100%
-
360px
);
.filter-box
{
.filter-box
{
margin-left
:
120px
;
margin-left
:
120px
;
min-width
:
656px
;
background-color
:
#f7f7f7
;
background-color
:
#f7f7f7
;
.filter-memeber
{
.filter-memeber
{
padding
:
20px
0
;
padding
:
20px
0
;
...
@@ -559,7 +576,7 @@ export default {
...
@@ -559,7 +576,7 @@ export default {
}
}
.el-form
{
.el-form
{
padding
:
32px
0
20px
66
px
;
padding
:
32px
0
20px
20
px
;
/deep/.el-input
{
/deep/.el-input
{
width
:
320px
;
width
:
320px
;
}
}
...
@@ -570,6 +587,7 @@ export default {
...
@@ -570,6 +587,7 @@ export default {
}
}
.preview
{
.preview
{
margin-right
:
24px
;
margin-right
:
24px
;
margin-bottom
:
100px
;
}
}
}
}
.footer-panel
{
.footer-panel
{
...
@@ -595,7 +613,8 @@ export default {
...
@@ -595,7 +613,8 @@ export default {
align-items
:
center
;
align-items
:
center
;
}
}
.input-tag-wrapper
{
.input-tag-wrapper
{
max-width
:
300px
;
max-height
:
68px
;
overflow
:
auto
;
position
:
relative
;
position
:
relative
;
font-size
:
14px
;
font-size
:
14px
;
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -603,32 +622,28 @@ export default {
...
@@ -603,32 +622,28 @@ export default {
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
border
:
1px
solid
#dcdfe6
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#6
062
66
;
color
:
#666
;
display
:
inline-block
;
display
:
inline-block
;
outline
:
none
;
outline
:
none
;
padding
:
0
10px
0
5px
;
padding
:
5px
5px
0px
5px
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
line-height
:
32px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
100%
;
width
:
450px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
/deep/
input
{
margin-top
:
6px
;
/* input { */
font-size
:
14px
;
/* background-color: red!important; 调试用的样式 */
i
{
outline
:
none
!important
;
color
:
#75acff
;
border
:
none
!important
;
margin-right
:
3px
;
}
font-size
:
14px
;
/
deep
/
.el-input
{
min-width
:
150px
;
width
:
auto
;
flex
:
1
;
}
}
}
}
.el-tag
{
.el-tag
{
margin-right
:
4px
;
margin-right
:
4px
;
height
:
26px
;
height
:
26px
;
line-height
:
24px
;
line-height
:
24px
;
margin-bottom
:
5px
;
}
}
.tag-input
{
.tag-input
{
background
:
transparent
;
background
:
transparent
;
...
...
src/views/customerTransform/addCustomerGroup.vue
View file @
7e30dda
...
@@ -20,13 +20,25 @@
...
@@ -20,13 +20,25 @@
<div
class=
"sale-select"
v-show=
"basicForm.userList"
>
<div
class=
"sale-select"
v-show=
"basicForm.userList"
>
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper"
>
<div
:key=
"key"
class=
"el-input-tag input-tag-wrapper"
>
<el-tag
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
.
staffName
}}
</el-tag>
<!--
<el-tag
v-for=
"(tag, idx) in basicForm.userList"
v-for=
"(tag, idx) in basicForm.userList"
:key=
"idx"
:key=
"idx"
closable
closable
:disable-transitions=
"false"
:disable-transitions=
"false"
@
close=
"remove(tag)"
@
close=
"remove(tag)"
>
{{
tag
.
staffName
}}
</el-tag>
>
{{
tag
.
staffName
}}
</el-tag>
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
<el-input
size=
"small"
style=
"outline: none; border: none"
></el-input>
-->
</div>
</div>
</div>
</div>
<div
class=
"form-tips"
>
群主收到通知后,可选择他管理的客户群并群发该内容。
</div>
<div
class=
"form-tips"
>
群主收到通知后,可选择他管理的客户群并群发该内容。
</div>
...
@@ -300,7 +312,6 @@ export default {
...
@@ -300,7 +312,6 @@ export default {
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.container
{
.container
{
margin-top
:
26px
;
margin-bottom
:
84px
;
margin-bottom
:
84px
;
background
:
#ffffff
;
background
:
#ffffff
;
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
box-shadow
:
0
10px
20px
0
rgba
(
88
,
80
,
255
,
0.1
);
...
@@ -308,6 +319,7 @@ export default {
...
@@ -308,6 +319,7 @@ export default {
.title
{
.title
{
padding
:
20px
0
17px
20px
;
padding
:
20px
0
17px
20px
;
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
600
;
color
:
#333
;
color
:
#333
;
border-bottom
:
1px
solid
#d8d8d8
;
border-bottom
:
1px
solid
#d8d8d8
;
}
}
...
@@ -335,6 +347,7 @@ export default {
...
@@ -335,6 +347,7 @@ export default {
}
}
.preview
{
.preview
{
margin-right
:
24px
;
margin-right
:
24px
;
margin-bottom
:
100px
;
}
}
}
}
.footer-panel
{
.footer-panel
{
...
@@ -370,6 +383,8 @@ export default {
...
@@ -370,6 +383,8 @@ export default {
}
}
.input-tag-wrapper
{
.input-tag-wrapper
{
max-width
:
300px
;
max-width
:
300px
;
max-height
:
68px
;
overflow
:
auto
;
position
:
relative
;
position
:
relative
;
font-size
:
14px
;
font-size
:
14px
;
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -377,32 +392,28 @@ export default {
...
@@ -377,32 +392,28 @@ export default {
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
border
:
1px
solid
#dcdfe6
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#6
062
66
;
color
:
#666
;
display
:
inline-block
;
display
:
inline-block
;
outline
:
none
;
outline
:
none
;
padding
:
0
10px
0
5px
;
padding
:
5px
5px
0px
5px
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
line-height
:
32px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
100%
;
width
:
450px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
/deep/
input
{
margin-top
:
6px
;
/* input { */
font-size
:
14px
;
/* background-color: red!important; 调试用的样式 */
i
{
outline
:
none
!important
;
color
:
#75acff
;
border
:
none
!important
;
margin-right
:
3px
;
}
font-size
:
14px
;
/
deep
/
.el-input
{
min-width
:
150px
;
width
:
auto
;
flex
:
1
;
}
}
}
}
.el-tag
{
.el-tag
{
margin-right
:
4px
;
margin-right
:
4px
;
height
:
26px
;
height
:
26px
;
line-height
:
24px
;
line-height
:
24px
;
margin-bottom
:
5px
;
}
}
.tag-input
{
.tag-input
{
background
:
transparent
;
background
:
transparent
;
...
...
src/views/customerTransform/components/activityModel.vue
View file @
7e30dda
...
@@ -5,10 +5,10 @@
...
@@ -5,10 +5,10 @@
<div
class=
"model-panel-tab"
>
<div
class=
"model-panel-tab"
>
<label>
活动类型:
</label>
<label>
活动类型:
</label>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
type=
"card"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
type=
"card"
>
<el-tab-pane
label=
"精品券"
name=
"1"
></el-tab-pane>
<el-tab-pane
label=
"商城券"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"权益卡试用"
name=
"3"
></el-tab-pane>
<el-tab-pane
label=
"权益卡试用"
name=
"3"
></el-tab-pane>
<el-tab-pane
label=
"权益套餐"
name=
"4"
></el-tab-pane>
<el-tab-pane
label=
"权益套餐"
name=
"4"
></el-tab-pane>
<el-tab-pane
label=
"商城券"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"秒杀活动"
name=
"5"
></el-tab-pane>
</el-tabs>
</el-tabs>
</div>
</div>
<div
class=
"model-item-panel"
v-if=
"modelList.length > 0"
v-loading=
"loading"
>
<div
class=
"model-item-panel"
v-if=
"modelList.length > 0"
v-loading=
"loading"
>
...
@@ -21,9 +21,9 @@
...
@@ -21,9 +21,9 @@
>
>
<div
<div
class=
"model-item-title"
class=
"model-item-title"
:title=
"item.
cardClass
Name"
:title=
"item.
equity
Name"
v-show=
"activeName == 3"
v-show=
"activeName == 3"
>
{{
item
.
cardClass
Name
}}
</div>
>
{{
item
.
equity
Name
}}
</div>
<div
<div
class=
"model-item-title"
class=
"model-item-title"
:title=
"item.couponName"
:title=
"item.couponName"
...
@@ -31,7 +31,7 @@
...
@@ -31,7 +31,7 @@
>
{{
item
.
couponName
}}
</div>
>
{{
item
.
couponName
}}
</div>
<div
<div
class=
"model-item-title"
class=
"model-item-title"
:title=
"item.c
ardClass
Name"
:title=
"item.c
oupon
Name"
v-show=
"activeName == 1"
v-show=
"activeName == 1"
>
{{
item
.
couponName
}}
</div>
>
{{
item
.
couponName
}}
</div>
<div
<div
...
@@ -39,11 +39,18 @@
...
@@ -39,11 +39,18 @@
:title=
"item.packageName"
:title=
"item.packageName"
v-show=
"activeName == 4"
v-show=
"activeName == 4"
>
{{
item
.
packageName
}}
</div>
>
{{
item
.
packageName
}}
</div>
<div
class=
"model-item-title"
:title=
"item.activityName"
v-show=
"activeName == 5"
>
{{
item
.
activityName
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 1 || activeName == 4"
></div>
<div
class=
"model-item-content"
v-show=
"activeName == 1 || activeName == 4"
></div>
<div
class=
"model-item-content"
v-show=
"activeName == 2"
>
剩余数量:
{{
item
.
residueAmount
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2"
>
剩余数量:
{{
item
.
residueAmount
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 1"
>
剩余数量:
{{
item
.
remainAmount
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 1"
>
剩余数量:
{{
item
.
remainAmount
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3"
>
价格:
{{
item
.
p
rice
}}
元
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3"
>
价格:
{{
item
.
goodP
rice
}}
元
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 4"
>
价格:
{{
item
.
packagePrice
}}
元
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 4"
>
价格:
{{
item
.
packagePrice
}}
元
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 5"
></div>
<div
class=
"model-item-content"
v-show=
"activeName == 5"
></div>
<div
<div
class=
"model-item-content"
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 1"
v-show=
"activeName == 2 && item.effectiveType == 1"
...
@@ -56,21 +63,11 @@
...
@@ -56,21 +63,11 @@
class=
"model-item-content"
class=
"model-item-content"
v-show=
"activeName == 2 && item.effectiveType == 2"
v-show=
"activeName == 2 && item.effectiveType == 2"
>
有效期:
{{
item
.
effectiveStartTime
?
item
.
effectiveStartTime
.
split
(
' '
)[
0
]
:
''
}}
~
{{
item
.
effectiveEndTime
?
item
.
effectiveEndTime
.
split
(
' '
)[
0
]
:
''
}}
</div>
>
有效期:
{{
item
.
effectiveStartTime
?
item
.
effectiveStartTime
.
split
(
' '
)[
0
]
:
''
}}
~
{{
item
.
effectiveEndTime
?
item
.
effectiveEndTime
.
split
(
' '
)[
0
]
:
''
}}
</div>
<div
class=
"model-item-content"
<div
class=
"model-item-content"
v-show=
"activeName == 3"
>
有效期:
{{
item
.
effectivedDay
}}
天
</div>
v-show=
"activeName == 3 && item.effectiveType == 3"
>
有效期:
{{
item
.
effectiveStartTime
?
item
.
effectiveStartTime
.
split
(
' '
)[
0
]
:
''
}}
~
{{
item
.
effectiveEndTime
?
item
.
effectiveEndTime
.
split
(
' '
)[
0
]
:
''
}}
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3 && item.effectiveType == 1"
>
有效期:无限制
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 3 && item.effectiveType == 2"
>
有效期:
{{
item
.
effectiveNum
}}
天
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 2"
>
<div
class=
"model-item-content"
v-show=
"activeName == 2"
>
类型:
类型:
<span>
{{
item
.
discountType
==
2
?
'折扣券'
:
item
.
discountType
==
3
?
'代金券'
:
item
.
discountType
==
4
?
'兑换券'
:
''
}}
</span>
<span>
{{
item
.
discountType
==
2
?
'折扣券'
:
item
.
discountType
==
3
?
'代金券'
:
item
.
discountType
==
4
?
'兑换券'
:
''
}}
</span>
</div>
</div>
<div
class=
"model-item-content"
v-show=
"activeName == 1"
>
<div
class=
"model-item-content"
v-show=
"activeName == 1"
>
类型:
类型:
...
@@ -84,6 +81,10 @@
...
@@ -84,6 +81,10 @@
类型:
类型:
<span>
权益套餐
</span>
<span>
权益套餐
</span>
</div>
</div>
<div
class=
"model-item-content"
v-if=
"activeName == 5"
>
活动时间:
{{
item
.
startTime
.
split
(
' '
)[
0
]
}}
-
{{
item
.
endTime
.
split
(
' '
)[
0
]
}}
</div>
</div>
</div>
</div>
</div>
<div
class=
"model-item-empty"
v-else
v-loading=
"loading"
>
<div
class=
"model-item-empty"
v-else
v-loading=
"loading"
>
...
@@ -91,6 +92,7 @@
...
@@ -91,6 +92,7 @@
<div
class=
"empty-item"
>
暂无数据
</div>
<div
class=
"empty-item"
>
暂无数据
</div>
</div>
</div>
<el-pagination
<el-pagination
v-if=
"activeName != 3"
@
size-change=
"handleSizeChange"
@
size-change=
"handleSizeChange"
@
current-change=
"handleCurrentChange"
@
current-change=
"handleCurrentChange"
:current-page=
"pageNum"
:current-page=
"pageNum"
...
@@ -115,7 +117,7 @@ export default {
...
@@ -115,7 +117,7 @@ export default {
return
{
return
{
dialogVisible
:
false
,
dialogVisible
:
false
,
loading
:
false
,
loading
:
false
,
activeName
:
'
1
'
,
activeName
:
'
3
'
,
modelList
:
[],
modelList
:
[],
pageNum
:
1
,
pageNum
:
1
,
pageSize
:
12
,
pageSize
:
12
,
...
@@ -136,7 +138,7 @@ export default {
...
@@ -136,7 +138,7 @@ export default {
return
return
}
}
this
.
dialogVisible
=
false
this
.
dialogVisible
=
false
this
.
$emit
(
'selectActivity'
,
{
marketingId
:
this
.
selectItem
.
id
,
marketingType
:
this
.
activeName
,
marketingName
:
this
.
activeName
==
3
?
this
.
selectItem
.
cardClassName
:
this
.
activeName
==
4
?
this
.
selectItem
.
package
Name
:
this
.
selectItem
.
couponName
})
this
.
$emit
(
'selectActivity'
,
{
marketingId
:
this
.
selectItem
.
id
,
marketingType
:
this
.
activeName
,
marketingName
:
this
.
activeName
==
3
?
this
.
selectItem
.
equityName
:
this
.
activeName
==
4
?
this
.
selectItem
.
packageName
:
this
.
activeName
==
5
?
this
.
selectItem
.
activity
Name
:
this
.
selectItem
.
couponName
})
},
},
handleSizeChange
(
val
)
{
handleSizeChange
(
val
)
{
this
.
pageSize
=
val
this
.
pageSize
=
val
...
@@ -163,6 +165,9 @@ export default {
...
@@ -163,6 +165,9 @@ export default {
case
'4'
:
case
'4'
:
market
=
'getPackage'
market
=
'getPackage'
break
break
case
'5'
:
market
=
'getActivity'
break
}
}
let
params
=
{
let
params
=
{
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
...
@@ -174,10 +179,23 @@ export default {
...
@@ -174,10 +179,23 @@ export default {
}
}
if
(
this
.
activeName
==
2
)
{
if
(
this
.
activeName
==
2
)
{
params
.
discountTypes
=
[
2
,
3
,
4
]
params
.
discountTypes
=
[
2
,
3
,
4
]
params
.
validType
=
'valid'
}
}
this
.
$apis
.
customerTransform
[
market
](
params
).
then
(
res
=>
{
if
(
this
.
activeName
==
5
)
{
params
.
currentPage
=
this
.
pageNum
params
.
activityStatus
=
2
}
this
.
$apis
.
customerTransform
[
market
](
params
)
.
then
(
res
=>
{
if
(
this
.
activeName
==
3
)
{
this
.
modelList
=
res
}
else
{
this
.
modelList
=
res
.
list
?
res
.
list
:
res
.
data
this
.
modelList
=
res
.
list
?
res
.
list
:
res
.
data
this
.
tableTotal
=
res
.
total
this
.
tableTotal
=
res
.
total
}
this
.
loading
=
false
})
.
catch
(()
=>
{
this
.
loading
=
false
this
.
loading
=
false
})
})
},
},
...
...
src/views/customerTransform/components/basicInfo.vue
View file @
7e30dda
...
@@ -149,6 +149,7 @@ export default {
...
@@ -149,6 +149,7 @@ export default {
.title
{
.title
{
padding
:
20px
0
17px
20px
;
padding
:
20px
0
17px
20px
;
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
600
;
color
:
#333
;
color
:
#333
;
border-bottom
:
1px
solid
#d8d8d8
;
border-bottom
:
1px
solid
#d8d8d8
;
}
}
...
...
src/views/customerTransform/components/selectMembers.vue
View file @
7e30dda
...
@@ -6,12 +6,24 @@
...
@@ -6,12 +6,24 @@
<div
class=
"el-input-tag input-tag-wrapper"
@
click=
"foucusTagInput"
>
<div
class=
"el-input-tag input-tag-wrapper"
@
click=
"foucusTagInput"
>
<div
class=
"tag-box"
>
<div
class=
"tag-box"
>
<el-tag
<el-tag
effect=
"plain"
type=
"info"
v-for=
"(tag, idx) in innerTags"
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
:key=
"idx"
closable
closable
:disable-transitions=
"false"
:disable-transitions=
"false"
@
close=
"remove(tag)"
@
close=
"remove(tag)"
>
{{
tag
.
staffName
}}
</el-tag>
>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
.
staffName
}}
</el-tag>
<!--
<el-tag
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
{{
tag
.
staffName
}}
</el-tag>
-->
</div>
</div>
<el-input
<el-input
...
@@ -162,10 +174,15 @@ export default {
...
@@ -162,10 +174,15 @@ export default {
}
}
}
}
.tag-box
{
.tag-box
{
max-height
:
6
6
px
;
max-height
:
6
0
px
;
overflow
:
auto
;
overflow
:
auto
;
display
:
flex
;
flex-direction
:
row
;
flex-wrap
:
wrap
;
}
}
.input-tag-wrapper
{
.input-tag-wrapper
{
//
max-height
:
68px
;
//
overflow
:
auto
;
position
:
relative
;
position
:
relative
;
font-size
:
14px
;
font-size
:
14px
;
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -173,16 +190,17 @@ export default {
...
@@ -173,16 +190,17 @@ export default {
border-radius
:
4px
;
border-radius
:
4px
;
border
:
1px
solid
#dcdfe6
;
border
:
1px
solid
#dcdfe6
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
color
:
#6
062
66
;
color
:
#666
;
display
:
inline-block
;
display
:
inline-block
;
outline
:
none
;
outline
:
none
;
padding
:
0
0
0
5px
;
padding
:
5px
5px
0px
5px
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
line-height
:
32px
;
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
transition
:
border-color
0.2s
cubic-bezier
(
0.645
,
0.045
,
0.355
,
1
);
width
:
100%
;
width
:
450px
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
margin-top
:
6px
;
font-size
:
14px
;
/deep/
input
{
/deep/
input
{
/* input { */
/* input { */
/* background-color: red!important; 调试用的样式 */
/* background-color: red!important; 调试用的样式 */
...
@@ -194,11 +212,17 @@ export default {
...
@@ -194,11 +212,17 @@ export default {
width
:
auto
;
width
:
auto
;
flex
:
1
;
flex
:
1
;
}
}
i
{
color
:
#75acff
;
margin-right
:
3px
;
font-size
:
14px
;
}
}
}
.el-tag
{
.el-tag
{
margin-right
:
4px
;
margin-right
:
4px
;
height
:
26px
;
height
:
26px
;
line-height
:
24px
;
line-height
:
24px
;
margin-bottom
:
5px
;
}
}
.tag-input
{
.tag-input
{
background
:
transparent
;
background
:
transparent
;
...
@@ -221,15 +245,4 @@ export default {
...
@@ -221,15 +245,4 @@ export default {
height
:
32px
;
height
:
32px
;
line-height
:
32px
;
line-height
:
32px
;
}
}
::-webkit-scrollbar
{
/*滚动条整体样式*/
width
:
6px
;
height
:
4px
;
}
::-webkit-scrollbar-thumb
{
/*滚动条里面小方块*/
border-radius
:
4px
;
background-color
:
rgba
(
144
,
147
,
153
,
0.3
);
}
</
style
>
</
style
>
src/views/customerTransform/components/tag-textarea.vue
View file @
7e30dda
...
@@ -142,7 +142,12 @@ export default {
...
@@ -142,7 +142,12 @@ export default {
this
.
savedRange
.
insertNode
(
node
)
this
.
savedRange
.
insertNode
(
node
)
// 更新双向绑定数据
// 更新双向绑定数据
let
target
=
this
.
$refs
.
wTextareaContent
let
target
=
this
.
$refs
.
wTextareaContent
// this.updateData(target.innerHTML)
if
(
navigator
.
userAgent
.
indexOf
(
'Firefox'
)
>
0
||
navigator
.
userAgent
.
indexOf
(
'QQBrowser'
)
>
0
)
{
this
.
updateData
(
target
.
innerHTML
+
' '
)
}
else
{
this
.
updateData
(
target
.
innerHTML
)
this
.
updateData
(
target
.
innerHTML
)
}
this
.
currentText
=
target
.
innerText
this
.
currentText
=
target
.
innerText
this
.
$emit
(
'updateText'
,
this
.
currentText
)
this
.
$emit
(
'updateText'
,
this
.
currentText
)
},
},
...
...
src/views/customerTransform/components/welcomeWords.vue
View file @
7e30dda
...
@@ -82,7 +82,7 @@
...
@@ -82,7 +82,7 @@
<div
class=
"tips-text"
>
<div
class=
"tips-text"
>
<img
src=
"../../../assets/guestCustom/tips.png"
class=
"tips-icon"
alt
/>
<img
src=
"../../../assets/guestCustom/tips.png"
class=
"tips-icon"
alt
/>
<span
v-if=
"form == 'customer'"
>
每位客户每天可接收1条群发消息,超过接收上限的客户将无法再收到群发消息。
</span>
<span
v-if=
"form == 'customer'"
>
每位客户每天可接收1条群发消息,超过接收上限的客户将无法再收到群发消息。
</span>
<span
v-if=
"form == 'customerGroup'"
>
每
位
客户群每天可接收1条群发消息,超过接收上限的客户群将无法再收到群发消息。
</span>
<span
v-if=
"form == 'customerGroup'"
>
每
个
客户群每天可接收1条群发消息,超过接收上限的客户群将无法再收到群发消息。
</span>
</div>
</div>
</div>
</div>
<ActivityModel
ref=
"activity"
@
selectActivity=
"selectActivity"
></ActivityModel>
<ActivityModel
ref=
"activity"
@
selectActivity=
"selectActivity"
></ActivityModel>
...
@@ -330,7 +330,8 @@ export default {
...
@@ -330,7 +330,8 @@ export default {
.content
{
.content
{
display
:
inline-block
;
display
:
inline-block
;
vertical-align
:
text-top
;
vertical-align
:
text-top
;
width
:
calc
(
100%
-
103px
);
min-width
:
656px
;
width
:
calc
(
100%
-
15px
);
margin-left
:
12px
;
margin-left
:
12px
;
.welcome-file
{
.welcome-file
{
display
:
flex
;
display
:
flex
;
...
...
src/views/customerTransform/detaiCustomeGroup.vue
View file @
7e30dda
<
template
>
<
template
>
<div
style=
"margin-top: 26px;"
>
<div>
<BasicInof
:form=
"'customerGroup'"
:eventBus=
"eventBus"
:id=
"$route.params.id"
></BasicInof>
<BasicInof
:form=
"'customerGroup'"
:eventBus=
"eventBus"
:id=
"$route.params.id"
></BasicInof>
<div
class=
"group-detail-container"
>
<div
class=
"group-detail-container"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
>
...
@@ -59,7 +59,6 @@ export default {
...
@@ -59,7 +59,6 @@ export default {
{
{
label
:
'群主'
,
label
:
'群主'
,
name
:
'staffId'
,
name
:
'staffId'
,
labelWidth
:
28
,
type
:
'select'
,
type
:
'select'
,
isClear
:
true
,
isClear
:
true
,
optionLabel
:
'staffName'
,
optionLabel
:
'staffName'
,
...
@@ -67,7 +66,7 @@ export default {
...
@@ -67,7 +66,7 @@ export default {
optionList
:
[]
optionList
:
[]
},
},
{
{
label
:
'送达状态'
,
label
:
'
消息
送达状态'
,
name
:
'status'
,
name
:
'status'
,
type
:
'select'
,
type
:
'select'
,
isClear
:
true
,
isClear
:
true
,
...
@@ -193,7 +192,6 @@ export default {
...
@@ -193,7 +192,6 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scope
>
<
style
lang=
"scss"
scope
>
.group-detail-container
{
.group-detail-container
{
margin-top
:
26px
;
margin-bottom
:
84px
;
margin-bottom
:
84px
;
padding
:
20px
;
padding
:
20px
;
background-color
:
#ffffff
;
background-color
:
#ffffff
;
...
...
src/views/customerTransform/detailCustomer.vue
View file @
7e30dda
<
template
>
<
template
>
<div
style=
"margin-top: 26px;"
>
<div>
<BasicInof
:eventBus=
"eventBus"
:id=
"$route.params.id"
:form=
"'customer'"
></BasicInof>
<BasicInof
:eventBus=
"eventBus"
:id=
"$route.params.id"
:form=
"'customer'"
></BasicInof>
<div
class=
"detail-container"
>
<div
class=
"detail-container"
>
<div
class=
"detail-modular"
>
<div
class=
"detail-modular"
>
...
@@ -28,9 +28,21 @@
...
@@ -28,9 +28,21 @@
<div
class=
"info-text"
>
<div
class=
"info-text"
>
<div
class=
"info-name"
>
<div
class=
"info-name"
>
{{
item
.
staffName
}}
{{
item
.
staffName
}}
<span
<span
:class=
"[item.status == 0 ? 'unsend' : 'send']"
>
:class=
"[item.status == 0 ? 'unsend' : 'send']"
{{
item
.
status
==
0
?
'未发送'
:
item
.
status
==
1
?
'已发送'
:
'发送失败'
}}
>
{{
item
.
status
==
0
?
'未发送'
:
item
.
status
==
1
?
'已发送'
:
'发送失败'
}}
</span>
<el-popover
v-show=
"item.status != 0 && item.status != 1"
placement=
"top-start"
title=
"失败原因:"
width=
"400"
trigger=
"hover"
>
<p>
1.若插入活动发送失败,可能为企微未绑定活动小程序,请绑定后再尝试。
</p>
<p>
2.可能为客户开启消息免打扰,消息发送失败。
</p>
<p>
3.可能为群发次数达到上限,上限次数为每个客户/客户群每天仅可接收1条群发消息。
</p>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
</span>
</div>
</div>
<div
class=
"info-num"
>
共
{{
item
.
customerCount
?
item
.
customerCount
:
0
}}
个客户
</div>
<div
class=
"info-num"
>
共
{{
item
.
customerCount
?
item
.
customerCount
:
0
}}
个客户
</div>
</div>
</div>
...
@@ -76,10 +88,21 @@
...
@@ -76,10 +88,21 @@
<div
class=
"info-text"
>
<div
class=
"info-text"
>
<div
class=
"info-name"
>
<div
class=
"info-name"
>
{{
item
.
customerName
}}
{{
item
.
customerName
}}
<div
<div
class=
"customer-table"
:class=
"[item.status == 0 ? 'unsend' : 'send']"
>
class=
"customer-table"
{{
item
.
status
==
0
?
'未送达'
:
item
.
status
==
1
?
'已送达'
:
'送达失败'
}}
:class=
"[item.status == 0 ? 'unsend' : 'send']"
<el-popover
>
{{
item
.
status
==
0
?
'未送达'
:
item
.
status
==
1
?
'已送达'
:
'送达失败'
}}
</div>
v-show=
"item.status != 0 && item.status != 1"
placement=
"top-start"
title=
"失败原因:"
width=
"400"
trigger=
"hover"
>
<p>
1.若插入活动发送失败,可能为企微未绑定活动小程序,请绑定后再尝试。
</p>
<p>
2.可能为客户开启消息免打扰,消息发送失败。
</p>
<p>
3.可能为群发次数达到上限,上限次数为每个客户/客户群每天仅可接收1条群发消息。
</p>
<img
slot=
"reference"
:src=
"iconUrl"
alt
/>
</el-popover>
</div>
</div>
</div>
</div>
</div>
<div
class=
"info-right"
>
<div
class=
"info-right"
>
...
@@ -106,6 +129,8 @@
...
@@ -106,6 +129,8 @@
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
const
iconUrl
=
'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAFoTx1HAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAADqADAAQAAAABAAAADgAAAAC98Dn6AAAB7klEQVQoFVVSQUhUURQ9981sVFyYRRHuFFq1CGlZC3etnBlMRhMXQwhtCqIQJBA3gSSi1EpkNqkjCjOjm1YWuGojBVO7Fi0K2qQLF6H453bO+/ODLvz37z333PvOu+8BtImCf0K56J8VYKLoC9HRMlnwRxaRgB0kOHDDz5gl/0hZBaaFwGl3H65j577nygV/ITCM71pinRo1GiF4zm8jqzkr5dEtluiTJZ9zx8fYTEBmbP5D/tSY3wnaRUwB0rbdsAH5SYK3sW2l4r1/jnFIsUMElmsNmxdB7JGsUnGUWvQz+XkHXtXqNsxx/KL/Zg+oS5xxi8A2T8SqNe0az3NANyfVJD4N5ripZDTDrc1da8kn/i1QxGya4eq4Kl8aui7hblRLUd/JXCSxxXarBJ9T8fuYFLsztiqTv4NjXUTh2rZteEhiP8OKiiIez3+CFoWubdXtpUDe1XAbmJEfQLxpRxFPRz7T1ccz6BFkl6okRzHFOJ5ccbnkr8l5LF8mrl5Pnv5gJksJjmlD/wclv9121ClxeqthH4TJQh5fLhIMaa7LOrRuIk2la89lfO29ghuU/69IHBatqIZfOhgWv2OXhUIOi/FCnDpoZuYqaCaYpYJ5gvf+m6pInUE9Y5NRhoPCdGl80fscyFK1aqfCZH8B0rPa9foo7e4AAAAASUVORK5CYII='
import
Vue
from
'vue'
import
Vue
from
'vue'
import
BasicInof
from
'./components/basicInfo.vue'
import
BasicInof
from
'./components/basicInfo.vue'
export
default
{
export
default
{
...
@@ -114,6 +139,7 @@ export default {
...
@@ -114,6 +139,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
iconUrl
,
activeIndex
:
''
,
activeIndex
:
''
,
customIndex
:
''
,
customIndex
:
''
,
employeelist
:
[],
employeelist
:
[],
...
@@ -203,6 +229,7 @@ export default {
...
@@ -203,6 +229,7 @@ export default {
.title
{
.title
{
padding
:
20px
0
17px
20px
;
padding
:
20px
0
17px
20px
;
font-size
:
16px
;
font-size
:
16px
;
font-weight
:
600
;
color
:
#333
;
color
:
#333
;
border-bottom
:
1px
solid
#d8d8d8
;
border-bottom
:
1px
solid
#d8d8d8
;
}
}
...
@@ -252,6 +279,8 @@ export default {
...
@@ -252,6 +279,8 @@ export default {
line-height
:
22px
;
line-height
:
22px
;
}
}
.info-name
{
.info-name
{
display
:
flex
;
align-items
:
center
;
font-size
:
16px
;
font-size
:
16px
;
color
:
#333
;
color
:
#333
;
font-weight
:
500
;
font-weight
:
500
;
...
@@ -263,7 +292,15 @@ export default {
...
@@ -263,7 +292,15 @@ export default {
font-size
:
14px
;
font-size
:
14px
;
}
}
.send
{
.send
{
position
:
relative
;
color
:
#666
;
color
:
#666
;
span
{
img
{
position
:
absolute
;
right
:
-6px
;
top
:
4px
;
}
}
}
}
.unsend
{
.unsend
{
padding
:
3px
10px
;
padding
:
3px
10px
;
...
@@ -272,7 +309,13 @@ export default {
...
@@ -272,7 +309,13 @@ export default {
border-radius
:
2px
;
border-radius
:
2px
;
}
}
.customer-table
{
.customer-table
{
display
:
table
;
display
:
flex
;
&.send
{
width
:
70px
;
}
span
{
vertical-align
:
middle
;
}
}
}
div
{
div
{
margin-top
:
10px
;
margin-top
:
10px
;
...
...
src/views/home/components/barChart.vue
View file @
7e30dda
...
@@ -33,7 +33,7 @@ export default {
...
@@ -33,7 +33,7 @@ export default {
grid
:
{
grid
:
{
x
:
120
,
x
:
120
,
y
:
0
,
y
:
0
,
x2
:
5
0
,
x2
:
2
0
,
y2
:
0
y2
:
0
},
},
series
:
[
series
:
[
...
...
src/views/home/components/pieChart.vue
View file @
7e30dda
...
@@ -29,7 +29,7 @@ export default {
...
@@ -29,7 +29,7 @@ export default {
{
{
name
:
'券类营销'
,
name
:
'券类营销'
,
type
:
'pie'
,
type
:
'pie'
,
radius
:
'
5
0%'
,
radius
:
'
7
0%'
,
label
:
{
label
:
{
formatter
:
'{b}\n \n{c} 张'
formatter
:
'{b}\n \n{c} 张'
},
},
...
...
src/views/home/index.vue
View file @
7e30dda
This diff is collapsed.
Click to expand it.
src/views/homeSet/index.vue
View file @
7e30dda
...
@@ -522,7 +522,7 @@ export default {
...
@@ -522,7 +522,7 @@ export default {
// this.isConsultantVisible = !this.isConsultantVisible
// this.isConsultantVisible = !this.isConsultantVisible
// },
// },
getConsultant
()
{
getConsultant
()
{
this
.
$apis
.
homeSet
.
getConsultantListApi
({
merchantId
:
this
.
userInfo
.
merchantId
,
followType
:
3
}).
then
(
res
=>
{
this
.
$apis
.
homeSet
.
getConsultantListApi
({
merchantId
:
this
.
userInfo
.
merchantId
,
followType
s
:
[
3
]
}).
then
(
res
=>
{
// console.log(res)
// console.log(res)
this
.
baseData
.
consultantList
=
res
this
.
baseData
.
consultantList
=
res
this
.
externalFormList
[
4
].
editFormData
[
0
].
optionList
=
res
this
.
externalFormList
[
4
].
editFormData
[
0
].
optionList
=
res
...
...
src/views/memberCenter/center.vue
View file @
7e30dda
...
@@ -515,7 +515,8 @@ export default {
...
@@ -515,7 +515,8 @@ export default {
/
deep
/
.el-dialog__body
{
/
deep
/
.el-dialog__body
{
border-top
:
1px
solid
#e6e6e6
;
border-top
:
1px
solid
#e6e6e6
;
border-bottom
:
1px
solid
#e6e6e6
;
border-bottom
:
1px
solid
#e6e6e6
;
padding
:
20px
45px
;
//
padding
:
20px
45px
;
padding
:
20px
20px
20px
45px
;
.modal-body
{
.modal-body
{
//
overflow
:
auto
;
//
overflow
:
auto
;
max-height
:
400px
;
max-height
:
400px
;
...
...
src/views/memberCenter/orderDetail.vue
View file @
7e30dda
...
@@ -94,6 +94,7 @@ export default {
...
@@ -94,6 +94,7 @@ export default {
// this.setTableData()
// this.setTableData()
},
},
mounted
()
{
mounted
()
{
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"none"
this
.
$nextTick
(()
=>
{
this
.
$nextTick
(()
=>
{
let
clientHeight
=
document
.
documentElement
.
clientHeight
let
clientHeight
=
document
.
documentElement
.
clientHeight
let
offsettop
=
document
.
getElementById
(
'tableWrap'
).
offsetTop
let
offsettop
=
document
.
getElementById
(
'tableWrap'
).
offsetTop
...
@@ -122,7 +123,9 @@ export default {
...
@@ -122,7 +123,9 @@ export default {
},
},
goBack
()
{
goBack
()
{
console
.
log
(
this
.
detail
,
'gggg'
)
console
.
log
(
this
.
detail
,
'gggg'
)
this
.
$router
.
go
(
-
1
)
// this.$router.go(-1)
this
.
$router
.
push
(
"/memberCenter/order"
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
}
}
}
}
}
...
...
src/views/memberCenter/serviceAddUpdateLook.vue
View file @
7e30dda
...
@@ -264,6 +264,7 @@ export default {
...
@@ -264,6 +264,7 @@ export default {
mounted
()
{
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"none"
},
},
methods
:
{
methods
:
{
getPageDetail
()
{
getPageDetail
()
{
...
@@ -364,6 +365,7 @@ export default {
...
@@ -364,6 +365,7 @@ export default {
// console.log(res, '提交内容')
// console.log(res, '提交内容')
this
.
$message
.
success
(
'创建服务成功'
)
this
.
$message
.
success
(
'创建服务成功'
)
this
.
$router
.
push
(
'/memberCenter/service'
)
this
.
$router
.
push
(
'/memberCenter/service'
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
...
@@ -385,6 +387,7 @@ export default {
...
@@ -385,6 +387,7 @@ export default {
if
(
res
.
code
==
0
)
{
if
(
res
.
code
==
0
)
{
this
.
$message
.
success
(
'编辑服务成功'
)
this
.
$message
.
success
(
'编辑服务成功'
)
this
.
$router
.
push
(
'/memberCenter/service'
)
this
.
$router
.
push
(
'/memberCenter/service'
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
type
:
'error'
,
type
:
'error'
,
...
@@ -393,14 +396,11 @@ export default {
...
@@ -393,14 +396,11 @@ export default {
}
}
})
})
},
},
// resetForm(formName) {
// this.$router.push('/memberCenter/service')
// this.$refs[formName].resetFields()
// },
goBack
()
{
goBack
()
{
if
(
JSON
.
stringify
(
this
.
ruleForm
)
==
JSON
.
stringify
(
this
.
copyRuleForm
)){
if
(
JSON
.
stringify
(
this
.
ruleForm
)
==
JSON
.
stringify
(
this
.
copyRuleForm
)){
this
.
$router
.
push
(
'/memberCenter/service'
)
this
.
$router
.
push
(
'/memberCenter/service'
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
else
{
}
else
{
// this.$message.error('是否保存信息')
// this.$message.error('是否保存信息')
this
.
isDialogVisible
=
true
this
.
isDialogVisible
=
true
...
@@ -411,6 +411,7 @@ export default {
...
@@ -411,6 +411,7 @@ export default {
},
},
handleConfirm
(){
handleConfirm
(){
this
.
$router
.
push
(
'/memberCenter/service'
)
this
.
$router
.
push
(
'/memberCenter/service'
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
},
},
oninput
(
value
)
{
oninput
(
value
)
{
let
str
=
value
let
str
=
value
...
@@ -613,7 +614,8 @@ export default {
...
@@ -613,7 +614,8 @@ export default {
}
}
/
deep
/
.el-dialog__footer
{
/
deep
/
.el-dialog__footer
{
text-align
:
center
;
text-align
:
center
;
padding-top
:
15px
;
padding-bottom
:
15px
;
}
}
}
}
</
style
>
</
style
>
src/views/memberCenter/setmeal.vue
View file @
7e30dda
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
<
script
>
<
script
>
import
glsxDialog
from
'@/components/glsx-dialog'
import
glsxDialog
from
'@/components/glsx-dialog'
import
url
from
"@/assets/empty.png"
import
url
from
'@/assets/empty.png'
import
{
getSetMealListApi
,
deleteSetMeal
,
upDownPackage
}
from
'@/api/modules/setmeal'
import
{
getSetMealListApi
,
deleteSetMeal
,
upDownPackage
}
from
'@/api/modules/setmeal'
import
{
getLoginCount
}
from
'@/api/modules/service'
import
{
getLoginCount
}
from
'@/api/modules/service'
...
@@ -65,7 +65,7 @@ export default {
...
@@ -65,7 +65,7 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
url
:
url
,
url
:
url
,
isFirstShow
:
false
,
isFirstShow
:
false
,
panelContent
:
'会员套餐:将已经创建好的会员服务打包成一个套餐售卖给客户。'
,
panelContent
:
'会员套餐:将已经创建好的会员服务打包成一个套餐售卖给客户。'
,
size
:
'small'
,
size
:
'small'
,
...
@@ -78,7 +78,7 @@ export default {
...
@@ -78,7 +78,7 @@ export default {
// 表格参数
// 表格参数
tableParams
:
{
tableParams
:
{
listName
:
'list'
,
listName
:
'list'
,
tableOption
:
true
,
//
tableOption: true,
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'套餐名称'
,
label
:
'套餐名称'
,
...
@@ -112,7 +112,10 @@ export default {
...
@@ -112,7 +112,10 @@ export default {
return
this
.
baseDataList
.
stateList
.
find
(
item
=>
item
.
confId
==
cellValue
.
state
).
confName
return
this
.
baseDataList
.
stateList
.
find
(
item
=>
item
.
confId
==
cellValue
.
state
).
confName
}
}
}
}
]
],
tableOption
:
{
width
:
80
}
},
},
baseDataList
:
{
baseDataList
:
{
stateList
:
stateList
stateList
:
stateList
...
@@ -153,9 +156,12 @@ export default {
...
@@ -153,9 +156,12 @@ export default {
//创建套餐
//创建套餐
handleCreate
()
{
handleCreate
()
{
this
.
$router
.
push
({
path
:
'/memberCenter/setmealAddUpdate'
,
query
:{
this
.
$router
.
push
({
$title
:
encodeURI
(
'创建套餐'
)
path
:
'/memberCenter/setmealAddUpdate'
,
}})
query
:
{
$title
:
encodeURI
(
'创建套餐'
)
}
})
},
},
handleClose
()
{
handleClose
()
{
this
.
isDialogVisible
=
!
this
.
isDialogVisible
this
.
isDialogVisible
=
!
this
.
isDialogVisible
...
@@ -199,7 +205,7 @@ export default {
...
@@ -199,7 +205,7 @@ export default {
})
})
},
},
handleEdit
(
row
)
{
handleEdit
(
row
)
{
this
.
$router
.
push
({
path
:
'/memberCenter/setmealAddUpdate'
,
query
:
{
id
:
row
.
id
,
$title
:
encodeURI
(
'编辑套餐'
)
}
})
this
.
$router
.
push
({
path
:
'/memberCenter/setmealAddUpdate'
,
query
:
{
id
:
row
.
id
,
$title
:
encodeURI
(
'编辑套餐'
)
}
})
},
},
// 查看示例效果
// 查看示例效果
handleLook
(
row
)
{},
handleLook
(
row
)
{},
...
...
src/views/memberCenter/setmealAddUpdate.vue
View file @
7e30dda
...
@@ -16,7 +16,8 @@
...
@@ -16,7 +16,8 @@
<!-- choseItemList -->
<!-- choseItemList -->
<div
class=
"choseItem"
v-for=
"(item, index) in choseItemList"
:key=
"index"
>
<div
class=
"choseItem"
v-for=
"(item, index) in choseItemList"
:key=
"index"
>
<span>
{{
item
.
couponName
}}
</span>
<span>
{{
item
.
couponName
}}
</span>
<img
src=
"@/assets/closeIcon.png"
@
click=
"closeChoseItemFun(item, index)"
alt=
""
/>
<!--
<img
src=
"@/assets/closeIcon.png"
@
click=
"closeChoseItemFun(item, index)"
alt=
""
/>
-->
<div
class=
"close-x"
@
click=
"closeChoseItemFun(item, index)"
>
×
</div>
</div>
</div>
</div>
</div>
<div
class=
"el-form-item__error"
v-if=
"setmealContentRules"
>
请选择套餐
</div>
<div
class=
"el-form-item__error"
v-if=
"setmealContentRules"
>
请选择套餐
</div>
...
@@ -96,6 +97,7 @@
...
@@ -96,6 +97,7 @@
<span
class=
"smallRedText"
>
¥
</span>
<span
class=
"smallRedText"
>
¥
</span>
<span
class=
"redText"
>
{{ totalPrice }}
</span>
<span
class=
"redText"
>
{{ totalPrice }}
</span>
</div>
</div>
<div
style=
"height:1px"
></div>
</div>
</div>
</glsx-dialog>
</glsx-dialog>
<glsx-dialog
title=
""
:hasScroll=
"false"
class=
"tipDialog"
width=
"547px"
btnCloseLabel=
"取消"
:noClose=
"false"
:noCancel=
"true"
btnSize=
"small"
:isVisible=
"isTipDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleTipClose"
@
confirmDialog=
"handleTipConfirm"
>
<glsx-dialog
title=
""
:hasScroll=
"false"
class=
"tipDialog"
width=
"547px"
btnCloseLabel=
"取消"
:noClose=
"false"
:noCancel=
"true"
btnSize=
"small"
:isVisible=
"isTipDialogVisible"
:showClose=
"false"
@
closeDialog=
"handleTipClose"
@
confirmDialog=
"handleTipConfirm"
>
...
@@ -305,7 +307,9 @@ export default {
...
@@ -305,7 +307,9 @@ export default {
type
:
res
.
code
==
'0'
?
'success'
:
'error'
type
:
res
.
code
==
'0'
?
'success'
:
'error'
})
})
if
(
res
.
code
==
'0'
)
{
if
(
res
.
code
==
'0'
)
{
this
.
$router
.
go
(
-
1
)
// this.$router.go(-1)
this
.
$router
.
push
(
"/memberCenter/setmeal"
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
}
})
})
}
else
{
}
else
{
...
@@ -328,7 +332,8 @@ export default {
...
@@ -328,7 +332,8 @@ export default {
type
:
res
.
code
==
'0'
?
'success'
:
'error'
type
:
res
.
code
==
'0'
?
'success'
:
'error'
})
})
if
(
res
.
code
==
'0'
)
{
if
(
res
.
code
==
'0'
)
{
this
.
$router
.
go
(
-
1
)
this
.
$router
.
push
(
"/memberCenter/setmeal"
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
}
})
})
}
}
...
@@ -346,14 +351,11 @@ export default {
...
@@ -346,14 +351,11 @@ export default {
console
.
log
(
'配置接口'
,
res
.
data
)
console
.
log
(
'配置接口'
,
res
.
data
)
})
})
},
},
// resetForm(formName) {
// this.$router.go(-1)
// },
goBack
()
{
goBack
()
{
// this.$router.go(-1)
if
(
JSON
.
stringify
(
this
.
ruleForm
)
==
JSON
.
stringify
(
this
.
copyRuleForm
)
&&
this
.
choseItemList
.
length
==
this
.
copyChoseItemList
.
length
&&
this
.
totalPrice
==
this
.
copyTotalPrice
)
{
if
(
JSON
.
stringify
(
this
.
ruleForm
)
==
JSON
.
stringify
(
this
.
copyRuleForm
)
&&
this
.
choseItemList
.
length
==
this
.
copyChoseItemList
.
length
&&
this
.
totalPrice
==
this
.
copyTotalPrice
)
{
this
.
$router
.
go
(
-
1
)
this
.
$router
.
push
(
"/memberCenter/setmeal"
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
else
{
}
else
{
this
.
isTipDialogVisible
=
true
this
.
isTipDialogVisible
=
true
}
}
...
@@ -423,7 +425,8 @@ export default {
...
@@ -423,7 +425,8 @@ export default {
this
.
isTipDialogVisible
=
false
this
.
isTipDialogVisible
=
false
},
},
handleTipConfirm
()
{
handleTipConfirm
()
{
this
.
$router
.
go
(
-
1
)
this
.
$router
.
push
(
"/memberCenter/setmeal"
)
document
.
querySelector
(
".el-tabs"
).
style
.
display
=
"block"
}
}
}
}
}
}
...
@@ -474,27 +477,45 @@ export default {
...
@@ -474,27 +477,45 @@ export default {
min-width
:
90px
;
min-width
:
90px
;
padding
:
0
22px
0
6px
;
padding
:
0
22px
0
6px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
height
:
22px
;
line-height
:
18px
;
height
:
26px
;
background
:
#e6e9ff
;
line-height
:
22px
;
border-radius
:
2px
;
//
background
:
#e6e9ff
;
border
:
1px
solid
#5850ff
;
background
:
#FAFBFE
;
border-radius
:
4px
;
//
border-radius
:
2px
;
//
border
:
1px
solid
#5850ff
;
border
:
1px
solid
#E8E8EA
;
margin-right
:
10px
;
margin-right
:
10px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
span
{
span
{
font-size
:
12px
;
font-size
:
14px
;
font-weight
:
400
;
font-weight
:
400
;
color
:
#666666
;
color
:
#666666
;
}
}
img
{
.close-x
{
position
:
absolute
;
position
:
absolute
;
color
:
#666
;
top
:
5px
;
top
:
5px
;
right
:
5px
;
right
:
5px
;
display
:
inline-block
;
width
:
12px
;
text-align
:
center
;
height
:
12px
;
line-height
:
12px
;
cursor
:
pointer
;
cursor
:
pointer
;
&:hover{
border-radius
:
100%
;
background-color
:
#e8e8ea
;
}
}
}
}
//
img
{
//
position
:
absolute
;
//
top
:
5px
;
//
right
:
5px
;
//
cursor
:
pointer
;
//
}
}
}
}
.totalWrap
{
.totalWrap
{
margin-top
:
5px
;
margin-top
:
5px
;
...
@@ -546,6 +567,7 @@ export default {
...
@@ -546,6 +567,7 @@ export default {
padding
:
0px
25px
;
padding
:
0px
25px
;
.content-body
{
.content-body
{
max-height
:
446px
;
max-height
:
446px
;
min-height
:
446px
;
.subTitle
{
.subTitle
{
margin-top
:
20px
;
margin-top
:
20px
;
margin-bottom
:
20px
;
margin-bottom
:
20px
;
...
@@ -584,19 +606,22 @@ export default {
...
@@ -584,19 +606,22 @@ export default {
.name
{
.name
{
margin-top
:
15px
;
margin-top
:
15px
;
font-size
:
18px
;
font-size
:
18px
;
margin-bottom
:
10px
;
font-weight
:
700
;
font-weight
:
700
;
color
:
#333333
;
color
:
#333333
;
}
}
.price
{
.price
{
font-size
:
24px
;
font-size
:
24px
;
margin-bottom
:
14px
;
font-weight
:
700
;
font-weight
:
700
;
color
:
#ff5151
;
color
:
#ff5151
;
>
span
{
>
span
{
font-size
:
16px
;
font-size
:
16px
;
}
}
}
}
.effectiveRange
{
margin-bottom
:
10px
;
}
.effectiveRange
,
.effectiveRange
,
.useTime
{
.useTime
{
font-size
:
12px
;
font-size
:
12px
;
...
@@ -656,6 +681,8 @@ export default {
...
@@ -656,6 +681,8 @@ export default {
}
}
/
deep
/
.el-dialog__footer
{
/
deep
/
.el-dialog__footer
{
text-align
:
center
;
text-align
:
center
;
padding-top
:
15px
;
padding-bottom
:
15px
;
.el-button
+
.el-button
{
.el-button
+
.el-button
{
margin-left
:
40px
;
margin-left
:
40px
;
}
}
...
@@ -674,6 +701,8 @@ export default {
...
@@ -674,6 +701,8 @@ export default {
}
}
/
deep
/
.el-dialog__footer
{
/
deep
/
.el-dialog__footer
{
text-align
:
center
;
text-align
:
center
;
padding-top
:
15px
;
padding-bottom
:
15px
;
}
}
}
}
}
}
...
...
src/views/orderManage/index.vue
View file @
7e30dda
...
@@ -666,7 +666,7 @@ export default {
...
@@ -666,7 +666,7 @@ export default {
}
}
</
script
>
</
script
>
<
style
>
<
style
lang=
"scss"
>
.marketing
.el-tabs__nav-wrap
:after
{
.marketing
.el-tabs__nav-wrap
:after
{
opacity
:
0
;
opacity
:
0
;
}
}
...
@@ -674,4 +674,29 @@ export default {
...
@@ -674,4 +674,29 @@ export default {
height
:
20px
!important
;
height
:
20px
!important
;
line-height
:
10px
!important
;
line-height
:
10px
!important
;
}
}
.marketing
.el-tabs__item
{
width
:
120px
;
height
:
40px
!important
;
line-height
:
40px
!important
;
font-size
:
14px
;
text-align
:
center
;
border
:
0
!important
;
background
:
#FFFFFF
;
color
:
#999999
;
border-radius
:
0px
4px
0px
0px
;
border
:
1px
solid
#F4F6FC
;
padding
:
0
;
}
.marketing
.el-tabs__active-bar
{
display
:
none
;
}
.marketing
.el-tabs__header
{
margin
:
0
!important
;
}
.marketing
.el-tabs__item.is-active
{
color
:
#5850ff
;
background
:
#F4F6FC
!important
;
border-radius
:
4px
0px
0px
0px
;
border
:
1px
solid
#F4F6FC
!important
;
}
</
style
>
</
style
>
src/views/productGroup/editProduct.vue
View file @
7e30dda
...
@@ -21,7 +21,19 @@
...
@@ -21,7 +21,19 @@
@
handleImgDelete=
"handleFormImgDelete"
@
handleImgDelete=
"handleFormImgDelete"
>
>
<template
slot=
"describeBtn"
>
<template
slot=
"describeBtn"
>
<el-button
:disabled=
"isDisabled"
type=
"primary"
@
click=
"handleDescribeImgAdd"
>
添加图片
</el-button>
<el-button
:disabled=
"isDisabled"
type=
"default"
@
click=
"handleDescribeImgAdd"
>
+添加图片
</el-button>
</
template
>
<
template
slot=
"goodsImage"
>
<p
class=
"edit-tips"
>
作为商品列表展示
</p>
<p
class=
"edit-tips"
>
建议图片分辨率400*400
</p>
</
template
>
<
template
slot=
"goodsDetailImageList"
>
<p
class=
"edit-tips"
>
作为商品详情页顶部展示
</p>
<p
class=
"edit-tips"
>
建议图片分辨率800*800
</p>
</
template
>
<
template
slot=
"goodsVideo"
>
<p
class=
"edit-tips"
>
作为商品详情页顶部展示
</p>
<p
class=
"edit-tips"
>
格式建议mp4,大小不超过50M
</p>
</
template
>
</
template
>
<div
:style=
"{ 'margin-left': labelWidth }"
slot=
"descImgs"
slot-scope=
"scope"
>
<div
:style=
"{ 'margin-left': labelWidth }"
slot=
"descImgs"
slot-scope=
"scope"
>
<div
<div
...
@@ -76,7 +88,7 @@
...
@@ -76,7 +88,7 @@
</div>
</div>
</div>
</div>
<
template
slot=
"proSpecsBtn"
>
<
template
slot=
"proSpecsBtn"
>
<el-button
:disabled=
"isDisabled"
type=
"
primary"
@
click=
"handleSpecsEdit(1)"
>
添加规格
</el-button>
<el-button
:disabled=
"isDisabled"
type=
"
default"
@
click=
"handleSpecsEdit(1)"
>
+添加规格项目
</el-button>
</
template
>
</
template
>
<div
slot=
"proSpecs"
:style=
"{ 'margin-left': labelWidth }"
>
<div
slot=
"proSpecs"
:style=
"{ 'margin-left': labelWidth }"
>
<div
v-for=
"(subItem, subIndex) in specificationDetailList"
:key=
"subIndex"
>
<div
v-for=
"(subItem, subIndex) in specificationDetailList"
:key=
"subIndex"
>
...
@@ -193,20 +205,20 @@
...
@@ -193,20 +205,20 @@
</div>
</div>
</div>
</div>
<
template
slot=
"retailPrice"
>
<
template
slot=
"retailPrice"
>
<p>
作为商品商城售卖的价格
</p>
<p
class=
"edit-tips"
>
作为商品商城售卖的价格
</p>
</
template
>
</
template
>
<
template
slot=
"originalPrice"
>
<
template
slot=
"originalPrice"
>
<p>
作为商品划线展示的价格
</p>
<p
class=
"edit-tips"
>
作为商品划线展示的价格
</p>
</
template
>
</
template
>
<
template
slot=
"supplyPrice"
>
<
template
slot=
"supplyPrice"
>
<p>
作为货源供给门店的价格
</p>
<p
class=
"edit-tips"
>
作为货源供给门店的价格
</p>
</
template
>
</
template
>
<div
slot=
"selectMerchant"
slot-scope=
"scope"
class=
"select-merchant"
>
<div
slot=
"selectMerchant"
slot-scope=
"scope"
class=
"select-merchant"
>
<el-button
<el-button
:disabled=
"isDisabled"
:disabled=
"isDisabled"
type=
"
primary
"
type=
"
default
"
@
click=
"handleRelateStoreClose(scope)"
@
click=
"handleRelateStoreClose(scope)"
>
{{ editForm.supplyMerchantList.length ? '更换
' : '请选择
' }}
</el-button>
>
{{ editForm.supplyMerchantList.length ? '更换
门店' : '+选择门店
' }}
</el-button>
</div>
</div>
<div
<div
slot=
"merchantTable"
slot=
"merchantTable"
...
@@ -501,6 +513,7 @@ export default {
...
@@ -501,6 +513,7 @@ export default {
type
:
'upload'
,
type
:
'upload'
,
limitSize
:
10
,
limitSize
:
10
,
maxPhotoNum
:
1
,
maxPhotoNum
:
1
,
suffixSlot
:
'goodsImage'
,
isDisabled
:
false
,
isDisabled
:
false
,
handleUpload
:
(
e
,
file
,
targetItem
)
=>
{
handleUpload
:
(
e
,
file
,
targetItem
)
=>
{
const
imgFile
=
e
.
target
.
result
const
imgFile
=
e
.
target
.
result
...
@@ -518,6 +531,7 @@ export default {
...
@@ -518,6 +531,7 @@ export default {
width
:
'100%'
,
width
:
'100%'
,
limitSize
:
20
,
limitSize
:
20
,
maxPhotoNum
:
10
,
maxPhotoNum
:
10
,
suffixSlot
:
'goodsDetailImageList'
,
isDisabled
:
false
,
isDisabled
:
false
,
handleUpload
:
(
e
,
file
,
targetItem
)
=>
{
handleUpload
:
(
e
,
file
,
targetItem
)
=>
{
const
imgFile
=
e
.
target
.
result
const
imgFile
=
e
.
target
.
result
...
@@ -538,6 +552,7 @@ export default {
...
@@ -538,6 +552,7 @@ export default {
name
:
'goodsVideo'
,
name
:
'goodsVideo'
,
type
:
'upload'
,
type
:
'upload'
,
uploadType
:
'video'
,
uploadType
:
'video'
,
suffixSlot
:
'goodsVideo'
,
limitSize
:
50
,
limitSize
:
50
,
maxPhotoNum
:
1
,
maxPhotoNum
:
1
,
isDisabled
:
false
,
isDisabled
:
false
,
...
...
src/views/zoneList/editZone.vue
View file @
7e30dda
...
@@ -82,16 +82,12 @@ export default {
...
@@ -82,16 +82,12 @@ export default {
label
:
'专区图片'
,
label
:
'专区图片'
,
name
:
'zoneImg'
,
name
:
'zoneImg'
,
type
:
'upload'
,
type
:
'upload'
,
style
:
{
'margin-bottom'
:
'10px'
},
limitSize
:
10
,
limitSize
:
10
,
maxPhotoNum
:
1
,
maxPhotoNum
:
1
,
handleUpload
:
(
e
,
file
,
targetItem
)
=>
{
handleUpload
:
(
e
,
file
,
targetItem
)
=>
{
const
imgFile
=
e
.
target
.
result
const
imgFile
=
e
.
target
.
result
const
base64
=
file
.
name
.
split
(
'.'
)[
1
]
+
'@'
+
imgFile
.
split
(
','
)[
1
]
const
base64
=
file
.
name
.
split
(
'.'
)[
1
]
+
'@'
+
imgFile
.
split
(
','
)[
1
]
this
.
$apis
.
common
.
uploadImgApi
({
file
:
base64
,
fileType
:
'image'
}).
then
(
res
=>
{
this
.
$apis
.
common
.
uploadImgApi
({
file
:
base64
,
fileType
:
'image'
}).
then
(
res
=>
{
console
.
log
(
res
)
this
.
editForm
[
targetItem
.
name
]
=
res
this
.
editForm
[
targetItem
.
name
]
=
res
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validateField
(
targetItem
.
name
)
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validateField
(
targetItem
.
name
)
})
})
...
...
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