feat:设备使用记录
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<up-sticky>
|
||||
<navbar-back :title="`(${deviceText})设备信息`"></navbar-back>
|
||||
<navbar-back :title="`(${deviceText})设备信息`" titleWidth="800"></navbar-back>
|
||||
</up-sticky>
|
||||
<up-tabs lineWidth="30" :list="tabs" @click="tabClick"></up-tabs>
|
||||
<scroll-view scroll-y="true" class="content">
|
||||
@@ -77,7 +77,7 @@ function tabClick(e) {
|
||||
background-color: #f0f2f5;
|
||||
height: 100%;
|
||||
.content {
|
||||
height: 75vh;
|
||||
// height: 75vh;
|
||||
}
|
||||
}
|
||||
:deep(.u-tabs__wrapper__nav__item__text) {
|
||||
|
||||
@@ -4,14 +4,12 @@ export function getColumn(isFold) {
|
||||
{
|
||||
label: '设备名称',
|
||||
name: 'deviceName',
|
||||
width: isFold ? 200 : 130,
|
||||
fixed: true
|
||||
width: isFold ? 200 : 130
|
||||
},
|
||||
{
|
||||
label: '别名',
|
||||
name: 'alias',
|
||||
width: isFold ? 120 : 90,
|
||||
fixed: true
|
||||
width: isFold ? 120 : 90
|
||||
},
|
||||
{
|
||||
label: '设备状态',
|
||||
@@ -27,17 +25,17 @@ export function getColumn(isFold) {
|
||||
{
|
||||
label: '规格型号',
|
||||
name: 'modelNo',
|
||||
width: isFold ? 160 : 130
|
||||
width: isFold ? 180 : 150
|
||||
},
|
||||
{
|
||||
label: '使用班组',
|
||||
name: 'deptName',
|
||||
width: isFold ? 140 : 100
|
||||
width: isFold ? 180 : 150
|
||||
},
|
||||
{
|
||||
label: '负责人',
|
||||
name: 'managerUserName',
|
||||
width: isFold ? 100 : 90
|
||||
width: isFold ? 150 : 120
|
||||
},
|
||||
{
|
||||
name: 'operation',
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user