|
@@ -65,6 +65,16 @@
|
|
|
:columns="columns"
|
|
|
:data="loadData"
|
|
|
bordered>
|
|
|
+ <!-- 门店类型 -->
|
|
|
+ <template slot="typeDictValue" slot-scope="text, record">
|
|
|
+ <div v-if="record.typeDictValue">{{ record.typeDictValue }}</div>
|
|
|
+ <div v-else>--</div>
|
|
|
+ </template>
|
|
|
+ <!-- 负责人名称 -->
|
|
|
+ <template slot="managerName" slot-scope="text, record">
|
|
|
+ <div v-if="record.managerName">{{ record.managerName }}</div>
|
|
|
+ <div v-else>--</div>
|
|
|
+ </template>
|
|
|
<!-- 启用状态 -->
|
|
|
<template slot="isEnable" slot-scope="text, record">
|
|
|
<div v-if="record.isEnable == 0" style="color: #ff4d4f">{{ record.isEnableDictValue }}</div>
|
|
@@ -119,8 +129,8 @@ export default {
|
|
|
{ title: '创建时间', dataIndex: 'createDate', width: 150, align: 'center' },
|
|
|
{ title: '组织机构', dataIndex: 'orgCodeName', width: 120, align: 'center' },
|
|
|
{ title: '门店名称', dataIndex: 'name', width: 120, align: 'center' },
|
|
|
- { title: '门店类型', dataIndex: 'typeDictValue', width: 80, align: 'center' },
|
|
|
- { title: '负责人名称', dataIndex: 'managerName', width: 100, align: 'center' },
|
|
|
+ { title: '门店类型', scopedSlots: { customRender: 'typeDictValue' }, width: 80, align: 'center' },
|
|
|
+ { title: '负责人名称', scopedSlots: { customRender: 'managerName' }, width: 100, align: 'center' },
|
|
|
{ title: '负责人手机', dataIndex: 'managerMobile', width: 100, align: 'center' },
|
|
|
{ title: '启用状态', scopedSlots: { customRender: 'isEnable' }, width: 80, align: 'center' },
|
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: 120, align: 'center' }
|