|
@@ -19,7 +19,7 @@
|
|
|
<a-select
|
|
|
id="network-labelNoList"
|
|
|
placeholder="请选择网点标签"
|
|
|
- mode="multiple"
|
|
|
+ mode="multiple"
|
|
|
allowClear
|
|
|
v-model="queryParam.labelNoList"
|
|
|
:showSearch="true"
|
|
@@ -81,6 +81,7 @@
|
|
|
:rowKey="(record) => record.id"
|
|
|
:columns="columns"
|
|
|
:data="loadData"
|
|
|
+ :scroll="{ x: 1680}"
|
|
|
bordered>
|
|
|
<!-- 操作 -->
|
|
|
<template slot="action" slot-scope="text, record">
|
|
@@ -138,14 +139,14 @@ export default {
|
|
|
provinceCode: undefined, // 省
|
|
|
cityCode: undefined, // 市
|
|
|
districtCode: undefined, // 区
|
|
|
- labelNoList:[]
|
|
|
+ labelNoList: []
|
|
|
},
|
|
|
lableData: [],
|
|
|
// 表头
|
|
|
columns: [
|
|
|
- { title: '序号', dataIndex: 'no', width: 60, align: 'center' },
|
|
|
- { title: '创建时间', dataIndex: 'createDate', width: 180, align: 'center' },
|
|
|
- { title: '网点名称', dataIndex: 'name', width: 150, align: 'center',customRender: text => { return text || '--' } },
|
|
|
+ { title: '序号', dataIndex: 'no', width: 80, align: 'center', fixed: 'left' },
|
|
|
+ { title: '创建时间', dataIndex: 'createDate', width: 200, align: 'center' },
|
|
|
+ { title: '网点名称', dataIndex: 'name', width: 200, align: 'center', customRender: text => { return text || '--' } },
|
|
|
{ title: '网点标签', dataIndex: 'labelName', width: 200, align: 'center', ellipsis: true, customRender: text => { return text || '--' } },
|
|
|
{ title: '省', dataIndex: 'provinceName', width: 100, align: 'center' },
|
|
|
{ title: '市', dataIndex: 'cityName', width: 100, align: 'center' },
|
|
@@ -153,7 +154,7 @@ export default {
|
|
|
{ title: '详细地址', dataIndex: 'address', width: 200, align: 'center', ellipsis: true },
|
|
|
{ title: '兑换规则', dataIndex: 'exRuleName', width: 150, align: 'center' },
|
|
|
{ title: '投放时间段名称', dataIndex: 'timeRuleName', width: 150, align: 'center' },
|
|
|
- { title: '操作', scopedSlots: { customRender: 'action' }, align: 'center' }
|
|
|
+ { title: '操作', scopedSlots: { customRender: 'action' }, width: 200, align: 'center' }
|
|
|
],
|
|
|
// 加载数据方法 必须为 Promise 对象
|
|
|
loadData: parameter => {
|
|
@@ -221,7 +222,7 @@ export default {
|
|
|
this.$refs.table.refresh(true)
|
|
|
this.networkId = undefined
|
|
|
this.networkNo = undefined
|
|
|
- this.queryParam.labelNoList=[]
|
|
|
+ this.queryParam.labelNoList = []
|
|
|
},
|
|
|
// 新增、编辑网点
|
|
|
handleEdit (row) {
|