From e2517f8065f505fc6393c4de8cd3f2fabaf3de4c Mon Sep 17 00:00:00 2001
From: guoyuepeng <770272267@qq.com>
Date: Mon, 30 Dec 2024 16:18:49 +0800
Subject: [PATCH] =?UTF-8?q?1.=E5=AE=89=E7=9B=91=E9=83=A8=E4=BD=93=E7=B3=BB?=
=?UTF-8?q?=E6=96=87=E4=BB=B6bug=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/ajMfolder/index.vue | 65 ++++++++++++++++++-----------------
1 file changed, 34 insertions(+), 31 deletions(-)
diff --git a/src/views/ajMfolder/index.vue b/src/views/ajMfolder/index.vue
index b6ad154..3df6b25 100644
--- a/src/views/ajMfolder/index.vue
+++ b/src/views/ajMfolder/index.vue
@@ -21,14 +21,8 @@
{{ row.NAME }}
- [预览]
- [预览]
- [预览]
- [下載]
-
-
{{ row.FILESIZE > 1024 ? ((((row.FILESIZE)/1024)+'').substring(0,(((row.FILESIZE)/1024)+'').lastIndexOf('.')+3))+' MB' : row.FILESIZE + ' KB' }}
@@ -36,12 +30,6 @@
-
-
-
-
-
-
@@ -81,7 +69,7 @@
-
+
{{ form.FFILE.name }}
-
+
{
- this.$message({
- message: '删除成功',
- type: 'success'
- })
- this.listLoading = false
- this.varList = []
- this.listQuery.page = 1
- this.getDataTree()
- this.getList(this.MFOLDER_ID)
+ ).then((data) => {
+ if (data.result === 'success') {
+ this.$message({
+ message: '删除成功',
+ type: 'success'
+ })
+ this.listLoading = false
+ this.varList = []
+ this.listQuery.page = 1
+ this.getDataTree()
+ this.getList(this.MFOLDER_ID)
+ }else{
+ if (data.msg) {
+ this.$message.error(data.msg)
+ }
+ this.listLoading = false
+ this.varList = []
+ this.listQuery.page = 1
+ this.getDataTree()
+ this.getList(this.MFOLDER_ID)
+ }
}).catch((e) => {
this.listLoading = false
})
@@ -537,6 +537,9 @@ export default {
REMARKS: ''
}
}
+ this.form.FFILE = []
+ this.$forceUpdate()
+ console.info(this.form)
},
getDataTree() {
this.treeLoading = true
--
2.42.0.windows.1