main
fanfan 4 months ago
parent 1e14172c02
commit 22a9435137
  1. 11
      src/views/store/describe.vue

@ -43,14 +43,6 @@
<a-button v-action:add type="primary" icon="plus" @click="handleAdd">新增</a-button> <a-button v-action:add type="primary" icon="plus" @click="handleAdd">新增</a-button>
</div> </div>
<s-table ref="table" size="default" rowKey="store_id" :columns="columns" :data="loadData" :pagination="pagination"> <s-table ref="table" size="default" rowKey="store_id" :columns="columns" :data="loadData" :pagination="pagination">
<span slot="plate_id" slot-scope="text">
<span v-if="text == 1">商品</span>
<span v-if="text == 2">数据</span><span v-if="text == 3">商品订单</span><span v-if="text == 4">服务订单</span
><span v-if="text == 5">回收订单</span><span v-if="text == 6">支付</span><span v-if="text == 7">财务</span
><span v-if="text == 8">店铺展示</span><span v-if="text == 9">角色</span><span v-if="text == 10">营销</span
><span v-if="text == 11">多商户</span><span v-if="text == 12">内容管理</span
><span v-if="text == 13">其他功能</span>
</span>
<span slot="air" slot-scope="text"> {{ text == '10' ? '√' : text == '20' ? '×' : text }}</span> <span slot="air" slot-scope="text"> {{ text == '10' ? '√' : text == '20' ? '×' : text }}</span>
<span slot="pro" slot-scope="text"> {{ text == '10' ? '√' : text == '20' ? '×' : text }}</span> <span slot="pro" slot-scope="text"> {{ text == '10' ? '√' : text == '20' ? '×' : text }}</span>
<span slot="H5" slot-scope="text"> {{ text == '10' ? '√' : text == '20' ? '×' : text }}</span> <span slot="H5" slot-scope="text"> {{ text == '10' ? '√' : text == '20' ? '×' : text }}</span>
@ -94,8 +86,7 @@ export default {
columns: [ columns: [
{ {
title: '板块', title: '板块',
dataIndex: 'plate_id', dataIndex: 'plate_name',
scopedSlots: { customRender: 'plate_id' },
}, },
{ {
title: '功能', title: '功能',

Loading…
Cancel
Save