Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
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 2d805f8e
authored
Jul 31, 2023
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
积分商城场景
1 parent
9ba232c6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
5 deletions
src/api/merchant.js
src/views/goods/grounding/components/groundingForm.vue
src/views/goods/grounding/components/relateStoreDialog.vue
src/views/systemConfig/merchant/components/relateMerDialog.vue
src/api/merchant.js
View file @
2d805f8
...
@@ -315,3 +315,9 @@ export function insertOrUpdateDiversionMerchantRef(data) {
...
@@ -315,3 +315,9 @@ export function insertOrUpdateDiversionMerchantRef(data) {
data
.
method
=
`
${
path2
}
diversionMerchant.insertOrUpdateDiversionMerchantRef`
data
.
method
=
`
${
path2
}
diversionMerchant.insertOrUpdateDiversionMerchantRef`
return
request
(
data
,
"post"
)
return
request
(
data
,
"post"
)
}
}
// 获取服务中心所有门店 支持园区店关键字搜索
export
function
getAccountMerchantList
(
data
)
{
data
.
method
=
`
${
path
}
merchant.page.withYq`
return
request
(
data
,
"post"
)
}
src/views/goods/grounding/components/groundingForm.vue
View file @
2d805f8
...
@@ -218,12 +218,12 @@
...
@@ -218,12 +218,12 @@
<
/el-button
>
<
/el-button
>
<
/el-form-item
>
<
/el-form-item
>
<
/el-form
>
<
/el-form
>
<!--
store
-
api
(
1
精品升级
2
次新车转化
3
售后众筹
查询嘀加的门店数据
getList
)(
0
会员
/
权益升级
查询账户中心所有
4
s
店
serviceGe
tMerchantList
)
-->
<!--
store
-
api
(
1
精品升级
2
次新车转化
3
售后众筹
查询嘀加的门店数据
getList
)(
0
会员
/
权益升级
4
积分商城
查询账户中心所有
4
s
店
getAccoun
tMerchantList
)
-->
<
relate
-
store
-
dialog
<
relate
-
store
-
dialog
v
-
if
=
"relateStoreVisible"
v
-
if
=
"relateStoreVisible"
ref
=
"formRelateStore"
ref
=
"formRelateStore"
:
relate
-
store
-
visible
=
"relateStoreVisible"
:
relate
-
store
-
visible
=
"relateStoreVisible"
:
store
-
api
=
"
formData.sceneType ? getList : serviceGe
tMerchantList"
:
store
-
api
=
"
[1, 2, 3].includes(formData.sceneType) ? getList : getAccoun
tMerchantList"
:
store
-
search
-
form
=
"storeSearchForm"
:
store
-
search
-
form
=
"storeSearchForm"
:
store
-
selected
=
"storeSelected"
:
store
-
selected
=
"storeSelected"
:
selected
-
scene
=
"formData.sceneType"
:
selected
-
scene
=
"formData.sceneType"
...
@@ -271,7 +271,7 @@ import { upgradeSupplyModeList, crowdUpgradeSupplyModeList } from "../constants/
...
@@ -271,7 +271,7 @@ import { upgradeSupplyModeList, crowdUpgradeSupplyModeList } from "../constants/
import
{
baseConfig
}
from
"@/main"
import
{
baseConfig
}
from
"@/main"
import
relateStoreDialog
from
"./relateStoreDialog.vue"
import
relateStoreDialog
from
"./relateStoreDialog.vue"
import
relateStoreTable
from
'./relateStoreTable.vue'
import
relateStoreTable
from
'./relateStoreTable.vue'
import
{
getList
,
serviceGe
tMerchantList
}
from
'@/api/merchant'
import
{
getList
,
getAccoun
tMerchantList
}
from
'@/api/merchant'
export
default
{
export
default
{
name
:
'groundingForm'
,
name
:
'groundingForm'
,
components
:
{
components
:
{
...
@@ -282,7 +282,7 @@ export default {
...
@@ -282,7 +282,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
getList
,
getList
,
serviceGe
tMerchantList
,
getAccoun
tMerchantList
,
equitySceneType
:
baseConfig
.
equitySceneType
||
[],
equitySceneType
:
baseConfig
.
equitySceneType
||
[],
membraneTypeList
,
membraneTypeList
,
formData
:
{
}
,
formData
:
{
}
,
...
...
src/views/goods/grounding/components/relateStoreDialog.vue
View file @
2d805f8
...
@@ -128,7 +128,7 @@ export default {
...
@@ -128,7 +128,7 @@ export default {
...
this
.
storeSearchForm
,
...
this
.
storeSearchForm
,
currentPage
:
this
.
currentPage
,
currentPage
:
this
.
currentPage
,
pageSize
:
this
.
pageSize
,
pageSize
:
this
.
pageSize
,
scene
:
this
.
selectedScene
?
this
.
selectedScene
:
''
scene
:
this
.
selectedScene
}).
then
(
res
=>
{
}).
then
(
res
=>
{
res
?.
list
?.
forEach
(
val
=>
{
// 账户中心门店返回商户号字段是merchantNo
res
?.
list
?.
forEach
(
val
=>
{
// 账户中心门店返回商户号字段是merchantNo
if
(
val
.
merchantNo
)
val
.
merchantId
=
val
.
merchantNo
if
(
val
.
merchantNo
)
val
.
merchantId
=
val
.
merchantNo
...
...
src/views/systemConfig/merchant/components/relateMerDialog.vue
View file @
2d805f8
...
@@ -98,6 +98,10 @@ export default {
...
@@ -98,6 +98,10 @@ export default {
confId
:
0
,
confId
:
0
,
confLabel
:
'会员权益/升级'
,
confLabel
:
'会员权益/升级'
,
// disabled: true
// disabled: true
},
{
confId
:
4
,
confLabel
:
'积分商城'
}
}
]
]
},
},
...
...
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