From 7cd6dfe5370a77e2c83e0e9b6da326ccafd92745 Mon Sep 17 00:00:00 2001 From: yujk <990961482@qq.com> Date: Mon, 2 Aug 2021 12:10:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AE=E6=9D=83=E8=B0=83=E6=9F=A5=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/authenticRight/index.vue | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/src/views/authenticRight/index.vue b/src/views/authenticRight/index.vue index b444b37a..67465f0a 100644 --- a/src/views/authenticRight/index.vue +++ b/src/views/authenticRight/index.vue @@ -47,7 +47,7 @@ {{item.status}} - 替补 + 替补 电话 现场 @@ -628,6 +628,7 @@ this.userId = response.user.userId this.nickName = response.user.nickName }); + }, methods:{ changeFn(val) { @@ -873,10 +874,18 @@ } } }, - selectType(val,data1,index){ + selectType(val,data,index){ + console.log(this.nickName,this.userId) if(val==1){ let _this = this - let a = data1 + let a ={ + "countName": data.countName, + "townName": data.townName, + "villageName": data.villageName, + "cooperativeName": data.cooperativeName, + "status": "1", + "id": data.id + } a.status = "1" updateSampling(a).then(res => { this.$toast({ @@ -1067,8 +1076,8 @@ } }, getList(){ + console.log("111") this.queryParams["farmerName"] = null - console.log(12121) listSampling(this.queryParams).then(response => { if(response.data.length>0){ response.data.map(item => {