shish 5 ani în urmă
părinte
comite
933193317a
3 a modificat fișierele cu 9 adăugiri și 22 ștergeri
  1. 1 1
      hd/src/components/chat/index.vue
  2. 1 14
      hd/src/views/home.vue
  3. 7 7
      hd/src/views/order/list.vue

+ 1 - 1
hd/src/components/chat/index.vue

@@ -103,7 +103,7 @@
 export default {
 	data() {
 		return {
-			visible: fale,
+			visible: false,
 			userList: [],
 			messageList: [
 				{

+ 1 - 14
hd/src/views/home.vue

@@ -195,11 +195,6 @@ export default {
 					icon: 'icondingdanguanli',
 					url: '/order/list'
 				},
-				{
-					name: '图库',
-					icon: 'iconshangpinguanli',
-					url: '/goods/img-store'
-				},
 				{
 					name: '客户管理',
 					icon: 'iconkehuguanli',
@@ -224,14 +219,6 @@ export default {
 					name: '广告管理',
 					icon: 'iconguanggao',
 					url: '/ad/list'
-				},
-				{
-					name: '客服',
-					icon: 'iconkefu'
-				},
-				{
-					name: '拼团',
-					icon: 'iconlianjie'
 				}
 			],
 			// 总统计
@@ -298,7 +285,7 @@ export default {
 				this.visitorData = res.visitStat;
 				this.noticeData = res.notice;
 				if (res.notice.length) {
-					this.promptModal = true;
+					//this.promptModal = true;
 				}
 				setTimeout(() => {
 					this.initChart();

+ 7 - 7
hd/src/views/order/list.vue

@@ -2,7 +2,7 @@
 	<div class="app-list-content">
 		<x-crud class="liu-crud-wrap order-list-wrap" @load="onLoad">
 			<!-- tabs -->
-			<template #slot-tabs="{ scope }">
+			<template #slot-tabs>
 				<el-tabs class="liu-tabs" type="border-card" v-model="tabIndex" @tab-click="handleClick">
 					<el-tab-pane
 						v-for="(item, index) in tabsData"
@@ -140,31 +140,31 @@ export default {
 		return {
 			// x-crud
 			app: null,
-			tabIndex: '-1',
+			tabIndex: '0',
 			tabsData: [
 				{
 					text: '全部',
-					key: '-1',
+					key: '0',
 					val: 0
 				},
 				{
 					text: '待付款',
-					key: '0',
+					key: '1',
 					val: 0
 				},
 				{
 					text: '待配送',
-					key: '1',
+					key: '2',
 					val: 0
 				},
 				{
 					text: '配送中',
-					key: '2',
+					key: '3',
 					val: 0
 				},
 				{
 					text: '已完成',
-					key: '5',
+					key: '4',
 					val: 0
 				}
 			],