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