|
@@ -388,7 +388,7 @@
|
|
</template>
|
|
</template>
|
|
|
|
|
|
<script>
|
|
<script>
|
|
-import { listMeeting, getMeeting, delMeeting, addMeeting, updateMeeting, listChapter, listCode } from "@/api/rc/meeting";
|
|
|
|
|
|
+import { listMeeting, getMeeting, delMeeting, addMeeting, updateMeeting, listChapter, listCode, getRecentAudit } from "@/api/rc/meeting";
|
|
import { listDept } from "@/api/system/dept";
|
|
import { listDept } from "@/api/system/dept";
|
|
import { listAllAudit } from "@/api/rc/audit";
|
|
import { listAllAudit } from "@/api/rc/audit";
|
|
import { listAllUser } from "@/api/system/user";
|
|
import { listAllUser } from "@/api/system/user";
|
|
@@ -481,16 +481,27 @@ export default {
|
|
auditId: [{required: true, message: "涉及审计不可为空", trigger: "blur"}],
|
|
auditId: [{required: true, message: "涉及审计不可为空", trigger: "blur"}],
|
|
year: [{required: true, message: "年份不可为空", trigger: "blur"}],
|
|
year: [{required: true, message: "年份不可为空", trigger: "blur"}],
|
|
},
|
|
},
|
|
|
|
+ recentAudit: null,
|
|
};
|
|
};
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
- this.getList();
|
|
|
|
|
|
+ this.getRecentAudit();
|
|
|
|
+ this.getAuditList();
|
|
this.getDeptList();
|
|
this.getDeptList();
|
|
this.getUserList();
|
|
this.getUserList();
|
|
- this.getAuditList();
|
|
|
|
|
|
+ // this.getList();
|
|
// this.getChapterList();
|
|
// this.getChapterList();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ getRecentAudit() {
|
|
|
|
+ getRecentAudit().then(response => {
|
|
|
|
+ this.queryParams.auditId = response.data.id;
|
|
|
|
+ this.form.auditId = response.data.id;
|
|
|
|
+ this.recentAudit = response.data;
|
|
|
|
+ this.getList();
|
|
|
|
+ this.handleAuditChange();
|
|
|
|
+ });
|
|
|
|
+ },
|
|
/** 开项按钮操作 */
|
|
/** 开项按钮操作 */
|
|
handleOpenitem(row) {
|
|
handleOpenitem(row) {
|
|
this.resetOpenitem();
|
|
this.resetOpenitem();
|
|
@@ -691,7 +702,8 @@ export default {
|
|
questionnaireId: null,
|
|
questionnaireId: null,
|
|
personInCharge: null,
|
|
personInCharge: null,
|
|
remarks: null,
|
|
remarks: null,
|
|
- deptId: null
|
|
|
|
|
|
+ deptId: null,
|
|
|
|
+ auditId: this.recentAudit.id,
|
|
};
|
|
};
|
|
this.resetForm("form");
|
|
this.resetForm("form");
|
|
},
|
|
},
|