Commit 025e2784 by 无尘

fix: 修改加载

parent 8d506d18
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-03-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-12-25 14:40:06
* @LastEditTime: 2020-12-25 15:23:43
-->
<template>
<div class="my-customer-wrap common-set-wrap">
......@@ -33,7 +33,7 @@
</div>
</el-form-item>
<el-form-item label="资源范围" prop="enterpriseList">
<el-table ref="multipleTable" v-loading="loading" :data="tableData" tooltip-effect="dark" style="width: 100%">
<el-table ref="multipleTable" :data="tableData" tooltip-effect="dark" style="width: 100%">
<el-table-column label="商户名称" width="150">
<template slot-scope="scope">
{{scope.row.enterpriseName || '--'}}
......@@ -116,6 +116,7 @@ export default {
]
},
loadBtn: false,
tableData: [ {
// enterpriseId: '',
// enterpriseName: '',
......@@ -303,7 +304,7 @@ export default {
*/
getTableList() {
const that = this;
that.loading = true;
that.loadBtn = true;
let para = {
roleId: that.$route.query.roleId,
staffId: that.$route.query.staffId,
......@@ -325,7 +326,7 @@ export default {
})
.catch(function(error) {
}).finally(() => that.loading = false);;
}).finally(() => that.loadBtn = false);;
}
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment