|
@@ -1,78 +1,79 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <a-card>
|
|
|
- <div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>基本信息</b></div>
|
|
|
- <a-descriptions bordered :column="3">
|
|
|
- <a-descriptions-item label="设备编号">
|
|
|
- {{ model.no }}
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="设备编号">{{ model.financingNo }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="设备位号">
|
|
|
- {{ model.positionNo }}
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="父设备位号">
|
|
|
- {{ model.ppNo }}
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="设备描述">
|
|
|
- {{ model.name }}
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="规格型号">
|
|
|
- {{ model.model }}
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="ABC 标识" >
|
|
|
- {{ BaseTool.Object.getField(levelMap,model.level) }}
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="设备类型">
|
|
|
- {{ model.typeName }}
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="自定义类型">
|
|
|
- {{ BaseTool.Object.getField(useTypeMap,model.useType) }}
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="生产商">
|
|
|
- {{ model.producerId }}
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="大小尺寸">
|
|
|
- {{ model.zz }}
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="设备识别码">{{ model.identifyNo }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="使用证号">{{ model.useNo }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="设备代号">{{ model.sbCode }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="安装单位">{{ model.installUnit }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="检验结论">{{ model.examResult }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="单位内部使用地点">{{ model.usePosition }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="设备注册码">{{ model.sbRegisterNo }}</a-descriptions-item>
|
|
|
+ <div>
|
|
|
+ <a-card>
|
|
|
+ <div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>基本信息</b></div>
|
|
|
+ <a-descriptions bordered :column="3">
|
|
|
+ <a-descriptions-item label="设备编号">
|
|
|
+ {{ model.no }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="设备编号">{{ model.financingNo }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="设备位号">
|
|
|
+ {{ model.positionNo }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="父设备位号">
|
|
|
+ {{ model.ppNo }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="设备描述">
|
|
|
+ {{ model.name }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="规格型号">
|
|
|
+ {{ model.model }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="ABC 标识" >
|
|
|
+ {{ BaseTool.Object.getField(levelMap,model.level) }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="设备类型">
|
|
|
+ {{ model.typeName }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="自定义类型">
|
|
|
+ {{ BaseTool.Object.getField(useTypeMap,model.useType) }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="生产商">
|
|
|
+ {{ model.producerId }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="大小尺寸">
|
|
|
+ {{ model.zz }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="设备识别码">{{ model.identifyNo }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="使用证号">{{ model.useNo }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="设备代号">{{ model.sbCode }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="安装单位">{{ model.installUnit }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="检验结论">{{ model.examResult }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="单位内部使用地点">{{ model.usePosition }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="设备注册码">{{ model.sbRegisterNo }}</a-descriptions-item>
|
|
|
|
|
|
- <a-descriptions-item label="出厂编号">{{ model.zzh }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="操作压力">{{ model.jbdh }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="操作温度">{{ model.fdjh }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="介质">{{ model.characterType }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="使用位置">{{ model.cph }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="设备位置">{{ model.positionName }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="使用寿命">{{ model.workYear }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="是否显示">{{ model.isShow?'显示':'不显示' }}</a-descriptions-item>
|
|
|
- <a-descriptions-item v-if="model.isChild == 1" label="是否子设备">子设备</a-descriptions-item>
|
|
|
- <a-descriptions-item v-else-if="model.isChild == 2" label="是否子设备">父设备</a-descriptions-item>
|
|
|
- <a-descriptions-item v-else-if="model.isChild == 3" label="是否子设备">独立设备</a-descriptions-item>
|
|
|
- <a-descriptions-item label="状态"><badge :status="DictCache.COLOR.SB_INFO_STATUS[model.status]" :text="statusMap[model.status]"></badge></a-descriptions-item>
|
|
|
- <a-descriptions-item label="关联维修部门">{{ BaseTool.Object.getField(repairDeptMap,model.repairDeptId) }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="备注">{{ model.remark }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="流量">
|
|
|
- {{ model.liuLiang }}
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="扬程">
|
|
|
- {{ model.yangCheng }}
|
|
|
- </a-descriptions-item>
|
|
|
- </a-descriptions>
|
|
|
- </a-card>
|
|
|
- <br>
|
|
|
- <a-card >
|
|
|
- <div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>自定义参数</b></div>
|
|
|
- <a-descriptions bordered :column="3">
|
|
|
- <a-descriptions-item v-for="item in paramList" :key="item.name" :label="item.name">{{ item.content }}</a-descriptions-item>
|
|
|
- </a-descriptions>
|
|
|
- </a-card>
|
|
|
- <br>
|
|
|
- <!-- <a-card >
|
|
|
+ <a-descriptions-item label="出厂编号">{{ model.zzh }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="操作压力">{{ model.jbdh }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="操作温度">{{ model.fdjh }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="介质">{{ model.characterType }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="使用位置">{{ model.cph }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="设备位置">{{ model.positionName }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="使用寿命">{{ model.workYear }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="是否显示">{{ model.isShow?'显示':'不显示' }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item v-if="model.isChild == 1" label="是否子设备">子设备</a-descriptions-item>
|
|
|
+ <a-descriptions-item v-else-if="model.isChild == 2" label="是否子设备">父设备</a-descriptions-item>
|
|
|
+ <a-descriptions-item v-else-if="model.isChild == 3" label="是否子设备">独立设备</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="状态"><badge :status="DictCache.COLOR.SB_INFO_STATUS[model.status]" :text="statusMap[model.status]"></badge></a-descriptions-item>
|
|
|
+ <a-descriptions-item label="关联维修部门">{{ BaseTool.Object.getField(repairDeptMap,model.repairDeptId) }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="备注">{{ model.remark }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="流量">
|
|
|
+ {{ model.liuLiang }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="扬程">
|
|
|
+ {{ model.yangCheng }}
|
|
|
+ </a-descriptions-item>
|
|
|
+ </a-descriptions>
|
|
|
+ </a-card>
|
|
|
+ <br>
|
|
|
+ <a-card >
|
|
|
+ <div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>自定义参数</b></div>
|
|
|
+ <a-descriptions bordered :column="3">
|
|
|
+ <a-descriptions-item v-for="item in paramList" :key="item.name" :label="item.name">{{ item.content }}</a-descriptions-item>
|
|
|
+ </a-descriptions>
|
|
|
+ </a-card>
|
|
|
+ <br>
|
|
|
+ <!-- <a-card >
|
|
|
<div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>设备编号</b></div>
|
|
|
<a-descriptions bordered :column="3">
|
|
|
<a-descriptions-item label="设备编号1">{{ model.financingNo }}</a-descriptions-item>
|
|
@@ -83,85 +84,86 @@
|
|
|
</a-descriptions>
|
|
|
</a-card>
|
|
|
<br>-->
|
|
|
- <a-card >
|
|
|
- <div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>人员信息</b></div>
|
|
|
- <a-descriptions bordered :column="3">
|
|
|
- <a-descriptions-item label="使用人">{{ model.saveUser }}</a-descriptions-item>
|
|
|
- <!-- <a-descriptions-item label="第一维修人">{{ model.repairUserName }}</a-descriptions-item>
|
|
|
+ <a-card >
|
|
|
+ <div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>人员信息</b></div>
|
|
|
+ <a-descriptions bordered :column="3">
|
|
|
+ <a-descriptions-item label="使用人">{{ model.saveUser }}</a-descriptions-item>
|
|
|
+ <!-- <a-descriptions-item label="第一维修人">{{ model.repairUserName }}</a-descriptions-item>
|
|
|
<a-descriptions-item label="第二维修人">{{ model.repairUserNameSecond }}</a-descriptions-item>-->
|
|
|
- <a-descriptions-item label="购置日期">{{ model.buyDate }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="投用日期">{{ model.startDate }}</a-descriptions-item>
|
|
|
- </a-descriptions>
|
|
|
- </a-card>
|
|
|
- <br>
|
|
|
- <a-card v-show="model.useType == 5">
|
|
|
- <div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>特种信息</b></div>
|
|
|
- <a-descriptions bordered :column="3">
|
|
|
- <a-descriptions-item label="注册代码">{{ model.registerNo }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="介质属性">{{ model.characterType }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="使用登记证编号">{{ model.usedNo }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="维护供应商">{{ model.supplier }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="设备批号">{{ model.batchNo }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="设计到期年限">{{ model.retirementDate }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="登记日期">{{ model.registerDate }}</a-descriptions-item>
|
|
|
- </a-descriptions>
|
|
|
- </a-card>
|
|
|
- <br v-show="model.useType == 5">
|
|
|
- <a-card v-show="model.useType == 4" >
|
|
|
- <div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>计量信息</b></div>
|
|
|
- <a-descriptions bordered :column="3">
|
|
|
- <a-descriptions-item label="计量设备编号">{{ model.cardNo }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="准确度等级">{{ model.fdjxh }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="检定日期">{{ model.checkDate }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="检定周期">{{ model.checkPeriod }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="检定有效期">{{ model.nextCheckDate }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="检定单位">{{ model.dph }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="检定人">{{ model.zaiz }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="检定结论">{{ BaseTool.Object.getField(rlTypeMap,model.rlType) }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="是否周检查">{{ BaseTool.Object.getField(colorMap,model.color) }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="检定证书编号">{{ model.sbdh }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="预警天数">{{ model.seatNumber }}</a-descriptions-item>
|
|
|
- <a-descriptions-item label="是否需要检定">{{ BaseTool.Object.getField(yesNoMap,model.isMeasure) }}</a-descriptions-item>
|
|
|
- </a-descriptions>
|
|
|
- </a-card>
|
|
|
- <br v-show="model.useType == 4">
|
|
|
- <a-card >
|
|
|
- <div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>文件信息</b></div>
|
|
|
- <a-descriptions bordered :column="3">
|
|
|
- <a-descriptions-item label="维保手册">
|
|
|
- <a-upload
|
|
|
- :multiple="true"
|
|
|
- :fileList="BaseTool.UPLOAD.transImg(model.repairFileList)"
|
|
|
- >
|
|
|
- </a-upload>
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="使用手册">
|
|
|
- <a-upload
|
|
|
- :multiple="true"
|
|
|
- :fileList="BaseTool.UPLOAD.transImg(model.useFileList)"
|
|
|
- >
|
|
|
- </a-upload>
|
|
|
- </a-descriptions-item>
|
|
|
- <a-descriptions-item label="验收文件">
|
|
|
- <a-upload
|
|
|
- :multiple="true"
|
|
|
- :fileList="BaseTool.UPLOAD.transImg(model.recheckFileList)"
|
|
|
- >
|
|
|
- </a-upload>
|
|
|
- </a-descriptions-item>
|
|
|
- </a-descriptions>
|
|
|
- </a-card>
|
|
|
- <br>
|
|
|
- <a-card>
|
|
|
- <div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>图片信息</b></div>
|
|
|
+ <a-descriptions-item label="购置日期">{{ model.buyDate }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="投用日期">{{ model.startDate }}</a-descriptions-item>
|
|
|
+ </a-descriptions>
|
|
|
+ </a-card>
|
|
|
+ <br>
|
|
|
+ <a-card v-show="model.useType == 5">
|
|
|
+ <div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>特种信息</b></div>
|
|
|
+ <a-descriptions bordered :column="3">
|
|
|
+ <a-descriptions-item label="注册代码">{{ model.registerNo }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="介质属性">{{ model.characterType }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="使用登记证编号">{{ model.usedNo }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="维护供应商">{{ model.supplier }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="设备批号">{{ model.batchNo }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="设计到期年限">{{ model.retirementDate }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="登记日期">{{ model.registerDate }}</a-descriptions-item>
|
|
|
+ </a-descriptions>
|
|
|
+ </a-card>
|
|
|
+ <br v-show="model.useType == 5">
|
|
|
+ <a-card v-show="model.useType == 4" >
|
|
|
+ <div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>计量信息</b></div>
|
|
|
+ <a-descriptions bordered :column="3">
|
|
|
+ <a-descriptions-item label="计量设备编号">{{ model.cardNo }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="准确度等级">{{ model.fdjxh }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="检定日期">{{ model.checkDate }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="检定周期">{{ model.checkPeriod }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="检定有效期">{{ model.nextCheckDate }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="检定单位">{{ model.dph }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="检定人">{{ model.zaiz }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="检定结论">{{ BaseTool.Object.getField(rlTypeMap,model.rlType) }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="是否周检查">{{ BaseTool.Object.getField(colorMap,model.color) }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="检定证书编号">{{ model.sbdh }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="预警天数">{{ model.seatNumber }}</a-descriptions-item>
|
|
|
+ <a-descriptions-item label="是否需要检定">{{ BaseTool.Object.getField(yesNoMap,model.isMeasure) }}</a-descriptions-item>
|
|
|
+ </a-descriptions>
|
|
|
+ </a-card>
|
|
|
+ <br v-show="model.useType == 4">
|
|
|
+ <a-card >
|
|
|
+ <div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>文件信息</b></div>
|
|
|
+ <a-descriptions bordered :column="3">
|
|
|
+ <a-descriptions-item label="维保手册">
|
|
|
+ <a-upload
|
|
|
+ :multiple="true"
|
|
|
+ :fileList="BaseTool.UPLOAD.transImg(model.repairFileList)"
|
|
|
+ >
|
|
|
+ </a-upload>
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="使用手册">
|
|
|
+ <a-upload
|
|
|
+ :multiple="true"
|
|
|
+ :fileList="BaseTool.UPLOAD.transImg(model.useFileList)"
|
|
|
+ >
|
|
|
+ </a-upload>
|
|
|
+ </a-descriptions-item>
|
|
|
+ <a-descriptions-item label="验收文件">
|
|
|
+ <a-upload
|
|
|
+ :multiple="true"
|
|
|
+ :fileList="BaseTool.UPLOAD.transImg(model.recheckFileList)"
|
|
|
+ >
|
|
|
+ </a-upload>
|
|
|
+ </a-descriptions-item>
|
|
|
+ </a-descriptions>
|
|
|
+ </a-card>
|
|
|
<br>
|
|
|
- <a-row v-if="model.sbFileList != null && model.sbFileList.length > 0" type="flex" justify="space-between" :gutter="[16,16]">
|
|
|
- <a-col >
|
|
|
- <img v-for="item in model.sbFileList" :src="item.url" :key="item.id" class="image">
|
|
|
- </a-col>
|
|
|
- </a-row>
|
|
|
- <div v-if="model.sbFileList == null || model.sbFileList.length === 0"> 暂无</div>
|
|
|
- </a-card>
|
|
|
+ <a-card>
|
|
|
+ <div style="margin:0; padding:15px 30px; background:#EFEFFB;font-size:16px; color: #1890ff"><b>图片信息</b></div>
|
|
|
+ <br>
|
|
|
+ <a-row v-if="model.sbFileList != null && model.sbFileList.length > 0" type="flex" justify="space-between" :gutter="[16,16]">
|
|
|
+ <a-col >
|
|
|
+ <img v-for="item in model.sbFileList" :src="item.url" :key="item.id" class="image">
|
|
|
+ </a-col>
|
|
|
+ </a-row>
|
|
|
+ <div v-if="model.sbFileList == null || model.sbFileList.length === 0"> 暂无</div>
|
|
|
+ </a-card>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|