|
|
@@ -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 |
|
|
|