|
@@ -24,6 +24,18 @@
|
|
|
/>
|
|
/>
|
|
|
</el-select>
|
|
</el-select>
|
|
|
</el-form-item>
|
|
</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-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
|
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button>
|
|
@@ -201,6 +213,7 @@ export default {
|
|
|
eTime:null,
|
|
eTime:null,
|
|
|
scheduleStartTime: null,
|
|
scheduleStartTime: null,
|
|
|
scheduleEndTime: null,
|
|
scheduleEndTime: null,
|
|
|
|
|
+ addWays:[],
|
|
|
},
|
|
},
|
|
|
// 表单参数
|
|
// 表单参数
|
|
|
form: {},
|
|
form: {},
|
|
@@ -208,8 +221,16 @@ export default {
|
|
|
rules: {
|
|
rules: {
|
|
|
},
|
|
},
|
|
|
scheduleTime: null,
|
|
scheduleTime: null,
|
|
|
|
|
+ myAddWayList:[],
|
|
|
|
|
+ addWays:[],
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
|
|
+ computed: {
|
|
|
|
|
+ // 计算属性判断是否显示
|
|
|
|
|
+ showCompanyField() {
|
|
|
|
|
+ return process.env.VUE_APP_TITLE_INDEX === '恒春来';
|
|
|
|
|
+ },
|
|
|
|
|
+ },
|
|
|
created() {
|
|
created() {
|
|
|
getCompanyList().then(response => {
|
|
getCompanyList().then(response => {
|
|
|
this.companys = response.data;
|
|
this.companys = response.data;
|
|
@@ -223,6 +244,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;
|
|
|
|
|
+ });
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
courseChange(row){
|
|
courseChange(row){
|
|
@@ -288,6 +312,9 @@ export default {
|
|
|
/** 搜索按钮操作 */
|
|
/** 搜索按钮操作 */
|
|
|
handleQuery() {
|
|
handleQuery() {
|
|
|
this.queryParams.pageNum = 1;
|
|
this.queryParams.pageNum = 1;
|
|
|
|
|
+ if( this.addWays.length>0){
|
|
|
|
|
+ this.queryParams.addWays = this.addWays.join(',');
|
|
|
|
|
+ }
|
|
|
this.getList();
|
|
this.getList();
|
|
|
},
|
|
},
|
|
|
/** 重置按钮操作 */
|
|
/** 重置按钮操作 */
|
|
@@ -299,6 +326,8 @@ export default {
|
|
|
this.queryParams.eTime = null;
|
|
this.queryParams.eTime = null;
|
|
|
this.queryParams.scheduleStartTime = null;
|
|
this.queryParams.scheduleStartTime = null;
|
|
|
this.queryParams.scheduleEndTime = null;
|
|
this.queryParams.scheduleEndTime = null;
|
|
|
|
|
+ this.queryParams.addWays = [];
|
|
|
|
|
+ this.addWays = [];
|
|
|
this.handleQuery();
|
|
this.handleQuery();
|
|
|
},
|
|
},
|
|
|
// 多选框选中数据
|
|
// 多选框选中数据
|