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 c6d2a58f
authored
Dec 31, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.1' of
http://192.168.3.233:8090/saas/scrm-micro-marketing
into v1.0.1
2 parents
83ff8152
4e55ac0d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
23 additions
and
11 deletions
package-lock.json
package.json
src/views/memberCenter/order.vue
src/views/memberCenter/service.vue
src/views/memberCenter/setmeal.vue
package-lock.json
View file @
c6d2a58
...
@@ -5700,9 +5700,9 @@
...
@@ -5700,9 +5700,9 @@
}
}
},
},
"glsx-components"
:
{
"glsx-components"
:
{
"version"
:
"1.3.
2
"
,
"version"
:
"1.3.
1
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-components/-/glsx-components-1.3.
2
.tgz"
,
"resolved"
:
"https://registry.npmjs.org/glsx-components/-/glsx-components-1.3.
1
.tgz"
,
"integrity"
:
"sha512-
+3RQzo4onfbdkfU5zcw16dsGKadi7oRWzgKO3W1v84A1C4WQsLq+4h7Z7p+CIUxq9O4WifE+Ici4mwN9eq2PNw
=="
,
"integrity"
:
"sha512-
Zsh7zfQ5svPZeGWPbyRTjn6kaDeg8en3oPqDGZhWbJX2BpEj1lZ8bbXj3E9rjmegNUKZgyM2g6JBzJN0aGtRZA
=="
,
"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 @
c6d2a58
...
@@ -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.3.
2
"
,
"glsx-components"
:
"^1.3.
3
"
,
"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/views/memberCenter/order.vue
View file @
c6d2a58
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<el-input
:size=
"size"
v-model=
"searchForm.packageName"
placeholder=
"请输入名称"
clearable
></el-input>
<el-input
:size=
"size"
v-model=
"searchForm.packageName"
placeholder=
"请输入名称"
clearable
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
label=
"类型"
style=
"margin-left: -10px"
>
<el-form-item
size=
"small"
label=
"类型"
style=
"margin-left: -10px"
>
<el-select
size=
"small"
v-model=
"searchForm.orderType"
placeholder=
"请选择"
>
<el-select
size=
"small"
v-model=
"searchForm.orderType"
:disabled=
"merchantModel == 1 && accountLevel == 1"
placeholder=
"请选择"
>
<el-option
v-for=
"item in orderTypeList"
:key=
"item.dictValue"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
<el-option
v-for=
"item in orderTypeList"
:key=
"item.dictValue"
:label=
"item.dictLabel"
:value=
"item.dictValue"
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
...
@@ -59,6 +59,8 @@ import { getOrderListApi, orderExportApi } from '@/api/modules/order'
...
@@ -59,6 +59,8 @@ import { getOrderListApi, orderExportApi } from '@/api/modules/order'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
merchantModel
:
1
,
//集团:1,门店:2
accountLevel
:
0
,
//1,2,3,4工厂,省代,市代,门店
url
:
url
,
url
:
url
,
isReload
:
true
,
isReload
:
true
,
pickerOptions
:
{
pickerOptions
:
{
...
@@ -68,10 +70,10 @@ export default {
...
@@ -68,10 +70,10 @@ export default {
},
},
size
:
'small'
,
size
:
'small'
,
searchForm
:
{
searchForm
:
{
orderStatus
:
''
//默认查询全部
orderStatus
:
''
,
//默认查询全部
// name: '',
// name: '',
// daterange:''
// daterange:''
//
orderType: ''
orderType
:
''
},
},
choseList
:
[
'全部'
,
'待收货'
,
'已完成'
,
'退款|售后'
],
choseList
:
[
'全部'
,
'待收货'
,
'已完成'
,
'退款|售后'
],
currentIndex
:
1
,
currentIndex
:
1
,
...
@@ -150,6 +152,16 @@ export default {
...
@@ -150,6 +152,16 @@ export default {
}
}
}
}
},
},
created
()
{
if
(
window
.
__POWERED_BY_QIANKUN__
)
{
console
.
log
(
'kkk'
,
this
.
$globalState
)
this
.
merchantModel
=
this
.
$globalState
.
session
.
merchantModel
this
.
accountLevel
=
this
.
$globalState
.
session
.
accountLevel
if
(
this
.
merchantModel
==
1
&&
this
.
accountLevel
==
1
)
{
this
.
searchForm
.
orderType
=
2
}
}
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
tabClick
(
index
)
{
tabClick
(
index
)
{
...
...
src/views/memberCenter/service.vue
View file @
c6d2a58
...
@@ -212,7 +212,7 @@ export default {
...
@@ -212,7 +212,7 @@ export default {
this
.
$messageBox
.
confirm
(
'是否失效该服务?'
,
'失效'
,
{
this
.
$messageBox
.
confirm
(
'是否失效该服务?'
,
'失效'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'error'
,
//
type: 'error',
callback
:
action
=>
{
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
if
(
action
==
'confirm'
)
{
effectiveService
({
couponId
:
row
.
id
,
status
:
3
}).
then
(
res
=>
{
effectiveService
({
couponId
:
row
.
id
,
status
:
3
}).
then
(
res
=>
{
...
@@ -264,7 +264,7 @@ export default {
...
@@ -264,7 +264,7 @@ export default {
this
.
$messageBox
.
confirm
(
'是否删除该服务?'
,
'删除'
,
{
this
.
$messageBox
.
confirm
(
'是否删除该服务?'
,
'删除'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'error'
,
//
type: 'error',
callback
:
action
=>
{
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
if
(
action
==
'confirm'
)
{
deleteService
({
couponId
:
row
.
id
,
merchantId
:
this
.
merchantId
}).
then
(
res
=>
{
deleteService
({
couponId
:
row
.
id
,
merchantId
:
this
.
merchantId
}).
then
(
res
=>
{
...
...
src/views/memberCenter/setmeal.vue
View file @
c6d2a58
...
@@ -208,7 +208,7 @@ export default {
...
@@ -208,7 +208,7 @@ export default {
this
.
$messageBox
.
confirm
(
'下架后将隐藏且客户不能购买该套餐,已经购买的客户仍继续享有该套餐的服务?'
,
'下架'
,
{
this
.
$messageBox
.
confirm
(
'下架后将隐藏且客户不能购买该套餐,已经购买的客户仍继续享有该套餐的服务?'
,
'下架'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'error'
,
//
type: 'error',
callback
:
action
=>
{
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
if
(
action
==
'confirm'
)
{
upDownPackage
(
params
).
then
(
res
=>
{
upDownPackage
(
params
).
then
(
res
=>
{
...
@@ -233,7 +233,7 @@ export default {
...
@@ -233,7 +233,7 @@ export default {
this
.
$messageBox
.
confirm
(
'是否删除该套餐?'
,
'删除'
,
{
this
.
$messageBox
.
confirm
(
'是否删除该套餐?'
,
'删除'
,
{
confirmButtonText
:
'确定'
,
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
type
:
'error'
,
//
type: 'error',
callback
:
action
=>
{
callback
:
action
=>
{
if
(
action
==
'confirm'
)
{
if
(
action
==
'confirm'
)
{
deleteSetMeal
({
id
:
row
.
id
}).
then
(
res
=>
{
deleteSetMeal
({
id
:
row
.
id
}).
then
(
res
=>
{
...
...
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