From 638deae4b5b115751e6607f5cdc3c8dee293e957 Mon Sep 17 00:00:00 2001
From: odc.xiaohui <xiaohui@Q1>
Date: 星期三, 29 三月 2023 11:26:52 +0800
Subject: [PATCH] 修改提示
---
miniprogram/pages/user/report/submitReport/index.ts | 34 +++++++++++++++++++++++++++++++++-
1 files changed, 33 insertions(+), 1 deletions(-)
diff --git a/miniprogram/pages/user/report/submitReport/index.ts b/miniprogram/pages/user/report/submitReport/index.ts
index 0538308..673a373 100644
--- a/miniprogram/pages/user/report/submitReport/index.ts
+++ b/miniprogram/pages/user/report/submitReport/index.ts
@@ -38,6 +38,36 @@
],
sexId: 0
},
+ afterRadeDel(e){
+ console.log(e);
+ console.log(this.data.cardIdList);
+ let arr=this.data.cardIdList
+ arr.splice(e.detail.index,1)
+ this.setData({
+ cardIdList: arr
+ })
+ },
+ afterRadeDelFile(e){
+ let arr=this.data.fileImgList
+ arr.splice(e.detail.index,1)
+ this.setData({
+ fileImgList: arr
+ })
+ },
+ afterRadeDelTran(e){
+ let arr=this.data.transactionReceiptList
+ arr.splice(e.detail.index,1)
+ this.setData({
+ transactionReceiptList: arr
+ })
+ },
+ afterRadeDelOther(e){
+ let arr=this.data.otherList
+ arr.splice(e.detail.index,1)
+ this.setData({
+ otherList: arr
+ })
+ },
getrealName(e) {
this.setData({
realName: e.detail
@@ -218,7 +248,7 @@
if (this.data.fileImgList.length != 0 || this.data.transactionReceiptList.length != 0 || this.data.otherList.length != 0) {
} else {
- Toast('鐩稿叧鍚堝悓锛屼氦鏄撳嚟璇侊紝鍏朵粬;蹇呭~涓�椤癸紒');
+ Toast('鐩稿叧鍚堝悓銆佷氦鏄撳嚟璇併�佸叾浠�;蹇呭~涓�椤癸紒');
return
}
this.data.materials = this.data.materials.substring(0, this.data.materials.length - 1);
@@ -389,6 +419,8 @@
}
}):[]
})
+ console.log(this.data.cardIdList);
+
}
})
--
Gitblit v1.8.0