From 015b4f31cebbecf6f6da760ed2f8af3da721e802 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 18 四月 2025 16:17:17 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
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