Selaa lähdekoodia

确权调查模块问题修改

rongxin_prod
QI_YUJIE 1 vuosi sitten
vanhempi
commit
fc1f071117
2 muutettua tiedostoa jossa 4 lisäystä ja 4 poistoa
  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 Näytä tiedosto

@@ -110,17 +110,17 @@
}, },
created() { created() {
this.getUserInfo(); this.getUserInfo();
this.getList();
}, },
methods: { methods: {
getUserInfo() { getUserInfo() {
getInfo().then(response => { getInfo().then(response => {
this.nickName = response.user.nickName; this.nickName = response.user.nickName;
this.phone = response.user.phonenumber; 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; this.surveyTask = response.data;
}); });
}, },


+ 1
- 1
src/views/contracted/village/contractor/contractor.vue Näytä tiedosto

@@ -61,7 +61,7 @@
<div class="opera_btn view" v-if="surveyStatus === '2'" @click="handleViewRemark(item.id)"> <div class="opera_btn view" v-if="surveyStatus === '2'" @click="handleViewRemark(item.id)">
<p>挂起原因</p> <p>挂起原因</p>
</div> </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> <p>删除</p>
</div> </div>
</div> </div>


Ladataan…
Peruuta
Tallenna