|
@@ -128,7 +128,8 @@
|
|
|
<view style="position: relative;width: 180rpx;float: left;margin: 10rpx 15rpx 0 0rpx;"
|
|
|
v-for="(items,indexs) in item.attUrl" :key="indexs">
|
|
|
<image :src="items" style="width: 160rpx;height: 160rpx;border-radius: 30rpx;float: left;">
|
|
|
- <u-icon name="close" color="#4CB2B6" size="19" @click="closeImage(item,indexs,index)">
|
|
|
+ <u-icon name="close" color="#4CB2B6" size="19" @click="closeImage(item,indexs,index)"
|
|
|
+ class="icon-style">
|
|
|
</u-icon>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -225,7 +226,8 @@
|
|
|
<view style="position: relative;width: 180rpx;float: left;margin: 10rpx 15rpx 0 0rpx;"
|
|
|
v-for="(items,indexs) in item.attUrl" :key="indexs">
|
|
|
<image :src="items" style="width: 160rpx;height: 160rpx;border-radius: 30rpx;float: left;">
|
|
|
- <u-icon name="close" color="#4CB2B6" size="19" @click="closeImage(item,indexs,index)">
|
|
|
+ <u-icon name="close" color="#4CB2B6" size="19" @click="closeImage(item,indexs,index)"
|
|
|
+ class="icon-style">
|
|
|
</u-icon>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -310,7 +312,7 @@
|
|
|
} from '@/api/fire_device';
|
|
|
import {
|
|
|
shijianc,
|
|
|
- viewImgBig
|
|
|
+ viewImgBig
|
|
|
} from '@/utils/common.js'
|
|
|
//隐患弹框--
|
|
|
import {
|
|
@@ -496,15 +498,19 @@
|
|
|
})
|
|
|
},
|
|
|
closeImage(item, val, k) { //删除图片---5.25新加--未验证
|
|
|
- if (this.manualPopup) { //手动检查
|
|
|
- this.checkManualData[0].attUrl.splice(val, 1)
|
|
|
- } else { //扫码添加
|
|
|
- if (item.fpdType) {
|
|
|
- this.insTypeData[k].attUrl.splice(val, 1)
|
|
|
- }
|
|
|
- // this.tableData[k].attUrl.splice(val, 1)
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ if (this.manualPopup) { //手动检查
|
|
|
+ console.log(val, 'vvvvvvvvvvvvvvv');
|
|
|
+ this.checkManualData[0].attUrl.splice(val, 1)
|
|
|
+
|
|
|
+ } else { //扫码添加
|
|
|
+ if (item.fpdType) {
|
|
|
+ this.insTypeData[k].attUrl.splice(val, 1)
|
|
|
}
|
|
|
- that.$forceUpdate();
|
|
|
+ // this.tableData[k].attUrl.splice(val, 1)
|
|
|
+ }
|
|
|
+ this.$forceUpdate();
|
|
|
+ })
|
|
|
},
|
|
|
sexSelect(e) { //单位
|
|
|
this.formData.orgId = e.id;
|
|
@@ -843,7 +849,7 @@
|
|
|
checkPopupConfirm() { //弹出得到的那一条数据insTypeData的id 弹出保存
|
|
|
if (this.manualPopup) { //手动检查
|
|
|
this.saveImplement = this.checkManualData[0]
|
|
|
-
|
|
|
+
|
|
|
this.saveImplement.dengerType = this.dengerType
|
|
|
this.saveImplement.hisResultCreateReqVOList = this.checkManualData[0].inspectSubDOList
|
|
|
this.saveImplement.dangerDescribe = this.dangerDescribe
|
|
@@ -1319,4 +1325,10 @@
|
|
|
background-color: #fff;
|
|
|
overflow-y: auto;
|
|
|
}
|
|
|
+
|
|
|
+ .icon-style {
|
|
|
+ position: absolute;
|
|
|
+ top: -8px;
|
|
|
+ right: 8px;
|
|
|
+ }
|
|
|
</style>vh
|