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