|
|
@@ -140,6 +140,30 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</div>
|
|
|
+ <div class="mt-10">
|
|
|
+ <p class="search__label">{{ $t("来源") }}:</p>
|
|
|
+ <el-select
|
|
|
+ v-model="cluesource"
|
|
|
+ clearable
|
|
|
+ style="margin-right: 10px"
|
|
|
+ size="small"
|
|
|
+ :placeholder="$t('请选择来源')"
|
|
|
+ @change="
|
|
|
+ $refs.basicLayout.param.content.pageNumber = 1;
|
|
|
+ $refs.basicLayout.param.content.where.cluesource = cluesource;
|
|
|
+ $refs.basicLayout.listData();
|
|
|
+ param = $refs.basicLayout.param
|
|
|
+ "
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in cluesourceList"
|
|
|
+ :label="$t(item.value)"
|
|
|
+ :key="item.rowindex"
|
|
|
+ :value="item.value"
|
|
|
+ >
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
<template v-slot:tbList="scope">
|
|
|
<div v-if="scope.data.column.columnname == 'status'">
|
|
|
@@ -280,6 +304,8 @@ export default {
|
|
|
isExport: 0,
|
|
|
},
|
|
|
},
|
|
|
+ cluesource:"",
|
|
|
+ cluesourceList:[]
|
|
|
};
|
|
|
},
|
|
|
provide() {
|
|
|
@@ -295,6 +321,8 @@ export default {
|
|
|
this.statusList = res2.data;
|
|
|
const res3 = await this.$store.dispatch("optiontypeselect", "tradefield");
|
|
|
this.tradefields = res3.data;
|
|
|
+ const res4 = await this.$store.dispatch("optiontypeselect", "cluesourcesift");
|
|
|
+ this.cluesourceList = res4.data;
|
|
|
console.log(
|
|
|
this.tool.tabelCol(this.$route.name).cluePrivateSalerTable.tablecols
|
|
|
);
|