作者 小范

部署管理上传文件功能优化

@@ -240,10 +240,9 @@ @@ -240,10 +240,9 @@
240 _this.tableData = res.data 240 _this.tableData = res.data
241 // 获取列表的总记录数 241 // 获取列表的总记录数
242 _this.total = res.total 242 _this.total = res.total
243 - this.tableloading = false;  
244 _this.$message.success('获取消息收发记录,成功!') 243 _this.$message.success('获取消息收发记录,成功!')
  244 + this.tableloading = false;
245 }).catch(error => { 245 }).catch(error => {
246 -  
247 // 关闭加载 246 // 关闭加载
248 _this.$message.error(error.toString()) 247 _this.$message.error(error.toString())
249 this.tableloading = false; 248 this.tableloading = false;
@@ -253,6 +252,15 @@ @@ -253,6 +252,15 @@
253 //打开新增 252 //打开新增
254 toAddDialog() { 253 toAddDialog() {
255 this.dialogFormVisible = true; 254 this.dialogFormVisible = true;
  255 + this.formInline = {
  256 + filePath :'',
  257 + category:'',
  258 + key:'',
  259 + name:'',
  260 + tenantId:'',
  261 + variables: {},
  262 + // cascade:'true'
  263 + }
256 }, 264 },
257 //上传文件 265 //上传文件
258 handleUploadSuccess: function(response, file, fileList){ 266 handleUploadSuccess: function(response, file, fileList){
1 { 1 {
2 - "nmmsVer": "1.23" 2 + "nmmsVer": "1.24"
3 } 3 }