diff --git a/src/views/caseManagement/caseList.vue b/src/views/caseManagement/caseList.vue index b126458..e967694 100644 --- a/src/views/caseManagement/caseList.vue +++ b/src/views/caseManagement/caseList.vue @@ -324,15 +324,17 @@ export default { checkDetail(val) { this.addVisable = true; this.caseData = val; - this.caseData.flag = 1; + this.$set(this.caseData,'flag',1) this.caseDisabled = true; this.tabFlag = true; }, /** 修改案件 */ eidtNodeprocess(row,val) { + console.log(row,val) this.addModifyData = val this.addVisable = true; this.caseData = row; + this.$set(this.caseData,'flag',2) this.caseDisabled = false; this.tabFlag = false; }, @@ -585,15 +587,15 @@ export default { cancelcaseLog() { this.showcaseLog = false }, - // 案件归档 + // 案件送达 caseFiling(row) { console.log(row.id) let paramValues = { ids:[row.id] } - this.$modal.confirm("你确定要案件归档吗?").then((res) => { + this.$modal.confirm("你确定要案件送达吗?").then((res) => { msCaseFile(paramValues).then(res=>{ - this.$modal.msgSuccess("案件归档成功"); + this.$modal.msgSuccess("案件送达成功"); this.getList(this.queryParams); }) }).catch(() => { diff --git a/src/views/caseManagement/components/addCase.vue b/src/views/caseManagement/components/addCase.vue index 6871cee..154bc6b 100644 --- a/src/views/caseManagement/components/addCase.vue +++ b/src/views/caseManagement/components/addCase.vue @@ -192,7 +192,7 @@ - + 自然人 机构 @@ -729,11 +729,37 @@ export default { deep: true, handler(val) { this.getTemplateFn(); - if (val.id && val.flag == 2) { - this.modelFlag = true; - this.title = "修改案件"; - this.caseApplicationSelectByIdFn(val.id); - } else if (!val.id && val.flag == 2) { + // if (val.id && !val.flag) { + // this.modelFlag = true; + // this.title = "修改案件"; + // this.caseApplicationSelectByIdFn(val.id); + // } else if (!val.id && !val.flag) { + // this.modelFlag = false; + // this.title = "新增案件"; + // this.formData = { + // affiliate: { + // organizeFlag:0, + // respondentSex: 0, + // }, + // columnValueList: [], + // caseAttachList: [], + // }; + // } else if (val.id && val.flag == 1) { + // this.modelFlag = true; + // this.title = "案件详情"; + // this.caseApplicationSelectByIdFn(val.id); + // } + if(val.id){ + if(val.flag==1){ + this.modelFlag = true; + this.title = "案件详情"; + this.caseApplicationSelectByIdFn(val.id); + }else{ + this.modelFlag = true; + this.title = "修改案件"; + this.caseApplicationSelectByIdFn(val.id); + } + }else{ this.modelFlag = false; this.title = "新增案件"; this.formData = { @@ -744,10 +770,6 @@ export default { columnValueList: [], caseAttachList: [], }; - } else if (val.id && val.flag == 1) { - this.modelFlag = true; - this.title = "案件详情"; - this.caseApplicationSelectByIdFn(val.id); } }, }, @@ -758,7 +780,6 @@ export default { }, }, created() { - console.log(this.formData,"000000000000000000") }, methods: { /** 根据案件id获取对应信息 */ @@ -853,6 +874,9 @@ export default { } }); }, + clearValidate(){ + this.$refs["ruleForm"].clearValidate() + }, cancel() { this.$emit("cancelCaseAdd"); }, diff --git a/src/views/caseManagement/components/mediation.vue b/src/views/caseManagement/components/mediation.vue index 43c47c6..9bcb3c2 100644 --- a/src/views/caseManagement/components/mediation.vue +++ b/src/views/caseManagement/components/mediation.vue @@ -39,11 +39,29 @@
申请人暂未提供证据!
-
+ + + + + 达成调解书 + 未达成调解 + 未达成调解但不在争议 + 未达成调解但同意引入仲裁 + + + + + + + 是 + 否 + + +