Browse Source

修改

dev_kxc
xzt 1 year ago
parent
commit
51ccb1b846
  1. 2
      jwtech-admin-page/src/views/evaluationEarlyWarning/supervisionInspection/regulatoryInspection/editPart.vue
  2. 10
      jwtech-admin-page/src/views/evaluationEarlyWarning/supervisionInspection/regulatoryInspection/responsibleUnit.vue

2
jwtech-admin-page/src/views/evaluationEarlyWarning/supervisionInspection/regulatoryInspection/editPart.vue

@ -187,6 +187,7 @@
v-if="open"
:isAdd="isAdd"
:inspectionId="inspectionId"
:rectificationId="form.id"
:proNo="proNo"
:proCode="proCode"
/>
@ -279,6 +280,7 @@ export default {
/** 查询整改通知书列表 */
getList() {
this.loading = true;
this.queryParams.data.inspectionId = this.inspectionId;
listRectification(this.queryParams).then((response) => {
this.rectificationList = response.records;
this.total = response.total;

10
jwtech-admin-page/src/views/evaluationEarlyWarning/supervisionInspection/regulatoryInspection/responsibleUnit.vue

@ -71,7 +71,7 @@
min-width="120"
/>
<el-table-column
label="附件"
label="整改相关附件"
align="center"
prop="attachment"
min-width="120"
@ -235,7 +235,7 @@ import { getFileStream } from "@/api/system/upload";
export default {
name: "Zrdw",
props: ["inspectionId", "proNo", "proCode", "isAdd"],
props: ["inspectionId", "rectificationId", "proNo", "proCode", "isAdd"],
data() {
return {
//
@ -265,6 +265,7 @@ export default {
ids: null,
data: {
inspectionId: null,
rectificationId: null,
unitId: null,
rectificationSituation: null,
attachment: null,
@ -328,6 +329,8 @@ export default {
/** 查询责任单位列表 */
getList() {
this.loading = true;
this.queryParams.data.inspectionId = this.inspectionId;
this.queryParams.data.rectificationId = this.rectificationId;
listZrdw(this.queryParams).then((response) => {
this.zrdwList = response.records;
this.total = response.total;
@ -355,6 +358,7 @@ export default {
this.form = {
id: null,
inspectionId: null,
rectificationId: null,
unitId: null,
rectificationSituation: null,
attachment: null,
@ -375,6 +379,7 @@ export default {
data: {
id: null,
inspectionId: null,
rectificationId: null,
unitId: null,
rectificationSituation: null,
attachment: null,
@ -445,6 +450,7 @@ export default {
});
} else {
this.form.inspectionId = this.inspectionId;
this.form.rectificationId = this.rectificationId;
addZrdw(this.form).then((response) => {
if (response.code === 200) {
this.msgSuccess("新增成功");

Loading…
Cancel
Save