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

自定义queryParams

parent f319bf29
......@@ -2,7 +2,7 @@
<DefaultDialog :app='app'>
<div slot="form" style="display: flex;height: 70vh;">
<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">
<template #dialog="ctx">
......@@ -170,6 +170,14 @@
type: 'input',
value: ''
},
],[
{
label: '容器信息',
prop: 'rqInfos',
span: 24,
type: 'input',
value: ''
},
]
],
/* 默认启停用 */
......@@ -181,6 +189,13 @@
}
},
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){
let list=this.$refs.basePage.$refs.TablePager.selectedList.map(item=>{
let ml={
......
......@@ -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