Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-authorize
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 675bb58a
authored
Sep 28, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'xuyl_dev_v2.11.0' into 'v2.11.0'
修改样式,更换轮询接口方式 See merge request
!25
2 parents
88517f95
1eef49ab
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
11 deletions
src/views/collocation/index.vue
src/views/friendGroup/index.vue
src/views/wechatGroup/index.vue
src/views/collocation/index.vue
View file @
675bb58
...
@@ -42,6 +42,7 @@ export default {
...
@@ -42,6 +42,7 @@ export default {
url
,
url
,
verifyQRCodeFailsToOpen
:
false
,
verifyQRCodeFailsToOpen
:
false
,
addLoading
:
false
,
addLoading
:
false
,
qrCodeInterval
:
null
,
qrcodeUrl
:
''
,
qrcodeUrl
:
''
,
qrCodeVisible
:
false
,
qrCodeVisible
:
false
,
qrcodeId
:
''
,
qrcodeId
:
''
,
...
@@ -94,24 +95,29 @@ export default {
...
@@ -94,24 +95,29 @@ export default {
{
{
label
:
'员工企微'
,
label
:
'员工企微'
,
prop
:
'staffName'
,
prop
:
'staffName'
,
addHtml
:
'staffName'
addHtml
:
'staffName'
,
minwidth
:
110
},
},
{
{
label
:
'手机号码'
,
label
:
'手机号码'
,
prop
:
'staffPhone'
prop
:
'staffPhone'
,
minwidth
:
110
},
},
{
{
label
:
'所属门店'
,
label
:
'所属门店'
,
prop
:
'merchantName'
prop
:
'merchantName'
,
minwidth
:
110
},
},
{
{
label
:
'最后同步时间'
,
label
:
'最后同步时间'
,
prop
:
'lastLoginTime'
prop
:
'lastLoginTime'
,
minwidth
:
110
},
},
{
{
label
:
'状态'
,
label
:
'状态'
,
prop
:
'loginStatus'
,
prop
:
'loginStatus'
,
addHtml
:
'loginStatus'
addHtml
:
'loginStatus'
,
minwidth
:
110
}
}
]
]
},
},
...
@@ -147,7 +153,12 @@ export default {
...
@@ -147,7 +153,12 @@ export default {
})
})
},
},
verifyQRCodeIsInvalid
()
{
verifyQRCodeIsInvalid
()
{
this
.
qrCodeInterval
=
setTimeout
(()
=>
{
this
.
qrCodeInterval
=
setInterval
(()
=>
{
this
.
qrcodeTimeoutApi
()
// 300000
},
5000
)
},
qrcodeTimeoutApi
()
{
this
.
$apis
.
collocation
.
getQcCodeDetail
({
id
:
this
.
qrcodeId
}).
then
(
res
=>
{
this
.
$apis
.
collocation
.
getQcCodeDetail
({
id
:
this
.
qrcodeId
}).
then
(
res
=>
{
if
(
res
==
true
)
{
if
(
res
==
true
)
{
this
.
$message
({
this
.
$message
({
...
@@ -155,11 +166,10 @@ export default {
...
@@ -155,11 +166,10 @@ export default {
message
:
'二维码已失效,请刷新'
message
:
'二维码已失效,请刷新'
})
})
this
.
verifyQRCodeFailsToOpen
=
false
this
.
verifyQRCodeFailsToOpen
=
false
clearTimeout
(
this
.
qrCodeInterval
)
clearInterval
(
this
.
qrCodeInterval
)
return
return
}
}
})
})
},
300000
)
},
},
refreshQrcode
()
{
refreshQrcode
()
{
this
.
handleqrCode
()
this
.
handleqrCode
()
...
@@ -176,7 +186,7 @@ export default {
...
@@ -176,7 +186,7 @@ export default {
if
(
val
.
qrCodeVisible
==
true
&&
val
.
verifyQRCodeFailsToOpen
==
true
)
{
if
(
val
.
qrCodeVisible
==
true
&&
val
.
verifyQRCodeFailsToOpen
==
true
)
{
this
.
verifyQRCodeIsInvalid
()
this
.
verifyQRCodeIsInvalid
()
}
else
{
}
else
{
clear
Timeout
(
this
.
qrCodeInterval
)
clear
Interval
(
this
.
qrCodeInterval
)
}
}
}
}
}
}
...
@@ -184,8 +194,10 @@ export default {
...
@@ -184,8 +194,10 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.el-table--border
.el-table__cell
:first-child
.cell
,
.el-table
.cell
{
/
deep
/
{
padding-right
:
10px
;
.el-table
th
>
.cell
{
padding
:
0
16px
;
}
}
}
.container
{
.container
{
padding
:
20px
;
padding
:
20px
;
...
...
src/views/friendGroup/index.vue
View file @
675bb58
...
@@ -296,6 +296,11 @@ export default {
...
@@ -296,6 +296,11 @@ export default {
</
script
>
</
script
>
<
style
scoped
lang=
"scss"
>
<
style
scoped
lang=
"scss"
>
/
deep
/
{
.el-table
th
>
.cell
{
padding
:
0
16px
;
}
}
.container
{
.container
{
background
:
#fff
;
background
:
#fff
;
padding
:
20px
;
padding
:
20px
;
...
...
src/views/wechatGroup/index.vue
View file @
675bb58
...
@@ -227,6 +227,11 @@ export default {
...
@@ -227,6 +227,11 @@ export default {
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
/
deep
/
{
.el-table
th
>
.cell
{
padding
:
0
16px
;
}
}
.el-table--border
.el-table__cell
:first-child
.cell
,
.el-table
.cell
{
.el-table--border
.el-table__cell
:first-child
.cell
,
.el-table
.cell
{
padding-right
:
10px
;
padding-right
:
10px
;
}
}
...
...
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