29459
This commit is contained in:
		| @@ -631,8 +631,11 @@ export default { | ||||
|     }, | ||||
|  | ||||
|     submit() { | ||||
|       if (!this.form.riskType) { | ||||
|         return this.$u.toast('请选择风险因素') | ||||
|  | ||||
|       if(!this.isEdit) { | ||||
|         if (!this.form.riskType) { | ||||
|           return this.$u.toast('请选择风险因素') | ||||
|         } | ||||
|       } | ||||
|  | ||||
|       this.basicsCheckList.map((item, index) => { | ||||
|   | ||||
| @@ -515,7 +515,6 @@ export default { | ||||
|             this.namelist.splice(index, 1) | ||||
|           } | ||||
|         }) | ||||
|  | ||||
|       } | ||||
|       this.form.healthyStatus = this.namelist.map(v => v.dictValue).join(',') | ||||
|     }, | ||||
| @@ -537,6 +536,13 @@ export default { | ||||
|           } else { | ||||
|             this.form.files = [] | ||||
|           } | ||||
|  | ||||
|           res.data.healthyStatusList = res.data.healthyStatus.split(',') | ||||
|           res.data.healthyStatusList.map((item) => { | ||||
|             this.helthList.map(items => { | ||||
|               items.checked = item == items.dictValue | ||||
|             }) | ||||
|           }) | ||||
|         } | ||||
|       }) | ||||
|     }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user