From 1db11a6efecf47c56f5e14108876f467b4f9de9b Mon Sep 17 00:00:00 2001 From: fz Date: Wed, 11 Oct 2023 20:20:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=BA=E6=9E=84=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/caseManagement/caseList.vue | 389 +++++++------------------- 1 file changed, 96 insertions(+), 293 deletions(-) diff --git a/src/views/caseManagement/caseList.vue b/src/views/caseManagement/caseList.vue index 9ae7bd7..9efd414 100644 --- a/src/views/caseManagement/caseList.vue +++ b/src/views/caseManagement/caseList.vue @@ -1,41 +1,22 @@ - - - - + + + + - + - + @@ -388,6 +175,7 @@ import { submitCaseApply, selectCaseApply, } from "@/api/caseAccess/caseEntry"; +import { listDept } from "@/api/system/dept"; import { document, caseLogRecordList } from "@/api/caseManagement/caseManagement"; export default { @@ -451,11 +239,13 @@ export default { caseAttachList: [], //案件质证资料 showcaseLog: false, //案件日志弹框显示 flagLoading: true, //案件日志弹框loading - caselogDataArr: [] + caselogDataArr: [], + options:[]//机构数据 }; }, created() { this.getcaseApply(this.queryParams); + this.getInstitution() }, methods: { cancel() { @@ -464,6 +254,20 @@ export default { cancelBatch() { this.openbatch = false; }, + // 机构发生变化 + changeDept(data){ + this.queryParams.nameId = data[0] + }, + // 获取机构数据 + getInstitution(){ + listDept().then(res=>{ + res.data.forEach(item=>{ + item.value = item.deptId; + item.label = item.deptName + }) + this.options = this.handleTree(res.data, "deptId"); + }) + }, /** 查询列表 */ getcaseApply(val) { this.loading = true; @@ -580,7 +384,7 @@ export default { this.getcaseApply(this.queryParams); this.$modal.msgSuccess("立案申请成功"); }) - .catch(() => {}); + .catch(() => { }); }, // 立案审查 filingreviewRow(row) { @@ -681,7 +485,7 @@ export default { this.$modal.msgSuccess("裁决书生成成功"); } }) - .catch(() => {}); + .catch(() => { }); }, // 归档 fileRow(row) { @@ -724,13 +528,12 @@ export default { this.getcaseApply(this.queryParams); this.$modal.msgSuccess("删除成功"); }) - .catch(() => {}); + .catch(() => { }); }, }, }; -- 2.54.0