|
@@ -172,6 +172,10 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</u-popup>
|
|
|
+
|
|
|
+ <u-popup :show="show2" @close="close2" mode="center" bgColor="#fff" round="5">
|
|
|
+ <image src="https://wwgj.wenlvti.net/uploads/20250707/04bb377cb520563e8923faae740023f0.png" style="width:600rpx;margin: 40rpx 0" mode="widthFix" />
|
|
|
+ </u-popup>
|
|
|
|
|
|
<view class="tjxc" @click="submitTo">提交巡查</view>
|
|
|
</view>
|
|
@@ -209,6 +213,7 @@ export default {
|
|
|
show: false,
|
|
|
showPicker: false,
|
|
|
situation: '',
|
|
|
+ show2: false,
|
|
|
Evtsituation: '',
|
|
|
// 弹层Tab
|
|
|
popTab: [],
|
|
@@ -525,6 +530,12 @@ export default {
|
|
|
|
|
|
// console.log(this.assetList, '每项添加照片和描述');
|
|
|
},
|
|
|
+ close2() {
|
|
|
+ this.show2 = false;
|
|
|
+ uni.switchTab({
|
|
|
+ url: '/pages/shouhu/shouhu'
|
|
|
+ });
|
|
|
+ },
|
|
|
// 提交巡查
|
|
|
submitTo() {
|
|
|
// 判断图片和描述有没有填写
|
|
@@ -597,11 +608,14 @@ export default {
|
|
|
if (res.code == 1) {
|
|
|
// console.log(res, '提交成功');
|
|
|
that.$common.successToShow(res.msg);
|
|
|
+ // 增加一个图片弹窗
|
|
|
+ this.show2 = true;
|
|
|
+ /*
|
|
|
setTimeout(() => {
|
|
|
uni.switchTab({
|
|
|
url: '/pages/shouhu/shouhu'
|
|
|
});
|
|
|
- }, 1000);
|
|
|
+ }, 1000); */
|
|
|
} else {
|
|
|
that.$common.errorToShow(res.msg);
|
|
|
}
|