From fa2f2580c2338938be1425f7efc431547d4c9e60 Mon Sep 17 00:00:00 2001
From: Lou <luzhiping@qqyjz.com>
Date: Thu, 25 Apr 2024 16:09:54 +0800
Subject: [PATCH] 更新
---
subPackage/school/securityReform.vue | 50 +++++++++++++++++++++-----------------------------
1 files changed, 21 insertions(+), 29 deletions(-)
diff --git a/subPackage/school/securityReform.vue b/subPackage/school/securityReform.vue
index d8c930f..71c35d9 100644
--- a/subPackage/school/securityReform.vue
+++ b/subPackage/school/securityReform.vue
@@ -53,9 +53,8 @@
</u-collapse>
</view>
- <view class="content bgc-ff" v-if="dangerCount > 0">
+ <!-- <view class="content bgc-ff" v-if="dangerCount > 0">
<view class="upload ">
- <!-- <view class="f-28 mb-20">其它隐患问题</view> -->
<view class="flex j-c-s-b a-i-c" @click="showSelectDate = true">
<view class="f-28">整改截止时间</view>
<view class="flex a-i-c">
@@ -75,7 +74,7 @@
</u-upload>
</view>
</view>
- </view>
+ </view> -->
<!-- <footer-btn @click="sumitInfo"></footer-btn> -->
@@ -408,36 +407,29 @@
})
this.info.rectificationNoticeImgUrl = urls.join(",")
}
+ if (!this.getSelected().length < this.count) {
+ this.$showTips("还未完善");
+ return;
+ }
+
+
this.info.taskPlaceRecordVOList = this.getSelected()
this.info.status = 1;
this.info.type = 2;
- if (this.isEdit) {
- auditPlaceCheck(this.info).then(res => {
- uni.hideLoading();
- uni.showToast({
- icon: 'success',
- title: '提交成功',
- success() {
- setTimeout(() => {
- uni.navigateBack();
- }, 300)
- }
- })
+
+ auditPlaceCheck(this.info).then(res => {
+ uni.hideLoading();
+ uni.showToast({
+ icon: 'success',
+ title: '提交成功',
+ success() {
+ setTimeout(() => {
+ uni.navigateBack();
+ }, 300)
+ }
})
- } else {
- savePlaceCheck(this.info).then(res => {
- uni.hideLoading();
- uni.showToast({
- icon: 'success',
- title: '提交成功',
- success() {
- setTimeout(() => {
- uni.navigateBack();
- }, 300)
- }
- })
- })
- }
+ })
+
},
previewImg() {
--
Gitblit v1.9.3