From efd950473656ea0b439f5d20bfb19b5b93b56e03 Mon Sep 17 00:00:00 2001 From: "zyc@123456" <784479659@qq.com> Date: Tue, 30 May 2023 11:25:54 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E4=BF=AE=E6=94=B9=E5=9C=B0?= =?UTF-8?q?=E5=9B=BE=EF=BC=8C=E8=B4=A8=E7=89=A9=E7=9B=91=E6=B5=8B=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81=E6=95=88=E6=9E=9C?= =?UTF-8?q?=EF=BC=8C=E8=B4=A8=E7=89=A9=E7=9B=91=E6=B5=8B=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=EF=BC=8C=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=BC=96=E5=86=99=E7=AD=89=E9=A1=B5=E9=9D=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Sidebar/index.vue | 10 +- src/router/index.js | 19 + src/views/dashboard/components/HomeMap.vue | 223 +++++- src/views/index.vue | 30 +- src/views/renlianshibie/renlianshibieList.vue | 78 +- .../shebeizhuangtai/shebeizhuangtaiList.vue | 8 +- src/views/zhiwujiance/zhiwujianceAdd.vue | 336 +++++++++ src/views/zhiwujiance/zhiwujianceInfo.vue | 228 ++++++ src/views/zhiwujiance/zhiwujianceList.vue | 664 ++++++++++++++++++ 9 files changed, 1539 insertions(+), 57 deletions(-) create mode 100644 src/views/zhiwujiance/zhiwujianceAdd.vue create mode 100644 src/views/zhiwujiance/zhiwujianceInfo.vue create mode 100644 src/views/zhiwujiance/zhiwujianceList.vue diff --git a/src/layout/components/Sidebar/index.vue b/src/layout/components/Sidebar/index.vue index c13910a..8ee8365 100644 --- a/src/layout/components/Sidebar/index.vue +++ b/src/layout/components/Sidebar/index.vue @@ -119,13 +119,13 @@ // }, { alwaysShow: true, - component: "renlianshibie", + component: "zhiwujiance", meta: { - icon: "icon-renlianshibie6", + icon: "icon-renlianshibie", title: "质物监测", }, name: "", - path: "/renlianshibie/renlianshibieList", + path: "/zhiwujiance/zhiwujianceList", // children: [{ // alwaysShow: true, // component: "index", @@ -133,8 +133,8 @@ // icon: "el-icon-help", // title: "质物监测", // }, - // name: "/renlianshibie/renlianshibieList", - // path: "/renlianshibie/renlianshibieList", + // name: "/zhiwujiance/zhiwujianceList", + // path: "/zhiwujiance/zhiwujianceList", // }] }, // { diff --git a/src/router/index.js b/src/router/index.js index 60012ef..d1b1a06 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -96,6 +96,25 @@ export const constantRoutes = [ ], }, ////质物监测 + { + path: "/zhiwujianceList", + component: Layout, + redirect: "/zhiwujiance/zhiwujianceList", + meta: { + title: "质物监测", + }, + children: [ + { + path: "/zhiwujiance/zhiwujianceList", + component: () => import("@/views/zhiwujiance/zhiwujianceList.vue"), + name: "zhiwujianceList", + meta: { + title: "质物监测", + noCache: true, + }, + }, + ], + }, { path: "/renlianshibieList", component: Layout, diff --git a/src/views/dashboard/components/HomeMap.vue b/src/views/dashboard/components/HomeMap.vue index 1203375..7c02495 100644 --- a/src/views/dashboard/components/HomeMap.vue +++ b/src/views/dashboard/components/HomeMap.vue @@ -1,6 +1,6 @@ \ No newline at end of file + diff --git a/src/views/index.vue b/src/views/index.vue index ccf933a..f7e83de 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -6,43 +6,43 @@
-
河北仓库39
+
河北仓库3
货物数4575
-
河北仓库39
-
货物数4575
+
湖北仓库3
+
货物数2575
-
北京仓库39
+
黑龙江3
货物数4575
-
上海仓库39
-
货物数4575
+
上海仓库1
+
货物数123
-
江苏仓库39
-
货物数4575
+
江苏仓库1
+
货物数126
- +
@@ -64,7 +64,7 @@
提醒任务
-
更多>
+
更多>
@@ -316,7 +316,13 @@ } }, methods: { + toMore() { + this.$router.push({ + path: '/baojingchaxun/baojingchaxunList', + }) + }, getMessage() { + this.$notify({ title: '报警消息', dangerouslyUseHTMLString: true, @@ -357,7 +363,7 @@ .rightbars{ } -.zongcons .maps{width: 100%;height: 605px;padding:40px 0 0 0;} +.zongcons .maps{width: 100%;height: 605px;padding:40px 0 0 100px;text-align: right;} .webindex { display: flex; flex-direction: row; @@ -572,7 +578,7 @@ margin: 0; position: absolute; z-index: 600; - top: 20px; + top: 20px;left: 20px; // background-color: rgba($color: #ffffff, $alpha: 0.7); // box-shadow: 0px 0px 6px #0d27c2; background-color: #fff; diff --git a/src/views/renlianshibie/renlianshibieList.vue b/src/views/renlianshibie/renlianshibieList.vue index 29902c1..7224e69 100644 --- a/src/views/renlianshibie/renlianshibieList.vue +++ b/src/views/renlianshibie/renlianshibieList.vue @@ -90,33 +90,38 @@
- 图库照 +
+
-
质物名称:{{item.name}}
-
入库日期:{{item.createTime}}
-
时间:{{item.createTime2}}
-
生产厂家:{{item.changjia}}
-
数量:{{item.shuliang}}瓶
+
位置:{{item.cangku}}
+
拍照日期:{{item.createTime}}
+
拍照时间:{{item.createTime2}}
+

98%

相似度
- 图库照 +
-
质物名称:{{item.nameb}}
-
入库日期:{{item.createTimeb}}
-
时间:{{item.createTime2}}
-
生产厂家:{{item.changjiab}}
-
数量:{{item.shuliangb}}瓶
+
位置:{{item.cangku}}
+
拍照日期:{{item.createTime}}
+
拍照时间:{{item.createTime2}}
+
+
+ 视频 + 详情 + 详情 +
@@ -239,13 +244,13 @@ export default { { title: '仓库2', id: '2' }, ], Datalista: [ - {cangku:'华盛中心仓库1',name: '康师傅矿泉水',tuUrl:'./image/tu1.jpg', createTime: '2023-05-03',createTime2: '18:26:38', changjia: '康师傅',shuliang:'1000',zhongliang:'500', + {cangku:'仓库1003F3',name: '康师傅矿泉水',tuUrl:'./image/tu1.jpg', createTime: '2023-05-03',createTime2: '18:26:38', changjia: '康师傅',shuliang:'1000',zhongliang:'500', nameb: '康师傅矿泉水2',tuUrlb:'./image/tu2.jpg', createTimeb: '2023-05-03',createTime2: '18:26:38',changjiab: '康师傅',shuliangb:'1000',zhongliangb:'500'}, - {cangku:'华盛中心仓库1',name: '康师傅矿泉水',tuUrl:'./image/tu1.jpg', createTime: '2023-05-03',createTime2: '18:26:38', changjia: '康师傅',shuliang:'1000',zhongliang:'500', + {cangku:'仓库1003F3',name: '康师傅矿泉水',tuUrl:'./image/tu1.jpg', createTime: '2023-05-03',createTime2: '18:26:38', changjia: '康师傅',shuliang:'1000',zhongliang:'500', nameb: '康师傅矿泉水2',tuUrlb:'./image/tu2.jpg', createTimeb: '2023-05-03',createTime2: '18:26:38',changjiab: '康师傅',shuliangb:'1000',zhongliangb:'500'}, - {cangku:'华盛中心仓库1',name: '康师傅矿泉水',tuUrl:'./image/tu1.jpg', createTime: '2023-05-03',createTime2: '18:26:38', changjia: '康师傅',shuliang:'1000',zhongliang:'500', + {cangku:'仓库1003F3',name: '康师傅矿泉水',tuUrl:'./image/tu1.jpg', createTime: '2023-05-03',createTime2: '18:26:38', changjia: '康师傅',shuliang:'1000',zhongliang:'500', nameb: '康师傅矿泉水2',tuUrlb:'./image/tu2.jpg', createTimeb: '2023-05-03',createTime2: '18:26:38',changjiab: '康师傅',shuliangb:'1000',zhongliangb:'500'}, - {cangku:'华盛中心仓库1',name: '康师傅矿泉水',tuUrl:'./image/tu1.jpg', createTime: '2023-05-03',createTime2: '18:26:38', changjia: '康师傅',shuliang:'1000',zhongliang:'500', + {cangku:'仓库1003F3',name: '康师傅矿泉水',tuUrl:'./image/tu1.jpg', createTime: '2023-05-03',createTime2: '18:26:38', changjia: '康师傅',shuliang:'1000',zhongliang:'500', nameb: '康师傅矿泉水2',tuUrlb:'./image/tu2.jpg', createTimeb: '2023-05-03',createTime2: '18:26:38',changjiab: '康师傅',shuliangb:'1000',zhongliangb:'500'}, ], dialogImage: false, @@ -565,8 +570,8 @@ export default { .con { padding: 20px 0;background-color: #fff; } -.news {display: inline-block; - width: calc(50% - 20px); +.news {display: block;width: calc(100% - 20px); + /* width: calc(50% - 20px); */ margin: 10px 10px; background-color: #fff; box-shadow:0px 0px 10px #E9E9E9;border-radius: 5px; @@ -575,9 +580,9 @@ export default { /* .news:nth-of-type(4n) { margin: 0 !important; } */ -.news:nth-of-type(2n) { width: calc(50% - 10px); +/* .news:nth-of-type(2n) { width: calc(50% - 10px); margin: 10px 0 10px 10px; -} +} */ /* .news:nth-of-type(4n - 3) {width: calc(25% - 10px); margin: 10px 10px 10px 0px; } */ @@ -608,16 +613,20 @@ export default { .news .contents .newslis{padding: 10px 10px; display: flex; flex-direction: row; flex-wrap: nowrap; + justify-content: space-between;align-items: center;} + .news .contents .newslis .newslilefts{flex: 1;background-color: #848383; + flex-direction: row; + flex-wrap: nowrap; justify-content: flex-start;align-items: center;} - .news .contents .newslis .tits{padding: 0;width: 20px;color: #8e8e8e;} + /* .news .contents .newslis .tits{padding: 0;width: 20px;color: #8e8e8e;} */ /* .news .contents .newslis .rentu{padding: 0;width: 80px;height: 80px;border-radius: 5px;border: 1px solid #ff2424;margin: 0 20px;} */ -.news .contents .newslis .yuans{padding: 0;margin: 0 20px;width: 80px;height: 80px !important;border-radius: 80px;border: 1px solid #ff2424;text-align: center;} -.news .contents .newslis .yuans p{padding: 15px 0 1px 0;color: #ff2424;font-size: 26px;margin: 0;} -.news .contents .newslis .yuans span{padding: 0;margin: 0;color: #8e8e8e;font-size: 14px;display: block;} +.news .contents .newslis .newslilefts .yuans{padding: 0;margin: 0 20px;width: 80px;height: 80px !important;border-radius: 80px;border: 1px solid #ff2424;text-align: center;} +.news .contents .newslis .newslilefts .yuans p{padding: 15px 0 1px 0;color: #ff2424;font-size: 26px;margin: 0;} +.news .contents .newslis .newslilefts .yuans span{padding: 0;margin: 0;color: #8e8e8e;font-size: 14px;display: block;} /* .news .contents .newslis .rightzi{padding: 0 10px;color: #8e8e8e;text-align: left;} .news .contents .newslis .rightzi p{padding: 1px 0;color: #8e8e8e;font-size: 12px;margin: 0;} */ -.news .contents .newslis .newsli {display: inline-block; +.news .contents .newslis .newslilefts .newsli {flex: 1; display: flex; flex-direction: row; flex-wrap: nowrap; @@ -626,29 +635,38 @@ export default { padding: 5px 10px; /* border-bottom: 1px solid #ececee; */ } -.news .contents .newslis .newsli .tu { +.news .contents .newslis .newslilefts .newsli .tu { padding: 0px 0 0 0; width: 120px;height: 120px;border-radius: 5px;border: 1px solid #ff2424; } -.news .contents .newslis .newsli .tu img { +.news .contents .newslis .newslilefts .newsli .tu img { width: 100%;height: 100%;border-radius: 5px;border: 1px solid #ff2424; } -.news .contents .newslis .newsli .rightwen { +.news .contents .newslis .newslilefts .newsli .rightwen { padding: 0px 0 0 20px; flex: 3; } -.news .contents .newslis .newsli .rightwen .tit { +.news .contents .newslis .newslilefts .newsli .rightwen .tit { padding: 3px 0; font-size: 14px;font-weight: bold; /* height: 25px; overflow: hidden; line-height: 25px; */ } -.news .contents .newslis .newsli .rightwen .time { +.news .contents .newslis .newslilefts .newsli .rightwen .time { padding: 3px 0; color: #848383; font-size: 14px; /* height: 25px; line-height: 25px; */ } +.news .contents .newslis .caozuos {width: 180px; + display: flex; + flex-direction: row; + flex-wrap: nowrap; + justify-content: space-between; + margin: 0px 0px; + padding: 5px 10px; + text-align: right; +} diff --git a/src/views/shebeizhuangtai/shebeizhuangtaiList.vue b/src/views/shebeizhuangtai/shebeizhuangtaiList.vue index 6935ae7..86db32f 100644 --- a/src/views/shebeizhuangtai/shebeizhuangtaiList.vue +++ b/src/views/shebeizhuangtai/shebeizhuangtaiList.vue @@ -1,7 +1,7 @@ --> - + + + + + + 拍照图片 + + + + + 添加图片 + + + + + + + + + +
+
+ + + + + diff --git a/src/views/zhiwujiance/zhiwujianceInfo.vue b/src/views/zhiwujiance/zhiwujianceInfo.vue new file mode 100644 index 0000000..ca0b4b4 --- /dev/null +++ b/src/views/zhiwujiance/zhiwujianceInfo.vue @@ -0,0 +1,228 @@ + + + + + diff --git a/src/views/zhiwujiance/zhiwujianceList.vue b/src/views/zhiwujiance/zhiwujianceList.vue new file mode 100644 index 0000000..7d1c2b7 --- /dev/null +++ b/src/views/zhiwujiance/zhiwujianceList.vue @@ -0,0 +1,664 @@ + + + + +