|
|
|
@ -151,7 +151,7 @@ |
|
|
|
</el-form-item> |
|
|
|
<el-form-item> |
|
|
|
<span v-if="saveData.status === '已完工'" slot="label"><a>协同人员</a></span> |
|
|
|
<span v-if="saveData.status === '待审核'" slot="label" @click="getOperatorList()"><a>协同人员</a></span> |
|
|
|
<span v-if="saveData.status === '待审核'" slot="label" @click="getOperatorList"><a>协同人员</a></span> |
|
|
|
<el-input v-model="saveData.operator" readonly style="width: 221px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
@ -325,7 +325,7 @@ |
|
|
|
<el-input v-model="operatorData.adminName" style="width: 120px"></el-input> |
|
|
|
</el-form-item> |
|
|
|
<el-form-item :label="' '"> |
|
|
|
<el-button type="primary" @click="getOperatorList()">查询</el-button> |
|
|
|
<el-button type="primary" @click="getOperatorList">查询</el-button> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
|
<el-table |
|
|
|
@ -1380,11 +1380,11 @@ |
|
|
|
}, |
|
|
|
|
|
|
|
// 获取人员列表 |
|
|
|
getOperatorList(){ |
|
|
|
getOperatorList () { |
|
|
|
// 先清空缓存选中 |
|
|
|
this.$nextTick(() => this.$refs.operatorTable.clearSelection()) |
|
|
|
// 拿到选中的人员编号 |
|
|
|
let tempDataList = this.saveData.adminID.split(';') |
|
|
|
let tempDataList = (this.saveData.adminID == null ? '' : this.saveData.adminID).split(';') |
|
|
|
// 查询所有部门 |
|
|
|
getOperatorList(this.operatorData).then(({data}) => { |
|
|
|
if (data && data.code === 0) { |
|
|
|
@ -1395,8 +1395,8 @@ |
|
|
|
this.$nextTick(() => this.$refs.operatorTable.toggleRowSelection(val, true)) |
|
|
|
} |
|
|
|
}) |
|
|
|
this.operatorModelFlag = true; |
|
|
|
}else { |
|
|
|
this.operatorModelFlag = true |
|
|
|
} else { |
|
|
|
this.$alert(data.msg, '错误', { |
|
|
|
confirmButtonText: '确定' |
|
|
|
}) |
|
|
|
|