加loading
This commit is contained in:
parent
883dad5419
commit
e2bff0d7b1
|
|
@ -18,7 +18,7 @@
|
|||
<div class="el-upload__text">将文件拖到此处,或<em>点击上传</em></div>
|
||||
</el-upload>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitFileForm">确 定</el-button>
|
||||
<el-button type="primary" :loading="upload.isUploading" @click="submitFileForm">确 定</el-button>
|
||||
<el-button @click="upload.open = false">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
>退货退款查询</el-button
|
||||
>
|
||||
<el-button
|
||||
|
||||
|
||||
class="filter-item"
|
||||
size="mini"
|
||||
type="primary"
|
||||
|
|
@ -142,7 +142,7 @@
|
|||
<!--表格渲染-->
|
||||
<!-- :data="data" -->
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
|
||||
:data="data"
|
||||
|
||||
size="small"
|
||||
|
|
@ -263,6 +263,7 @@ export default {
|
|||
|
||||
data() {
|
||||
return {
|
||||
loading: false,
|
||||
processLoading:false,
|
||||
// 当前选择的行的id
|
||||
templateSelection: "",
|
||||
|
|
@ -337,6 +338,7 @@ export default {
|
|||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
|
||||
this.processLoading = true
|
||||
processAfterSaleData(this.templateSelection)
|
||||
.then(res => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user