zyw 1 year ago
parent
commit
3d090f0c24
1 changed files with 9 additions and 1 deletions
  1. 9 1
      pages/index/index.vue

+ 9 - 1
pages/index/index.vue

@@ -131,6 +131,12 @@
 								method: 'POST',
 								data: that.param,
 								success: (res) => {
+									uni.showToast({
+										title: '提交成功',
+										mask: true,
+										icon: 'success',
+										duration: 2000
+									})  
 									console.log(res)
 								}
 							})
@@ -141,12 +147,13 @@
 						} else {
 							// 执行取消后的操作
 						}
-					}
+					},
 				})
 			},
 
 			chang(e) {
 				this.banci = e.detail.value; //选中按钮的value值
+				this.param.banci = e.detail.value;
 			},
 			selectType(e) {
 
@@ -156,6 +163,7 @@
 			outtypeChange(e) {
 				this.industryIndex = e.detail.value
 				this.banzu = this.list[e.detail.value].name
+				this.param.banzu =this.list[e.detail.value].name
 			},
 			getDate() {
 				const date = new Date();