|
@@ -2,7 +2,7 @@
|
|
|
<div class="app-container">
|
|
|
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="68px">
|
|
|
<el-form-item label="队伍" prop="ranks">
|
|
|
- <el-select v-model="queryParams.ranks" clearable placeholder="请选择" @change="getUsers">
|
|
|
+ <el-select v-model="queryParams.ranks" clearable placeholder="请选择" @change="getUsers" :disabled="postName.indexOf('xx') > -1">
|
|
|
<el-option
|
|
|
v-for="item in postOptions"
|
|
|
:key="item.postId"
|
|
@@ -369,11 +369,16 @@ export default {
|
|
|
};
|
|
|
},
|
|
|
created() {
|
|
|
- this.getWorkerList();
|
|
|
+ // this.getWorkerList();
|
|
|
this.getList();
|
|
|
this.getdictList();
|
|
|
this.getPostList();
|
|
|
},
|
|
|
+ mounted() {
|
|
|
+ setTimeout(
|
|
|
+ this.getUsers(parseInt(Cookies.get("postId")))
|
|
|
+ ,1000)
|
|
|
+ },
|
|
|
methods: {
|
|
|
getUsers(value){
|
|
|
if (!value) return;
|