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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
31 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 @@
<div
class=
"wrap_left"
>
<div
class=
"out_box_wrap"
>
<div
class=
"fixed_widget"
>
<div
class=
"label_text"
>
版本:
{{
bloc
.
merchantModelName
}}
</div>
<div
class=
"label_text"
>
版本:
{{
bloc
.
merchantModelName
||
'--'
}}
</div>
<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
class=
"label_text dr_top"
>
门店详情
</div>
</div>
...
...
@@ -92,28 +93,28 @@ export default {
bloc
:
null
},
methods
:
{
changeLeftOpenStatus
(
item
,
index
)
{
this
.
leftData
[
index
].
open
=
!
item
.
open
},
//
changeLeftOpenStatus(item, index) {
//
this.leftData[index].open = !item.open
//
},
changeRightOpenStatus
(
isOpen
)
{
this
.
isOpen
=
!
isOpen
},
handlerData
()
{
let
arr
=
this
.
dataList
let
left
=
[]
let
right
=
[]
arr
.
forEach
((
item
,
index
)
=>
{
if
(
index
%
2
==
0
)
{
left
.
push
(
item
)
}
else
{
right
.
push
(
item
)
}
})
this
.
leftData
=
left
this
.
rightData
=
right
console
.
log
(
left
)
console
.
log
(
right
)
}
//
handlerData() {
//
let arr = this.dataList
//
let left = []
//
let right = []
//
arr.forEach((item, index) => {
//
if (index % 2 == 0) {
//
left.push(item)
//
} else {
//
right.push(item)
//
}
//
})
//
this.leftData = left
//
this.rightData = right
//
console.log(left)
//
console.log(right)
//
}
},
mounted
()
{}
}
...
...
@@ -129,7 +130,7 @@ export default {
.wrap_left,
.wrap_right
{
//
min-width
:
44.8%
;
min-width
:
520px
;
min-width
:
520px
;
min-height
:
176px
;
}
.wrap_left
{
...
...
@@ -172,7 +173,7 @@ export default {
}
.line_wrapper
{
width
:
100%
;
height
:
54px
;
min-
height
:
54px
;
background
:
#ffffff
;
display
:
flex
;
align-items
:
center
;
...
...
@@ -183,21 +184,21 @@ export default {
.tittle
{
width
:
20%
;
text-align
:
center
;
line-height
:
54px
;
color
:
#333333
;
font-size
:
14px
;
}
.tittle1
{
width
:
40%
;
text-align
:
center
;
line-height
:
54px
;
color
:
#333333
;
font-size
:
14px
;
word-wrap
:
break-word
;
word-break
:
break-all
;
overflow
:
hidden
;
}
.tittle2
{
width
:
40%
;
text-align
:
center
;
line-height
:
54px
;
color
:
#333333
;
font-size
:
14px
;
}
...
...
@@ -209,6 +210,7 @@ export default {
font-weight
:
bold
;
}
.line_body
{
width
:
100%
;
height
:
324px
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
...
...
src/views/baseInfo/index.vue
View file @
85cbe58
...
...
@@ -9,8 +9,8 @@
<span
class=
"min_text"
>
(商户号:
{{
blocInfo
.
merchantNo
}}
)
</span>
</div>
<div
class=
"sec_title_text dr_top_1"
>
<span>
关联企微:
{{
blocInfo
.
entmicroName
||
'
无
'
}}
</span>
<div
v-if=
"blocInfo.entmicroName"
class=
"auth_btn"
:class=
"
platform == 1
? 'auth_btn_cp' : ''"
>
已授权
</div>
<span>
关联企微:
{{
blocInfo
.
entmicroName
||
'
--
'
}}
</span>
<div
v-if=
"blocInfo.entmicroName"
class=
"auth_btn"
:class=
"
accountLevel != 4
? 'auth_btn_cp' : ''"
>
已授权
</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"
>
所属企业:
{{
blocInfo
.
parentName
}}
</div>
...
...
@@ -58,7 +58,7 @@ export default {
sessionId
:
this
.
loginInfo
.
sessionId
}
// let res = {
// merchantName: '冒烟商户AB',
// merchantName: '冒烟商户AB
熬时间的冒烟商户AB熬时间的冒烟商户AB熬时间的冒烟商户AB熬时间的冒烟商户AB熬时间的冒烟商户AB熬时间的
',
// entmicroName: '54455445',
// parentName: '冒烟商户AB',
// entMicroEmployeeCount: 0,
...
...
@@ -66,7 +66,7 @@ export default {
// numberStores: 1,
// stores: [
// {
// merchantName: '冒烟
门店2021
',
// merchantName: '冒烟
商户AB熬时间的冒烟商户冒烟商户AB熬时间的冒烟商户冒烟商户AB熬时间的冒烟商户冒烟商户AB熬时间的冒烟商户冒烟商户AB熬时间的冒烟商户冒烟商户AB熬时间的冒烟商户冒烟商户AB熬时间的冒烟商户冒烟商户AB熬时间的冒烟商户
',
// starttime: 1629712248000,
// endtime: 1664208000000
// }
...
...
src/views/baseInfo/relevance.vue
View file @
85cbe58
...
...
@@ -194,7 +194,7 @@ export default {
handleMutiGL
()
{
if
(
!
this
.
dataList
.
length
)
{
this
.
$message
({
message
:
'请
选择
'
,
message
:
'请
先选择您要关联的账户
'
,
type
:
'warning'
})
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