接受交底人修改为添加多个,并展示多个

bug优化0603
WenShiJun 2024-06-07 17:24:50 +08:00
parent 7277cd7ade
commit 9d408ab866
11 changed files with 293 additions and 156 deletions

View File

@ -225,21 +225,35 @@
</view>
</view>
</view>
<view v-if="files.length > 0">
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group" >
<view class="title">接受交底人</view>
{{pd.ACCEPT_CONFESS_USER_NAME}} {{pd.ACCEPT_CONFESS_USER_SIGNER_TIME}}
</view>
<view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
<image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"
mode="" style="width: 200upx;height: 200upx;"></image>
<text>{{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}</text>
</view>
</view>
</view>
</view>
<view v-if="pd.acceptConfessList && pd.acceptConfessList.length > 0 && pd.acceptConfessList.length !== pd.acceptConfessList.filter(item => item.APPROVAL_STATUS === '0').length">
<view v-for="(item,index) in pd.acceptConfessList" >
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group">
<view class="title">接受交底人</view>
{{ item.ACCEPT_CONFESS_USER_NAME }} {{ item.APPROVAL_SIGNATURE_TIME }}
</view>
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;">
<image :src="baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH" mode="aspectFill"
@click="previewImage(baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH)" style="height: 100%;"></image>
</view>
</view>
</view>
</view>
<!-- <view v-if="files.length > 0">-->
<!-- <view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">-->
<!-- <view class="cu-form-group" >-->
<!-- <view class="title">接受交底人</view>-->
<!-- {{pd.ACCEPT_CONFESS_USER_NAME}} {{pd.ACCEPT_CONFESS_USER_SIGNER_TIME}}-->
<!-- </view>-->
<!-- <view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">-->
<!-- <view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">-->
<!-- <image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"-->
<!-- mode="" style="width: 200upx;height: 200upx;"></image>-->
<!-- <text>{{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}</text>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<view v-if="pd.SAFETY_USER_NAME">
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group" >
@ -663,6 +677,9 @@ export default {
formData.OPERATOR = loginUser.USER_ID;
formData.ACTION_USER = loginUser.NAME;
formData.APPLY_STATUS = STATUS;
formData.FIRE_COMPLETED = this.pd.FIRE_COMPLETED;
formData.SITE_CLEANED = this.pd.SITE_CLEANED;
formData.NO_REMAINING_EMBERS = this.pd.NO_REMAINING_EMBERS;
if (STATUS == 8) {
if (new Date(this.pd.WORK_START_DATE).getTime() - new Date().getTime() > 0) {

View File

@ -44,7 +44,7 @@
</view>
<view class="dy-subtitle-flex" @click="$noMultipleClicks(goToDetail,item)">
<text>接受交底人{{item.ACCEPT_CONFESS_USER_NAME}}</text>
<text>接受交底人{{item.acceptConfessUserNames}}</text>
<text>安全措施确认人{{item.SAFETY_USER_NAME}}</text>
</view>
<view class="dy-subtitle-flex" @click="$noMultipleClicks(goToDetail,item)">
@ -138,12 +138,12 @@
</view>
<view v-if="ACCEPT_CONFESS_USER_SIGNER_TIME">
<view style="padding: 0 60upx;color: #5db174">
接受交底人{{ACCEPT_CONFESS_USER_NAME}}已签字
接受交底人{{acceptConfessUserNames}}已签字
</view>
</view>
<view v-if="!ACCEPT_CONFESS_USER_SIGNER_TIME">
<view style="padding: 0 60upx;color: red">
接受交底人{{ACCEPT_CONFESS_USER_NAME}}未签字
接受交底人{{acceptConfessUserNames}}未签字
</view>
</view>
</scroll-view>
@ -237,6 +237,7 @@
ACCEPT_CONFESS_USER_SIGNER_TIME: '',
ACCEPT_CONFESS_USER_NAME: '',
confessStatus: '',
acceptConfessUserNames: '',
confessUserNames: ''
}
},
@ -378,6 +379,7 @@
this.ACCEPT_CONFESS_USER_NAME = STATUS.ACCEPT_CONFESS_USER_NAME
this.confessStatus = STATUS.confessStatus
this.confessUserNames = STATUS.confessUserNames
this.acceptConfessUserNames = STATUS.acceptConfessUserNames
},
getShowStatus(step) {
if (this.showStatus == -1.5 && step.id == 0) {

View File

@ -272,7 +272,7 @@
</view>
</view>
</view>
<view class="wui-sign" v-if="!files.length">
<view class="wui-sign" v-if="!pd.ACCEPT_CONFESS_USER_SIGNER_PATH">
<view class="title">接受交底人</view>
<view>
<view>

View File

@ -554,7 +554,7 @@
<button class="cu-btn round bg-blue" @click="addAcceptconfessUser"></button>
</view>
</view>
<view class="add_pard_item" v-for="(item,index) of acceptconfessUserList">
<view class="add_pard_item" v-for="(item,index) of acceptconfessList">
<view class="add_pard_del" v-if="index>0" @click="removeAcceptconfessUser(index)">
<text class="cuIcon-roundclosefill text-red f40"></text>
</view>
@ -575,8 +575,7 @@
<view class="cu-form-group">
<view class="title">接受交底人</view>
<picker @change="PickerAcceptconfess($event,index)" :value="item.acceptconfessindex" :range="item.acceptconfessUserList" range-key="NAME"
:disabled="item.acceptconfessUserList.length === 0"
@click="isBlankList('acceptconfess')">
:disabled="item.acceptconfessUserList.length === 0">
<view class="picker">
{{ item.ACCEPT_CONFESS_USER_NAME ? item.ACCEPT_CONFESS_USER_NAME : '请选择' }}
</view>
@ -817,7 +816,6 @@ export default {
analyzeindex: -1,
confirmUserList: [],
workuserindex: -1,
confessUserList: [],
confessindex: -1,
acceptconfessindex: -1,
workUserList: [],
@ -885,6 +883,8 @@ export default {
todayDate: '',
otherAssignments: false,
otherIdentification: false,
confessUserList: [],
acceptconfessUserList: [],
confessList:[
{
CONFESS_DEPARTMENT_NAME:'',
@ -895,7 +895,7 @@ export default {
confessindex: -1
}
],
acceptconfessUserList: [
acceptconfessList: [
{
ACCEPT_CONFESS_DEPARTMENT_NAME:'',
ACCEPT_CONFESS_DEPARTMENT_ID:'',
@ -1035,10 +1035,10 @@ export default {
this.getUserListForJiaoDiRen(_this.confessList[i].CONFESS_DEPARTMENT_ID, i);
}
}
if (res.data.pd.acceptconfessUserList && res.data.pd.acceptconfessUserList.length > 0) {
_this.acceptconfessUserList = res.data.pd.acceptconfessUserList
for (let i = 0; i < _this.acceptconfessUserList.length; i++) {
this.getUserListForJiaoDiRen(_this.acceptconfessUserList[i].ACCEPT_CONFESS_DEPARTMENT_ID, i);
if (res.data.pd.acceptconfessList && res.data.pd.acceptconfessList.length > 0) {
_this.acceptconfessList = res.data.pd.acceptconfessList
for (let i = 0; i < _this.acceptconfessList.length; i++) {
this.getUserListForJiaoDiRen(_this.acceptconfessList[i].ACCEPT_CONFESS_DEPARTMENT_ID, i);
}
}
@ -1142,8 +1142,8 @@ export default {
required = false
}
}
for (let i = 0; i < this.acceptconfessUserList.length; i++) {
if (!this.acceptconfessUserList[i].ACCEPT_CONFESS_USER_ID) {
for (let i = 0; i < this.acceptconfessList.length; i++) {
if (!this.acceptconfessList[i].ACCEPT_CONFESS_USER_ID) {
uni.showToast({
icon: 'none',
title: '请选择接受交底人',
@ -1152,14 +1152,14 @@ export default {
required = false
}
}
if (this.pd.dongHuoCaoZuoRenPic.length <= 0) {
uni.showToast({
icon: 'none',
title: '请上传动火操作人图片',
duration: 1500
});
required = false
}
// if (this.pd.dongHuoCaoZuoRenPic.length <= 0) {
// uni.showToast({
// icon: 'none',
// title: '',
// duration: 1500
// });
// required = false
// }
if (!required) {
return
}
@ -1167,8 +1167,8 @@ export default {
for (let i = 0; i < this.confessList.length; i++) {
this.confessList[i].confessUserList = []
}
for (let i = 0; i < this.acceptconfessUserList.length; i++) {
this.acceptconfessUserList[i].acceptconfessUserList = []
for (let i = 0; i < this.acceptconfessList.length; i++) {
this.acceptconfessList[i].acceptconfessUserList = []
}
}
const formData = {}
@ -1186,7 +1186,7 @@ export default {
formData.CORPINFO_ID = loginUser.CORPINFO_ID
formData.USER_ID = loginUser.USER_ID
formData.confessList = JSON.stringify(this.confessList)
formData.acceptconfessUserList = JSON.stringify(this.acceptconfessUserList)
formData.acceptconfessList = JSON.stringify(this.acceptconfessList)
this.buttonloading = true
uni.request({
url: basePath + "/app/hotwork/cfd/" + _this.msg,
@ -1384,8 +1384,12 @@ export default {
},
success: function (res) {
if ("success" === res.data.result) {
_this.confessList[index].confessUserList = res.data.userList;
_this.acceptconfessUserList[index].acceptconfessUserList = res.data.userList;
if (_this.confessList[index]) {
_this.confessList[index].confessUserList = res.data.userList;
}
if (_this.acceptconfessList[index]) {
_this.acceptconfessList[index].acceptconfessUserList = res.data.userList;
}
} else {
uni.showToast({
title: res.data.message,
@ -1547,12 +1551,11 @@ export default {
},
//
confesstreeAcceptconfirm(e,index) {
console.log(e,index)
this.isUps = false;
this.acceptconfessUserList[index].ACCEPT_CONFESS_DEPARTMENT_ID = e[0].id;
this.acceptconfessUserList[index].ACCEPT_CONFESS_DEPARTMENT_NAME = e[0].name;
this.acceptconfessUserList[index].ACCEPT_CONFESS_USER_ID = ''
this.acceptconfessUserList[index].ACCEPT_CONFESS_USER_NAME = ''
this.acceptconfessList[index].ACCEPT_CONFESS_DEPARTMENT_ID = e[0].id;
this.acceptconfessList[index].ACCEPT_CONFESS_DEPARTMENT_NAME = e[0].name;
this.acceptconfessList[index].ACCEPT_CONFESS_USER_ID = ''
this.acceptconfessList[index].ACCEPT_CONFESS_USER_NAME = ''
this.$forceUpdate();//
this.getUserListForJiaoDiRen(e[0].id, index);
},
@ -1596,19 +1599,22 @@ export default {
this.$forceUpdate();//
},
PickerAcceptconfess(e, index) {
const userIndex = e.detail.value;
console.log(this.acceptconfessUserList,'1111111111111111111')
const selectedUser = this.acceptconfessUserList[index].acceptconfessUserList[userIndex];
if (selectedUser) {
this.acceptconfessUserList[index].ACCEPT_CONFESS_USER_ID = selectedUser.USER_ID;
this.acceptconfessUserList[index].ACCEPT_CONFESS_USER_NAME = selectedUser.NAME;
}
console.log(this.acceptconfessUserList[index],'3333333333333333333333333')
this.acceptconfessList[index].acceptconfessindex = e.detail.value;
this.acceptconfessList[index].ACCEPT_CONFESS_USER_ID = this.acceptconfessList[index].acceptconfessUserList[e.detail.value].USER_ID;
this.acceptconfessList[index].ACCEPT_CONFESS_USER_NAME = this.acceptconfessList[index].acceptconfessUserList[e.detail.value].NAME;
this.$forceUpdate(); //
},
// PickerAcceptconfess(e, index) {
// const userIndex = e.detail.value;
//
// const selectedUser = this.acceptconfessList[index].acceptconfessUserList[userIndex];
//
// if (selectedUser) {
// this.acceptconfessList[index].ACCEPT_CONFESS_USER_ID = selectedUser.USER_ID;
// this.acceptconfessList[index].ACCEPT_CONFESS_USER_NAME = selectedUser.NAME;
// }
// this.$forceUpdate(); //
// },
/*
*分析人
*分析人
@ -1941,10 +1947,10 @@ export default {
acceptconfessUserList:[],
confessindex: -1
};
_this.acceptconfessUserList.push(o);
_this.acceptconfessList.push(o);
},
removeAcceptconfessUser(index){
this.acceptconfessUserList.splice(index,1);
this.acceptconfessList.splice(index,1);
},
// 2024-02-03 created by liu jun description:
showSafetyTree(){

View File

@ -233,20 +233,34 @@
</view>
</view>
</view>
<view v-if="files.length > 0">
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">
<view class="cu-form-group" >
<view v-if="pd.acceptConfessList && pd.acceptConfessList.length > 0 && pd.acceptConfessList.length !== pd.acceptConfessList.filter(item => item.APPROVAL_STATUS === '0').length">
<view v-for="(item,index) in pd.acceptConfessList" >
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group">
<view class="title">接受交底人</view>
{{pd.ACCEPT_CONFESS_USER_NAME}} {{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}
{{ item.ACCEPT_CONFESS_USER_NAME }} {{ item.APPROVAL_SIGNATURE_TIME }}
</view>
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
<image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"
mode="" style="width: 200upx;height: 200upx;"></image>
</view>
</view>
</view>
</view>
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;">
<image :src="baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH" mode="aspectFill"
@click="previewImage(baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH)" style="height: 100%;"></image>
</view>
</view>
</view>
</view>
<!-- <view v-if="files.length > 0">-->
<!-- <view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">-->
<!-- <view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">-->
<!-- <view class="cu-form-group" >-->
<!-- <view class="title">接受交底人</view>-->
<!-- {{pd.ACCEPT_CONFESS_USER_NAME}} {{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}-->
<!-- </view>-->
<!-- <view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">-->
<!-- <image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"-->
<!-- mode="" style="width: 200upx;height: 200upx;"></image>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
</view>
<view class="wui-form-list">
<view class="cu-form-textarea" style="border: none;">

View File

@ -243,32 +243,60 @@
</view>
</view>
</view>
<view v-if="pd.CONFESS_USER_SIGNER_PATH">
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group" >
<view class="title">安全交底人</view>
{{pd.CONFESS_USER_NAME}} {{pd.CONFESS_USER_SIGNER_TIME}}
</view>
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >
<image :src="baseImgPath + pd.CONFESS_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.CONFESS_USER_SIGNER_PATH)" style="height: 100%;"></image>
</view>
</view>
</view>
<view v-if="files.length > 0">
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group" >
<view class="title">接受交底人</view>
{{pd.ACCEPT_CONFESS_USER_NAME}} {{pd.ACCEPT_CONFESS_USER_SIGNER_TIME}}
</view>
<view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
<image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"
mode="" style="width: 200upx;height: 200upx;"></image>
<text>{{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}</text>
</view>
</view>
</view>
</view>
<view v-if="pd.confessList && pd.confessList.length > 0 && pd.confessList.length !== pd.confessList.filter(item => item.APPROVAL_STATUS === '0').length">
<view v-for="(item,index) in pd.confessList" >
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group">
<view class="title">安全交底人</view>
{{ item.CONFESS_USER_NAME }} {{ item.APPROVAL_SIGNATURE_TIME }}
</view>
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;">
<image :src="baseImgPath + item.APPROVAL_SIGNATURE" mode="aspectFill"
@click="previewImage(baseImgPath + item.APPROVAL_SIGNATURE)" style="height: 100%;"></image>
</view>
</view>
</view>
</view>
<view v-if="pd.acceptConfessList && pd.acceptConfessList.length > 0 && pd.acceptConfessList.length !== pd.acceptConfessList.filter(item => item.APPROVAL_STATUS === '0').length">
<view v-for="(item,index) in pd.acceptConfessList" >
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group">
<view class="title">接受交底人</view>
{{ item.ACCEPT_CONFESS_USER_NAME }} {{ item.APPROVAL_SIGNATURE_TIME }}
</view>
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;">
<image :src="baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH" mode="aspectFill"
@click="previewImage(baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH)" style="height: 100%;"></image>
</view>
</view>
</view>
</view>
<!-- <view v-if="pd.CONFESS_USER_SIGNER_PATH">-->
<!-- <view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">-->
<!-- <view class="cu-form-group" >-->
<!-- <view class="title">安全交底人</view>-->
<!-- {{pd.CONFESS_USER_NAME}} {{pd.CONFESS_USER_SIGNER_TIME}}-->
<!-- </view>-->
<!-- <view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;" >-->
<!-- <image :src="baseImgPath + pd.CONFESS_USER_SIGNER_PATH" mode="aspectFill" @click="previewImage(baseImgPath + pd.CONFESS_USER_SIGNER_PATH)" style="height: 100%;"></image>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<!-- <view v-if="files.length > 0">-->
<!-- <view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">-->
<!-- <view class="cu-form-group" >-->
<!-- <view class="title">接受交底人</view>-->
<!-- {{pd.ACCEPT_CONFESS_USER_NAME}} {{pd.ACCEPT_CONFESS_USER_SIGNER_TIME}}-->
<!-- </view>-->
<!-- <view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">-->
<!-- <view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">-->
<!-- <image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"-->
<!-- mode="" style="width: 200upx;height: 200upx;"></image>-->
<!-- <text>{{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}</text>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
</view>
<view class="wui-form-list">
<view class="cu-form-textarea" style="border: none;">

View File

@ -211,21 +211,35 @@
</view>
</view>
</view>
<view v-if="files.length > 0">
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">
<view class="cu-form-group" >
<view v-if="pd.acceptConfessList && pd.acceptConfessList.length > 0 && pd.acceptConfessList.length !== pd.acceptConfessList.filter(item => item.APPROVAL_STATUS === '0').length">
<view v-for="(item,index) in pd.acceptConfessList" >
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group">
<view class="title">接受交底人</view>
{{pd.ACCEPT_CONFESS_USER_NAME}} {{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}
{{ item.ACCEPT_CONFESS_USER_NAME }} {{ item.APPROVAL_SIGNATURE_TIME }}
</view>
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
<image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"
mode="" style="width: 200upx;height: 200upx;"></image>
<text>{{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}</text>
</view>
</view>
</view>
</view>
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;">
<image :src="baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH" mode="aspectFill"
@click="previewImage(baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH)" style="height: 100%;"></image>
</view>
</view>
</view>
</view>
<!-- <view v-if="files.length > 0">-->
<!-- <view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">-->
<!-- <view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">-->
<!-- <view class="cu-form-group" >-->
<!-- <view class="title">接受交底人</view>-->
<!-- {{pd.ACCEPT_CONFESS_USER_NAME}} {{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}-->
<!-- </view>-->
<!-- <view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">-->
<!-- <image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"-->
<!-- mode="" style="width: 200upx;height: 200upx;"></image>-->
<!-- <text>{{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}</text>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
</view>
<view class="wui-form-list">
<view v-if="pd.CONFIRM_USER_SIGNER_PATH">

View File

@ -225,20 +225,34 @@
</view>
</view>
</view>
<view v-if="files.length > 0">
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">
<view class="cu-form-group" >
<view v-if="pd.acceptConfessList && pd.acceptConfessList.length > 0 && pd.acceptConfessList.length !== pd.acceptConfessList.filter(item => item.APPROVAL_STATUS === '0').length">
<view v-for="(item,index) in pd.acceptConfessList" >
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group">
<view class="title">接受交底人</view>
{{pd.ACCEPT_CONFESS_USER_NAME}} {{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}
{{ item.ACCEPT_CONFESS_USER_NAME }} {{ item.APPROVAL_SIGNATURE_TIME }}
</view>
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
<image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"
mode="" style="width: 200upx;height: 200upx;"></image>
</view>
</view>
</view>
</view>
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;">
<image :src="baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH" mode="aspectFill"
@click="previewImage(baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH)" style="height: 100%;"></image>
</view>
</view>
</view>
</view>
<!-- <view v-if="files.length > 0">-->
<!-- <view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">-->
<!-- <view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">-->
<!-- <view class="cu-form-group" >-->
<!-- <view class="title">接受交底人</view>-->
<!-- {{pd.ACCEPT_CONFESS_USER_NAME}} {{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}-->
<!-- </view>-->
<!-- <view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">-->
<!-- <image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"-->
<!-- mode="" style="width: 200upx;height: 200upx;"></image>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<view v-if="pd.SAFETY_SIGNATURE">
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group" >

View File

@ -250,20 +250,34 @@
</view>
</view>
</view>
<view v-if="files.length > 0">
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">
<view class="cu-form-group" >
<view v-if="pd.acceptConfessList && pd.acceptConfessList.length > 0 && pd.acceptConfessList.length !== pd.acceptConfessList.filter(item => item.APPROVAL_STATUS === '0').length">
<view v-for="(item,index) in pd.acceptConfessList" >
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group">
<view class="title">接受交底人</view>
{{pd.ACCEPT_CONFESS_USER_NAME}} {{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}
{{ item.ACCEPT_CONFESS_USER_NAME }} {{ item.APPROVAL_SIGNATURE_TIME }}
</view>
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
<image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"
mode="" style="width: 200upx;height: 200upx;"></image>
</view>
</view>
</view>
</view>
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;">
<image :src="baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH" mode="aspectFill"
@click="previewImage(baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH)" style="height: 100%;"></image>
</view>
</view>
</view>
</view>
<!-- <view v-if="files.length > 0">-->
<!-- <view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">-->
<!-- <view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">-->
<!-- <view class="cu-form-group" >-->
<!-- <view class="title">接受交底人</view>-->
<!-- {{pd.ACCEPT_CONFESS_USER_NAME}} {{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}-->
<!-- </view>-->
<!-- <view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">-->
<!-- <image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"-->
<!-- mode="" style="width: 200upx;height: 200upx;"></image>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
</view>
<view class="wui-form-list">
<view class="cu-form-textarea" style="border: none;">

View File

@ -233,20 +233,34 @@
</view>
</view>
</view>
<view v-if="files.length > 0">
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">
<view class="cu-form-group" >
<view v-if="pd.acceptConfessList && pd.acceptConfessList.length > 0 && pd.acceptConfessList.length !== pd.acceptConfessList.filter(item => item.APPROVAL_STATUS === '0').length">
<view v-for="(item,index) in pd.acceptConfessList" >
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group">
<view class="title">接受交底人</view>
{{pd.ACCEPT_CONFESS_USER_NAME}} {{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}
{{ item.ACCEPT_CONFESS_USER_NAME }} {{ item.APPROVAL_SIGNATURE_TIME }}
</view>
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
<image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"
mode="" style="width: 200upx;height: 200upx;"></image>
</view>
</view>
</view>
</view>
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;">
<image :src="baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH" mode="aspectFill"
@click="previewImage(baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH)" style="height: 100%;"></image>
</view>
</view>
</view>
</view>
<!-- <view v-if="files.length > 0">-->
<!-- <view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">-->
<!-- <view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">-->
<!-- <view class="cu-form-group" >-->
<!-- <view class="title">接受交底人</view>-->
<!-- {{pd.ACCEPT_CONFESS_USER_NAME}} {{item.ACCEPT_CONFESS_USER_SIGNER_TIME}}-->
<!-- </view>-->
<!-- <view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">-->
<!-- <image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index" @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"-->
<!-- mode="" style="width: 200upx;height: 200upx;"></image>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<view v-if="pd.SAFETY_USER_NAME">
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group" >

View File

@ -244,21 +244,35 @@
</view>
</view>
</view>
<view v-if="files.length > 0">
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">
<view v-if="pd.acceptConfessList && pd.acceptConfessList.length > 0 && pd.acceptConfessList.length !== pd.acceptConfessList.filter(item => item.APPROVAL_STATUS === '0').length">
<view v-for="(item,index) in pd.acceptConfessList" >
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group">
<view class="title">接受交底人</view>
{{ pd.ACCEPT_CONFESS_USER_NAME }} {{ item.ACCEPT_CONFESS_USER_SIGNER_TIME }}
{{ item.ACCEPT_CONFESS_USER_NAME }} {{ item.APPROVAL_SIGNATURE_TIME }}
</view>
<view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">
<image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index"
@click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"
mode="" style="width: 200upx;height: 200upx;"></image>
<view style="width: 400upx; height: 200upx; margin: 30upx;margin-top: 0upx;margin-bottom: 20upx;">
<image :src="baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH" mode="aspectFill"
@click="previewImage(baseImgPath + item.ACCEPT_CONFESS_USER_SIGNER_PATH)" style="height: 100%;"></image>
</view>
</view>
</view>
</view>
<!-- <view v-if="files.length > 0">-->
<!-- <view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">-->
<!-- <view class="cu-item" v-for="(item,index) in files" :key="index" style="border-bottom: 1px solid #e3e3e3">-->
<!-- <view class="cu-form-group">-->
<!-- <view class="title">接受交底人</view>-->
<!-- {{ pd.ACCEPT_CONFESS_USER_NAME }} {{ item.ACCEPT_CONFESS_USER_SIGNER_TIME }}-->
<!-- </view>-->
<!-- <view class="imgs" style="display: flex;justify-content: space-between;align-items: flex-end;padding: 20upx 50upx;">-->
<!-- <image :src="baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH" :data-index="index"-->
<!-- @click="ViewShowImage(baseImgPath+item.ACCEPT_CONFESS_USER_SIGNER_PATH)"-->
<!-- mode="" style="width: 200upx;height: 200upx;"></image>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<!-- </view>-->
<view v-if="pd.SAFETY_USER_NAME">
<view style="border-bottom: 1px solid #eeeeee; border-top: 1px solid #eeeeee">
<view class="cu-form-group" >