|
@@ -39,7 +39,6 @@
|
|
<!-- 新建 -->
|
|
<!-- 新建 -->
|
|
<div class="table-operator">
|
|
<div class="table-operator">
|
|
<a-button type="primary" icon="plus" @click="modalHandle('add')">新建</a-button>
|
|
<a-button type="primary" icon="plus" @click="modalHandle('add')">新建</a-button>
|
|
- <a-button type="primary" icon="plus">详情</a-button>
|
|
|
|
</div>
|
|
</div>
|
|
<!-- 表格列表 -->
|
|
<!-- 表格列表 -->
|
|
<s-table ref="table" size="default" rowKey="id" :columns="columns" :data="loadData" bordered >
|
|
<s-table ref="table" size="default" rowKey="id" :columns="columns" :data="loadData" bordered >
|
|
@@ -115,15 +114,14 @@
|
|
// }
|
|
// }
|
|
// return res.data
|
|
// return res.data
|
|
// })
|
|
// })
|
|
- let data = [
|
|
|
|
- { createDate: '2020-07-31 15:09', equipment: 'ID585787887', name: '网点A', addrProvince: '陕西省', addrCity: '西安市', addrDetail: '华帝金座', businessHours: '8:30 - 22:00', equipmentStatus: '在线', businessStatus: '正常营业', wechatCode: '' },
|
|
|
|
- { createDate: '2020-07-31 15:09', equipment: 'ID585787887', name: '网点A', addrProvince: '陕西省', addrCity: '西安市', addrDetail: '华帝金座', businessHours: '8:30 - 22:00', equipmentStatus: '在线', businessStatus: '正常营业', wechatCode: '' },
|
|
|
|
- { createDate: '2020-07-31 15:09', equipment: 'ID585787887', name: '网点A', addrProvince: '陕西省', addrCity: '西安市', addrDetail: '华帝金座', businessHours: '8:30 - 22:00', equipmentStatus: '在线', businessStatus: '正常营业', wechatCode: '' },
|
|
|
|
- ]
|
|
|
|
- return new Promise((resolve, reject) => {
|
|
|
|
- console.log((resolve, reject))
|
|
|
|
- resolve(data)
|
|
|
|
- }).catch(() => console.log('Oops errors!'))
|
|
|
|
|
|
+ // let data = [
|
|
|
|
+ // { createDate: '2020-07-31 15:09', equipment: 'ID585787887', name: '网点A', addrProvince: '陕西省', addrCity: '西安市', addrDetail: '华帝金座', businessHours: '8:30 - 22:00', equipmentStatus: '在线', businessStatus: '正常营业', wechatCode: '' },
|
|
|
|
+ // { createDate: '2020-07-31 15:09', equipment: 'ID585787887', name: '网点A', addrProvince: '陕西省', addrCity: '西安市', addrDetail: '华帝金座', businessHours: '8:30 - 22:00', equipmentStatus: '在线', businessStatus: '正常营业', wechatCode: '' },
|
|
|
|
+ // { createDate: '2020-07-31 15:09', equipment: 'ID585787887', name: '网点A', addrProvince: '陕西省', addrCity: '西安市', addrDetail: '华帝金座', businessHours: '8:30 - 22:00', equipmentStatus: '在线', businessStatus: '正常营业', wechatCode: '' },
|
|
|
|
+ // ]
|
|
|
|
+ // return new Promise((resolve, reject) => {
|
|
|
|
+ // resolve(data)
|
|
|
|
+ // }).catch(() => console.log('Oops errors!'))
|
|
},
|
|
},
|
|
openModal: false, // 新增/编辑 洗车机 弹框展示状态
|
|
openModal: false, // 新增/编辑 洗车机 弹框展示状态
|
|
mtitle: '', // 新增/编辑 洗车机 弹框标题
|
|
mtitle: '', // 新增/编辑 洗车机 弹框标题
|