Browse Source

fix:修改查询事件

master
123456 3 years ago
parent
commit
7d4b575064
  1. 9
      src/views/modules/plugins/point/icpointnucleicmonitoring.vue
  2. 9
      src/views/modules/plugins/point/icpointvaccinesinoculation.vue

9
src/views/modules/plugins/point/icpointnucleicmonitoring.vue

@ -4,7 +4,7 @@
<el-form
:inline="true"
:model="dataForm"
@keyup.enter.native="getDataList()"
@keyup.enter.native="loadTable()"
>
<el-form-item label="所属组织名称" prop="orgName" label-width="130px">
<el-cascader
@ -36,7 +36,7 @@
<el-button
class="diy-button--search"
size="small"
@click="getDataList()"
@click="loadTable()"
>{{ $t("query") }}</el-button
>
</el-form-item>
@ -208,7 +208,7 @@
>
<add-or-update
ref="addOrUpdate"
@refreshDataList="getDataList"
@refreshDataList="loadTable"
@closeDialog="closeDialog"
:dialogTitle="dialogTitle"
></add-or-update>
@ -276,6 +276,7 @@ export default {
let params = {
limit: this.pageSize,
page: this.pageNo,
...this.dataForm
};
const { data, code, msg } = await requestGet(url, params);
@ -320,7 +321,7 @@ export default {
type: "success",
message: "删除成功",
});
this.getDataList();
this.loadTable();
} else {
this.$message.error(msg);
}

9
src/views/modules/plugins/point/icpointvaccinesinoculation.vue

@ -4,7 +4,7 @@
<el-form
:inline="true"
:model="dataForm"
@keyup.enter.native="getDataList()"
@keyup.enter.native="loadTable()"
>
<el-form-item label="疫苗接种点名称" prop="name">
<el-input
@ -24,7 +24,7 @@
<el-button
class="diy-button--search"
size="small"
@click="getDataList()"
@click="loadTable()"
>{{ $t("query") }}</el-button
>
</el-form-item>
@ -220,7 +220,7 @@
>
<add-or-update
ref="addOrUpdate"
@refreshDataList="getDataList"
@refreshDataList="loadTable"
@closeDialog="closeDialog"
:dialogTitle="dialogTitle"
></add-or-update>
@ -285,6 +285,7 @@ export default {
let params = {
limit: this.pageSize,
page: this.pageNo,
...this.dataForm
};
const { data, code, msg } = await requestGet(url, params);
@ -329,7 +330,7 @@ export default {
type: "success",
message: "删除成功",
});
this.getDataList();
this.loadTable();
} else {
this.$message.error(msg);
}

Loading…
Cancel
Save