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 78012fb2
authored
Mar 18, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'hy_dev_v2.0.0' into 'v2.0.0'
Hy dev v2.0.0 See merge request
!14
2 parents
a7c31d9a
c3187952
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
36 deletions
src/config/index.js
src/views/approvalConfig/createGuide.vue
src/views/baseInfo/index.vue
src/config/index.js
View file @
78012fb
...
@@ -17,8 +17,8 @@ export const fetchConfig = function (isEnv = true) {
...
@@ -17,8 +17,8 @@ export const fetchConfig = function (isEnv = true) {
// Object.assign(request, { timeout })
// Object.assign(request, { timeout })
// return Promise.resolve(cfg)
// return Promise.resolve(cfg)
// }
// }
//
return new Http().get('https://oss-config.test.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config')
return
new
Http
().
get
(
'https://oss-config.test.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config'
)
return
new
Http
().
get
(
'http://oss-config.dev.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config'
)
//
return new Http().get('http://oss-config.dev.glsx.com.cn/mock/617ba1df1072f92988f05a14/account/config')
}
}
export
const
config
=
{
export
const
config
=
{
install
(
vue
,
cfg
)
{
install
(
vue
,
cfg
)
{
...
...
src/views/approvalConfig/createGuide.vue
View file @
78012fb
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
<div
class=
"step-title"
style=
"margin-bottom: 16px"
>
在【嘀加企微管家】应用页下方,根据接入方式,找到对应功能(自建应用模式和应用代开发模式为2存1,不会同时出现,企微管理员只需关注“审批设置”在企微后台那里 展示,点进去配置即可)
</div>
<div
class=
"step-title"
style=
"margin-bottom: 16px"
>
在【嘀加企微管家】应用页下方,根据接入方式,找到对应功能(自建应用模式和应用代开发模式为2存1,不会同时出现,企微管理员只需关注“审批设置”在企微后台那里 展示,点进去配置即可)
</div>
<div
class=
"half-step"
>
<div
class=
"half-step"
>
<div
class=
"half-title"
>
自建应用模式:
</div>
<div
class=
"half-title"
>
自建应用模式:
</div>
<div
class=
"half-content third-content"
>
在【开发者接口】模块,找到“审批接口”,点击【设置】,进入设置页
</div>
<div
class=
"half-content third-content"
:style=
"
{ height: thirdHeight + 'px' }"
>在【开发者接口】模块,找到“审批接口”,点击【设置】,进入设置页
</div>
<img
class=
"step3-img"
src=
"../../../src/assets/guide/02@3x.png"
alt=
""
/>
<img
class=
"step3-img"
src=
"../../../src/assets/guide/02@3x.png"
alt=
""
/>
</div>
</div>
<div
class=
"half-step m-l-md"
>
<div
class=
"half-step m-l-md"
>
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
</div>
</div>
<div
class=
"half-step m-l-md"
>
<div
class=
"half-step m-l-md"
>
<div
class=
"half-title"
>
应用代开发模式:
</div>
<div
class=
"half-title"
>
应用代开发模式:
</div>
<div
class=
"half-content five-content"
>
需进入模板的配置页,在浏览器链接中,复制如图位置的字符,即可获取审批 模板的ID
</div>
<div
class=
"half-content five-content"
:style=
"
{ height: fiveHeight + 'px' }"
>需进入模板的配置页,在浏览器链接中,复制如图位置的字符,即可获取审批 模板的ID
</div>
<img
class=
"step5-img"
src=
"../../../src/assets/guide/09@3x.png"
alt=
""
/>
<img
class=
"step5-img"
src=
"../../../src/assets/guide/09@3x.png"
alt=
""
/>
</div>
</div>
</div>
</div>
...
@@ -102,47 +102,19 @@ export default {
...
@@ -102,47 +102,19 @@ export default {
return
{
return
{
lineHeight
:
2200
,
lineHeight
:
2200
,
footerLeft
:
0
,
footerLeft
:
0
,
footerWidth
:
0
,
// footerWidth: 80
0,
// 当屏幕太小导致换行,出现对不齐问题
// 当屏幕太小导致换行,出现对不齐问题
fiveHeight
:
2
0
,
fiveHeight
:
4
0
,
thirdHeight
:
2
0
thirdHeight
:
4
0
}
}
},
},
mounted
()
{
mounted
()
{
// setTimeout(() => {
// this.lineHeight = document.querySelector('.guide-content').clientHeight - 92
// this.resize()
window
.
onresize
=
()
=>
{
// this.resize()
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
thirdHeight
=
document
.
querySelector
(
'.third-content'
).
clientHeight
this
.
fiveHeight
=
document
.
querySelector
(
'.five-content'
).
clientHeight
}
// window.addEventListener('resize', this.resize())
// }, 1000 / 60)
},
beforeDestroy
()
{
// 事件注销
window
.
onresize
=
null
},
},
methods
:
{
methods
:
{
handleCancel
()
{
handleCancel
()
{
this
.
$router
.
push
({
path
:
'/approvalConfig/index'
})
this
.
$router
.
push
({
path
:
'/approvalConfig/index'
})
},
resize
()
{
// this.resetData()
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
thirdHeight
=
document
.
querySelector
(
'.third-content'
).
clientHeight
this
.
fiveHeight
=
document
.
querySelector
(
'.five-content'
).
clientHeight
},
resetData
()
{
this
.
lineHeight
=
2200
this
.
footerLeft
=
0
this
.
footerWidth
=
0
this
.
fiveHeight
=
20
this
.
thirdHeight
=
20
}
}
}
}
}
}
...
...
src/views/baseInfo/index.vue
View file @
78012fb
...
@@ -9,7 +9,8 @@
...
@@ -9,7 +9,8 @@
{{
blocInfo
.
merchantName
}}
{{
blocInfo
.
merchantName
}}
<span
class=
"min_text"
>
(商户号:
{{
blocInfo
.
merchantNo
}}
)
</span>
<span
class=
"min_text"
>
(商户号:
{{
blocInfo
.
merchantNo
}}
)
</span>
</div>
</div>
<el-button
type=
"primary"
:size=
"size"
@
click=
"editInfo"
>
修改企业信息
</el-button>
<GLButton
type=
"primary"
:size=
"size"
@
click=
"editInfo"
fn=
"修改企业信息"
>
修改企业信息
</GLButton>
<!--
<el-button
type=
"primary"
:size=
"size"
@
click=
"editInfo"
>
修改企业信息
</el-button>
-->
</div>
</div>
<div
class=
"sec_title_text dr_top_1"
>
<div
class=
"sec_title_text dr_top_1"
>
...
...
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