From b10e21505ba713f8e25762287ef27ea4f1f05942 Mon Sep 17 00:00:00 2001 From: fz Date: Tue, 24 Oct 2023 16:27:30 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AF=81=E6=8D=AE=E7=9B=AE=E5=BD=95=E7=95=8C?= =?UTF-8?q?=E9=9D=A2,=E6=A1=88=E4=BB=B6=E5=AF=BC=E5=85=A5=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/caseAccess/caseEntry.js | 17 ++- src/api/caseManagement/caseManagement.js | 4 +- src/views/awardManagement/listofAwards.vue | 39 ++++++- src/views/caseManagement/caseList.vue | 82 +++++++++----- .../components/caseentryDialog.vue | 17 +-- .../components/choosetrialmethodDaiog.vue | 9 +- .../components/operateDialog.vue | 97 +++++++++++++++-- .../components/uploadCaseDialog.vue | 103 ++++++++++++++++++ src/views/index.vue | 19 +++- src/views/paymentManagement/paymentList.vue | 22 ++-- 10 files changed, 345 insertions(+), 64 deletions(-) create mode 100644 src/views/caseManagement/components/uploadCaseDialog.vue diff --git a/src/api/caseAccess/caseEntry.js b/src/api/caseAccess/caseEntry.js index 41e1116..682a2f5 100644 --- a/src/api/caseAccess/caseEntry.js +++ b/src/api/caseAccess/caseEntry.js @@ -49,7 +49,14 @@ export function submitCaseApply(data) { data: data }) } - +// 立案审查 +export function submitCaseApplicationCheck(data) { + return request({ + url: "/caseApplication/submitCaseApplicationCheck", + method: "post", + data: data, + }); +} // 下载模板 export function importTemplate(data) { return request({ @@ -58,3 +65,11 @@ export function importTemplate(data) { data: data }) } +// 更新案件锁定状态 +export function updateCaseLockStatus(data) { + return request({ + url: "/caseApplication/updateCaseLockStatus", + method: "post", + data: data, + }); +} diff --git a/src/api/caseManagement/caseManagement.js b/src/api/caseManagement/caseManagement.js index 7b70975..8203ea3 100644 --- a/src/api/caseManagement/caseManagement.js +++ b/src/api/caseManagement/caseManagement.js @@ -1,11 +1,11 @@ import request from "@/utils/request"; // 确定仲裁方式 -export function arbitrateMethod(data, id) { +export function arbitrateMethod(data,id) { return request({ url: "/arbitrate/method", method: "put", - params: data, + params:data, data: id, }); } diff --git a/src/views/awardManagement/listofAwards.vue b/src/views/awardManagement/listofAwards.vue index f41a799..91d63e9 100644 --- a/src/views/awardManagement/listofAwards.vue +++ b/src/views/awardManagement/listofAwards.vue @@ -21,6 +21,12 @@ 重置 + + + 案件批量归档 + + @@ -98,11 +109,12 @@ import { import paymentdetailsDialog from "./components/paymentdetailsDialog.vue"; import mailawardDialog from './components/MailawardDialog.vue'; import expressDeliveryDialog from './components/expressDeliveryDialog.vue'; +import operateDialog from '@/views/caseManagement/components/operateDialog.vue' import { getDicts } from '@/api/system/dict/data.js' export default { name: "paymentList", dicts: ["case_status"], - components: { paymentdetailsDialog, mailawardDialog, expressDeliveryDialog }, + components: { paymentdetailsDialog, mailawardDialog, expressDeliveryDialog,operateDialog }, data() { return { queryParams: { @@ -136,6 +148,10 @@ export default { showDelivery: false, //快递信息弹框 deliveryDataArr: [],//快递信息数据 flagLoading: true, + operateVisable: false, + operateData:{}, + operateStatus:0, + operateTitle:"" }; }, created() { @@ -152,6 +168,25 @@ export default { // this.queryParams.caseStatusList = [10, 11, 12, 13, 14, 15, 16] }, methods: { + cancelOperate() { + this.operateVisable = false; + }, + operateClick(type) { + this.operateVisable = true; + if (type == 0) { + this.operateTitle = '批量提交'; + this.operateStatus = 0; + } else if (type == 1) { + this.operateTitle = '批量删除'; + this.operateStatus = 1; + } else if (type == 2) { + this.operateTitle = '批量立案申请'; + this.operateStatus = 2; + } else if (type == 3) { + this.operateTitle = '批量归档'; + this.operateStatus = 3; + } + }, updataList() { this.getList(this.queryParams); }, @@ -251,7 +286,7 @@ export default { this.$modal.confirm('是否确认立即进行案件扫描?').then( function () { // return adjudicationCaseFile({ id: row.id }) - return adjudicationCaseFile({ ids:[row.id] }) + return adjudicationCaseFile({ ids: [row.id] }) } ).then(() => { this.getList(this.queryParams); diff --git a/src/views/caseManagement/caseList.vue b/src/views/caseManagement/caseList.vue index c59ee22..e200ed5 100644 --- a/src/views/caseManagement/caseList.vue +++ b/src/views/caseManagement/caseList.vue @@ -126,10 +126,13 @@ checkPermi(['caseManagement:list:evidenceUpdate'])" @click="evidenceUpload(scope.row)">证据修改 开庭时间 - 锁定 - 解锁 + 上传证据目录 + - + - + + + + @@ -209,22 +217,24 @@ import payDialog from "./components/payDialog.vue"; import filingreviewDialog from "./components/filingreviewDialog.vue"; import caselogDialog from "./components/caselogDialog.vue"; import viewprocessDialog from "./components/viewprocessDialog.vue"; -import evidenceDialog from './components/evidenceDialog.vue' -import timeDialog from './components/timeDialog.vue' -import operateDialog from './components/operateDialog.vue' +import evidenceDialog from './components/evidenceDialog.vue'; +import timeDialog from './components/timeDialog.vue'; +import operateDialog from './components/operateDialog.vue'; +import uploadCaseDialog from './components/uploadCaseDialog.vue'; import { caseApplicationDetail } from "@/api/pay/pay"; import { caseApply, removeCaseApply, submitCaseApply, selectCaseApply, + updateCaseLockStatus } from "@/api/caseAccess/caseEntry"; import { listDept } from "@/api/system/dept"; import { document, caseLogRecordList, } from "@/api/caseManagement/caseManagement"; -import { getDicts } from '@/api/system/dict/data.js' +import { getDicts } from '@/api/system/dict/data.js'; export default { name: "caseList", // dicts: ["case_status"], @@ -242,7 +252,8 @@ export default { viewprocessDialog, evidenceDialog, timeDialog, - operateDialog + operateDialog, + uploadCaseDialog }, data() { return { @@ -301,16 +312,19 @@ export default { processData: {}, timeVisable: false, timeData: {}, - operateVisable:false, - operateData:{}, - operateTitle:"" + operateVisable: false, + operateData: {}, + operateTitle: "", + operateStatus: 0, + uploadCaseVisable:false, + uploadCaseData:{} }; }, created() { getDicts("case_status").then(res => { this.caseStatus = res.data; let params = this.$route.params.status; - if (params) { + if (params >= 0) { this.queryParams.caseStatus = params; } this.getcaseApply(this.queryParams); @@ -328,18 +342,29 @@ export default { cancelTime() { this.timeVisable = false; }, - cancelOperate(){ + cancelOperate() { this.operateVisable = false; }, + uploadCaseCancel(){ + this.uploadCaseVisable = false; + }, + // 上传证据目录弹窗 + uploadCase(row){ + this.uploadCaseData = row; + this.uploadCaseVisable = true; + }, // 批量操作弹窗 - operateClick(type){ + operateClick(type) { this.operateVisable = true; - if(type == 0){ - this.operateTitle = '批量提交' - }else if(type == 1){ - this.operateTitle = '批量删除' - }else if(type == 2){ - this.operateTitle = '批量立案申请' + if (type == 0) { + this.operateTitle = '批量提交'; + this.operateStatus = 0; + } else if (type == 1) { + this.operateTitle = '批量删除'; + this.operateStatus = 1; + } else if (type == 2) { + this.operateTitle = '批量立案申请'; + this.operateStatus = 2; } }, // 修改开庭时间 @@ -347,15 +372,16 @@ export default { this.timeData = row; this.timeVisable = true; }, + // 锁定案件 lockClick(row) { this.$modal .confirm("是否锁定案件") .then(function () { - // return removeCaseApply({ id: row.id }); + return updateCaseLockStatus({ id: row.id, lockStatus: 1 }); }) .then((res) => { - // this.getcaseApply(this.queryParams); + this.getcaseApply(this.queryParams); this.$modal.msgSuccess("锁定成功"); }) .catch(() => { }); @@ -363,12 +389,12 @@ export default { // 解锁案件 ulockClick(row) { this.$modal - .confirm("是否解锁锁案件") + .confirm("是否解锁案件") .then(function () { - // return removeCaseApply({ id: row.id }); + return updateCaseLockStatus({ id: row.id, lockStatus: 0 }); }) .then((res) => { - // this.getcaseApply(this.queryParams); + this.getcaseApply(this.queryParams); this.$modal.msgSuccess("解锁成功"); }) .catch(() => { }); @@ -513,7 +539,7 @@ export default { .confirm("是否提交立案申请?") .then(function () { // return submitCaseApply({ id: row.id }); - return submitCaseApply({ids: [row.id] }); + return submitCaseApply({ ids: [row.id] }); }) .then(() => { this.getcaseApply(this.queryParams); @@ -662,7 +688,7 @@ export default { .confirm("是否确认删除?") .then(function () { // return removeCaseApply({ id: row.id }); - return removeCaseApply({ids:[row.id]}); + return removeCaseApply({ ids: [row.id] }); }) .then((res) => { this.getcaseApply(this.queryParams); diff --git a/src/views/caseManagement/components/caseentryDialog.vue b/src/views/caseManagement/components/caseentryDialog.vue index fb50bc0..8299880 100644 --- a/src/views/caseManagement/components/caseentryDialog.vue +++ b/src/views/caseManagement/components/caseentryDialog.vue @@ -425,17 +425,17 @@ - - - - - + + + +
@@ -573,8 +573,8 @@ export default { nameAgent: "", contactTelphoneAgent: "", contactAddressAgent: "", - responSex:1, - responBirth:"" + responSex: 1, + responBirth: "" }, ], }, //被申请人主体信息 @@ -874,6 +874,9 @@ export default { ...this.form3.paymentArr1, ]; this.formData.caseAttachList = [...this.caseAttachListArr]; + this.formData.caseAffiliates[1].responBirth = moment(this.formData.caseAffiliates[1].responBirth).format( + "YYYY-MM-DD HH:mm:ss" + ); if (this.formData.id) { editCaseApply({ ...this.formData, diff --git a/src/views/caseManagement/components/choosetrialmethodDaiog.vue b/src/views/caseManagement/components/choosetrialmethodDaiog.vue index bf3dc4e..91ad14f 100644 --- a/src/views/caseManagement/components/choosetrialmethodDaiog.vue +++ b/src/views/caseManagement/components/choosetrialmethodDaiog.vue @@ -56,12 +56,11 @@ export default { submitForm(val) { let paramsdata = { opinion: val, - ids: [this.choosetrialmethodata.id] }; - // let id = { - // id: this.choosetrialmethodata.id, - // }; - arbitrateMethod(paramsdata) + let id = { + id: this.choosetrialmethodata.id, + }; + arbitrateMethod(paramsdata,id) .then((res) => { this.$modal.msgSuccess("提交成功"); this.cancel(); diff --git a/src/views/caseManagement/components/operateDialog.vue b/src/views/caseManagement/components/operateDialog.vue index c0f8f12..a6ce9b8 100644 --- a/src/views/caseManagement/components/operateDialog.vue +++ b/src/views/caseManagement/components/operateDialog.vue @@ -1,13 +1,13 @@ - +
+ + 同意 + 拒绝 + +
+ +
+ + \ No newline at end of file diff --git a/src/views/index.vue b/src/views/index.vue index 7195972..f9afd4e 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -41,7 +41,7 @@
待缴费确认
-
+
{{ dataCount.caseApplyGroupCheck }}
@@ -77,6 +77,15 @@
待审核仲裁方式
+
+
{{ dataCount.updateOnlineHearDate }}
+
+ +
+
+
待确认开庭时间
+
+
{{ dataCount.caseApplyGroupOnline }}
@@ -175,10 +184,12 @@ export default { }, // 点击代办案件按钮 pushPage(status) { - if (status < 10) { + if (status == 0 || status == 1 || status == 2 || status == 5 || status == 6 || status == 7 || status == 31 || status == 8 || status == 9) { this.$router.push({ name: 'CaseManagement/caseList', params: { status: status } }) - } else if (status > 10) { + } else if (status == 11 || status == 12 || status == 13 || status == 14 || status == 15 || status == 16) { this.$router.push({ name: 'AwardManagement/listofAwards', params: { status: status } }) + } else if (status == 3){ + this.$router.push({ name: 'PaymentManagement/paymentList', params: { status: status } }) } } // goTarget(href) { diff --git a/src/views/paymentManagement/paymentList.vue b/src/views/paymentManagement/paymentList.vue index db5fc95..4a5f99d 100644 --- a/src/views/paymentManagement/paymentList.vue +++ b/src/views/paymentManagement/paymentList.vue @@ -23,10 +23,10 @@ @keyup.enter.native="handleQuery" > @@ -136,10 +136,10 @@ import { casePay, } from "@/api/pay/pay"; import paymentdetailsDialog from "./components/paymentdetailsDialog.vue"; - +import { getDicts } from '@/api/system/dict/data.js' export default { name: "paymentList", - dicts: ["case_status"], + // dicts: ["case_status"], components: { paymentdetailsDialog }, data() { return { @@ -180,10 +180,18 @@ export default { detailform: {}, //缴费详情数据 openDialog: false, //缴费详情数据弹框 flag: null, + caseStatus:[] }; }, created() { - this.getList(); + getDicts("case_status").then(res => { + this.caseStatus = res.data; + let params = this.$route.params.status; + if (params >= 0) { + this.queryParams.caseStatus = params; + } + this.getList(); + }) }, methods: { /** 搜索按钮操作 */