|
|
@@ -61,7 +61,7 @@
|
|
|
<div class="tabs-list" v-for="(item, index) in tabsData" :key="index">
|
|
|
<div @click="goPage(item)">
|
|
|
<div class="tabs-img">
|
|
|
- <img :src="item.img" alt mode="widthFix" />
|
|
|
+ <img :src="`${constant.imgUrl}/${item.img}`" alt mode="widthFix" />
|
|
|
</div>
|
|
|
<div class="tabs-name">{{ item.name }}</div>
|
|
|
</div>
|
|
|
@@ -166,42 +166,42 @@ export default {
|
|
|
tabsData: [
|
|
|
{
|
|
|
name: "商城",
|
|
|
- img: `${this.$constant.imgUrl}/ghs/home/shop.png`,
|
|
|
+ img: 'ghs/home/shop.png',
|
|
|
url: "/admin/home/mall"
|
|
|
},
|
|
|
{
|
|
|
name: "改价",
|
|
|
- img: `${this.$constant.imgUrl}/ghs/home/gj.png`,
|
|
|
+ img: 'ghs/home/gj.png',
|
|
|
url: "/admin/changePrice/list"
|
|
|
},
|
|
|
{
|
|
|
name: "供应商",
|
|
|
- img: `${this.$constant.imgUrl}/ghs/home/icon_ghs.png`,
|
|
|
+ img: 'ghs/home/icon_ghs.png',
|
|
|
url: "/pagesPurchase/supplier"
|
|
|
},
|
|
|
{
|
|
|
name: "报损单",
|
|
|
- img: `${this.$constant.imgUrl}/ghs/home/kcyjs.png`,
|
|
|
+ img: 'ghs/home/kcyjs.png',
|
|
|
url: "/admin/breakage/list"
|
|
|
},
|
|
|
{
|
|
|
name: "库存预警",
|
|
|
- img: `${this.$constant.imgUrl}/ghs/home/kcyjs.png`,
|
|
|
+ img: 'ghs/home/kcyjs.png',
|
|
|
url: "/pagesStorehouse/stockWarn/manage"
|
|
|
},
|
|
|
{
|
|
|
name: "花材",
|
|
|
- img: `${this.$constant.imgUrl}/ghs/home/hcgl.png`,
|
|
|
+ img: 'ghs/home/hcgl.png',
|
|
|
url: "/admin/item/list"
|
|
|
},
|
|
|
{
|
|
|
name: "调拨出库",
|
|
|
- img: `${this.$constant.imgUrl}/ghs/home/dbck.png`,
|
|
|
+ img: 'ghs/home/dbck.png',
|
|
|
url: "/pagesStorehouse/allot/allotEx"
|
|
|
},
|
|
|
{
|
|
|
name: "调拨入库",
|
|
|
- img: `${this.$constant.imgUrl}/ghs/home/dbrk.png`,
|
|
|
+ img: 'ghs/home/dbrk.png',
|
|
|
url: "/pagesStorehouse/allot/allotPut"
|
|
|
}
|
|
|
],
|
|
|
@@ -316,7 +316,8 @@ export default {
|
|
|
});
|
|
|
consoleIndex().then(res => {
|
|
|
this.data = res.data;
|
|
|
- const { asset, todayData } = res.data;
|
|
|
+ const { asset, todayData,menu } = res.data;
|
|
|
+ this.tabsData = menu
|
|
|
if (!this.$util.isEmpty(asset)) {
|
|
|
// 订单总览
|
|
|
this.orderData[0].value = asset.unPayOrder;
|