|
@@ -81,17 +81,17 @@
|
|
|
>导入
|
|
|
</el-button>
|
|
|
</el-col>-->
|
|
|
- <el-col :span="1.5">
|
|
|
- <el-button
|
|
|
- type="warning"
|
|
|
- icon="el-icon-download"
|
|
|
- size="mini"
|
|
|
- @click="handleExport"
|
|
|
- v-if="isApprove==0"
|
|
|
- v-hasPermi="['pssr:lock:export']"
|
|
|
- >导出
|
|
|
- </el-button>
|
|
|
- </el-col>
|
|
|
+ <el-col :span="1.5">
|
|
|
+ <el-button
|
|
|
+ type="warning"
|
|
|
+ icon="el-icon-download"
|
|
|
+ size="mini"
|
|
|
+ @click="handleExport"
|
|
|
+ v-if="isApprove==0"
|
|
|
+ v-hasPermi="['pssr:lock:export']"
|
|
|
+ >导出
|
|
|
+ </el-button>
|
|
|
+ </el-col>
|
|
|
<el-col :span="1.5">
|
|
|
<el-button
|
|
|
type="success"
|
|
@@ -133,10 +133,10 @@
|
|
|
<H2>锁开锁关的完整性检查表</H2>
|
|
|
</div>
|
|
|
<el-table v-loading="loading" :data="lockList" @selection-change="handleSelectionChange"
|
|
|
- :height="clientHeight"
|
|
|
+ :height="clientHeight"
|
|
|
border>
|
|
|
<el-table-column type="selection" width="55" align="center"/>
|
|
|
- <el-table-column label="审批状态" align="center" prop="approveStatus" :show-overflow-tooltip="true" width="100">
|
|
|
+ <el-table-column label="审批状态" align="center" prop="approveStatus" width="100">
|
|
|
<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>
|
|
@@ -154,9 +154,12 @@
|
|
|
<el-table-column label="风险等级" align="center" prop="riskLevel" :show-overflow-tooltip="true" width="150"/>
|
|
|
<el-table-column label="尺寸" align="center" prop="lockSize" :show-overflow-tooltip="true" width="150"/>
|
|
|
<el-table-column label="阀门状态" align="center" prop="pidStatus" :show-overflow-tooltip="true" width="150"/>
|
|
|
- <el-table-column label="位置正确(✔/✖)" align="center" prop="positionRight" :show-overflow-tooltip="true" width="150"/>
|
|
|
- <el-table-column label="状态一致(✔/✖)" align="center" prop="statusRight" :show-overflow-tooltip="true" width="150"/>
|
|
|
- <el-table-column label="编号一致(✔/✖)" align="center" prop="codeAccord" :show-overflow-tooltip="true" width="150"/>
|
|
|
+ <el-table-column label="位置正确(✔/✖)" align="center" prop="positionRight" :show-overflow-tooltip="true"
|
|
|
+ width="150"/>
|
|
|
+ <el-table-column label="状态一致(✔/✖)" align="center" prop="statusRight" :show-overflow-tooltip="true"
|
|
|
+ width="150"/>
|
|
|
+ <el-table-column label="编号一致(✔/✖)" align="center" prop="codeAccord" :show-overflow-tooltip="true"
|
|
|
+ width="150"/>
|
|
|
<el-table-column label="紧固(✔/✖)" align="center" prop="fastening" :show-overflow-tooltip="true" width="150"/>
|
|
|
<el-table-column label="锁具完好(✔/✖)" align="center" prop="noDamage" :show-overflow-tooltip="true" width="170"/>
|
|
|
<el-table-column label="检查人" align="center" prop="lockeder" :show-overflow-tooltip="true" width="150">
|
|
@@ -217,7 +220,8 @@
|
|
|
/>
|
|
|
|
|
|
<!-- 添加或修改锁开锁关阀门状态对话框 -->
|
|
|
- <el-dialog :close-on-click-modal="false" :title="title" v-if="isApprove==0" :visible.sync="open" width="500px" append-to-body>
|
|
|
+ <el-dialog :close-on-click-modal="false" :title="title" v-if="isApprove==0" :visible.sync="open" width="500px"
|
|
|
+ append-to-body>
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="85px">
|
|
|
<el-form-item label="PID图号" prop="pidNos">
|
|
|
<el-select v-model="form.pidNos" clearable :disabled="isEdit" multiple filterable style="width: 100%;"
|
|
@@ -256,7 +260,8 @@
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
|
|
|
- <el-dialog :close-on-click-modal="false" :title="title" v-if="isApprove!=0" :visible.sync="approveOpen" width="700px" append-to-body>
|
|
|
+ <el-dialog :close-on-click-modal="false" :title="title" v-if="isApprove!=0" :visible.sync="approveOpen"
|
|
|
+ width="700px" append-to-body>
|
|
|
<el-form ref="form" :model="form" :rules="rules" label-width="135px">
|
|
|
<el-form-item label="位置正确(✔/✖)" prop="positionRight">
|
|
|
<el-radio v-model="form.positionRight" label="✔" border>✔</el-radio>
|
|
@@ -270,7 +275,7 @@
|
|
|
<el-radio v-model="form.codeAccord" label="✔" border>✔</el-radio>
|
|
|
<el-radio v-model="form.codeAccord" label="✖" border>✖</el-radio>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="紧固(✔/✖)" prop="fastening" >
|
|
|
+ <el-form-item label="紧固(✔/✖)" prop="fastening">
|
|
|
<el-radio v-model="form.fastening" label="✔" border>✔</el-radio>
|
|
|
<el-radio v-model="form.fastening" label="✖" border>✖</el-radio>
|
|
|
</el-form-item>
|
|
@@ -342,7 +347,8 @@ import {
|
|
|
delLock,
|
|
|
exportLock,
|
|
|
getLock,
|
|
|
- handleConfirmApproveLock, handleTurnDownLock,
|
|
|
+ handleConfirmApproveLock,
|
|
|
+ handleTurnDownLock,
|
|
|
importTemplate,
|
|
|
listLock,
|
|
|
updateLock
|
|
@@ -353,10 +359,8 @@ import Treeselect from "@riophae/vue-treeselect";
|
|
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
|
|
import {listUserNoPage} from "@/api/system/user";
|
|
|
import {doApprove} from "@/api/pssr/approve";
|
|
|
-import {handleTurnDownMoc} from "@/api/pssr/moc";
|
|
|
-import {listAllLock, listAllLockPid, listLockPid} from "@/api/apply/lock";
|
|
|
-import {allFileList, delCommonfile} from "@/api/common/commonfile";
|
|
|
-import {delFile, listFile} from "@/api/pssr/file";
|
|
|
+import {listLockPid} from "@/api/apply/lock";
|
|
|
+import {listFile} from "@/api/pssr/file";
|
|
|
|
|
|
export default {
|
|
|
dicts: ['pssr_approve_status'],
|
|
@@ -378,11 +382,11 @@ export default {
|
|
|
file: "",
|
|
|
// 是否显示弹出层(报告附件)
|
|
|
open: false,
|
|
|
- fileList:[],
|
|
|
+ fileList: [],
|
|
|
queryParams: {
|
|
|
- itemId:null,
|
|
|
+ itemId: null,
|
|
|
subId: this.subId,
|
|
|
- forShort:'sksgfmzt'
|
|
|
+ forShort: 'sksgfmzt'
|
|
|
},
|
|
|
},
|
|
|
isEdit: false,
|
|
@@ -489,7 +493,7 @@ export default {
|
|
|
listUserNoPage({}).then(res => {
|
|
|
this.userOptions = res.data
|
|
|
});
|
|
|
- listLockPid({subId:this.subId}).then(res => {
|
|
|
+ listLockPid({subId: this.subId}).then(res => {
|
|
|
this.lockOptions = res.data;
|
|
|
});
|
|
|
},
|
|
@@ -636,7 +640,7 @@ export default {
|
|
|
this.approveOpen = true;
|
|
|
}
|
|
|
}
|
|
|
- this.form.pidNos=[]
|
|
|
+ this.form.pidNos = []
|
|
|
this.form.pidNos.push(this.form.pidNo);
|
|
|
this.title = "修改锁开锁关阀门状态";
|
|
|
});
|
|
@@ -656,7 +660,7 @@ export default {
|
|
|
this.msgSuccess("新增成功");
|
|
|
this.open = false;
|
|
|
this.getList();
|
|
|
- if (response.msg!=""){
|
|
|
+ if (response.msg != "") {
|
|
|
this.$alert(response.msg, "警告", {dangerouslyUseHTMLString: true});
|
|
|
}
|
|
|
});
|
|
@@ -720,7 +724,7 @@ export default {
|
|
|
},
|
|
|
/** 报告附件按钮操作 */
|
|
|
handleDoc(row) {
|
|
|
- this.doc.fileList=[]
|
|
|
+ this.doc.fileList = []
|
|
|
this.doc.open = true;
|
|
|
this.doc.queryParams.itemId = row.id
|
|
|
this.getFileList()
|