|
|
@@ -21,6 +21,16 @@
|
|
|
/>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="企微主体" prop="corpId">
|
|
|
+ <el-select v-model="queryParams.corpId" placeholder="企微主体" size="small" clearable>
|
|
|
+ <el-option
|
|
|
+ v-for="corp in corpList"
|
|
|
+ :key="corp.corpId"
|
|
|
+ :label="corp.corpName"
|
|
|
+ :value="corp.corpId"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item label="企微微信" prop="companyUserName">
|
|
|
<el-select v-model="queryParams.qwUserId" placeholder="企微微信" size="small" clearable>
|
|
|
<el-option
|
|
|
@@ -445,6 +455,7 @@ import {getAllUserlist} from "@/api/company/companyUser";
|
|
|
import {getQwUserInfo} from "@/api/qw/qwUser";
|
|
|
import { allListTagGroup} from "@/api/qw/tagGroup";
|
|
|
import {searchTags,} from "@/api/qw/tag";
|
|
|
+import { allCorp } from "@/api/qw/qwCompany";
|
|
|
import PaginationMore from '@/components/PaginationMore/index.vue'
|
|
|
import externalContactInfo from "../externalContact/info";
|
|
|
|
|
|
@@ -570,6 +581,8 @@ export default {
|
|
|
{dictLabel:"未绑定",dictValue:'noBindMini'},
|
|
|
],
|
|
|
qwCompanyList:[],
|
|
|
+ // 企微主体列表
|
|
|
+ corpList: [],
|
|
|
// 表单参数
|
|
|
form: {},
|
|
|
// 表单校验
|
|
|
@@ -613,6 +626,11 @@ export default {
|
|
|
this.transferStatusOptions = response.data;
|
|
|
});
|
|
|
|
|
|
+ // 企微主体列表
|
|
|
+ allCorp().then(response => {
|
|
|
+ this.corpList = response.data || [];
|
|
|
+ });
|
|
|
+
|
|
|
//获取企业
|
|
|
getCompanyList().then(response => {
|
|
|
this.qwCompanyList = response.data;
|
|
|
@@ -755,7 +773,7 @@ export default {
|
|
|
/** 重置按钮操作 */
|
|
|
resetQuery() {
|
|
|
this.resetForm("queryForm");
|
|
|
- this.queryParams.corpId= this.qwCompanyList[0].dictValue;
|
|
|
+ this.queryParams.corpId = null;
|
|
|
this.selectTags=[];
|
|
|
this.queryParams.qwUserId = null;
|
|
|
this.queryParams.sTime=null;
|