Commit ea93eadd by wangyanjiao

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs…

Merge branch 'development-202206' of http://114.115.138.98:8900/fukai/vue-gjjs into development-202206
parents e7823fcb 1eaab33e
...@@ -375,6 +375,10 @@ export default { ...@@ -375,6 +375,10 @@ export default {
} }
}, },
async handleReset(formName) {
this.$refs[formName].resetFields();
},
async handleSearch() { async handleSearch() {
this.stmData.data = []; this.stmData.data = [];
let opndatfrom = this.model.infcon.opndatfrom; let opndatfrom = this.model.infcon.opndatfrom;
......
<template> <template>
<div class="eibs-tab"> <div class="eibs-tab">
<c-list-search @form-reset="handleReset" @form-search="handleSearch"> <c-list-search @form-reset="handleReset('paramsForm')" @form-search="handleSearch">
<!-- 持续展示区 --> <!-- 持续展示区 -->
<template v-slot="searchSlot"> <template v-slot="searchSlot">
<el-form <el-form
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
label-position="left" label-position="left"
label-width="110px" label-width="110px"
size="small" size="small"
:model="model"
> >
<c-row> <c-row>
<c-col :span="24"> <c-col :span="24">
...@@ -841,12 +842,12 @@ export default { ...@@ -841,12 +842,12 @@ export default {
toGetopn() { toGetopn() {
this.$router.history.push("/business/getopn"); this.$router.history.push("/business/getopn");
}, },
handleReset: function () { // handleReset: function () {
this.model = { // this.model = {
instNo: "", // instNo: "",
instName: "", // instName: "",
}; // };
}, // },
}, },
created: function () {}, created: function () {},
watch: { watch: {
......
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