Commit c14ef55e authored by 李苏's avatar 李苏 💬

自定义queryParams

parent f319bf29
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<DefaultDialog :app='app'> <DefaultDialog :app='app'>
<div slot="form" style="display: flex;height: 70vh;"> <div slot="form" style="display: flex;height: 70vh;">
<Xzgw @saveGw='saveGw' v-if="showDialog" :app='this' /> <Xzgw @saveGw='saveGw' v-if="showDialog" :app='this' />
<BasePage fePage ref="basePage" :power='power' class="min_full" style="height: 100%;" :config="config"> ref="basePage" <BasePage :changeQueryParams='changeQueryParams' fePage ref="basePage" :power='power' class="min_full" style="height: 100%;" :config="config"> ref="basePage"
:power='power' class="min_full" :config="config"> :power='power' class="min_full" :config="config">
<template #dialog="ctx"> <template #dialog="ctx">
...@@ -170,6 +170,14 @@ ...@@ -170,6 +170,14 @@
type: 'input', type: 'input',
value: '' value: ''
}, },
],[
{
label: '容器信息',
prop: 'rqInfos',
span: 24,
type: 'input',
value: ''
},
] ]
], ],
/* 默认启停用 */ /* 默认启停用 */
...@@ -181,6 +189,13 @@ ...@@ -181,6 +189,13 @@
} }
}, },
methods: { methods: {
changeQueryParams(queryParams){
let str=queryParams.rqInfos
let trimmedStr = str.replace(/\s/g, ''); // 使用正则表达式去除空格
let arr = trimmedStr.split(",");
queryParams.rqInfos=arr
console.log(queryParams.rqInfos)
},
saveGw(form){ saveGw(form){
let list=this.$refs.basePage.$refs.TablePager.selectedList.map(item=>{ let list=this.$refs.basePage.$refs.TablePager.selectedList.map(item=>{
let ml={ let ml={
......
...@@ -177,6 +177,14 @@ ...@@ -177,6 +177,14 @@
} }
}, },
],[
{
label: '创建人',
prop: 'cjr',
span: 8,
type: 'input',
value: ''
},
] ]
], ],
/* 默认启停用 */ /* 默认启停用 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment