Browse Source

确权调查模块问题修改

rongxin_prod
QI_YUJIE 1 year ago
parent
commit
fc1f071117
2 changed files with 4 additions and 4 deletions
  1. +3
    -3
      src/views/contracted/index.vue
  2. +1
    -1
      src/views/contracted/village/contractor/contractor.vue

+ 3
- 3
src/views/contracted/index.vue View File

@@ -110,17 +110,17 @@
},
created() {
this.getUserInfo();
this.getList();
},
methods: {
getUserInfo() {
getInfo().then(response => {
this.nickName = response.user.nickName;
this.phone = response.user.phonenumber;
this.getList(response.user.userId);
});
},
getList(){
listSurveyTask().then(response => {
getList(userId){
listSurveyTask({userId: userId}).then(response => {
this.surveyTask = response.data;
});
},


+ 1
- 1
src/views/contracted/village/contractor/contractor.vue View File

@@ -61,7 +61,7 @@
<div class="opera_btn view" v-if="surveyStatus === '2'" @click="handleViewRemark(item.id)">
<p>挂起原因</p>
</div>
<div class="opera_btn delete" v-if="taskStatus === '2'" @click="deleteContractor(item.id, index)">
<div class="opera_btn delete" v-if="taskStatus === '2' && surveyStatus !== '3'" @click="deleteContractor(item.id, index)">
<p>删除</p>
</div>
</div>


Loading…
Cancel
Save