|
@@ -73,6 +73,18 @@
|
|
|
end-placeholder="结束日期"
|
|
end-placeholder="结束日期"
|
|
|
@change="change"
|
|
@change="change"
|
|
|
></el-date-picker>
|
|
></el-date-picker>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ <el-form-item label="添加方式" prop="addWays" v-if="showCompanyField">
|
|
|
|
|
+ <el-select v-model="addWays" placeholder="请选择添加方式" size="small" multiple
|
|
|
|
|
+ collapse-tags
|
|
|
|
|
+ style="width: 100%;" clearable>
|
|
|
|
|
+ <el-option
|
|
|
|
|
+ v-for="dict in myAddWayList"
|
|
|
|
|
+ :key="dict.dictValue"
|
|
|
|
|
+ :label="dict.dictLabel"
|
|
|
|
|
+ :value="dict.dictValue"
|
|
|
|
|
+ />
|
|
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
<el-form-item>
|
|
|
<el-button
|
|
<el-button
|
|
@@ -464,6 +476,7 @@ export default {
|
|
|
scheduleStartTime: null,
|
|
scheduleStartTime: null,
|
|
|
scheduleEndTime: null,
|
|
scheduleEndTime: null,
|
|
|
corpId: null, // 企微主体ID
|
|
corpId: null, // 企微主体ID
|
|
|
|
|
+ addWays:[],
|
|
|
},
|
|
},
|
|
|
// 表单参数
|
|
// 表单参数
|
|
|
form: {},
|
|
form: {},
|
|
@@ -471,8 +484,16 @@ export default {
|
|
|
rules: {},
|
|
rules: {},
|
|
|
scheduleTime: null,
|
|
scheduleTime: null,
|
|
|
myQwCompanyList: [], // 存储企微主体选项列表
|
|
myQwCompanyList: [], // 存储企微主体选项列表
|
|
|
|
|
+ myAddWayList:[],
|
|
|
|
|
+ addWays:[],
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
|
|
+ computed: {
|
|
|
|
|
+ // 计算属性判断是否显示
|
|
|
|
|
+ showCompanyField() {
|
|
|
|
|
+ return process.env.VUE_APP_TITLE_INDEX === '恒春来';
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
created() {
|
|
created() {
|
|
|
courseList().then((response) => {
|
|
courseList().then((response) => {
|
|
|
this.courseLists = response.list;
|
|
this.courseLists = response.list;
|
|
@@ -481,6 +502,9 @@ export default {
|
|
|
this.getDicts("sys_course_watch_log_type").then((response) => {
|
|
this.getDicts("sys_course_watch_log_type").then((response) => {
|
|
|
this.logTypeOptions = response.data;
|
|
this.logTypeOptions = response.data;
|
|
|
});
|
|
});
|
|
|
|
|
+ this.getDicts("sys_qw_externalContact_addWay").then((response) => {
|
|
|
|
|
+ this.myAddWayList = response.data;
|
|
|
|
|
+ });
|
|
|
this.getTreeselect();
|
|
this.getTreeselect();
|
|
|
this.getList();
|
|
this.getList();
|
|
|
// --- 获取企微主体列表 ---
|
|
// --- 获取企微主体列表 ---
|
|
@@ -667,6 +691,9 @@ export default {
|
|
|
this.$message.warning("请选择添加时间");
|
|
this.$message.warning("请选择添加时间");
|
|
|
return;
|
|
return;
|
|
|
}
|
|
}
|
|
|
|
|
+ if( this.addWays.length>0){
|
|
|
|
|
+ this.queryParams.addWays = this.addWays.join(',');
|
|
|
|
|
+ }
|
|
|
this.queryParams.pageNum = 1;
|
|
this.queryParams.pageNum = 1;
|
|
|
this.getList();
|
|
this.getList();
|
|
|
},
|
|
},
|
|
@@ -680,6 +707,8 @@ export default {
|
|
|
this.queryParams.scheduleStartTime = null;
|
|
this.queryParams.scheduleStartTime = null;
|
|
|
this.queryParams.scheduleEndTime = null;
|
|
this.queryParams.scheduleEndTime = null;
|
|
|
this.queryParams.corpId = null; // 重置企微主体选择
|
|
this.queryParams.corpId = null; // 重置企微主体选择
|
|
|
|
|
+ this.queryParams.addWays = [];
|
|
|
|
|
+ this.addWays = [];
|
|
|
this.handleQuery();
|
|
this.handleQuery();
|
|
|
},
|
|
},
|
|
|
// 多选框选中数据
|
|
// 多选框选中数据
|