Commit e02b070f by 胡悦

修改搜索

1 parent 51246fe1
{ {
"name": "blog", "name": "authorize",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
...@@ -44,4 +44,4 @@ ...@@ -44,4 +44,4 @@
"> 1%", "> 1%",
"last 2 versions" "last 2 versions"
] ]
} }
\ No newline at end of file \ No newline at end of file
...@@ -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)
......
<!-- <!--
* @Author: huyue * @Author: huyue
* @Date: 2022-02-11 10:20:32 * @Date: 2022-02-11 10:20:32
* @LastEditTime: 2022-02-18 14:22:19 * @LastEditTime: 2022-02-18 15: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: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!