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 6409e590
authored
Jul 11, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v2.1.0' into 'develop'
V2.1.0 See merge request
!1
2 parents
ce293862
f7ec0138
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
127 additions
and
159 deletions
package-lock.json
package.json
src/App.vue
src/assets/css/public.scss
src/config/index.js
src/setup/qiankun.js
src/views/appConfig/index.vue
src/views/appConfig/viewConfig.vue
package-lock.json
View file @
6409e59
{
"name"
:
"
blog
"
,
"name"
:
"
authorize
"
,
"version"
:
"0.1.0"
,
"lockfileVersion"
:
1
,
"requires"
:
true
,
...
...
@@ -3085,6 +3085,16 @@
"integrity"
:
"sha512-9RoKo841j1GQFSJz/nCXOj0sD7tHBtlowjYlrqIUS812x9/emfBLBt6IyMz1zIaYc/eRL8Cs6HPUVi2Hzq4sIg=="
,
"dev"
:
true
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"cliui"
:
{
"version"
:
"6.0.0"
,
"resolved"
:
"https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz"
,
...
...
@@ -3111,12 +3121,24 @@
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
},
"emojis-list"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz"
,
"integrity"
:
"sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q=="
,
"dev"
:
true
},
"fast-deep-equal"
:
{
"version"
:
"3.1.3"
,
"resolved"
:
"https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz"
,
"integrity"
:
"sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
,
"dev"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
},
"is-fullwidth-code-point"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz"
,
...
...
@@ -3210,6 +3232,15 @@
"strip-ansi"
:
"^6.0.1"
}
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
},
"terser-webpack-plugin"
:
{
"version"
:
"2.3.8"
,
"resolved"
:
"https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-2.3.8.tgz"
,
...
...
@@ -3258,6 +3289,30 @@
}
}
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.8.3"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz"
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"dev"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
},
"dependencies"
:
{
"loader-utils"
:
{
"version"
:
"2.0.2"
,
"resolved"
:
"https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz"
,
"integrity"
:
"sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A=="
,
"dev"
:
true
,
"requires"
:
{
"big.js"
:
"^5.2.2"
,
"emojis-list"
:
"^3.0.0"
,
"json5"
:
"^2.1.2"
}
}
}
},
"wrap-ansi"
:
{
"version"
:
"6.2.0"
,
"resolved"
:
"https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz"
,
...
...
@@ -6851,13 +6906,13 @@
}
},
"es5-ext"
:
{
"version"
:
"0.10.
53
"
,
"resolved"
:
"https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.
53
.tgz"
,
"integrity"
:
"sha512-
Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q
=="
,
"version"
:
"0.10.
60
"
,
"resolved"
:
"https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.
60
.tgz"
,
"integrity"
:
"sha512-
jpKNXIt60htYG59/9FGf2PYT3pwMpnEbNKysU+k/4FGwyGtMotOvcZOuW+EmXXYASRqYSXQfGL5cVIthOTgbkg
=="
,
"requires"
:
{
"es6-iterator"
:
"
~
2.0.3"
,
"es6-symbol"
:
"
~
3.1.3"
,
"next-tick"
:
"
~1.0
.0"
"es6-iterator"
:
"
^
2.0.3"
,
"es6-symbol"
:
"
^
3.1.3"
,
"next-tick"
:
"
^1.1
.0"
}
},
"es6-iterator"
:
{
...
...
@@ -8170,9 +8225,9 @@
}
},
"glsx-components"
:
{
"version"
:
"1.
3.7
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-components/-/glsx-components-1.
3.7
.tgz"
,
"integrity"
:
"sha512-
kSzNVShRlR/qd0XOvB7QrZIRNMF7oZCGYxKtFyhcWgzr2ICWiA3CnTDjxPGslJX8F5oljwowYxL9U8ljzeeESQ
=="
,
"version"
:
"1.
4.0
"
,
"resolved"
:
"https://registry.npmjs.org/glsx-components/-/glsx-components-1.
4.0
.tgz"
,
"integrity"
:
"sha512-
S0gdp6VLc3Hi5T1vOVEscJCKr9uvrXFfH3hAzbBV0QdGL4iD9kEC8QRG1HDo7IuyEK+Byx4GddsPyQ2fFiHbTg
=="
,
"requires"
:
{
"core-js"
:
"^3.6.5"
,
"element-ui"
:
"^2.15.6"
,
...
...
@@ -8182,9 +8237,9 @@
},
"dependencies"
:
{
"element-ui"
:
{
"version"
:
"2.15.
6
"
,
"resolved"
:
"https://registry.npmjs.org/element-ui/-/element-ui-2.15.
6
.tgz"
,
"integrity"
:
"sha512-
rcYXEKd/j2G0AgficAOk1Zd1AsnHRkhmrK4yLHmNOiimU2JfsywgfKUjMoFuT6pQx0luhovj8lFjpE4Fnt58Iw
=="
,
"version"
:
"2.15.
8
"
,
"resolved"
:
"https://registry.npmjs.org/element-ui/-/element-ui-2.15.
8
.tgz"
,
"integrity"
:
"sha512-
N54zxosRFqpYax3APY3GeRmtOZwIls6Z756WM0kdPZ5Q92PIeKHnZgF1StlamIg9bLxP1k+qdhTZvIeQlim09A
=="
,
"requires"
:
{
"async-validator"
:
"~1.8.1"
,
"babel-helper-vue-jsx-merge-props"
:
"^2.0.0"
,
...
...
@@ -10491,9 +10546,9 @@
"dev"
:
true
},
"next-tick"
:
{
"version"
:
"1.
0
.0"
,
"resolved"
:
"https://registry.npmjs.org/next-tick/-/next-tick-1.
0
.0.tgz"
,
"integrity"
:
"sha
1-yobR/ogoFpsBICCOPchCS524NCw
="
"version"
:
"1.
1
.0"
,
"resolved"
:
"https://registry.npmjs.org/next-tick/-/next-tick-1.
1
.0.tgz"
,
"integrity"
:
"sha
512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ=
="
},
"nice-try"
:
{
"version"
:
"1.0.5"
,
...
...
@@ -15540,85 +15595,6 @@
}
}
},
"vue-loader-v16"
:
{
"version"
:
"npm:vue-loader@16.8.3"
,
"resolved"
:
"https://registry.npmjs.org/vue-loader/-/vue-loader-16.8.3.tgz"
,
"integrity"
:
"sha512-7vKN45IxsKxe5GcVCbc2qFU5aWzyiLrYJyUuMz4BQLKctCj/fmCa0w6fGiiQ2cLFetNcek1ppGJQDCup0c1hpA=="
,
"dev"
:
true
,
"requires"
:
{
"chalk"
:
"^4.1.0"
,
"hash-sum"
:
"^2.0.0"
,
"loader-utils"
:
"^2.0.0"
},
"dependencies"
:
{
"ansi-styles"
:
{
"version"
:
"4.3.0"
,
"resolved"
:
"https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz"
,
"integrity"
:
"sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg=="
,
"dev"
:
true
,
"requires"
:
{
"color-convert"
:
"^2.0.1"
}
},
"chalk"
:
{
"version"
:
"4.1.2"
,
"resolved"
:
"https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz"
,
"integrity"
:
"sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="
,
"dev"
:
true
,
"requires"
:
{
"ansi-styles"
:
"^4.1.0"
,
"supports-color"
:
"^7.1.0"
}
},
"color-convert"
:
{
"version"
:
"2.0.1"
,
"resolved"
:
"https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz"
,
"integrity"
:
"sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ=="
,
"dev"
:
true
,
"requires"
:
{
"color-name"
:
"~1.1.4"
}
},
"color-name"
:
{
"version"
:
"1.1.4"
,
"resolved"
:
"https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz"
,
"integrity"
:
"sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA=="
,
"dev"
:
true
},
"emojis-list"
:
{
"version"
:
"3.0.0"
,
"resolved"
:
"https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz"
,
"integrity"
:
"sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q=="
,
"dev"
:
true
},
"has-flag"
:
{
"version"
:
"4.0.0"
,
"resolved"
:
"https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz"
,
"integrity"
:
"sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ=="
,
"dev"
:
true
},
"loader-utils"
:
{
"version"
:
"2.0.2"
,
"resolved"
:
"https://registry.npmjs.org/loader-utils/-/loader-utils-2.0.2.tgz"
,
"integrity"
:
"sha512-TM57VeHptv569d/GKh6TAYdzKblwDNiumOdkFnejjD0XwTH87K90w3O7AiJRqdQoXygvi1VQTJTLGhJl7WqA7A=="
,
"dev"
:
true
,
"requires"
:
{
"big.js"
:
"^5.2.2"
,
"emojis-list"
:
"^3.0.0"
,
"json5"
:
"^2.1.2"
}
},
"supports-color"
:
{
"version"
:
"7.2.0"
,
"resolved"
:
"https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz"
,
"integrity"
:
"sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="
,
"dev"
:
true
,
"requires"
:
{
"has-flag"
:
"^4.0.0"
}
}
}
},
"vue-router"
:
{
"version"
:
"3.1.3"
,
"resolved"
:
"https://registry.npmjs.org/vue-router/-/vue-router-3.1.3.tgz"
,
...
...
package.json
View file @
6409e59
...
...
@@ -13,7 +13,7 @@
"el-tree-transfer"
:
"^2.2.6"
,
"element-ui"
:
"^2.4.5"
,
"glsx-common"
:
"^1.4.6"
,
"glsx-components"
:
"^1.
3.7
"
,
"glsx-components"
:
"^1.
4.2
"
,
"lodash"
:
"^4.17.21"
,
"vue"
:
"^2.6.10"
,
"vue-amap"
:
"^0.5.10"
,
...
...
@@ -44,4 +44,4 @@
"> 1%"
,
"last 2 versions"
]
}
\ No newline at end of file
}
src/App.vue
View file @
6409e59
...
...
@@ -56,5 +56,16 @@ export default {
padding
:
20px
0
;
line-height
:
36px
;
}
#app
{
background
:
#f4f5fa
;
//
padding
:
0px
20px
20px
40px
;
position
:
absolute
;
box-sizing
:
border-box
;
width
:
100%
;
top
:
0px
;
left
:
0px
;
overflow-y
:
auto
;
height
:
100%
;
}
</
style
>
>
src/assets/css/public.scss
View file @
6409e59
...
...
@@ -6,6 +6,7 @@ $base-color: '#5850FF';
color
:
#333333
;
line-height
:
20px
;
letter-spacing
:
1px
;
img
{
width
:
14px
;
height
:
auto
;
...
...
@@ -14,15 +15,14 @@ $base-color: '#5850FF';
}
}
.footer-panel
{
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
position
:
fixed
;
width
:
100%
;
bottom
:
0px
;
height
:
64px
;
background
:
#ffffff
;
z-index
:
999
;
box-shadow
:
0px
-1px
1px
0px
rgba
(
88
,
80
,
255
,
0
.1
);
::-webkit-scrollbar
{
/*滚动条整体样式*/
width
:
6px
;
height
:
4px
;
}
::-webkit-scrollbar-thumb
{
/*滚动条里面小方块*/
border-radius
:
4px
;
background-color
:
rgba
(
144
,
147
,
153
,
.3
);
}
\ No newline at end of file
src/config/index.js
View file @
6409e59
...
...
@@ -3,8 +3,8 @@
* @version:
* @Author: limin
* @Date: 2021-06-07 14:12:32
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2022-0
2-23 17:13:15
* @LastEditors:
huyue
* @LastEditTime: 2022-0
4-25 11:31:28
*/
// 根据环境引入不同配置 process.env.VUE_APP_ENV
// let request = require('@/http/request.js')
...
...
@@ -18,8 +18,8 @@ export const fetchConfig = function (isEnv = true) {
// return Promise.resolve(cfg)
// }
//return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
return
new
Http
().
get
(
'https://oss-config.test.glsx.com.cn/mock/6215f98e60f415276f6dfe56/authorize/config'
)
// return new Http().get('https://oss-config.dev.glsx.com.cn/mock/6215f98e60f415276f6dfe56/authorize/config')
}
export
const
config
=
{
install
(
vue
,
cfg
)
{
...
...
src/setup/qiankun.js
View file @
6409e59
/*
* @Author: your name
* @Date: 2022-02-10 19:00:41
* @LastEditTime: 2022-0
2-16 14:50:24
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2022-0
4-14 14:04:27
* @LastEditors:
huyue
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \scrm-micro-pay\src\setup\qiankun.js
*/
import
Vue
from
'vue'
import
{
message
}
from
'@/plugins/element.js'
import
{
fetchConfig
}
from
'@/config'
import
{
GLButton
,
GLTable
}
from
'glsx-components'
//权限按钮 (根据权限动态创建)
import
{
GLButton
,
GLTable
,
GLCombiForm
,
GLFooter
}
from
'glsx-components'
//权限按钮 (根据权限动态创建)
import
{
getRoutes
}
from
'@/router'
import
ElementUI
from
'element-ui'
import
'glsx-components/dist/glsx-components.css'
...
...
@@ -20,6 +20,8 @@ let router = null
let
instance
=
null
Vue
.
use
(
ElementUI
)
Vue
.
use
(
GLTable
)
Vue
.
use
(
GLCombiForm
)
Vue
.
use
(
GLFooter
)
export
async
function
bootstrap
({
history
,
common
,
messenger
,
globalState
,
routerBase
})
{
const
{
response
,
request
,
sign
,
sign_common
,
secret
,
request_common
}
=
await
fetchConfig
(
true
)
//globalState.configSwitch
Vue
.
prototype
.
$history
=
history
...
...
src/views/appConfig/index.vue
View file @
6409e59
<!--
* @Author: huyue
* @Date: 2022-02-11 10:20:32
* @LastEditTime: 2022-0
2-23 16:04:09
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2022-0
4-14 13:56:34
* @LastEditors:
huyue
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \scrm-micro-pay\src\views\account\index.vue
-->
...
...
@@ -15,18 +15,11 @@
</el-popover>
</div>
<div
class=
"table-box"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm.condition"
:formData=
"searchFormData"
></glsx-combi-form>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm.condition"
:formData=
"searchFormData1"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"default"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
</span>
</glsx-combi-form>
<!-- :getListApi="getListApi" -->
<GLCombiForm
:formObj=
"searchForm.condition"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLTable
ref=
"accountTable"
:noDataImg=
"url"
:getListApi=
"getListApi"
:searchForm=
"searchForm"
:tableParams=
"tableParams"
:pageConf=
"pageConf"
@
setTableFinishFun=
"setTableFinishFun"
>
<template
slot=
"auth-button"
slot-scope=
"scope"
:data=
"scope.scope"
>
<
!--
<el-button
type=
"text"
@
click=
"viewConfig(scope.scope)"
>
查看配置
</el-button>
--
>
<
GLButton
type=
"text"
@
click=
"viewConfig(scope.scope)"
fn=
"查看配置"
>
查看配置
</GLButton
>
<
el-button
type=
"text"
@
click=
"viewConfig(scope.scope)"
>
查看配置
</el-button
>
<
!--
<GLButton
type=
"text"
@
click=
"viewConfig(scope.scope)"
fn=
"查看配置"
>
查看配置
</GLButton>
--
>
</
template
>
</GLTable>
</div>
...
...
@@ -65,7 +58,6 @@ export default {
],
optionId
:
'value'
,
optionLabel
:
'label'
,
labelWidth
:
70
,
isClear
:
true
},
{
...
...
@@ -77,13 +69,14 @@ export default {
{
label
:
'商户号'
,
name
:
'merchantId'
,
type
:
'typeNumber'
,
labelWidth
:
98
,
maxlength
:
11
,
isClear
:
true
}
],
searchFormData1
:
[
type
:
'input'
,
isClear
:
true
,
listeners
:
{
input
:
value
=>
{
this
.
searchForm
.
condition
.
merchantId
=
value
.
replace
(
/
[^\d]
/g
,
''
)
}
}
},
{
label
:
'关联的企微'
,
name
:
'corpAlias'
,
...
...
@@ -97,28 +90,22 @@ export default {
tableColumns
:
[
{
label
:
'商户号'
,
prop
:
'merchantId'
,
line
:
2
prop
:
'merchantId'
},
{
label
:
'商户名称'
,
prop
:
'merchantName'
,
line
:
2
,
align
:
'left'
prop
:
'merchantName'
},
{
label
:
'模式'
,
prop
:
'merchantModel'
,
line
:
2
,
formatter
:
cellValue
=>
{
return
MODEL
[
cellValue
.
merchantModel
]
}
},
{
label
:
'关联的企业微信'
,
prop
:
'corpAlias'
,
line
:
2
,
align
:
'left'
prop
:
'corpAlias'
}
]
},
...
...
@@ -179,7 +166,6 @@ export default {
<
style
lang=
"scss"
scoped
>
.container
{
margin
:
0
20px
20px
;
.table-box
{
margin
:
20px
0
;
padding
:
20px
;
...
...
@@ -189,4 +175,7 @@ export default {
float
:
right
;
}
}
/
deep
/
.el-table
th
>
.cell
{
padding
:
0
16px
;
}
</
style
>
src/views/appConfig/viewConfig.vue
View file @
6409e59
<!--
* @Author: your name
* @Date: 2022-02-16 18:11:11
* @LastEditTime: 2022-0
2-21 17:35:49
* @LastEditors:
Please set LastEditors
* @LastEditTime: 2022-0
4-15 14:24:00
* @LastEditors:
huyue
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \scrm-micro-wechat\src\views\appConfig\viewConfit.vue
-->
...
...
@@ -87,15 +87,9 @@
</div>
-->
</div>
</div>
<div
class=
"footer-panel"
:style=
"
{
left: footerLeft + 'px',
width: footerWidth + 'px'
}"
>
<GLFooter>
<el-button
type=
"primary"
@
click=
"handleCancel"
>
返回
</el-button>
</
div
>
</
GLFooter
>
</div>
</
template
>
...
...
@@ -113,10 +107,6 @@ export default {
created
()
{
this
.
getConfig
(
this
.
appId
)
},
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
},
methods
:
{
async
getConfig
(
appId
)
{
let
configData
=
await
this
.
$apis
.
appConfig
.
getAgentInfo
({
appId
})
...
...
@@ -141,7 +131,7 @@ export default {
<
style
lang=
"scss"
scoped
>
.config
{
&-container
{
margin
:
0
20px
8
4px
;
margin
-bottom
:
6
4px
;
}
&
-content
{
margin-top
:
20px
;
...
...
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