物流修改

master
zhangdi 1 day ago
parent e62b2a1eb9
commit 118f2e4f13
  1. 65
      pages/index/menu.js
  2. 17
      pages/logistics/site.vue
  3. BIN
      static/images/menus/bsTower.png
  4. BIN
      static/images/menus/inspection.png
  5. BIN
      static/images/menus/spotCheck.png
  6. BIN
      static/images/menus/waterInspection.png

@ -220,6 +220,71 @@ const menus = {
], ],
}, },
// {
// title: '安环管理',
// children: [
// {
// key: "spotCheck",
// title: "安全点检",
// url: "../safe/spotCheck",
// bgColor: '',
// limit: 'RB2315',
// icon: {
// size: 20,
// color: '#00b7ee',
// type: ''
// }
// },
// {
// key: "inspection",
// title: "安全巡检",
// url: "../safe/inspection",
// bgColor: '',
// limit: 'RB2316',
// icon: {
// size: 20,
// color: '#00b7ee',
// type: ''
// }
// },
// {
// key: "waterInspection",
// title: "环保巡检",
// url: "../sanitation/waterInspection",
// bgColor: '',
// limit: 'RB2318',
// icon: {
// size: 20,
// color: '#00b7ee',
// type: ''
// }
// },
// // {
// // key: "gasInspection",
// // title: "废气巡检",
// // url: "../sanitation/gasInspection",
// // bgColor: '',
// // limit: 'RB2319',
// // icon: {
// // size: 20,
// // color: '#00b7ee',
// // type: ''
// // }
// // },
// {
// key: "bsTower",
// title: "酸雾塔",
// url: "../sanitation/bsTower",
// bgColor: '',
// limit: 'RB2319',
// icon: {
// size: 20,
// color: '#00b7ee',
// type: ''
// }
// },
// ]
// },
{ {
title: '物流配送', title: '物流配送',
children: [ children: [

@ -117,7 +117,7 @@
<text <text
:class="[ :class="[
'bold', 'bold',
confirmDialog.currentStatus === '占用' confirmDialog.currentStatus === '占用'||confirmDialog.currentStatus === '预占用'
? 'text-red' ? 'text-red'
: 'text-green', : 'text-green',
]" ]"
@ -128,7 +128,7 @@
<text <text
:class="[ :class="[
'bold', 'bold',
confirmDialog.newStatus === '占用' ? 'text-red' : 'text-green', confirmDialog.newStatus === '占用'||confirmDialog.newStatus === '预占用' ? 'text-red' : 'text-green',
]" ]"
> >
{{ confirmDialog.newStatus }} {{ confirmDialog.newStatus }}
@ -340,12 +340,21 @@ export default {
// //
getStatusClass(status) { getStatusClass(status) {
return status == 1 ? "status-occupied" : "status-available"; return status == 1||status == 2 ? "status-occupied" : "status-available";
}, },
// //
getStatusLabel(status) { getStatusLabel(status) {
return status == 0 ? "闲置" : "占用"; if (status == 0) {
return "闲置";
}
if (status == 1) {
return "占用";
}
if (status == 2) {
return "预占用";
}
// return status == 0 ? "" : "";
}, },
// //

Binary file not shown.

Before

Width:  |  Height:  |  Size: 986 B

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.6 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.4 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Loading…
Cancel
Save