zyw 1 ano atrás
pai
commit
3d090f0c24
1 arquivos alterados com 9 adições e 1 exclusões
  1. 9 1
      pages/index/index.vue

+ 9 - 1
pages/index/index.vue

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