Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-settings
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 ff20cae6
authored
Oct 21, 2021
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改基本信息显示
1 parent
8b82e553
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
src/views/baseInfo/index.vue
src/views/baseInfo/index.vue
View file @
ff20cae
...
@@ -12,8 +12,9 @@
...
@@ -12,8 +12,9 @@
<span>
关联企微:
{{
blocInfo
.
entmicroName
||
'无'
}}
</span>
<span>
关联企微:
{{
blocInfo
.
entmicroName
||
'无'
}}
</span>
<div
v-if=
"blocInfo.entmicroName"
class=
"auth_btn"
:class=
"platform == 1 ? 'auth_btn_cp' : ''"
>
已授权
</div>
<div
v-if=
"blocInfo.entmicroName"
class=
"auth_btn"
:class=
"platform == 1 ? 'auth_btn_cp' : ''"
>
已授权
</div>
</div>
</div>
<div
class=
"min_text dr_top_1"
>
所属企业:
{{
blocInfo
.
parentName
}}
</div>
<div
v-if=
"accountLevel==1"
class=
"min_text dr_top_1"
>
所属企业:--
</div>
<div
class=
"min_text"
>
企微员工:
{{
blocInfo
.
entMicroEmployeeCount
}}
人
</div>
<div
v-if=
"accountLevel!=1"
class=
"min_text dr_top_1"
>
所属企业:
{{
blocInfo
.
parentName
}}
</div>
<div
v-if=
"accountLevel==4"
class=
"min_text"
>
企微员工:
{{
blocInfo
.
entMicroEmployeeCount
}}
人
</div>
</div>
</div>
</div>
</div>
<blocModule
:bloc=
"blocInfo"
:list
.
sync=
"storesList"
v-if=
"platform == 1"
></blocModule>
<blocModule
:bloc=
"blocInfo"
:list
.
sync=
"storesList"
v-if=
"platform == 1"
></blocModule>
...
@@ -35,6 +36,7 @@ export default {
...
@@ -35,6 +36,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
platform
:
1
,
//1 集团 2 门店
platform
:
1
,
//1 集团 2 门店
accountLevel
:
1
,
//1-工厂;2-省代;3-市代;4-门店
blocInfo
:
{
blocInfo
:
{
merchantName
:
''
merchantName
:
''
},
},
...
@@ -42,9 +44,11 @@ export default {
...
@@ -42,9 +44,11 @@ export default {
}
}
},
},
created
()
{
created
()
{
//this.$globalState.accountLevel
const
{
session
}
=
this
.
$globalState
const
{
session
}
=
this
.
$globalState
this
.
platform
=
session
.
merchantModel
this
.
platform
=
session
.
merchantModel
this
.
loginInfo
=
session
this
.
loginInfo
=
session
this
.
accountLevel
=
session
.
accountLevel
this
.
getBlocData
()
this
.
getBlocData
()
},
},
methods
:
{
methods
:
{
...
...
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