所有流程可以查看动火操作人图片

limingyu-20240419-一公司危险作业更新
liujun 2024-04-03 15:57:04 +08:00
parent 0e44d6979f
commit 6bf5f469a2
11 changed files with 202 additions and 4 deletions

View File

@ -27,6 +27,18 @@
<textarea maxlength="255" :disabled="forbidEdit" v-model="pd.WORK_CONTENT" placeholder="请输入作业内容"></textarea>
</view>
<view class="cu-form-textarea ">
<view class="cu-form-title">动火操作人图片</view>
<view class="cu-form-group" style="padding-top:20upx">
<view class="grid col-4 grid-square flex-sub">
<view class="bg-img" v-for="(item,index) in pd.dongHuoCaoZuoRenPic" :key="index" @tap="ViewImage"
:data-url="pd.dongHuoCaoZuoRenPic[index]">
<image :src="pd.dongHuoCaoZuoRenPic[index]" mode="aspectFill"></image>
</view>
</view>
</view>
</view>
<view class="cu-form-group">
<view class="title">动火地点及动火部位</view>
<input name="input" :disabled="forbidEdit" v-model="pd.WORK_PLACE" placeholder="请输入"></input>
@ -502,6 +514,14 @@
if(_this.pd.APPLY_STATUS < 1){
_this.forbidEdit = false;
}
let dongHuoCaoZuoRenPic = res.data.imgList2
if (dongHuoCaoZuoRenPic && dongHuoCaoZuoRenPic.length > 0) {
_this.pd.dongHuoCaoZuoRenPic = []
for (let i = 0; i < dongHuoCaoZuoRenPic.length; i++) {
_this.pd.dongHuoCaoZuoRenPic.push(baseImgPath + dongHuoCaoZuoRenPic[i].FILEPATH)
}
}
} else if ("exception" == data.result) {
uni.showToast({
title: '错误',

View File

@ -27,6 +27,18 @@
<textarea maxlength="255" :disabled="forbidEdit" v-model="pd.WORK_CONTENT" placeholder="请输入作业内容"></textarea>
</view>
<view class="cu-form-textarea ">
<view class="cu-form-title">动火操作人图片</view>
<view class="cu-form-group" style="padding-top:20upx">
<view class="grid col-4 grid-square flex-sub">
<view class="bg-img" v-for="(item,index) in pd.dongHuoCaoZuoRenPic" :key="index" @tap="ViewImage"
:data-url="pd.dongHuoCaoZuoRenPic[index]">
<image :src="pd.dongHuoCaoZuoRenPic[index]" mode="aspectFill"></image>
</view>
</view>
</view>
</view>
<view class="cu-form-group">
<view class="title">动火地点及动火部位</view>
<input name="input" :disabled="forbidEdit" v-model="pd.WORK_PLACE" placeholder="请输入"></input>
@ -434,6 +446,13 @@
if(_this.pd.APPLY_STATUS < 1){
_this.forbidEdit = false;
}
let dongHuoCaoZuoRenPic = res.data.imgList2
if (dongHuoCaoZuoRenPic && dongHuoCaoZuoRenPic.length > 0) {
_this.pd.dongHuoCaoZuoRenPic = []
for (let i = 0; i < dongHuoCaoZuoRenPic.length; i++) {
_this.pd.dongHuoCaoZuoRenPic.push(baseImgPath + dongHuoCaoZuoRenPic[i].FILEPATH)
}
}
} else if ("exception" == data.result) {
uni.showToast({
title: '错误',

View File

@ -27,6 +27,18 @@
<textarea maxlength="255" :disabled="forbidEdit" v-model="pd.WORK_CONTENT" placeholder="请输入作业内容"></textarea>
</view>
<view class="cu-form-textarea ">
<view class="cu-form-title">动火操作人图片</view>
<view class="cu-form-group" style="padding-top:20upx">
<view class="grid col-4 grid-square flex-sub">
<view class="bg-img" v-for="(item,index) in pd.dongHuoCaoZuoRenPic" :key="index" @tap="ViewImage"
:data-url="pd.dongHuoCaoZuoRenPic[index]">
<image :src="pd.dongHuoCaoZuoRenPic[index]" mode="aspectFill"></image>
</view>
</view>
</view>
</view>
<view class="cu-form-group">
<view class="title">动火地点及动火部位</view>
<input name="input" :disabled="forbidEdit" v-model="pd.WORK_PLACE" placeholder="请输入"></input>
@ -452,6 +464,14 @@
if(_this.pd.APPLY_STATUS < 1){
_this.forbidEdit = false;
}
let dongHuoCaoZuoRenPic = res.data.imgList2
if (dongHuoCaoZuoRenPic && dongHuoCaoZuoRenPic.length > 0) {
_this.pd.dongHuoCaoZuoRenPic = []
for (let i = 0; i < dongHuoCaoZuoRenPic.length; i++) {
_this.pd.dongHuoCaoZuoRenPic.push(baseImgPath + dongHuoCaoZuoRenPic[i].FILEPATH)
}
}
} else if ("exception" == data.result) {
uni.showToast({
title: '错误',

View File

@ -27,6 +27,18 @@
<textarea maxlength="255" :disabled="forbidEdit" v-model="pd.WORK_CONTENT" placeholder="请输入作业内容"></textarea>
</view>
<view class="cu-form-textarea ">
<view class="cu-form-title">动火操作人图片</view>
<view class="cu-form-group" style="padding-top:20upx">
<view class="grid col-4 grid-square flex-sub">
<view class="bg-img" v-for="(item,index) in pd.dongHuoCaoZuoRenPic" :key="index" @tap="ViewImage"
:data-url="pd.dongHuoCaoZuoRenPic[index]">
<image :src="pd.dongHuoCaoZuoRenPic[index]" mode="aspectFill"></image>
</view>
</view>
</view>
</view>
<view class="cu-form-group">
<view class="title">动火地点及动火部位</view>
<input name="input" :disabled="forbidEdit" v-model="pd.WORK_PLACE" placeholder="请输入"></input>
@ -503,6 +515,14 @@
if(_this.pd.APPLY_STATUS < 1){
_this.forbidEdit = false;
}
let dongHuoCaoZuoRenPic = res.data.imgList2
if (dongHuoCaoZuoRenPic && dongHuoCaoZuoRenPic.length > 0) {
_this.pd.dongHuoCaoZuoRenPic = []
for (let i = 0; i < dongHuoCaoZuoRenPic.length; i++) {
_this.pd.dongHuoCaoZuoRenPic.push(baseImgPath + dongHuoCaoZuoRenPic[i].FILEPATH)
}
}
} else if ("exception" == data.result) {
uni.showToast({
title: '错误',

View File

@ -27,6 +27,18 @@
<textarea maxlength="255" :disabled="forbidEdit" v-model="pd.WORK_CONTENT" placeholder="请输入作业内容"></textarea>
</view>
<view class="cu-form-textarea ">
<view class="cu-form-title">动火操作人图片</view>
<view class="cu-form-group" style="padding-top:20upx">
<view class="grid col-4 grid-square flex-sub">
<view class="bg-img" v-for="(item,index) in pd.dongHuoCaoZuoRenPic" :key="index" @tap="ViewImage"
:data-url="pd.dongHuoCaoZuoRenPic[index]">
<image :src="pd.dongHuoCaoZuoRenPic[index]" mode="aspectFill"></image>
</view>
</view>
</view>
</view>
<view class="cu-form-group">
<view class="title">动火地点及动火部位</view>
<input name="input" :disabled="forbidEdit" v-model="pd.WORK_PLACE" placeholder="请输入"></input>
@ -368,6 +380,14 @@
if(_this.pd.APPLY_STATUS < 1){
_this.forbidEdit = false;
}
let dongHuoCaoZuoRenPic = res.data.imgList2
if (dongHuoCaoZuoRenPic && dongHuoCaoZuoRenPic.length > 0) {
_this.pd.dongHuoCaoZuoRenPic = []
for (let i = 0; i < dongHuoCaoZuoRenPic.length; i++) {
_this.pd.dongHuoCaoZuoRenPic.push(baseImgPath + dongHuoCaoZuoRenPic[i].FILEPATH)
}
}
} else if ("exception" == data.result) {
uni.showToast({
title: '错误',

View File

@ -27,6 +27,18 @@
<textarea maxlength="255" :disabled="forbidEdit" v-model="pd.WORK_CONTENT" placeholder="请输入作业内容"></textarea>
</view>
<view class="cu-form-textarea ">
<view class="cu-form-title">动火操作人图片</view>
<view class="cu-form-group" style="padding-top:20upx">
<view class="grid col-4 grid-square flex-sub">
<view class="bg-img" v-for="(item,index) in pd.dongHuoCaoZuoRenPic" :key="index" @tap="ViewImage"
:data-url="pd.dongHuoCaoZuoRenPic[index]">
<image :src="pd.dongHuoCaoZuoRenPic[index]" mode="aspectFill"></image>
</view>
</view>
</view>
</view>
<view class="cu-form-group">
<view class="title">动火地点及动火部位</view>
<input name="input" :disabled="forbidEdit" v-model="pd.WORK_PLACE" placeholder="请输入"></input>
@ -453,6 +465,14 @@
if(_this.pd.APPLY_STATUS < 1){
_this.forbidEdit = false;
}
let dongHuoCaoZuoRenPic = res.data.imgList2
if (dongHuoCaoZuoRenPic && dongHuoCaoZuoRenPic.length > 0) {
_this.pd.dongHuoCaoZuoRenPic = []
for (let i = 0; i < dongHuoCaoZuoRenPic.length; i++) {
_this.pd.dongHuoCaoZuoRenPic.push(baseImgPath + dongHuoCaoZuoRenPic[i].FILEPATH)
}
}
} else if ("exception" == data.result) {
uni.showToast({
title: '错误',

View File

@ -27,6 +27,18 @@
<textarea maxlength="255" :disabled="forbidEdit" v-model="pd.WORK_CONTENT" placeholder="请输入作业内容"></textarea>
</view>
<view class="cu-form-textarea ">
<view class="cu-form-title">动火操作人图片</view>
<view class="cu-form-group" style="padding-top:20upx">
<view class="grid col-4 grid-square flex-sub">
<view class="bg-img" v-for="(item,index) in pd.dongHuoCaoZuoRenPic" :key="index" @tap="ViewImage"
:data-url="pd.dongHuoCaoZuoRenPic[index]">
<image :src="pd.dongHuoCaoZuoRenPic[index]" mode="aspectFill"></image>
</view>
</view>
</view>
</view>
<view class="cu-form-group">
<view class="title">动火地点及动火部位</view>
<input name="input" :disabled="forbidEdit" v-model="pd.WORK_PLACE" placeholder="请输入"></input>
@ -417,6 +429,14 @@
if(_this.pd.APPLY_STATUS < 1){
_this.forbidEdit = false;
}
let dongHuoCaoZuoRenPic = res.data.imgList2
if (dongHuoCaoZuoRenPic && dongHuoCaoZuoRenPic.length > 0) {
_this.pd.dongHuoCaoZuoRenPic = []
for (let i = 0; i < dongHuoCaoZuoRenPic.length; i++) {
_this.pd.dongHuoCaoZuoRenPic.push(baseImgPath + dongHuoCaoZuoRenPic[i].FILEPATH)
}
}
} else if ("exception" == data.result) {
uni.showToast({
title: '错误',

View File

@ -27,6 +27,18 @@
<textarea maxlength="255" :disabled="forbidEdit" v-model="pd.WORK_CONTENT" placeholder="请输入作业内容"></textarea>
</view>
<view class="cu-form-textarea ">
<view class="cu-form-title">动火操作人图片</view>
<view class="cu-form-group" style="padding-top:20upx">
<view class="grid col-4 grid-square flex-sub">
<view class="bg-img" v-for="(item,index) in pd.dongHuoCaoZuoRenPic" :key="index" @tap="ViewImage"
:data-url="pd.dongHuoCaoZuoRenPic[index]">
<image :src="pd.dongHuoCaoZuoRenPic[index]" mode="aspectFill"></image>
</view>
</view>
</view>
</view>
<view class="cu-form-group">
<view class="title">动火地点及动火部位</view>
<input name="input" :disabled="forbidEdit" v-model="pd.WORK_PLACE" placeholder="请输入"></input>
@ -481,6 +493,14 @@
if(_this.pd.APPLY_STATUS < 1){
_this.forbidEdit = false;
}
let dongHuoCaoZuoRenPic = res.data.imgList2
if (dongHuoCaoZuoRenPic && dongHuoCaoZuoRenPic.length > 0) {
_this.pd.dongHuoCaoZuoRenPic = []
for (let i = 0; i < dongHuoCaoZuoRenPic.length; i++) {
_this.pd.dongHuoCaoZuoRenPic.push(baseImgPath + dongHuoCaoZuoRenPic[i].FILEPATH)
}
}
} else if ("exception" == data.result) {
uni.showToast({
title: '错误',

View File

@ -27,6 +27,18 @@
<textarea maxlength="255" :disabled="forbidEdit" v-model="pd.WORK_CONTENT" placeholder="请输入作业内容"></textarea>
</view>
<view class="cu-form-textarea ">
<view class="cu-form-title">动火操作人图片</view>
<view class="cu-form-group" style="padding-top:20upx">
<view class="grid col-4 grid-square flex-sub">
<view class="bg-img" v-for="(item,index) in pd.dongHuoCaoZuoRenPic" :key="index" @tap="ViewImage"
:data-url="pd.dongHuoCaoZuoRenPic[index]">
<image :src="pd.dongHuoCaoZuoRenPic[index]" mode="aspectFill"></image>
</view>
</view>
</view>
</view>
<view class="cu-form-group">
<view class="title">动火地点及动火部位</view>
<input name="input" :disabled="forbidEdit" v-model="pd.WORK_PLACE" placeholder="请输入"></input>
@ -356,6 +368,13 @@
if(_this.pd.APPLY_STATUS < 1){
_this.forbidEdit = false;
}
let dongHuoCaoZuoRenPic = res.data.imgList2
if (dongHuoCaoZuoRenPic && dongHuoCaoZuoRenPic.length > 0) {
_this.pd.dongHuoCaoZuoRenPic = []
for (let i = 0; i < dongHuoCaoZuoRenPic.length; i++) {
_this.pd.dongHuoCaoZuoRenPic.push(baseImgPath + dongHuoCaoZuoRenPic[i].FILEPATH)
}
}
} else if ("exception" == data.result) {
uni.showToast({
title: '错误',

View File

@ -28,6 +28,18 @@
placeholder="请输入作业内容"></textarea>
</view>
<view class="cu-form-textarea ">
<view class="cu-form-title">动火操作人图片</view>
<view class="cu-form-group" style="padding-top:20upx">
<view class="grid col-4 grid-square flex-sub">
<view class="bg-img" v-for="(item,index) in pd.dongHuoCaoZuoRenPic" :key="index" @tap="ViewImage"
:data-url="pd.dongHuoCaoZuoRenPic[index]">
<image :src="pd.dongHuoCaoZuoRenPic[index]" mode="aspectFill"></image>
</view>
</view>
</view>
</view>
<view class="cu-form-group">
<view class="title">动火地点及动火部位</view>
<input name="input" :disabled="forbidEdit" v-model="pd.WORK_PLACE" placeholder="请输入"></input>
@ -417,6 +429,14 @@ export default {
if (_this.pd.APPLY_STATUS < 1) {
_this.forbidEdit = false;
}
let dongHuoCaoZuoRenPic = res.data.imgList2
if (dongHuoCaoZuoRenPic && dongHuoCaoZuoRenPic.length > 0) {
_this.pd.dongHuoCaoZuoRenPic = []
for (let i = 0; i < dongHuoCaoZuoRenPic.length; i++) {
_this.pd.dongHuoCaoZuoRenPic.push(baseImgPath + dongHuoCaoZuoRenPic[i].FILEPATH)
}
}
} else if ("exception" == data.result) {
uni.showToast({
title: '错误',