|
@@ -2,7 +2,7 @@
|
|
|
<div class="app-container">
|
|
|
<el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="120px">
|
|
|
<el-form-item label="企微账号" prop="qwUserId">
|
|
|
- <el-select v-model="queryParams.qwUserId" placeholder="企微账号" clearable size="small" @change="updateQwuser()">
|
|
|
+ <el-select v-model="queryParams.qwUserId" placeholder="企微账号" size="small" @change="updateQwuser()">
|
|
|
<el-option
|
|
|
v-for="dict in myQwUserList"
|
|
|
:key="dict.dictValue"
|
|
@@ -157,7 +157,7 @@ export default {
|
|
|
data() {
|
|
|
return {
|
|
|
// 遮罩层
|
|
|
- loading: true,
|
|
|
+ loading: false,
|
|
|
// 导出遮罩层
|
|
|
exportLoading: false,
|
|
|
// 选中数组
|
|
@@ -218,11 +218,17 @@ export default {
|
|
|
|
|
|
getMyQwUserList().then(response => {
|
|
|
this.myQwUserList = response.data;
|
|
|
+ if(this.myQwUserList!=null){
|
|
|
+ this.queryParams.qwUserId=this.myQwUserList[0].dictValue
|
|
|
+ this.queryParams.corpId=this.myQwUserList[0].corpId
|
|
|
+ this.getList();
|
|
|
+ }
|
|
|
});
|
|
|
this.getDicts("sys_company_or").then(response => {
|
|
|
this.sysCompanyOr = response.data;
|
|
|
});
|
|
|
- this.getList();
|
|
|
+
|
|
|
+ // this.getList();
|
|
|
|
|
|
},
|
|
|
methods: {
|
|
@@ -293,6 +299,8 @@ export default {
|
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
|
this.resetForm("queryForm");
|
|
|
+ this.queryParams.qwUserId=this.myQwUserList[0].dictValue;
|
|
|
+ this.queryParams.corpId=this.myQwUserList[0].corpId;
|
|
|
this.createTime=null;
|
|
|
this.queryParams.sTime=null;
|
|
|
this.queryParams.eTime=null;
|