Commit 95533fbf by cwq0219

修改

1 parent 52830121
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
label='基本信息' label='基本信息'
name='first' name='first'
> >
<gl-col v-loading="IdChange[0]" :span="24" class="detail-basic"> <gl-col v-loading="basicLoading" :span="24" class="detail-basic">
<gl-col <gl-col
class="detail-row" class="detail-row"
:span="i.isMap? 24 : 8" :span="i.isMap? 24 : 8"
...@@ -134,7 +134,7 @@ export default { ...@@ -134,7 +134,7 @@ export default {
merchantId: '', merchantId: '',
// loading标记 // loading标记
// loading: [0, 0, 0], // loading: [0, 0, 0],
// basicLoading: false, basicLoading: false,
staffLoading: false, staffLoading: false,
groupLoading: false, groupLoading: false,
// 标记merchantId是否改变 // 标记merchantId是否改变
...@@ -320,6 +320,7 @@ export default { ...@@ -320,6 +320,7 @@ export default {
handleClick(tab, event) { handleClick(tab, event) {
switch (tab.name) { switch (tab.name) {
case 'first': case 'first':
this.basicLoading = this.IdChange[0]
this.IdChange[0] && this.getBasicInfo() this.IdChange[0] && this.getBasicInfo()
break break
case 'second': case 'second':
...@@ -340,8 +341,10 @@ export default { ...@@ -340,8 +341,10 @@ export default {
this.merchantInfo = res this.merchantInfo = res
this.assignBasicInfo() this.assignBasicInfo()
this.IdChange[0] = 0 this.IdChange[0] = 0
this.basicLoading = false
}).catch(err => { }).catch(err => {
this.IdChange[0] = 0 this.IdChange[0] = 0
this.basicLoading = false
console.log(err) console.log(err)
notice.errorTips('查询失败') notice.errorTips('查询失败')
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!