Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
develop-platform
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 39bee501
authored
Nov 11, 2020
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
商户渠道
1 parent
27965c68
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
9 deletions
src/common/constants.js
src/views/systemConfig/serviceStore.vue
src/common/constants.js
View file @
39bee50
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* @Author: limin
* @Author: limin
* @Date: 2019-09-01 19:06:01
* @Date: 2019-09-01 19:06:01
* @Last Modified by: chenwq
* @Last Modified by: chenwq
* @Last Modified time: 2020-11-11 14:2
3:29
* @Last Modified time: 2020-11-11 14:2
9:52
*/
*/
// import { LOGIN_URL, REG_URL, ROLE_LIST_URL } from '@/api/sys.account'
// import { LOGIN_URL, REG_URL, ROLE_LIST_URL } from '@/api/sys.account'
...
@@ -54,8 +54,8 @@ export const SUPPER_ADMIN = 1 //
...
@@ -54,8 +54,8 @@ export const SUPPER_ADMIN = 1 //
*/
*/
// export const POST_DISABLED = ['2001', '2002', '2003'] // 总经理 仓库 部门经理
// export const POST_DISABLED = ['2001', '2002', '2003'] // 总经理 仓库 部门经理
// 商户类型 -
嘀加
// 商户类型 -
除广汇外
export
const
djU
serType
=
{
export
const
u
serType
=
{
1
:
'员工'
,
1
:
'员工'
,
2
:
'门店'
,
2
:
'门店'
,
3
:
'市代'
,
3
:
'市代'
,
...
...
src/views/systemConfig/serviceStore.vue
View file @
39bee50
...
@@ -44,7 +44,7 @@
...
@@ -44,7 +44,7 @@
<
script
>
<
script
>
import
{
getList
,
deleteMerchant
}
from
'@api/serviceStore'
import
{
getList
,
deleteMerchant
}
from
'@api/serviceStore'
import
{
mapActions
}
from
'vuex'
import
{
mapActions
}
from
'vuex'
import
{
BaseData
,
djU
serType
,
ghUserType
}
from
'@/common/constants.js'
import
{
BaseData
,
u
serType
,
ghUserType
}
from
'@/common/constants.js'
export
default
{
export
default
{
name
:
'serviceStore'
,
name
:
'serviceStore'
,
data
()
{
data
()
{
...
@@ -74,11 +74,8 @@ export default {
...
@@ -74,11 +74,8 @@ export default {
label
:
'商户类型'
,
label
:
'商户类型'
,
prop
:
'userType'
,
prop
:
'userType'
,
formatter
:
(
cellValue
)
=>
{
formatter
:
(
cellValue
)
=>
{
var
typeAttr
=
{
var
typeList
=
cellValue
.
channelType
===
2
?
ghUserType
:
userType
1
:
djUserType
,
return
typeList
[
cellValue
.
userType
]
2
:
ghUserType
}
return
typeAttr
[
cellValue
.
channelType
][
cellValue
.
userType
]
}
}
},
{
},
{
label
:
'联系人'
,
label
:
'联系人'
,
...
...
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