加载效果

master
e 3 years ago
parent a92c6592f4
commit fee93ef59e
  1. 17
      src/views/Transaction.vue

@ -1,6 +1,8 @@
<template>
<!-- 交易类 -->
<div class="content">
<div class="content" v-loading="loading"
element-loading-text="加载中"
element-loading-spinner="el-icon-loading">
<div class="header">
<div>
<i class="back el-icon-arrow-left" @click="Back()" style="cursor:pointer">
@ -395,6 +397,7 @@ export default {
configVisible:false,
SelectedObj:[],
counts:0,
loading:true,
};
},
mounted() {
@ -443,10 +446,13 @@ export default {
// await this.getSubjectData(item.emptyOne, index);
}
});
this.loading = false
} else {
this.$message.warning(res.message);
this.loading = false
}
}).catch(err => {
this.loading = false
// console.log(err);
});
},
@ -809,7 +815,16 @@ export default {
},
addRules(){
this.configVisible = true;
let operationIds = []
console.log(this.treeData)
for (var i=0;i<this.tableData.length;i++){
if (this.tableData[i].operationIds){
operationIds.push(this.tableData[i].operationIds)
}
}
console.log(operationIds)
this.$refs.tree.setCheckedKeys([]);
},
addRule() { //
this.changeArr.splice(0, this.changeArr.length)

Loading…
Cancel
Save