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 e02b070f
authored
Feb 18, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改搜索
1 parent
51246fe1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
12 deletions
package.json
src/setup/single.js
src/views/appConfig/index.vue
package.json
View file @
e02b070
{
{
"name"
:
"
blog
"
,
"name"
:
"
authorize
"
,
"version"
:
"0.1.0"
,
"version"
:
"0.1.0"
,
"private"
:
true
,
"private"
:
true
,
"scripts"
:
{
"scripts"
:
{
...
...
src/setup/single.js
View file @
e02b070
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: limin
* @Author: limin
* @Date: 2021-09-23 19:02:23
* @Date: 2021-09-23 19:02:23
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @LastEditTime: 2022-02-18
09:59:29
* @LastEditTime: 2022-02-18
15:43:52
* @FilePath: \scrm\scrm-sub-blog\src\setup\single.js
* @FilePath: \scrm\scrm-sub-blog\src\setup\single.js
*/
*/
import
Vue
from
'vue'
import
Vue
from
'vue'
...
@@ -24,7 +24,7 @@ export async function start() {
...
@@ -24,7 +24,7 @@ export async function start() {
// .forEach(item => {
// .forEach(item => {
// urlParams[item.split('=')[0]] = item.split('=')[1]
// urlParams[item.split('=')[0]] = item.split('=')[1]
// })
// })
var
token
=
Object
.
keys
(
urlParams
).
includes
(
'sessionId'
)
?
urlParams
.
sessionId
:
'scrm-base-
0e4d8adf-4bd4-47a3-bf3b-f8f1e12b528c
-rop'
var
token
=
Object
.
keys
(
urlParams
).
includes
(
'sessionId'
)
?
urlParams
.
sessionId
:
'scrm-base-
e1a93198-a742-475d-b218-4e1ffda676da
-rop'
Vue
.
prototype
.
$http
=
new
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
}
})
Vue
.
prototype
.
$http
=
new
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
}
})
Vue
.
use
(
GLButton
,
{
permissions
:
[
'1-1-1-1'
,
'2-1-1-1'
,
'3-1-1-1'
]
})
Vue
.
use
(
GLButton
,
{
permissions
:
[
'1-1-1-1'
,
'2-1-1-1'
,
'3-1-1-1'
]
})
render
(
'/child/blog/'
,
routes
)
render
(
'/child/blog/'
,
routes
)
...
...
src/views/appConfig/index.vue
View file @
e02b070
<!--
<!--
* @Author: huyue
* @Author: huyue
* @Date: 2022-02-11 10:20:32
* @Date: 2022-02-11 10:20:32
* @LastEditTime: 2022-02-18 1
4:22:19
* @LastEditTime: 2022-02-18 1
5:50:30
* @LastEditors: Please set LastEditors
* @LastEditors: Please set LastEditors
* @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,8 +15,8 @@
...
@@ -15,8 +15,8 @@
</el-popover>
</el-popover>
</div>
</div>
<div
class=
"table-box"
>
<div
class=
"table-box"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
></glsx-combi-form>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm
.condition
"
:formData=
"searchFormData"
></glsx-combi-form>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData1"
>
<glsx-combi-form
ref=
"showSearch"
:formObj=
"searchForm
.condition
"
:formData=
"searchFormData1"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<span
slot=
"footer"
class=
"footer-btns"
>
<el-button
:size=
"size"
type=
"default"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"default"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
:size=
"size"
type=
"primary"
@
click=
"handleSearch"
>
查询
</el-button>
...
@@ -25,7 +25,8 @@
...
@@ -25,7 +25,8 @@
<!-- :getListApi="getListApi" -->
<!-- :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>
</
template
>
</
template
>
</GLTable>
</GLTable>
</div>
</div>
...
@@ -40,7 +41,9 @@ export default {
...
@@ -40,7 +41,9 @@ export default {
data
()
{
data
()
{
return
{
return
{
url
,
url
,
searchForm
:
{},
searchForm
:
{
condition
:
{}
},
searchFormData
:
[
searchFormData
:
[
{
{
label
:
'模式'
,
label
:
'模式'
,
...
@@ -62,26 +65,30 @@ export default {
...
@@ -62,26 +65,30 @@ export default {
],
],
optionId
:
'value'
,
optionId
:
'value'
,
optionLabel
:
'label'
,
optionLabel
:
'label'
,
labelWidth
:
70
labelWidth
:
70
,
isClear
:
true
},
},
{
{
label
:
'商户名称'
,
label
:
'商户名称'
,
name
:
'merchantName'
,
name
:
'merchantName'
,
type
:
'input'
type
:
'input'
,
isClear
:
true
},
},
{
{
label
:
'商户号'
,
label
:
'商户号'
,
name
:
'merchantId'
,
name
:
'merchantId'
,
type
:
'typeNumber'
,
type
:
'typeNumber'
,
labelWidth
:
98
,
labelWidth
:
98
,
maxlength
:
11
maxlength
:
11
,
isClear
:
true
}
}
],
],
searchFormData1
:
[
searchFormData1
:
[
{
{
label
:
'关联的企微'
,
label
:
'关联的企微'
,
name
:
'corpAlias'
,
name
:
'corpAlias'
,
type
:
'input'
type
:
'input'
,
isClear
:
true
}
}
],
],
tableParams
:
{
tableParams
:
{
...
...
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