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 85cbe588
authored
Oct 25, 2021
by
杨北旺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改基本信息/修改关联提示语
1 parent
5800ccba
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
30 deletions
src/views/baseInfo/bloc.vue
src/views/baseInfo/index.vue
src/views/baseInfo/relevance.vue
src/views/baseInfo/bloc.vue
View file @
85cbe58
...
@@ -4,10 +4,11 @@
...
@@ -4,10 +4,11 @@
<div
class=
"wrap_left"
>
<div
class=
"wrap_left"
>
<div
class=
"out_box_wrap"
>
<div
class=
"out_box_wrap"
>
<div
class=
"fixed_widget"
>
<div
class=
"fixed_widget"
>
<div
class=
"label_text"
>
版本:
{{
bloc
.
merchantModelName
}}
</div>
<div
class=
"label_text"
>
版本:
{{
bloc
.
merchantModelName
||
'--'
}}
</div>
<div
class=
"label_text dr_top"
>
<div
class=
"label_text dr_top"
>
开通门店数:
开通门店数:
<span
class=
"num_text"
>
{{
bloc
.
numberStores
}}
家
</span>
<span
v-if=
"bloc.numberStores"
class=
"num_text"
>
{{
bloc
.
numberStores
}}
家
</span>
<span
v-else
class=
"num_text"
>
--
</span>
</div>
</div>
<div
class=
"label_text dr_top"
>
门店详情
</div>
<div
class=
"label_text dr_top"
>
门店详情
</div>
</div>
</div>
...
@@ -92,28 +93,28 @@ export default {
...
@@ -92,28 +93,28 @@ export default {
bloc
:
null
bloc
:
null
},
},
methods
:
{
methods
:
{
changeLeftOpenStatus
(
item
,
index
)
{
//
changeLeftOpenStatus(item, index) {
this
.
leftData
[
index
].
open
=
!
item
.
open
//
this.leftData[index].open = !item.open
},
//
},
changeRightOpenStatus
(
isOpen
)
{
changeRightOpenStatus
(
isOpen
)
{
this
.
isOpen
=
!
isOpen
this
.
isOpen
=
!
isOpen
},
},
handlerData
()
{
//
handlerData() {
let
arr
=
this
.
dataList
//
let arr = this.dataList
let
left
=
[]
//
let left = []
let
right
=
[]
//
let right = []
arr
.
forEach
((
item
,
index
)
=>
{
//
arr.forEach((item, index) => {
if
(
index
%
2
==
0
)
{
//
if (index % 2 == 0) {
left
.
push
(
item
)
//
left.push(item)
}
else
{
//
} else {
right
.
push
(
item
)
//
right.push(item)
}
//
}
})
//
})
this
.
leftData
=
left
//
this.leftData = left
this
.
rightData
=
right
//
this.rightData = right
console
.
log
(
left
)
//
console.log(left)
console
.
log
(
right
)
//
console.log(right)
}
//
}
},
},
mounted
()
{}
mounted
()
{}
}
}
...
@@ -172,7 +173,7 @@ export default {
...
@@ -172,7 +173,7 @@ export default {
}
}
.line_wrapper
{
.line_wrapper
{
width
:
100%
;
width
:
100%
;
height
:
54px
;
min-
height
:
54px
;
background
:
#ffffff
;
background
:
#ffffff
;
display
:
flex
;
display
:
flex
;
align-items
:
center
;
align-items
:
center
;
...
@@ -183,21 +184,21 @@ export default {
...
@@ -183,21 +184,21 @@ export default {
.tittle
{
.tittle
{
width
:
20%
;
width
:
20%
;
text-align
:
center
;
text-align
:
center
;
line-height
:
54px
;
color
:
#333333
;
color
:
#333333
;
font-size
:
14px
;
font-size
:
14px
;
}
}
.tittle1
{
.tittle1
{
width
:
40%
;
width
:
40%
;
text-align
:
center
;
text-align
:
center
;
line-height
:
54px
;
color
:
#333333
;
color
:
#333333
;
font-size
:
14px
;
font-size
:
14px
;
word-wrap
:
break-word
;
word-break
:
break-all
;
overflow
:
hidden
;
}
}
.tittle2
{
.tittle2
{
width
:
40%
;
width
:
40%
;
text-align
:
center
;
text-align
:
center
;
line-height
:
54px
;
color
:
#333333
;
color
:
#333333
;
font-size
:
14px
;
font-size
:
14px
;
}
}
...
@@ -209,6 +210,7 @@ export default {
...
@@ -209,6 +210,7 @@ export default {
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.line_body
{
.line_body
{
width
:
100%
;
height
:
324px
;
height
:
324px
;
overflow-y
:
auto
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
overflow-x
:
hidden
;
...
...
src/views/baseInfo/index.vue
View file @
85cbe58
...
@@ -9,8 +9,8 @@
...
@@ -9,8 +9,8 @@
<span
class=
"min_text"
>
(商户号:
{{
blocInfo
.
merchantNo
}}
)
</span>
<span
class=
"min_text"
>
(商户号:
{{
blocInfo
.
merchantNo
}}
)
</span>
</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=
"
platform == 1
? '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>
...
@@ -58,7 +58,7 @@ export default {
...
@@ -58,7 +58,7 @@ export default {
sessionId
:
this
.
loginInfo
.
sessionId
sessionId
:
this
.
loginInfo
.
sessionId
}
}
// let res = {
// let res = {
// merchantName: '冒烟商户AB',
// merchantName: '冒烟商户AB
熬时间的冒烟商户AB熬时间的冒烟商户AB熬时间的冒烟商户AB熬时间的冒烟商户AB熬时间的冒烟商户AB熬时间的
',
// entmicroName: '54455445',
// entmicroName: '54455445',
// parentName: '冒烟商户AB',
// parentName: '冒烟商户AB',
// entMicroEmployeeCount: 0,
// entMicroEmployeeCount: 0,
...
@@ -66,7 +66,7 @@ export default {
...
@@ -66,7 +66,7 @@ export default {
// numberStores: 1,
// numberStores: 1,
// stores: [
// stores: [
// {
// {
// merchantName: '冒烟
门店2021
',
// merchantName: '冒烟
商户AB熬时间的冒烟商户冒烟商户AB熬时间的冒烟商户冒烟商户AB熬时间的冒烟商户冒烟商户AB熬时间的冒烟商户冒烟商户AB熬时间的冒烟商户冒烟商户AB熬时间的冒烟商户冒烟商户AB熬时间的冒烟商户冒烟商户AB熬时间的冒烟商户
',
// starttime: 1629712248000,
// starttime: 1629712248000,
// endtime: 1664208000000
// endtime: 1664208000000
// }
// }
...
...
src/views/baseInfo/relevance.vue
View file @
85cbe58
...
@@ -194,7 +194,7 @@ export default {
...
@@ -194,7 +194,7 @@ export default {
handleMutiGL
()
{
handleMutiGL
()
{
if
(
!
this
.
dataList
.
length
)
{
if
(
!
this
.
dataList
.
length
)
{
this
.
$message
({
this
.
$message
({
message
:
'请
选择
'
,
message
:
'请
先选择您要关联的账户
'
,
type
:
'warning'
type
:
'warning'
})
})
return
return
...
...
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