| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- <template>
- <el-card shadow="never">
- <yun-table
- :columns="columns"
- search="name,phone"
- toolbar="refresh,add,edit,del,more"
- ref="yuntable"
- :auth="auth"
- :extend="extend">
- </yun-table>
- </el-card>
- </template>
- <script>
- import table from "@components/Table.js";
- export default{
- components:{'YunTable':table},
- data:{
- auth:{
-
- recyclebin:Yunqi.auth.check('app\\admin\\controller\\shop\\ShopList','recyclebin'),
- },
- extend:{
- index_url: 'shop/shop_delivery/index',
- recyclebin_url: 'shop/shop_delivery/recyclebin',
- },
- columns:[
- {checkbox: true},
- {field: 'id',title: __('ID'),width:80,sortable: true},
- {field: 'customer_id',title: __('客户'),operate:'LIKE'},
- {field: 'type_id',title: __('平台'),operate: '=', searchList: Yunqi.data.platformList},
- {field: 'type_box', title: __('店铺名称'),operate: 'LIKE'},
- {field: 'num', title: __('员工'),searchList: {1: __('日结'), 2: __('周结'), 3: __('半月结')}},
- {field: 'status', title: __('状态'),width:120,searchList: {1: __('正常'),2: __('停用')},formatter:Yunqi.formatter.switch},
- {field: 'create_time', title: __('创建时间'), width:160,formatter: Yunqi.formatter.datetime,operate:false,sortable: true},
- {
- field: 'operate',
- title: __('操作'),
- width:150,
- action:{sort:true,edit:true,del:true}
- }
- ]
- },
- methods: {
-
- }
- }
- </script>
- <style>
- </style>
|