Commit 1036d4d8 authored by 李苏's avatar 李苏 💬

调整

parent ab18faf9
......@@ -2,8 +2,11 @@
<DefaultDialog :app='app'>
<div slot="form" style="display: flex;height: 70vh;">
<Xzgw @saveGw='saveGw' v-if="showDialog" :app='this' />
<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">
<BasePage :toolButtonConfig="{
showExcel:false,
showPrint:false,
showField:true
}" :changeQueryParams='changeQueryParams' fePage ref="basePage" :power='power' class="min_full" style="height: 100%;" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
......
......@@ -65,7 +65,7 @@
</el-row>
<!-- 表格-->
<div class="tablePagers">
<TablePager :operateButtons='false' @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem' @getRow='getRow' >
<TablePager :changeQueryParams='changeQueryParams' :operateButtons='false' @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem' @getRow='getRow' >
</TablePager>
</div>
</div>
......@@ -227,6 +227,14 @@
}
},
methods: {
changeQueryParams(queryParams){
let str=queryParams.rqInfos
let trimmedStr = str.replace(/\s/g, ''); // 使用正则表达式去除空格
trimmedStr=trimmedStr.replace(/,/s, ',')
let arr = trimmedStr.split(",");
queryParams.rqInfos=arr
console.log(queryParams.rqInfos)
},
ckxq(){
if (this.singleItem && this.singleItem.id){
this.DialogWidth='70vw'
......
<template>
<BasePage addRename='装包' :power='power' @getRow='getRow' class="min_full" style="height: 100%;" :config="config">
<BasePage :toolButtonConfig="{
showExcel:false,
showPrint:false,
showField:true
}" addRename='装包' :power='power' @getRow='getRow' class="min_full" style="height: 100%;" :config="config">
<template #dialog="ctx">
<!-- 嵌入默认页面额外弹框的插槽 ctx.pagePage来操作默认页面 -->
<!-- <zb :app='ctx.basePage' v-if="ctx.basePage.showDialog&&ctx.basePage.DialogTitle=='装包'" /> -->
......
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