动火安全措施回显

pull/5/head
fangjiakai 2024-01-25 10:07:24 +08:00
parent d539e7d54c
commit e5d97b6027
3 changed files with 343 additions and 414 deletions

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager">
<output url="file://$MODULE_DIR$/bin" />
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -1,11 +1,5 @@
<template> <template>
<view > <view >
<cu-custom bgColor="bg-gradual-blueness" :isBack="!otherIdentification && !otherAssignments" >
<block slot="backText">返回</block>
<block slot="content">动火安全作业申请</block>
</cu-custom>
<scroll-view scroll-y="false" >
<view class="form">
<view class="wui-form-list"> <view class="wui-form-list">
<view class="cu-form-group bb-default" > <view class="cu-form-group bb-default" >
<view class="title">申请单位</view> <view class="title">申请单位</view>
@ -367,8 +361,6 @@
</view> </view>
</view> </view>
</view> </view>
</scroll-view>
</view>
</template> </template>
<script> <script>
@ -469,12 +461,11 @@ export default {
} }
}, },
onLoad(){ mounted(){
console.log(this.hotworkId)
this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm'); this.todayDate = formatDate(new Date(), 'yyyy-MM-dd hh:mm');
this.pd.HOTWORK_ID = this.hotworkId; this.pd.HOTWORK_ID = this.hotworkId;
this.msg="edit";
this.getData(); this.getData();
loginSession();
}, },
methods: { methods: {

View File

@ -6,62 +6,8 @@
</cu-custom> </cu-custom>
<scroll-view scroll-y="false" > <scroll-view scroll-y="false" >
<view class="form"> <view class="form">
<view class="wui-form-list">
<view class="cu-form-group bb-default" >
<view class="title">申请单位</view>
{{pd.APPLY_DEPARTMENT_NAME}}
</view>
<view class="cu-form-group bb-default" > <detail v-if="pd.HOTWORK_ID" :hotworkId="pd.HOTWORK_ID"></detail>
<view class="title">申请人</view>
{{pd.APPLY_USER_NAME}}
</view>
<view class="cu-form-group bb-default">
<view class="title">编号</view>
{{pd.CHECK_NO}}
</view>
<view class="cu-form-group bb-default">
<view class="title">作业内容</view>
{{pd.WORK_CONTENT}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火地点及动火部位</view>
{{pd.WORK_PLACE}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火作业级别</view>
{{pd.WORK_LEVEL}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火方式</view>
{{pd.WORK_FUNCTION}}
</view>
<view class="cu-form-group bb-default">
<view class="title">动火人及证书编号</view>
{{pd.WORK_USER}}
</view>
<view class="cu-form-group bb-default">
<view class="title">关联的其他特殊作业及安全作业票编号</view>
{{pd.SPECIAL_WORK}}
</view>
<view class="cu-form-group bb-default">
<view class="title">风险辨识结果</view>
{{pd.RISK_IDENTIFICATION}}
</view>
<view class="cu-form-group bb-default">
<text class="title">分析人</text>
<text>{{pd.ANALYZE_USER_NAME}}</text>
<button class="cu-btn bg-green sm" @click="$noMultipleClicks(goToDetail,pd.HOTWORK_ID)"></button>
</view>
</view>
<view class="wui-form-list"> <view class="wui-form-list">
<view class="wui-sign" v-if="!files.length"> <view class="wui-sign" v-if="!files.length">
@ -109,9 +55,10 @@
import writingBoard from "@/components/writing-board/writing-board.vue" import writingBoard from "@/components/writing-board/writing-board.vue"
import gcoord from '@/common/gcoord.js' import gcoord from '@/common/gcoord.js'
import ruiDatePicker from '@/components/rattenking-dtpicker/rattenking-dtpicker.vue'; import ruiDatePicker from '@/components/rattenking-dtpicker/rattenking-dtpicker.vue';
import detail from '@/pages/application/hotwork/hotwork-detail/index'
export default { export default {
components: { components: {
tkiTree,ruiDatePicker,writingBoard tkiTree,ruiDatePicker,writingBoard,detail
}, },
data() { data() {
return { return {