|
@@ -136,49 +136,53 @@
|
|
|
<span>检查内容:所有的安全阀是否已经校验,是否在有效期内,并确认安装位置是否正确,是否投用,核对安全阀校验压力和设定压力是否一致,是(√),否(×),如有不符合要求的立即联系负责人整改。</span>
|
|
|
</div>
|
|
|
|
|
|
- <el-table v-loading="loading" :data="safetyValveList" @selection-change="handleSelectionChange"
|
|
|
- :height="clientHeight" border>
|
|
|
- <el-table-column type="selection" width="55" align="center"/>
|
|
|
- <el-table-column label="审批状态" align="center" prop="approveStatus" width="105">
|
|
|
+ <u-table v-loading="loading" :data="safetyValveList" @selection-change="handleSelectionChange"
|
|
|
+ :height="clientHeight"
|
|
|
+ :row-key="row => { return row.id }"
|
|
|
+ use-virtual
|
|
|
+ showBodyOverflow="title"
|
|
|
+ border>
|
|
|
+ <u-table-column type="selection" width="55" align="center"/>
|
|
|
+ <u-table-column label="审批状态" align="center" prop="approveStatus" width="105">
|
|
|
<template slot-scope="scope">
|
|
|
<el-tag v-if="scope.row.approveStatus==0">未审批</el-tag>
|
|
|
<el-tag v-if="scope.row.approveStatus==1" type="warning">待确认</el-tag>
|
|
|
<el-tag v-if="scope.row.approveStatus==3" type="success">已确认1</el-tag>
|
|
|
<el-tag v-if="scope.row.approveStatus==2" type="success">已确认2</el-tag>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="单元号" align="center" prop="unit" :show-overflow-tooltip="true" width="180"/>
|
|
|
- <el-table-column label="P&ID图号" align="center" prop="pidNo" :show-overflow-tooltip="true" width="180"/>
|
|
|
- <el-table-column label="安全阀位号" align="center" prop="devNo" :show-overflow-tooltip="true" width="180"/>
|
|
|
- <el-table-column label="保护设备" align="center" prop="safetyDev" :show-overflow-tooltip="true" width="180"/>
|
|
|
- <el-table-column label="已经校验(是/否)" align="center" prop="verify" :show-overflow-tooltip="true" width="180"/>
|
|
|
- <el-table-column label="在有效期内(是/否)" align="center" prop="inValidity" :show-overflow-tooltip="true" width="180"/>
|
|
|
- <el-table-column label="安装位置" align="center" prop="installLocation" :show-overflow-tooltip="true"
|
|
|
+ </u-table-column>
|
|
|
+ <u-table-column label="单元号" align="center" prop="unit" :show-overflow-tooltip="true" width="180"/>
|
|
|
+ <u-table-column label="P&ID图号" align="center" prop="pidNo" :show-overflow-tooltip="true" width="180"/>
|
|
|
+ <u-table-column label="安全阀位号" align="center" prop="devNo" :show-overflow-tooltip="true" width="180"/>
|
|
|
+ <u-table-column label="保护设备" align="center" prop="safetyDev" :show-overflow-tooltip="true" width="180"/>
|
|
|
+ <u-table-column label="已经校验(是/否)" align="center" prop="verify" :show-overflow-tooltip="true" width="180"/>
|
|
|
+ <u-table-column label="在有效期内(是/否)" align="center" prop="inValidity" :show-overflow-tooltip="true" width="180"/>
|
|
|
+ <u-table-column label="安装位置" align="center" prop="installLocation" :show-overflow-tooltip="true"
|
|
|
width="180"/>
|
|
|
- <el-table-column label="安装位置准确(是/否)" align="center" prop="installAccuracy" :show-overflow-tooltip="true"
|
|
|
+ <u-table-column label="安装位置准确(是/否)" align="center" prop="installAccuracy" :show-overflow-tooltip="true"
|
|
|
width="180"/>
|
|
|
- <el-table-column label="投用(是/否)" align="center" prop="putUse" :show-overflow-tooltip="true" width="180"/>
|
|
|
- <el-table-column label="设定压力(Mpa)" align="center" prop="setPressure" :show-overflow-tooltip="true" width="180"/>
|
|
|
- <el-table-column label="校验压力与设定压力一致(是/否)" align="center" prop="uniformPressure"
|
|
|
+ <u-table-column label="投用(是/否)" align="center" prop="putUse" :show-overflow-tooltip="true" width="180"/>
|
|
|
+ <u-table-column label="设定压力(Mpa)" align="center" prop="setPressure" :show-overflow-tooltip="true" width="180"/>
|
|
|
+ <u-table-column label="校验压力与设定压力一致(是/否)" align="center" prop="uniformPressure"
|
|
|
:show-overflow-tooltip="true" width="230"/>
|
|
|
- <el-table-column label="确认人1" align="center" prop="confirmer1" :show-overflow-tooltip="true" width="180">
|
|
|
+ <u-table-column label="确认人1" align="center" prop="confirmer1" :show-overflow-tooltip="true" width="180">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.confirm1Name }}</span>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="确认人2" align="center" prop="confirmer2" :show-overflow-tooltip="true" width="180">
|
|
|
+ </u-table-column>
|
|
|
+ <u-table-column label="确认人2" align="center" prop="confirmer2" :show-overflow-tooltip="true" width="180">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ scope.row.confirm2Name }}</span>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="时间" align="center" prop="confirmationTime" :show-overflow-tooltip="true" width="180">
|
|
|
+ </u-table-column>
|
|
|
+ <u-table-column label="时间" align="center" prop="confirmationTime" :show-overflow-tooltip="true" width="180">
|
|
|
<template slot-scope="scope">
|
|
|
<span>{{ parseTime(scope.row.confirmationDate, '{y}-{m}-{d}') }}</span>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="驳回原因" align="center" prop="reason" :show-overflow-tooltip="true"/>
|
|
|
- <el-table-column label="备注" align="center" prop="remarks" :show-overflow-tooltip="true" width="180"/>
|
|
|
- <el-table-column label="操作" align="center" fixed="right" width="120" v-if="isApprove==0"
|
|
|
+ </u-table-column>
|
|
|
+ <u-table-column label="驳回原因" align="center" prop="reason" :show-overflow-tooltip="true"/>
|
|
|
+ <u-table-column label="备注" align="center" prop="remarks" :show-overflow-tooltip="true" width="180"/>
|
|
|
+ <u-table-column label="操作" align="center" fixed="right" width="120" v-if="isApprove==0"
|
|
|
class-name="small-padding fixed-width">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button
|
|
@@ -206,12 +210,13 @@
|
|
|
>删除
|
|
|
</el-button>
|
|
|
</template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
+ </u-table-column>
|
|
|
+ </u-table>
|
|
|
|
|
|
<pagination
|
|
|
v-show="total>0"
|
|
|
:total="total"
|
|
|
+ :page-sizes="[20,100,500]"
|
|
|
:page.sync="queryParams.pageNum"
|
|
|
:limit.sync="queryParams.pageSize"
|
|
|
@pagination="getList"
|