浏览代码

宅基地调查优化

rongxin_prod
Xyq123* 1年前
父节点
当前提交
14aa0c8e11
共有 2 个文件被更改,包括 2 次插入29 次删除
  1. +0
    -27
      src/views/homesteadSurvey/index.vue
  2. +2
    -2
      src/views/homesteadSurvey/list4.vue

+ 0
- 27
src/views/homesteadSurvey/index.vue 查看文件

@@ -230,8 +230,6 @@
countyhc:1,
countwhc:1,

//宅调人员列表
taskExecutortions:[],
//当前用户级别
businessLevel:1,
// 字典列表json
@@ -239,9 +237,6 @@
};
},
created(){
userList().then(response => {
this.taskExecutortions = response.data
})
if(this.checked){
setTimeout(() => {
let userId = this.$store.state.user.userId;
@@ -323,28 +318,6 @@
}
return '#FA5353'
},
taskExecutorChange(row){
if(row.taskExecutor!=null&&row.taskExecutor!=""&&row.taskExecutor.length>1){
var actions = [];
row.taskExecutor.map(res => {
for(let i = 0;i<this.taskExecutortions.length;i++){
if(res == this.taskExecutortions[i].userName){
actions.push(this.taskExecutortions[i].nickName)
}
}
})
return actions.join(',');
}else{
var actions = [];
Object.keys(this.taskExecutortions).some((key) => {
if (this.taskExecutortions[key].userName == ('' + row.taskExecutor)) {
actions.push(this.taskExecutortions[key].nickName);
return true;
}
})
return actions.join(',');
}
},
onRefreshtask(){
this.isLoadingtask = false;
let _this = this


+ 2
- 2
src/views/homesteadSurvey/list4.vue 查看文件

@@ -495,10 +495,10 @@
<van-search
v-model="seachText"
show-action
placeholder="请输入宗地或权利人信息"
placeholder="请输入权利人信息"
>
<template #action>
<van-icon :name="require('../../assets/images/housesteadSurvey/add02.png')" color="rgba(122,201,67,1)" size=".8rem" id="query" style="vertical-align:middle;"/>
<van-icon :name="require('../../assets/images/housesteadSurvey/add02.png')" color="rgba(122,201,67,1)" id="query" style="vertical-align:middle;"/>
</template>
</van-search>
<div class="searchBox" style="display: none;">


正在加载...
取消
保存