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 fe0ce688
authored
Jan 12, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
提交
1 parent
ddae6c81
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
src/views/account/index.vue
src/views/baseInfo/index.vue
src/views/account/index.vue
View file @
fe0ce68
...
@@ -197,7 +197,10 @@ export default {
...
@@ -197,7 +197,10 @@ export default {
drawer
:
false
,
drawer
:
false
,
direction
:
'rtl'
,
direction
:
'rtl'
,
searchForm
:
{
searchForm
:
{
isRelevance
:
''
,
accountOrPhone
:
1
,
accountOrPhone
:
1
,
status
:
''
,
merchantAccountLevel
:
''
,
merchantLegalPersonPhone
:
''
,
merchantLegalPersonPhone
:
''
,
merchantLoginAccount
:
''
merchantLoginAccount
:
''
},
},
...
@@ -330,7 +333,10 @@ export default {
...
@@ -330,7 +333,10 @@ export default {
},
},
handleReset
()
{
handleReset
()
{
this
.
searchForm
=
{
this
.
searchForm
=
{
isRelevance
:
''
,
accountOrPhone
:
1
,
accountOrPhone
:
1
,
status
:
''
,
merchantAccountLevel
:
''
,
merchantLegalPersonPhone
:
''
,
merchantLegalPersonPhone
:
''
,
merchantLoginAccount
:
''
merchantLoginAccount
:
''
}
}
...
...
src/views/baseInfo/index.vue
View file @
fe0ce68
...
@@ -10,11 +10,16 @@
...
@@ -10,11 +10,16 @@
</div>
</div>
<div
class=
"sec_title_text dr_top_1"
>
<div
class=
"sec_title_text dr_top_1"
>
<span>
关联企微:
{{
blocInfo
.
entmicroName
||
'--'
}}
</span>
<span>
关联企微:
{{
blocInfo
.
entmicroName
||
'--'
}}
</span>
<div
v-if=
"blocInfo.entmicroName"
class=
"auth_btn"
:class=
"accountLevel != 4 ? 'auth_btn_cp' : ''"
>
已授权
</div>
<div
v-if=
"blocInfo.entmicroName"
class=
"auth_btn"
:class=
"accountLevel != 4 ? 'auth_btn_cp' : ''"
>
已授权
</div>
</div>
</div>
<div
v-if=
"accountLevel==1"
class=
"min_text dr_top_1"
>
所属企业:--
</div>
<div
v-if=
"accountLevel==1"
class=
"min_text dr_top_1"
>
所属企业:--
</div>
<div
v-if=
"accountLevel!=1"
class=
"min_text dr_top_1"
>
所属企业:
{{
blocInfo
.
parentName
}}
</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
v-if=
"accountLevel==4"
class=
"min_text"
>
企微员工:
{{
blocInfo
.
entMicroEmployeeCount
}}
人
</div>
<div
v-if=
"blocInfo.channelId == 1"
class=
"min_text dr_top_1"
>
商户SAP编码:
{{
blocInfo
.
sapCode
}}
</div>
</div>
</div>
</div>
</div>
<blocModule
:bloc=
"blocInfo"
:list
.
sync=
"storesList"
v-if=
"accountLevel != 4"
></blocModule>
<blocModule
:bloc=
"blocInfo"
:list
.
sync=
"storesList"
v-if=
"accountLevel != 4"
></blocModule>
...
@@ -36,7 +41,7 @@ export default {
...
@@ -36,7 +41,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
platform
:
1
,
//1 集团 2 门店
platform
:
1
,
//1 集团 2 门店
accountLevel
:
1
,
//1-工厂;2-省代;3-市代;4-门店
accountLevel
:
1
,
//1-工厂;2-省代;3-市代;4-门店
blocInfo
:
{
blocInfo
:
{
merchantName
:
''
merchantName
:
''
},
},
...
@@ -54,7 +59,7 @@ export default {
...
@@ -54,7 +59,7 @@ export default {
methods
:
{
methods
:
{
getBlocData
()
{
getBlocData
()
{
let
para
=
{
let
para
=
{
merchantId
:
this
.
loginInfo
.
merchantId
,
merchantId
:
this
.
loginInfo
.
merchantId
}
}
this
.
$apis
.
baseInfo
.
merchantInfo
(
para
).
then
(
res
=>
{
this
.
$apis
.
baseInfo
.
merchantInfo
(
para
).
then
(
res
=>
{
this
.
blocInfo
=
res
this
.
blocInfo
=
res
...
@@ -64,7 +69,7 @@ export default {
...
@@ -64,7 +69,7 @@ export default {
})
})
})
})
},
},
dateFormat
:
function
(
dateTime
,
format
=
'yyyy-MM-dd'
)
{
dateFormat
:
function
(
dateTime
,
format
=
'yyyy-MM-dd'
)
{
const
date
=
new
Date
(
dateTime
)
const
date
=
new
Date
(
dateTime
)
const
config
=
{
const
config
=
{
YYYY
:
date
.
getFullYear
(),
YYYY
:
date
.
getFullYear
(),
...
...
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