| | |
| | | }, |
| | | }, |
| | | }, |
| | | [_vm._v("上下刀记录")] |
| | | [_vm._v("上下刀/首检单记录")] |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | |
| | | }, |
| | | [_vm._v("刷新")] |
| | | ), |
| | | _c( |
| | | "v-uni-button", |
| | | { |
| | | staticClass: _vm._$g(3, "sc"), |
| | | attrs: { _i: 3 }, |
| | | on: { |
| | | click: function ($event) { |
| | | return _vm.$handleViewEvent($event) |
| | | }, |
| | | }, |
| | | }, |
| | | [_vm._v(_vm._$g(3, "t0-0"))] |
| | | ), |
| | | ], |
| | | 1 |
| | | ), |
| | | _c( |
| | | "uni-view", |
| | | { staticClass: _vm._$g(3, "sc"), attrs: { _i: 3 } }, |
| | | { |
| | | staticClass: _vm._$g(4, "sc"), |
| | | class: _vm._$g(4, "c"), |
| | | attrs: { _i: 4 }, |
| | | }, |
| | | [ |
| | | _c( |
| | | "table", |
| | | { staticClass: _vm._$g(4, "sc"), attrs: { _i: 4 } }, |
| | | { staticClass: _vm._$g(5, "sc"), attrs: { _i: 5 } }, |
| | | [ |
| | | _c( |
| | | "thead", |
| | | { attrs: { _i: 5 } }, |
| | | { attrs: { _i: 6 } }, |
| | | [ |
| | | _c( |
| | | "tr", |
| | | { attrs: { _i: 6 } }, |
| | | { attrs: { _i: 7 } }, |
| | | [ |
| | | _c( |
| | | "th", |
| | | { staticStyle: { width: "7%" }, attrs: { _i: 7 } }, |
| | | { staticStyle: { width: "7%" }, attrs: { _i: 8 } }, |
| | | [_vm._v("刀具编号")] |
| | | ), |
| | | _c( |
| | | "th", |
| | | { staticStyle: { width: "12%" }, attrs: { _i: 8 } }, |
| | | { staticStyle: { width: "12%" }, attrs: { _i: 9 } }, |
| | | [_vm._v("刀具名称")] |
| | | ), |
| | | _c( |
| | | "th", |
| | | { staticStyle: { width: "10%" }, attrs: { _i: 9 } }, |
| | | { staticStyle: { width: "10%" }, attrs: { _i: 10 } }, |
| | | [_vm._v("上刀时间")] |
| | | ), |
| | | _c( |
| | | "th", |
| | | { |
| | | staticClass: _vm._$g(10, "sc"), |
| | | staticClass: _vm._$g(11, "sc"), |
| | | staticStyle: { width: "7%" }, |
| | | attrs: { _i: 10 }, |
| | | attrs: { _i: 11 }, |
| | | }, |
| | | [_vm._v("上刀计数")] |
| | | ), |
| | | _c( |
| | | "th", |
| | | { staticStyle: { width: "10%" }, attrs: { _i: 11 } }, |
| | | { staticStyle: { width: "10%" }, attrs: { _i: 12 } }, |
| | | [_vm._v("下刀时间")] |
| | | ), |
| | | _c( |
| | | "th", |
| | | { |
| | | staticClass: _vm._$g(12, "sc"), |
| | | staticStyle: { width: "7%" }, |
| | | attrs: { _i: 12 }, |
| | | }, |
| | | [_vm._v("下刀计数")] |
| | | ), |
| | | _c( |
| | | "th", |
| | |
| | | staticStyle: { width: "7%" }, |
| | | attrs: { _i: 13 }, |
| | | }, |
| | | [_vm._v("使用次数")] |
| | | [_vm._v("下刀计数")] |
| | | ), |
| | | _c( |
| | | "th", |
| | |
| | | staticStyle: { width: "7%" }, |
| | | attrs: { _i: 14 }, |
| | | }, |
| | | [_vm._v("使用上限")] |
| | | [_vm._v("使用次数")] |
| | | ), |
| | | _c( |
| | | "th", |
| | |
| | | staticStyle: { width: "7%" }, |
| | | attrs: { _i: 15 }, |
| | | }, |
| | | [_vm._v("寿命比%")] |
| | | [_vm._v("使用上限")] |
| | | ), |
| | | _c( |
| | | "th", |
| | |
| | | staticStyle: { width: "7%" }, |
| | | attrs: { _i: 16 }, |
| | | }, |
| | | [_vm._v("寿命比%")] |
| | | ), |
| | | _c( |
| | | "th", |
| | | { |
| | | staticClass: _vm._$g(17, "sc"), |
| | | staticStyle: { width: "7%" }, |
| | | attrs: { _i: 17 }, |
| | | }, |
| | | [_vm._v("寿命比预警值")] |
| | | ), |
| | | _c( |
| | | "th", |
| | | { staticStyle: { width: "7%" }, attrs: { _i: 17 } }, |
| | | { staticStyle: { width: "7%" }, attrs: { _i: 18 } }, |
| | | [_vm._v("预警状态")] |
| | | ), |
| | | _c( |
| | | "th", |
| | | { staticStyle: { width: "7%" }, attrs: { _i: 18 } }, |
| | | { staticStyle: { width: "7%" }, attrs: { _i: 19 } }, |
| | | [_vm._v("刀具在机状态")] |
| | | ), |
| | | ], |
| | |
| | | ), |
| | | _c( |
| | | "tbody", |
| | | { attrs: { _i: 19 } }, |
| | | { attrs: { _i: 20 } }, |
| | | [ |
| | | _vm._l(_vm._$g(20, "f"), function (item, idx, $20, $30) { |
| | | _vm._l(_vm._$g(21, "f"), function (item, idx, $20, $30) { |
| | | return _c( |
| | | "tr", |
| | | { |
| | | key: item, |
| | | class: _vm._$g("20-" + $30, "c"), |
| | | attrs: { _i: "20-" + $30 }, |
| | | class: _vm._$g("21-" + $30, "c"), |
| | | attrs: { _i: "21-" + $30 }, |
| | | }, |
| | | [ |
| | | _c("td", { attrs: { _i: "21-" + $30 } }, [ |
| | | _vm._v(_vm._$g("21-" + $30, "t0-0")), |
| | | _c("td", { attrs: { _i: "22-" + $30 } }, [ |
| | | _vm._v(_vm._$g("22-" + $30, "t0-0")), |
| | | ]), |
| | | _c( |
| | | "td", |
| | | { |
| | | staticClass: _vm._$g("22-" + $30, "sc"), |
| | | attrs: { _i: "22-" + $30 }, |
| | | staticClass: _vm._$g("23-" + $30, "sc"), |
| | | attrs: { _i: "23-" + $30 }, |
| | | }, |
| | | [_vm._v(_vm._$g("22-" + $30, "t0-0"))] |
| | | [_vm._v(_vm._$g("23-" + $30, "t0-0"))] |
| | | ), |
| | | _c("td", { attrs: { _i: "23-" + $30 } }, [ |
| | | _vm._v(_vm._$g("23-" + $30, "t0-0")), |
| | | _c("td", { attrs: { _i: "24-" + $30 } }, [ |
| | | _vm._v(_vm._$g("24-" + $30, "t0-0")), |
| | | ]), |
| | | _c( |
| | | "td", |
| | | { |
| | | staticClass: _vm._$g("24-" + $30, "sc"), |
| | | attrs: { _i: "24-" + $30 }, |
| | | staticClass: _vm._$g("25-" + $30, "sc"), |
| | | attrs: { _i: "25-" + $30 }, |
| | | }, |
| | | [_vm._v(_vm._$g("24-" + $30, "t0-0"))] |
| | | [_vm._v(_vm._$g("25-" + $30, "t0-0"))] |
| | | ), |
| | | _c("td", { attrs: { _i: "25-" + $30 } }, [ |
| | | _vm._v(_vm._$g("25-" + $30, "t0-0")), |
| | | _c("td", { attrs: { _i: "26-" + $30 } }, [ |
| | | _vm._v(_vm._$g("26-" + $30, "t0-0")), |
| | | ]), |
| | | _c( |
| | | "td", |
| | | { |
| | | staticClass: _vm._$g("26-" + $30, "sc"), |
| | | attrs: { _i: "26-" + $30 }, |
| | | staticClass: _vm._$g("27-" + $30, "sc"), |
| | | attrs: { _i: "27-" + $30 }, |
| | | }, |
| | | [ |
| | | _vm._$g("27-" + $30, "i") |
| | | _vm._$g("28-" + $30, "i") |
| | | ? [ |
| | | _vm._$g("28-" + $30, "i") |
| | | ? [_vm._v(_vm._$g("28-" + $30, "t0-0"))] |
| | | : [_vm._v(_vm._$g("29-" + $30, "t0-0"))], |
| | | _vm._$g("29-" + $30, "i") |
| | | ? [_vm._v(_vm._$g("29-" + $30, "t0-0"))] |
| | | : [_vm._v(_vm._$g("30-" + $30, "t0-0"))], |
| | | ] |
| | | : [_vm._v(_vm._$g("30-" + $30, "t0-0"))], |
| | | : [_vm._v(_vm._$g("31-" + $30, "t0-0"))], |
| | | ], |
| | | 2 |
| | | ), |
| | | _c( |
| | | "td", |
| | | { |
| | | staticClass: _vm._$g("31-" + $30, "sc"), |
| | | attrs: { _i: "31-" + $30 }, |
| | | staticClass: _vm._$g("32-" + $30, "sc"), |
| | | attrs: { _i: "32-" + $30 }, |
| | | }, |
| | | [ |
| | | _vm._$g("32-" + $30, "i") |
| | | _vm._$g("33-" + $30, "i") |
| | | ? [ |
| | | _vm._$g("33-" + $30, "i") |
| | | ? [_vm._v(_vm._$g("33-" + $30, "t0-0"))] |
| | | : [_vm._v(_vm._$g("34-" + $30, "t0-0"))], |
| | | _vm._$g("34-" + $30, "i") |
| | | ? [_vm._v(_vm._$g("34-" + $30, "t0-0"))] |
| | | : [_vm._v(_vm._$g("35-" + $30, "t0-0"))], |
| | | ] |
| | | : [_vm._v(_vm._$g("35-" + $30, "t0-0"))], |
| | | : [_vm._v(_vm._$g("36-" + $30, "t0-0"))], |
| | | ], |
| | | 2 |
| | | ), |
| | | _c( |
| | | "td", |
| | | { |
| | | staticClass: _vm._$g("36-" + $30, "sc"), |
| | | attrs: { _i: "36-" + $30 }, |
| | | }, |
| | | [_vm._v(_vm._$g("36-" + $30, "t0-0"))] |
| | | ), |
| | | _c( |
| | | "td", |
| | |
| | | staticClass: _vm._$g("37-" + $30, "sc"), |
| | | attrs: { _i: "37-" + $30 }, |
| | | }, |
| | | [_vm._v(_vm._$g("37-" + $30, "t0-0"))] |
| | | ), |
| | | _c( |
| | | "td", |
| | | { |
| | | staticClass: _vm._$g("38-" + $30, "sc"), |
| | | attrs: { _i: "38-" + $30 }, |
| | | }, |
| | | [ |
| | | _vm._$g("38-" + $30, "i") |
| | | _vm._$g("39-" + $30, "i") |
| | | ? [ |
| | | _vm._$g("39-" + $30, "i") |
| | | ? [_vm._v(_vm._$g("39-" + $30, "t0-0"))] |
| | | : [_vm._v(_vm._$g("40-" + $30, "t0-0"))], |
| | | _vm._$g("40-" + $30, "i") |
| | | ? [_vm._v(_vm._$g("40-" + $30, "t0-0"))] |
| | | : [_vm._v(_vm._$g("41-" + $30, "t0-0"))], |
| | | ] |
| | | : [_vm._v(_vm._$g("41-" + $30, "t0-0"))], |
| | | : [_vm._v(_vm._$g("42-" + $30, "t0-0"))], |
| | | ], |
| | | 2 |
| | | ), |
| | | _c( |
| | | "td", |
| | | { |
| | | staticClass: _vm._$g("42-" + $30, "sc"), |
| | | attrs: { _i: "42-" + $30 }, |
| | | staticClass: _vm._$g("43-" + $30, "sc"), |
| | | attrs: { _i: "43-" + $30 }, |
| | | }, |
| | | [_vm._v(_vm._$g("42-" + $30, "t0-0"))] |
| | | [_vm._v(_vm._$g("43-" + $30, "t0-0"))] |
| | | ), |
| | | _c( |
| | | "td", |
| | | { |
| | | class: _vm._$g("43-" + $30, "c"), |
| | | attrs: { _i: "43-" + $30 }, |
| | | class: _vm._$g("44-" + $30, "c"), |
| | | attrs: { _i: "44-" + $30 }, |
| | | }, |
| | | [ |
| | | _vm._$g("44-" + $30, "i") |
| | | _vm._$g("45-" + $30, "i") |
| | | ? _c( |
| | | "span", |
| | | { |
| | | staticClass: _vm._$g("44-" + $30, "sc"), |
| | | attrs: { _i: "44-" + $30 }, |
| | | staticClass: _vm._$g("45-" + $30, "sc"), |
| | | attrs: { _i: "45-" + $30 }, |
| | | }, |
| | | [_vm._v("警告")] |
| | | ) |
| | | : _c("span", { attrs: { _i: "45-" + $30 } }, [ |
| | | _vm._v(_vm._$g("45-" + $30, "t0-0")), |
| | | : _c("span", { attrs: { _i: "46-" + $30 } }, [ |
| | | _vm._v(_vm._$g("46-" + $30, "t0-0")), |
| | | ]), |
| | | ], |
| | | 1 |
| | | ), |
| | | _c("td", { attrs: { _i: "46-" + $30 } }, [ |
| | | _vm._v(_vm._$g("46-" + $30, "t0-0")), |
| | | _c("td", { attrs: { _i: "47-" + $30 } }, [ |
| | | _vm._v(_vm._$g("47-" + $30, "t0-0")), |
| | | ]), |
| | | ], |
| | | 1 |
| | | ) |
| | | }), |
| | | _vm._$g(47, "i") |
| | | _vm._$g(48, "i") |
| | | ? _c( |
| | | "tr", |
| | | { attrs: { _i: 47 } }, |
| | | { attrs: { _i: 48 } }, |
| | | [ |
| | | _c("td", { attrs: { colspan: "12", _i: 48 } }, [ |
| | | _c("td", { attrs: { colspan: "12", _i: 49 } }, [ |
| | | _vm._v("暂无数据"), |
| | | ]), |
| | | ], |
| | | 1 |
| | | ) |
| | | : _vm._e(), |
| | | _vm._$g(50, "i") |
| | | ? _c( |
| | | "tr", |
| | | { attrs: { _i: 50 } }, |
| | | [ |
| | | _c( |
| | | "td", |
| | | { |
| | | staticClass: _vm._$g(51, "sc"), |
| | | attrs: { colspan: "12", _i: 51 }, |
| | | }, |
| | | [ |
| | | _c("span", { attrs: { _i: 52 } }, [ |
| | | _vm._v( |
| | | "还有 " + |
| | | _vm._$g(52, "t0-0") + |
| | | ' 条记录,点击"展开"按钮查看全部' |
| | | ), |
| | | ]), |
| | | ], |
| | | 1 |
| | | ), |
| | | ], |
| | | 1 |
| | | ) |
| | |
| | | var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(/*! ../../../../HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/runtime/api.js */ 13); |
| | | exports = ___CSS_LOADER_API_IMPORT___(false); |
| | | // Module |
| | | exports.push([module.i, "\n.page[data-v-37e63344] {\n padding: 20px;\n}\n.button-row[data-v-37e63344] {\n display: flex;\n justify-content: center;\n gap: 32px;\n margin: 2vh 0;\n}\n.save-btn[data-v-37e63344], .cancel-btn[data-v-37e63344] {\n width: 28%;\n padding: 1.5vh;\n background-color: #00A2E9;\n color: white;\n border: none;\n text-align: center;\n border-radius: 4px;\n transition: all 0.3s;\n font-size: 22px;\n font-weight: 500;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n.cancel-btn[data-v-37e63344] {\n background-color: #f5f5f5;\n color: #333;\n}\n.save-btn[data-v-37e63344]:hover {\n background-color: #40a9ff;\n}\n.save-btn[data-v-37e63344]:active {\n background-color: #096dd9;\n}\n.save-btn[data-v-37e63344]:disabled, .cancel-btn[data-v-37e63344]:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n.table-section[data-v-37e63344] {\n display: flex;\n justify-content: center;\n margin: 1vh 0;\n overflow-x: auto;\n width: 100%;\n}\ntable.styled-table[data-v-37e63344] {\n max-width: 1800px;\n width: 98vw;\n margin: 0 auto;\n border-collapse: separate;\n border-spacing: 0;\n border: 2px solid #bfbfbf;\n background: #fff;\n border-radius: 12px;\n overflow: hidden;\n box-shadow: 0 2px 12px rgba(0,0,0,0.06);\n}\ntable.styled-table thead th[data-v-37e63344] {\n background: #fafafa;\n border-bottom: 2px solid #bfbfbf;\n padding: 16px 10px;\n font-weight: bold;\n text-align: center;\n font-size: 22px;\n}\ntable.styled-table tbody td[data-v-37e63344] {\n border-bottom: 1px solid #e8e8e8;\n padding: 14px 10px;\n vertical-align: middle;\n text-align: center;\n font-size: 22px;\n}\n.table-section table th[data-v-37e63344]:first-child, .table-section table td[data-v-37e63344]:first-child {\n border-left: 2px solid #bfbfbf;\n}\n.table-section table th[data-v-37e63344]:last-child, .table-section table td[data-v-37e63344]:last-child {\n border-right: 2px solid #bfbfbf;\n}\n.row-odd[data-v-37e63344] {\n background: #fff;\n}\n.row-odd + tr[data-v-37e63344] {\n background: #fafafa;\n}\n.num[data-v-37e63344] {\n text-align: center;\n padding-right: 0;\n font-variant-numeric: tabular-nums;\n}\n.left[data-v-37e63344] {\n text-align: left;\n padding-left: 8px;\n}\n.warn-cell[data-v-37e63344] {\n color: #d93025;\n font-weight: bold;\n}\n.ok-cell[data-v-37e63344] {\n color: #333;\n}\n.warn-badge[data-v-37e63344] {\n display: inline-block;\n background: #ff4d4f;\n color: #fff;\n padding: 2px 6px;\n border-radius: 3px;\n font-weight: bold;\n}\n\n/* 响应式调整 */\n@media (max-width: 1200px) {\n.save-btn[data-v-37e63344], .cancel-btn[data-v-37e63344] {\n width: 40%;\n}\n}\n", ""]); |
| | | exports.push([module.i, "\n.page[data-v-37e63344] {\n padding: 20px;\n}\n.button-row[data-v-37e63344] {\n display: flex;\n justify-content: center;\n gap: 32px;\n margin: 2vh 0;\n}\n.save-btn[data-v-37e63344], .cancel-btn[data-v-37e63344], .expand-btn[data-v-37e63344] {\n width: 20%;\n padding: 1.5vh;\n background-color: #00A2E9;\n color: white;\n border: none;\n text-align: center;\n border-radius: 4px;\n transition: all 0.3s;\n font-size: 22px;\n font-weight: 500;\n box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);\n}\n.expand-btn[data-v-37e63344] {\n background-color: #52c41a;\n}\n.expand-btn[data-v-37e63344]:hover {\n background-color: #73d13d;\n}\n.expand-btn[data-v-37e63344]:active {\n background-color: #389e0d;\n}\n.cancel-btn[data-v-37e63344] {\n background-color: #f5f5f5;\n color: #333;\n}\n.save-btn[data-v-37e63344]:hover {\n background-color: #40a9ff;\n}\n.save-btn[data-v-37e63344]:active {\n background-color: #096dd9;\n}\n.save-btn[data-v-37e63344]:disabled, .cancel-btn[data-v-37e63344]:disabled, .expand-btn[data-v-37e63344]:disabled {\n opacity: 0.6;\n cursor: not-allowed;\n}\n.table-section[data-v-37e63344] {\n display: flex;\n justify-content: center;\n margin: 1vh 0;\n overflow-x: auto;\n width: 100%;\n max-height: 300px; /* 默认高度,大约显示3-4行 */\n overflow-y: hidden;\n transition: max-height 0.3s ease;\n border: 1px solid #f0f0f0;\n border-radius: 8px;\n}\n.table-section.expanded[data-v-37e63344] {\n max-height: 800px; /* 展开时的高度,可以显示更多行 */\n overflow-y: auto;\n}\ntable.styled-table[data-v-37e63344] {\n max-width: 1800px;\n width: 98vw;\n margin: 0 auto;\n border-collapse: separate;\n border-spacing: 0;\n border: 2px solid #bfbfbf;\n background: #fff;\n border-radius: 12px;\n overflow: hidden;\n box-shadow: 0 2px 12px rgba(0,0,0,0.06);\n}\ntable.styled-table thead th[data-v-37e63344] {\n background: #fafafa;\n border-bottom: 2px solid #bfbfbf;\n padding: 16px 10px;\n font-weight: bold;\n text-align: center;\n font-size: 22px;\n position: -webkit-sticky;\n position: sticky;\n top: 0;\n z-index: 10;\n}\ntable.styled-table tbody td[data-v-37e63344] {\n border-bottom: 1px solid #e8e8e8;\n padding: 14px 10px;\n vertical-align: middle;\n text-align: center;\n font-size: 22px;\n}\n.table-section table th[data-v-37e63344]:first-child, .table-section table td[data-v-37e63344]:first-child {\n border-left: 2px solid #bfbfbf;\n}\n.table-section table th[data-v-37e63344]:last-child, .table-section table td[data-v-37e63344]:last-child {\n border-right: 2px solid #bfbfbf;\n}\n.row-odd[data-v-37e63344] {\n background: #fff;\n}\n.row-odd + tr[data-v-37e63344] {\n background: #fafafa;\n}\n.num[data-v-37e63344] {\n text-align: center;\n padding-right: 0;\n font-variant-numeric: tabular-nums;\n}\n.left[data-v-37e63344] {\n text-align: left;\n padding-left: 8px;\n}\n.warn-cell[data-v-37e63344] {\n color: #d93025;\n font-weight: bold;\n}\n.ok-cell[data-v-37e63344] {\n color: #333;\n}\n.warn-badge[data-v-37e63344] {\n display: inline-block;\n background: #ff4d4f;\n color: #fff;\n padding: 2px 6px;\n border-radius: 3px;\n font-weight: bold;\n}\n.more-records-tip[data-v-37e63344] {\n text-align: center;\n color: #666;\n font-size: 18px;\n padding: 20px !important;\n background-color: #f9f9f9;\n}\n.more-records-tip span[data-v-37e63344] {\n display: inline-block;\n padding: 5px 15px;\n background-color: #f0f0f0;\n border-radius: 4px;\n border: 1px dashed #ccc;\n}\n\n/* 响应式调整 */\n@media (max-width: 1200px) {\n.save-btn[data-v-37e63344], .cancel-btn[data-v-37e63344], .expand-btn[data-v-37e63344] {\n width: 30%;\n}\n}\n", ""]); |
| | | // Exports |
| | | module.exports = exports; |
| | | |