Răsfoiți Sursa

图片优化

shish 1 an în urmă
părinte
comite
8a2803b8c7
2 a modificat fișierele cu 41 adăugiri și 41 ștergeri
  1. 40 40
      hdApp/src/admin/home/apply.vue
  2. 1 1
      hdApp/src/admin/home/workbench.vue

+ 40 - 40
hdApp/src/admin/home/apply.vue

@@ -32,71 +32,71 @@ export default {
         {
             title:'花材',
             list:[
-                {name: "花材",img: `${this.$constant.imgUrl}/ghs/home/hcgl2.png`,url: "/admin/item/list2",pf:1},
-                {name: "花材分类",img: `${this.$constant.imgUrl}/ghs/home/hcgl2.png`,url: "/admin/itemClass/list",pf:1},
-                {name: "停用",img: `${this.$constant.imgUrl}/ghs/home/hcgl2.png`,url: "/admin/item/list?delStatus=1",pf:1},
-                { name: "花材盘点", img: `${this.$constant.imgUrl}/ghs/home/pandian2.png`, url: "/pagesStorehouse/inventory/list",pf:1}
+                {name: "花材",img: `${this.$constant.hostUrl}/image/ghs/home/hcgl2.png`,url: "/admin/item/list2",pf:1},
+                {name: "花材分类",img: `${this.$constant.hostUrl}/image/ghs/home/hcgl2.png`,url: "/admin/itemClass/list",pf:1},
+                {name: "停用",img: `${this.$constant.hostUrl}/image/ghs/home/hcgl2.png`,url: "/admin/item/list?delStatus=1",pf:1},
+                { name: "花材盘点", img: `${this.$constant.hostUrl}/image/ghs/home/pandian2.png`, url: "/pagesStorehouse/inventory/list",pf:1}
             ]
         },
         {
             title:'花束',
             list:[
-                { name: "花束", img: `${this.$constant.imgUrl}/ghs/home/hcgl2.png`, url: "/admin/goods/list",pf:1},
-                { name: "花束品种", img: `${this.$constant.imgUrl}/ghs/home/hcgl2.png`, url: "/admin/goods/kind",pf:1},
-                //{ name: "涨价设置", img: `${this.$constant.imgUrl}/ghs/home/hcgl2.png`, url: "/admin/goods/price-increase",pf:1},
-                { name: "商城分类", img: `${this.$constant.imgUrl}/ghs/home/hcgl2.png`, url: "/admin/goods/category",pf:1},
+                { name: "花束", img: `${this.$constant.hostUrl}/image/ghs/home/hcgl2.png`, url: "/admin/goods/list",pf:1},
+                { name: "花束品种", img: `${this.$constant.hostUrl}/image/ghs/home/hcgl2.png`, url: "/admin/goods/kind",pf:1},
+                //{ name: "涨价设置", img: `${this.$constant.hostUrl}/image/ghs/home/hcgl2.png`, url: "/admin/goods/price-increase",pf:1},
+                { name: "商城分类", img: `${this.$constant.hostUrl}/image/ghs/home/hcgl2.png`, url: "/admin/goods/category",pf:1},
             ]
         },
         {
             title:'绿植',
             list:[
-                { name: "绿植", img: `${this.$constant.imgUrl}/ghs/home/hcgl2.png`, url: "/admin/goods/lz",pf:1},
-                { name: "绿植品种", img: `${this.$constant.imgUrl}/ghs/home/hcgl2.png`, url: "/admin/goods/lzKind",pf:1},
-                { name: "绿植采购", img: `${this.$constant.imgUrl}/ghs/home/icon_caigou2.png`, url: "/admin/goods/plantCg",pf:1},
-                { name: "绿植盘点", img: `${this.$constant.imgUrl}/ghs/home/pandian2.png`, url: "/admin/goods/pdList",pf:1}
+                { name: "绿植", img: `${this.$constant.hostUrl}/image/ghs/home/hcgl2.png`, url: "/admin/goods/lz",pf:1},
+                { name: "绿植品种", img: `${this.$constant.hostUrl}/image/ghs/home/hcgl2.png`, url: "/admin/goods/lzKind",pf:1},
+                { name: "绿植采购", img: `${this.$constant.hostUrl}/image/ghs/home/icon_caigou2.png`, url: "/admin/goods/plantCg",pf:1},
+                { name: "绿植盘点", img: `${this.$constant.hostUrl}/image/ghs/home/pandian2.png`, url: "/admin/goods/pdList",pf:1}
             ]
         },
         {
           title: '生产',
           list: [
-            { name: "列表", img: `${this.$constant.imgUrl}/ghs/home/kcyjs2.png`, url: "/admin/work/list",pf:1},
-            {name: "生产统计",img: `${this.$constant.imgUrl}/ghs/home/jyzk2.png`,url: "/admin/stat/kind",pf:1},
-            { name: "员工生产统计", img: `${this.$constant.imgUrl}/ghs/home/kcyjs2.png`, url: "/admin/stat/makeStat",pf:1},
-            { name: "设置", img: `${this.$constant.imgUrl}/ghs/home/kcyjs2.png`, url: "/admin/work/set",pf:1},
+            { name: "列表", img: `${this.$constant.hostUrl}/image/ghs/home/kcyjs2.png`, url: "/admin/work/list",pf:1},
+            {name: "生产统计",img: `${this.$constant.hostUrl}/image/ghs/home/jyzk2.png`,url: "/admin/stat/kind",pf:1},
+            { name: "员工生产统计", img: `${this.$constant.hostUrl}/image/ghs/home/kcyjs2.png`, url: "/admin/stat/makeStat",pf:1},
+            { name: "设置", img: `${this.$constant.hostUrl}/image/ghs/home/kcyjs2.png`, url: "/admin/work/set",pf:1},
           ]
         },
         {
           title: '门店仓库',
           list: [
-            { name: "门店", img: `${this.$constant.imgUrl}/ghs/home/shop2.png`, url: "/admin/shop/list",pf:1},
-            { name: "调拨出库", img: `${this.$constant.imgUrl}/ghs/home/dbck2.png`, url: "/pagesStorehouse/allot/allotEx",pf:0},
-            { name: "调拨入库", img: `${this.$constant.imgUrl}/ghs/home/dbrk2.png`, url: "/pagesStorehouse/allot/allotPut",pf:0},
-            { name: "库存预警", img: `${this.$constant.imgUrl}/ghs/home/kcyjs2.png`, url: "/pagesStorehouse/stockWarn/manage",pf:1},
-            { name: "员工", img: `${this.$constant.imgUrl}/ghs/home/yggl2.png`, url: "/admin/staff/list",pf:1},
-            { name: "员工业绩", img: `${this.$constant.imgUrl}/ghs/home/icon_ygyj2.png`, url: "/admin/staff/achieve",pf:1},
-            { name: "供货商", img: `${this.$constant.imgUrl}/ghs/home/icon_ghs2.png`, url: "/pagesPurchase/order",pf:1},
-            { name: "已屏蔽", img: `${this.$constant.imgUrl}/ghs/home/icon_ghs2.png`, url: "/pagesPurchase/pb",pf:1},
-            { name: "采购单", img: `${this.$constant.imgUrl}/ghs/home/icon_caigou2.png`, url: "/pagesPurchase/shopping",pf:1},
-            { name: "损耗", img: `${this.$constant.imgUrl}/ghs/home/kcyjs2.png`, url: "/admin/breakage/list",pf:1},
-            { name: "拆散", img: `${this.$constant.imgUrl}/ghs/home/kcyjs2.png`, url: "/admin/part/list",pf:1},
-            { name: "商城", img: `${this.$constant.imgUrl}/ghs/home/shop2.png`, url: "/admin/cg/mall",pf:1},
-            { name: "开关商城", img: `${this.$constant.imgUrl}/ghs/home/shop2.png`, url: "/pagesPurchase/open",pf:1},
-            { name: "失信人员", img: `${this.$constant.imgUrl}/ghs/home/shop2.png`, url: "/admin/ll/list",pf:1},
-            { name: "会员优惠", img: `${this.$constant.imgUrl}/ghs/home/shop2.png`, url: "/admin/member/discount",pf:1},
-            { name: "充值优惠", img: `${this.$constant.imgUrl}/ghs/home/shop2.png`, url: "/admin/recharge/discount",pf:1},
+            { name: "门店", img: `${this.$constant.hostUrl}/image/ghs/home/shop2.png`, url: "/admin/shop/list",pf:1},
+            { name: "调拨出库", img: `${this.$constant.hostUrl}/image/ghs/home/dbck2.png`, url: "/pagesStorehouse/allot/allotEx",pf:0},
+            { name: "调拨入库", img: `${this.$constant.hostUrl}/image/ghs/home/dbrk2.png`, url: "/pagesStorehouse/allot/allotPut",pf:0},
+            { name: "库存预警", img: `${this.$constant.hostUrl}/image/ghs/home/kcyjs2.png`, url: "/pagesStorehouse/stockWarn/manage",pf:1},
+            { name: "员工", img: `${this.$constant.hostUrl}/image/ghs/home/yggl2.png`, url: "/admin/staff/list",pf:1},
+            { name: "员工业绩", img: `${this.$constant.hostUrl}/image/ghs/home/icon_ygyj2.png`, url: "/admin/staff/achieve",pf:1},
+            { name: "供货商", img: `${this.$constant.hostUrl}/image/ghs/home/icon_ghs2.png`, url: "/pagesPurchase/order",pf:1},
+            { name: "已屏蔽", img: `${this.$constant.hostUrl}/image/ghs/home/icon_ghs2.png`, url: "/pagesPurchase/pb",pf:1},
+            { name: "采购单", img: `${this.$constant.hostUrl}/image/ghs/home/icon_caigou2.png`, url: "/pagesPurchase/shopping",pf:1},
+            { name: "损耗", img: `${this.$constant.hostUrl}/image/ghs/home/kcyjs2.png`, url: "/admin/breakage/list",pf:1},
+            { name: "拆散", img: `${this.$constant.hostUrl}/image/ghs/home/kcyjs2.png`, url: "/admin/part/list",pf:1},
+            { name: "商城", img: `${this.$constant.hostUrl}/image/ghs/home/shop2.png`, url: "/admin/cg/mall",pf:1},
+            { name: "开关商城", img: `${this.$constant.hostUrl}/image/ghs/home/shop2.png`, url: "/pagesPurchase/open",pf:1},
+            { name: "失信人员", img: `${this.$constant.hostUrl}/image/ghs/home/shop2.png`, url: "/admin/ll/list",pf:1},
+            { name: "会员优惠", img: `${this.$constant.hostUrl}/image/ghs/home/shop2.png`, url: "/admin/member/discount",pf:1},
+            { name: "充值优惠", img: `${this.$constant.hostUrl}/image/ghs/home/shop2.png`, url: "/admin/recharge/discount",pf:1},
           ]
         },
         {
           title: '数据统计',
           list: [
-            {name: "利润表",img: `${this.$constant.imgUrl}/ghs/home/jyzk2.png`,url: "/admin/stat/profit",pf:1},
-            {name: "收入统计",img: `${this.$constant.imgUrl}/ghs/home/jyzk2.png`,url: "/admin/stat/kdIncome",pf:1},
-            {name: "花材销量",img: `${this.$constant.imgUrl}/ghs/home/jyzk2.png`,url: "/admin/stat/productSale",pf:1},
-            // {name: "客户下单榜",img: `${this.$constant.imgUrl}/ghs/home/jyzk2.png`,url: "/admin/stat/customSale",pf:1},
-            {name: "采购统计",img: `${this.$constant.imgUrl}/ghs/home/jyzk2.png`,url: "/admin/stat/cgStat",pf:1},
-            {name: "采购花材",img: `${this.$constant.imgUrl}/ghs/home/jyzk2.png`,url: "/admin/stat/cgItem",pf:1},
-            {name: "绿植统计",img: `${this.$constant.imgUrl}/ghs/home/jyzk2.png`,url: "/admin/stat/kindLz",pf:1},
-            {name: "损耗总览",img: `${this.$constant.imgUrl}/ghs/home/jyzk2.png`,url: "/admin/stat/waste"}
+            {name: "利润表",img: `${this.$constant.hostUrl}/image/ghs/home/jyzk2.png`,url: "/admin/stat/profit",pf:1},
+            {name: "收入统计",img: `${this.$constant.hostUrl}/image/ghs/home/jyzk2.png`,url: "/admin/stat/kdIncome",pf:1},
+            {name: "花材销量",img: `${this.$constant.hostUrl}/image/ghs/home/jyzk2.png`,url: "/admin/stat/productSale",pf:1},
+            // {name: "客户下单榜",img: `${this.$constant.hostUrl}/image/ghs/home/jyzk2.png`,url: "/admin/stat/customSale",pf:1},
+            {name: "采购统计",img: `${this.$constant.hostUrl}/image/ghs/home/jyzk2.png`,url: "/admin/stat/cgStat",pf:1},
+            {name: "采购花材",img: `${this.$constant.hostUrl}/image/ghs/home/jyzk2.png`,url: "/admin/stat/cgItem",pf:1},
+            {name: "绿植统计",img: `${this.$constant.hostUrl}/image/ghs/home/jyzk2.png`,url: "/admin/stat/kindLz",pf:1},
+            {name: "损耗总览",img: `${this.$constant.hostUrl}/image/ghs/home/jyzk2.png`,url: "/admin/stat/waste"}
           ]
         }
       ]

+ 1 - 1
hdApp/src/admin/home/workbench.vue

@@ -103,7 +103,7 @@
       <div class="tabs-list" v-for="(item, index) in tabsData" :key="index" >
         <div @click="goPage(item)">
           <div class="tabs-img">
-            <img :src="`${constant.imgUrl}/${item.img}`" alt mode="widthFix" />
+            <img :src="`${constant.hostUrl}/image/${item.img}`" alt mode="widthFix" />
           </div>
           <div class="tabs-name">{{ item.name }}</div>
         </div>