QA-UniApp-wlaq/pages/application/commitment-team/commitment-team-detail.vue

236 lines
8.4 KiB
Vue
Raw Permalink Normal View History

2024-11-19 14:17:54 +08:00
<template>
<view class="bg-white">
<cu-custom bgColor="bg-gradual-blueness" :isBack="true">
<block slot="backText">返回</block>
<block slot="content">安全承诺</block>
</cu-custom>
<scroll-view scroll-y="false">
<view class="sure-box">
<view class="sure-h1">
<text class="text-semi">{{pd.DEPARTMENTNAME}}车间 {{pd.POSTNAME}}岗位</text>
</view>
<view class="sure-title">
<text class="text-semi">班组状态</text>
</view>
<view class="sure-form">
<view class="sure-sub-title">
<text class="cuIcon-title text-blue"></text>
<text class="text-semi">高危生产活动及作业的安全风险可控状态</text>
</view>
<view class="sure-content">
<view class="sure-p">
检修作业<text class="sure-mark">{{pd.INPUT1}}</text>
特殊作业<text class="sure-mark">{{pd.INPUT2}}</text>
动火作业<text class="sure-mark">{{pd.INPUT3}}</text>
其中特级<text class="sure-mark">{{pd.INPUT4}}</text>
一级<text class="sure-mark">{{pd.INPUT5}}</text>
二级<text class="sure-mark">{{pd.INPUT6}}</text>
高处作业<text class="sure-mark">{{pd.INPUT7}}</text>
受限空间作业<text class="sure-mark">{{pd.INPUT8}}</text>
吊装作业<text class="sure-mark">{{pd.INPUT9}}</text>
临时用电作业<text class="sure-mark">{{pd.INPUT10}}</text>
盲板抽堵作业<text class="sure-mark">{{pd.INPUT11}}</text>
动土作业<text class="sure-mark">{{pd.INPUT12}}</text>
断路作业<text class="sure-mark">{{pd.INPUT13}}</text>
</view>
<view class="sure-p">
<text>风险辨识作业许可及管控措施的落实情况:</text>
<text class="sure-mark">{{pd.RADIO1==1?'是':'否'}}</text>
</view>
<view class="sure-p">
<text>处于试生产情况</text>
<text class="sure-mark">{{pd.RADIO2==1?'是':'否'}}</text>
</view>
<view class="sure-p">
<text>处于开停车情况</text>
<text class="sure-mark">{{pd.RADIO3==1?'开':'停'}}</text>
</view>
<view class="sure-p">
承包商作业<text class="sure-mark">{{pd.INPUT14}}</text>
管控情况<text class="sure-mark">{{pd.RADIO4==1?'受控':'非受控'}}</text>
</view>
<view class="sure-p">
<text>变更情况</text>
<text class="sure-mark">{{pd.RADIO5==1?'是':'否'}}</text>
</view>
<view class="sure-p">
<text>落实审批程序情况</text>
<text class="sure-mark">{{pd.RADIO6==1?'是':'否'}}</text>
</view>
<view class="sure-p">
<text>罐区仓库等危险源是否处于安全状态</text>
<text class="sure-mark">{{pd.RADIO7==1?'是':'否'}}</text>
</view>
</view>
<view class="sure-sub-title">
<text class="cuIcon-title text-blue"></text>
<text class="text-semi">班组安全状态</text>
</view>
<view class="sure-content">
<view class="sure-p">
岗位主要设备装置名称数量<text class="sure-mark">{{pd.INPUT15}}</text>
其中运行<text class="sure-mark">{{pd.INPUT16}}</text>
停产<text class="sure-mark">{{pd.INPUT17}}</text>
检修<text class="sure-mark">{{pd.INPUT18}}</text>
</view>
</view>
<view class="sure-sub-title">
<text class="cuIcon-title text-blue"></text>
<text class="text-semi">生产装置的安全运行状态</text>
</view>
<view class="sure-content">
<view class="sure-p">
<text>生产装置的温度压力组分液位流量等主要工艺参数是否处于指标范围</text>
<text class="sure-mark">{{pd.RADIO8==1?'是':'否'}}</text>
</view>
<view class="sure-p">
<text>压力容器压力管道等特种设备处于安全运行状态</text>
<text class="sure-mark">{{pd.RADIO9==1?'是':'否'}}</text>
</view>
<view class="sure-p">
<text>设备设施的静动密封完好无泄漏</text>
<text class="sure-mark">{{pd.RADIO10==1?'是':'否'}}</text>
</view>
<view class="sure-p">
<text>超限报警紧急切断联锁等各类安全设施配备完好投用并可靠运行</text>
<text class="sure-mark">{{pd.RADIO11==1?'是':'否'}}</text>
</view>
</view>
<view class="sure-sub-title">
<text class="cuIcon-title text-blue"></text>
<text class="text-semi">危险化学品罐区仓库等重大危险源的安全运行状态</text>
</view>
<view class="sure-content">
<view class="sure-p">
<text>储罐管道机泵阀门及仪表系统完好无泄漏:</text>
<text class="sure-mark">{{pd.RADIO12==1?'是':'否'}}</text>
</view>
<view class="sure-p">
<text>储罐的液位温度压力无超限运行:</text>
<text class="sure-mark">{{pd.RADIO13==1?'是':'否'}}</text>
</view>
<view class="sure-p">
<text>气柜钟罩超高低运行:</text>
<text class="sure-mark">{{pd.RADIO14==1?'是':'否'}}</text>
</view>
<view class="sure-p">
<text>手动放脱水装卸车时确保人员在岗:</text>
<text class="sure-mark">{{pd.RADIO15==1?'是':'否'}}</text>
</view>
<view class="sure-p">
<text>可燃及有毒气体报警和联锁处于可靠运行状态:</text>
<text class="sure-mark">{{pd.RADIO16==1?'是':'否'}}</text>
</view>
<view class="sure-textarea">
<view>仓库是否按照国家标准分区分类储存危险化学品是否超量超品种储存相互禁配物质是否混放混存</view>
<textarea maxlength="255" disabled="disabled" v-model="pd.INPUT19" class="sure-mark"></textarea>
</view>
</view>
</view>
<view class="sure-title">
<text class="text-semi">班组承诺</text>
</view>
<view class="sure-form">
<view class="sure-p">
今日<text class="sure-mark">{{pd.START_TIME}}</text><text class="sure-mark">{{pd.END_TIME}}</text>
我车间已进行安全风险研判各项安全风险防控措施已落实到位我承诺本生产装置/业务活动处于安全运行状态涉及罐区仓库等危险源安全风险得到有效管控
</view>
<view class="sure-name">
<text class="text-grey">手写签名</text>
<image :src="baseImgPath+pd.SIGN_PATH" @click="ViewShowImage" mode=""></image>
</view>
<view class="sure-p">
<text>签字时间</text>
<text class="sure-mark">{{pd.SIGN_TIME}}</text>
</view>
</view>
</view>
</scroll-view>
</view>
</template>
<script>
import {
basePath,
corpinfoId,
deptId,
loginUser,
formatDate,
loginSession,
baseImgPath
} from '@/common/tool.js';
import tkiTree from "@/components/select-tree/select-tree.vue"
import writingBoard from "@/components/writing-board/writing-board.vue"
import gcoord from '@/common/gcoord.js'
import ruiDatePicker from '@/components/rattenking-dtpicker/rattenking-dtpicker.vue';
export default {
components: {
tkiTree,
ruiDatePicker,
writingBoard
},
data() {
return {
baseImgPath: baseImgPath,
isUps: false,
forbidEdit: true, // 禁止修改
msg: 'add',
noClick: true,
treeNode: [], //部门下拉数据
analyzeUserList: [],
analyzeindex: -1,
pd: {}, // 数据
}
},
onLoad(event) {
this.pd.COMMITMENTTEAM_ID = event.COMMITMENTTEAM_ID;
this.getData();
loginSession();
},
methods: {
getData() {
var _this = this;
uni.showLoading({
title: '请稍候'
})
uni.request({
url: basePath + '/app/commitment/team/goEdit',
method: 'POST',
header: {
'Content-type': 'application/x-www-form-urlencoded'
},
data: {
COMMITMENTTEAM_ID: _this.pd.COMMITMENTTEAM_ID,
},
success: (res) => {
if ("success" == res.data.result) {
uni.hideLoading();
_this.pd = res.data.pd; //参数map
} else if ("exception" == data.result) {
uni.showToast({
title: '错误',
duration: 2000
});
}
}
});
},
ViewShowImage(e) {
let files = [];
files.push(baseImgPath + this.pd.SIGN_PATH)
uni.previewImage({
urls: files,
current: 0
});
},
}
}
</script>
<style scoped>
</style>