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 => {