|
@@ -4,7 +4,7 @@
|
|
|
<el-dialog
|
|
|
title="选择渠道"
|
|
|
:visible.sync="showChannelItem"
|
|
|
- width="800px"
|
|
|
+ width="1000px"
|
|
|
append-to-body
|
|
|
>
|
|
|
<el-table
|
|
@@ -17,11 +17,25 @@
|
|
|
<!-- <el-table-column label="主键ID" align="center" prop="id" /> -->
|
|
|
<el-table-column label="渠道名称" align="center" prop="channelName" />
|
|
|
<el-table-column label="渠道编号" align="center" prop="channelCode" />
|
|
|
- <el-table-column label="渠道类别" align="center" prop="channelType" />
|
|
|
+ <el-table-column label="渠道类别" align="center" prop="channelType">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <dict-tag
|
|
|
+ :options="dict.type.channel_type"
|
|
|
+ :value="scope.row.channelType"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
<el-table-column label="联系人" align="center" prop="contacts" />
|
|
|
<el-table-column label="联系电话" align="center" prop="telephone" />
|
|
|
<el-table-column label="渠道负责人" align="center" prop="channelHead" />
|
|
|
- <el-table-column label="状态" align="center" prop="status" />
|
|
|
+ <el-table-column label="状态" align="center" prop="status">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <dict-tag
|
|
|
+ :options="dict.type.channel_status"
|
|
|
+ :value="scope.row.status"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
<pagination
|
|
|
v-show="channelItemTotal > 0"
|
|
@@ -54,10 +68,10 @@ export default {
|
|
|
orderByColumn: "createTime",
|
|
|
isAsc: "desc",
|
|
|
},
|
|
|
-
|
|
|
- // 选中数组
|
|
|
+
|
|
|
+ // 选中数组
|
|
|
ids: [],
|
|
|
- idsName:[],
|
|
|
+ idsName: [],
|
|
|
// 非单个禁用
|
|
|
single: true,
|
|
|
// 非多个禁用
|
|
@@ -95,7 +109,7 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
submit() {
|
|
|
- // console.log("确定", this.ids);
|
|
|
+ // console.log("确定", this.ids);
|
|
|
this.$emit("getChannelInfo", this.ids);
|
|
|
this.showChannelItem = false;
|
|
|
},
|