|
|
@@ -46,7 +46,7 @@
|
|
|
:pk-value="pkValue"
|
|
|
:form-key="formKey"
|
|
|
:add-data-cont="addDataCont"
|
|
|
- @close="(visible) => (dialogFormVisible = visible)"
|
|
|
+ @close="closeHandle"
|
|
|
/>
|
|
|
|
|
|
<el-dialog
|
|
|
@@ -227,6 +227,12 @@ export default {
|
|
|
this.selection = true
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 关闭编辑表单
|
|
|
+ closeHandle (v) {
|
|
|
+ this.dialogFormVisible = v
|
|
|
+ this.getSearcFormData()
|
|
|
+ this.loadData()
|
|
|
+ },
|
|
|
/* 获取配置报表数据*/
|
|
|
getConfig () {
|
|
|
curdPost(
|
|
|
@@ -354,7 +360,7 @@ export default {
|
|
|
const where = idwhere
|
|
|
? this.guanJian
|
|
|
? idwhere +
|
|
|
- ` and (biao_dan_ming_che like '%${this.guanJian}%' or shi_wu_shuo_ming_ like '%${this.guanJian}%' or fen_lei_ like '%${this.guanJian}%'))`
|
|
|
+ ` and (biao_dan_ming_che like '%${this.guanJian}%' or shi_wu_shuo_ming_ like '%${this.guanJian}%' or fen_lei_ like '%${this.guanJian}%')`
|
|
|
: idwhere
|
|
|
: this.guanJian
|
|
|
? ` where biao_dan_ming_che like '%${this.guanJian}%' or shi_wu_shuo_ming_ like '%${this.guanJian}%' or fen_lei_ like '%${this.guanJian}%'`
|