diff --git a/src/views/awardManagement/listofAwards.vue b/src/views/awardManagement/listofAwards.vue index a19ce61..13c6d05 100644 --- a/src/views/awardManagement/listofAwards.vue +++ b/src/views/awardManagement/listofAwards.vue @@ -33,6 +33,10 @@ 案件批量归档 + + 案件批量核查 + @@ -203,6 +207,9 @@ export default { } else if (type == 3) { this.operateTitle = '批量归档'; this.operateStatus = 3; + }else if (type == 5) { + this.operateTitle = '批量核查'; + this.operateStatus = 5; } }, updataList() { diff --git a/src/views/caseManagement/caseList.vue b/src/views/caseManagement/caseList.vue index c50311a..4637557 100644 --- a/src/views/caseManagement/caseList.vue +++ b/src/views/caseManagement/caseList.vue @@ -15,7 +15,8 @@ clearable> - + @@ -53,6 +54,8 @@ v-hasPermi="['caseManagement:list:delete']">案件批量删除 案件批量立案审查 + 批量生成裁决书 @@ -129,16 +132,18 @@ checkPermi(['caseManagement:list:hear']) && btnStatus ">开庭审理 证据修改 - 证据修改 + 开庭时间 锁定 解锁 - 上传证据目录 + 上传证据目录 - + - + @@ -322,20 +329,20 @@ export default { operateData: {}, operateTitle: "", operateStatus: 0, - uploadCaseVisable:false, - uploadCaseData:{}, - selectCaseStatusList:[ + uploadCaseVisable: false, + uploadCaseData: {}, + selectCaseStatusList: [ { - label:"待办案件", - value:0 + label: "待办案件", + value: 0 }, { - label:"已办案件", - value:1 + label: "已办案件", + value: 1 } ], - caseStatusType:false, - btnStatus:true, + caseStatusType: false, + btnStatus: true, }; }, created() { @@ -363,11 +370,11 @@ export default { cancelOperate() { this.operateVisable = false; }, - uploadCaseCancel(){ + uploadCaseCancel() { this.uploadCaseVisable = false; }, // 上传证据目录弹窗 - uploadCase(row){ + uploadCase(row) { this.uploadCaseData = row; this.uploadCaseVisable = true; }, @@ -383,6 +390,9 @@ export default { } else if (type == 2) { this.operateTitle = '批量立案审查'; this.operateStatus = 2; + }else if(type == 4){ + this.operateTitle = '批量生成裁决书'; + this.operateStatus = 4; } }, // 修改开庭时间 @@ -458,13 +468,13 @@ export default { handleQuery() { this.queryParams.caseStatusList = []; if (!this.queryParams.caseStatus) { - this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10,31] + this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 31] } - if(this.queryParams.selectCaseStatus == 1){ + if (this.queryParams.selectCaseStatus == 1) { this.queryParams.caseStatus = null; this.caseStatusType = true; this.btnStatus = false; - }else if(this.queryParams.selectCaseStatus == 0){ + } else if (this.queryParams.selectCaseStatus == 0) { this.caseStatusType = false; this.btnStatus = true; } @@ -474,7 +484,7 @@ export default { /** 重置按钮操作 */ resetQuery() { this.resetForm("queryForm"); - (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10,31]), + (this.queryParams.caseStatusList = [0, 1, 2, 5, 6, 7, 8, 9, 10, 31]), (this.queryParams.applicantName = ""), (this.queryParams.nameId = ""), this.getcaseApply(this.queryParams); @@ -727,6 +737,4 @@ export default { }; - + diff --git a/src/views/caseManagement/components/adjudicaterecordDialog.vue b/src/views/caseManagement/components/adjudicaterecordDialog.vue index 2b6c495..a8fada5 100644 --- a/src/views/caseManagement/components/adjudicaterecordDialog.vue +++ b/src/views/caseManagement/components/adjudicaterecordDialog.vue @@ -329,7 +329,7 @@ export default { this.$refs["form2"].validate((valid) => { if (valid) { writtenHear({ - caseAppliId: this.formData.id, + ids: [this.formData.id], evidenDetermi: this.form2.evidenDetermi, factDetermi: this.form2.factDetermi, caseSketch: this.form2.caseSketch, diff --git a/src/views/caseManagement/components/formateCourtDialog.vue b/src/views/caseManagement/components/formateCourtDialog.vue index 6073034..87b03c5 100644 --- a/src/views/caseManagement/components/formateCourtDialog.vue +++ b/src/views/caseManagement/components/formateCourtDialog.vue @@ -85,6 +85,7 @@ export default { }, watch: { showformateCourt(val){ + this.Arbitor = "" if(val){ this.isAgreePendTral = 1; } diff --git a/src/views/caseManagement/components/operateDialog.vue b/src/views/caseManagement/components/operateDialog.vue index a602240..73d65b7 100644 --- a/src/views/caseManagement/components/operateDialog.vue +++ b/src/views/caseManagement/components/operateDialog.vue @@ -47,6 +47,7 @@ import { removeCaseApply, submitCaseApplicationCheck } from "@/api/caseAccess/caseEntry"; +import { writtenHear } from "@/api/caseManagement/caseManagement.js"; import { adjudicationCaseFile, } from "@/api/awardManagement/awardManagement"; @@ -102,6 +103,12 @@ export default { this.submitCaseApplicationCheckFn({ ids: this.batchData,agreeOrNotCheck:this.radio }) }else if (this.operateStatus == 3) { this.adjudicationCaseFileFn({ ids: this.batchData }) + }else if (this.operateStatus == 4) { + // this.adjudicationCaseFileFn({ ids: this.batchData }) + this.writtenHearFn({ids: this.batchData}) + }else if (this.operateStatus == 5) { + // this.adjudicationCaseFileFn({ ids: this.batchData }) + // this.writtenHearFn({ids: this.batchData}) } }, // 批量提交 @@ -136,6 +143,14 @@ export default { this.$emit("getcaseApply", this.queryParams); }) }, + // 批量生成裁决书 + writtenHearFn(data){ + writtenHear(data).then(res=>{ + this.$modal.msgSuccess("生成成功"); + this.cancel(); + this.$emit("getcaseApply", this.queryParams); + }) + }, /** 查询列表 */ getcaseApply(val) { this.loading = true; @@ -147,6 +162,10 @@ export default { this.queryParamsData.caseStatus = 1 }else if (this.operateStatus == 3) { this.queryParamsData.caseStatus = 16 + }else if (this.operateStatus == 4) { + this.queryParamsData.caseStatus = 9 + }else if (this.operateStatus == 5) { + this.queryParamsData.caseStatus = 11 } caseApply(val).then((response) => { this.dataList = response.rows; diff --git a/vue.config.js b/vue.config.js index 54b3e91..97c528c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -11,11 +11,12 @@ const name = process.env.VUE_APP_TITLE || '智慧仲裁管理系统' // 网页 const port = process.env.port || process.env.npm_config_port || 80 // 端口 -const API = 'http://121.40.189.20:9001' //测试 +const API = 'http://121.40.189.20:9001' //生产 +// const API = 'http://121.40.189.20:8001' //测试 // const API = 'http://192.168.3.18:9001' //B // const API = 'http://192.168.3.77:9001' //Q -// vue.config.js 配置说明 +// vue.config.js 配置说明 //官方vue.config.js 参考文档 https://cli.vuejs.org/zh/config/#css-loaderoptions // 这里只列一部分,具体配置参考文档 module.exports = {