diff --git a/src/assets/icons/svg/home.svg b/src/assets/icons/svg/home.svg new file mode 100644 index 00000000..d299a79c --- /dev/null +++ b/src/assets/icons/svg/home.svg @@ -0,0 +1,12 @@ + + + 编组 + + + + + + + + + \ No newline at end of file diff --git a/src/layout/components/NavbarRight.vue b/src/layout/components/NavbarRight.vue index 66460aff..228cde89 100644 --- a/src/layout/components/NavbarRight.vue +++ b/src/layout/components/NavbarRight.vue @@ -1,5 +1,8 @@ @@ -244,7 +256,7 @@ export default { align-items: center; } .choicepart-box { - // border: 1px solid red; + // transition: all 0.3s linear; .choicepart-line1 { width: 100%; margin-bottom: 80px; diff --git a/src/views/core/monitoring/data24/index.vue b/src/views/core/monitoring/data24/index.vue index 3b5b1365..3f2c7e06 100644 --- a/src/views/core/monitoring/data24/index.vue +++ b/src/views/core/monitoring/data24/index.vue @@ -127,18 +127,19 @@ export default { lineData[it.recordTime + '_area'] = it.area }) console.log('你好', this.monitorList) - this.monitorList.forEach(m => { - console.log('455', m) - if (m.lineName === lineData.proLineName) { - m.data.forEach(bad => { - // 转成时间戳 - // console.log('233', Date.parse(bad.dynamicName)) - const stamp = Date.parse(bad.dynamicName) - lineData[stamp + '_bad'] = bad.dynamicValue - lineData[stamp + '_percent'] = (lineData[stamp + '_bad'] / lineData[stamp + '_down'] * 100).toFixed(2) + '%' - }) - } - }) + if (this.monitorList.length > 0) { + this.monitorList.forEach(m => { + if (m.lineName === lineData.proLineName) { + m.data.forEach(bad => { + // 转成时间戳 + // console.log('233', Date.parse(bad.dynamicName)) + const stamp = Date.parse(bad.dynamicName) + lineData[stamp + '_bad'] = bad.dynamicValue + lineData[stamp + '_percent'] = (lineData[stamp + '_bad'] / lineData[stamp + '_down'] * 100).toFixed(2) + '%' + }) + } + }) + } lineData['workOrderName'] = works.join(',') lineData['spec'] = specs.join(',') this.tableData.push(lineData) diff --git a/src/views/warehouse/end-material/warehouseGoods/add-or-updata.vue b/src/views/warehouse/end-material/warehouseGoods/add-or-updata.vue index 059f10d3..8b2ee713 100644 --- a/src/views/warehouse/end-material/warehouseGoods/add-or-updata.vue +++ b/src/views/warehouse/end-material/warehouseGoods/add-or-updata.vue @@ -2,7 +2,7 @@ * @Author: zwq * @Date: 2023-08-01 13:52:10 * @LastEditors: zwq - * @LastEditTime: 2023-11-17 09:52:17 + * @LastEditTime: 2023-11-20 15:54:28 * @Description: -->