Răsfoiți Sursa

修改退役军人码页面提交验证提示问题

zaijin 2 ani în urmă
părinte
comite
2b097a6aae
1 a modificat fișierele cu 12 adăugiri și 6 ștergeri
  1. 12 6
      h5_web/pages/mycode/mycode.vue

+ 12 - 6
h5_web/pages/mycode/mycode.vue

@@ -203,12 +203,12 @@
 							}
 							// this.conditionForm.jobStatus = res.data.jobStatus;
 							// this.conditionForm.salaryRange = res.data.salaryRange;
-							this.salaryRangeList.forEach((item, index) => {
-								if (res.data.salaryRange === item.value) {
-									this.salaryRangeIndex = [index]
-									this.conditionForm.salaryRangeName = item.label
-								}
-							})
+							// this.salaryRangeList.forEach((item, index) => {
+							// 	if (res.data.salaryRange === item.value) {
+							// 		this.salaryRangeIndex = [index]
+							// 		this.conditionForm.salaryRangeName = item.label
+							// 	}
+							// })
 						} else {
 							uni.showToast({
 								icon: 'none',
@@ -231,6 +231,12 @@
 				 */
 				viewDetails() {
 					this.updateShow = true
+					this.conditionForm = {
+						jobStatus: '',
+						salaryRangeName: '',
+						salaryRange: '',
+						jobIntention: ''
+					}
 					setTimeout(() => {
 						this.$refs.conditionForm.setRules(this.conditionFormRules);
 					}, 0)