轮播图
This commit is contained in:
		| @@ -153,6 +153,7 @@ export default { | ||||
|         { | ||||
|           prop: 'type', | ||||
|           label: '链接类型', | ||||
|           align: 'center', | ||||
|           render: (h, {row}) => { | ||||
|             return h('span', null, this.dict.getLabel('bannerType', row.type)) | ||||
|           }, | ||||
| @@ -160,12 +161,19 @@ export default { | ||||
|         { | ||||
|           prop: 'status', | ||||
|           label: '发布状态', | ||||
|           width: 400, | ||||
|           align: 'center', | ||||
|           render: (h, {row}) => { | ||||
|             return h('span', null, this.dict.getLabel('bannerSstatus', row.status)) | ||||
|           }, | ||||
|         }, | ||||
|         { | ||||
|           prop: 'position', | ||||
|           label: '位置', | ||||
|           align: 'center', | ||||
|           render: (h, {row}) => { | ||||
|             return h('span', null, this.dict.getLabel('bannerSstatus', row.status)) | ||||
|           }, | ||||
|         }, | ||||
|  | ||||
|         {slot: 'option', label: '操作', width: 280}, | ||||
|       ], | ||||
|     } | ||||
| @@ -176,13 +184,10 @@ export default { | ||||
|   }, | ||||
|   // 监听 | ||||
|   watch: {}, | ||||
|   // 实例创建后 | ||||
|   created() { | ||||
|     this.dict.load('bannerType', 'bannerSstatus', 'bannerPosition').then(() => { | ||||
|       this.getList() | ||||
|     }) | ||||
|     // this.getList() | ||||
|     this.getShopList() | ||||
|   }, | ||||
|   // 实例渲染后 | ||||
|   mounted() { | ||||
| @@ -208,8 +213,7 @@ export default { | ||||
|       .catch(() => { | ||||
|       }) | ||||
|     }, | ||||
|     getShopList() { | ||||
|     }, | ||||
|  | ||||
|     add() { | ||||
|       this.dialog.title = '添加' | ||||
|       this.dialogInfo = {} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user