From 6a787b9af792e04ae40625ed44c362fa0c9a3f4e Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期四, 17 四月 2025 18:26:31 +0800
Subject: [PATCH] 提交

---
 h5/pages/riskReporting/riskReporting.vue |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/h5/pages/riskReporting/riskReporting.vue b/h5/pages/riskReporting/riskReporting.vue
index 543e27a..c413af3 100644
--- a/h5/pages/riskReporting/riskReporting.vue
+++ b/h5/pages/riskReporting/riskReporting.vue
@@ -206,6 +206,18 @@
 				}
 			},
 			next() {
+				this.model.name = ''
+				this.model.submitDate = uni.$u.timeFormat(new Date().getTime(), 'yyyy-mm-dd hh:MM:ss')
+				this.model.companyName = ''
+				this.model.happenTime = ''
+				this.model.localtionId = ''
+				this.model.localtionName = ''
+				this.model.typeId = ''
+				this.model.typeName = ''
+				this.model.riskInfo = ''
+				this.model.notifier = ''
+				this.model.multifileList = []
+				this.model.type = 3
 				this.canScroll()
 				this.show4 = false
 			},
@@ -227,6 +239,7 @@
 			// 鏂板鍥剧墖
 			async afterRead(event) {
 				var that = this
+				uni.showLoading({ title: '涓婁紶涓�...', mask: true })
 				uni.uploadFile({
 					url: that.$baseUrl + '/web/public/upload',
 					filePath: event.file.url,
@@ -235,6 +248,7 @@
 						folder: "WORKORDER_FILE_PATH"
 					},	
 					success: (res) => {
+						uni.hideLoading();
 						let obj = JSON.parse(res.data)
 						if (obj.code === 200) {
 							obj.data.fileurl = obj.data.imgaddr

--
Gitblit v1.9.3