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 39233efb
authored
Feb 19, 2022
by
yy
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
css
1 parent
5c86b4be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
54 additions
and
9 deletions
src/views/enterpriseWechat/components/wxUser.vue
src/views/enterpriseWechat/index.vue
src/views/enterpriseWechat/components/wxUser.vue
View file @
39233ef
...
...
@@ -73,7 +73,7 @@
</div>
</div>
<div
class=
"config-box"
class=
"config-box
config-box-first
"
v-if=
"active == 1"
:style=
"
{
'min-height': boxHeight - 140 + 'px'
...
...
@@ -229,7 +229,7 @@
</div>
</div>
<GLFooter
class=
"footer-panel"
>
<el-button
type=
"primary"
@
click=
"handlePrev"
v-show=
"active
!= 1
"
>
上一步
</el-button>
<el-button
type=
"primary"
@
click=
"handlePrev"
v-show=
"active
== 4
"
>
上一步
</el-button>
<el-button
type=
"info"
disabled
v-show=
"active == 2 && tryStatus == 2"
>
应用审核中
</el-button>
<el-button
type=
"primary"
v-show=
"(active != 4 && tryStatus != 2) || (active == 1 && tryStatus == 2)"
@
click=
"handleNext"
>
下一步
</el-button>
</GLFooter>
...
...
@@ -347,7 +347,7 @@ export default {
},
//获取二维码
getQrcode
()
{
this
.
$apis
.
ww
.
getQrcode
({
loginType
:
'login_admin'
}).
then
(
res
=>
{
this
.
$apis
.
ww
.
getQrcode
({
}).
then
(
res
=>
{
let
qrcode
=
new
QRCode
(
'qrcode'
,
{
text
:
res
.
qrcodeUrl
,
// 需要转换为二维码的内容
width
:
120
,
...
...
@@ -531,6 +531,10 @@ export default {
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
&-first
{
align-items
:
flex-start
;
padding-top
:
60px
;
}
&
.config-box-second
{
width
:
600px
;
margin
:
0
auto
;
...
...
src/views/enterpriseWechat/index.vue
View file @
39233ef
<
template
>
<div
class=
"scrm-wechat-main"
>
<wx-system
v-if=
"corpAuthModel == 1"
></wx-system>
<wx-user
v-if=
"corpAuthModel == 3"
></wx-user>
<wx-system
v-if=
"corpAuthModel === 0"
></wx-system>
<wx-user
v-if=
"corpAuthModel === 3"
></wx-user>
<div
class=
"wechat-qrcode-panel"
v-if=
"corpAuthModel === null"
:style=
"
{
height: bHeight + 'px'
}"
>
<div
class=
"config-box-qrcode"
>
<div
class=
"config-use-desc"
>
请联系平台运营配置企微接入模式
</div>
<div
class=
"config-use-qrcode"
>
<img
src=
"https://img01.glsx.com.cn/weapp/resource/saas/scrm/lianghh.png"
alt=
""
/>
</div>
<div
class=
"config-use-desc"
>
联系电话:18824231191
</div>
</div>
</div>
</div>
</
template
>
...
...
@@ -16,16 +31,42 @@ export default {
},
data
()
{
return
{
corpAuthModel
:
''
corpAuthModel
:
''
,
bHeight
:
500
}
},
mounted
()
{
this
.
$apis
.
ww
.
getStatus
({}).
then
(
res
=>
{
this
.
corpAuthModel
=
res
.
corpAuthModel
})
let
clientHeight
=
document
.
documentElement
.
clientHeight
this
.
bHeight
=
clientHeight
-
80
this
.
$apis
.
ww
.
getStatus
({}).
then
(
res
=>
{
this
.
corpAuthModel
=
res
.
corpAuthModel
if
(
this
.
corpAuthModel
===
null
)
{
this
.
$alert
(
'请联系平台运营配置企微接入模式'
,
{
confirmButtonText
:
'确定'
})
}
})
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
.wechat-qrcode-panel
{
width
:
100%
;
background
:
#fff
;
height
:
calc
(
100%
-
100px
);
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
.config-box-qrcode
{
width
:
300px
;
text-align
:
center
;
.config-use-qrcode
{
width
:
200px
;
height
:
200px
;
text-align
:
center
;
margin
:
0
auto
;
}
}
}
</
style
>
\ No newline at end of file
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