|
@@ -384,7 +384,7 @@ export default {
|
|
|
{ label: '近一月', value: 5, show: true },
|
|
|
{ label: '近三月', value: 6, show: true }
|
|
|
],
|
|
|
- active:1,
|
|
|
+ active: 1,
|
|
|
data: [],
|
|
|
columns,
|
|
|
columnsDetail,
|
|
@@ -412,7 +412,7 @@ export default {
|
|
|
// this.detail = record
|
|
|
// this.visible = true
|
|
|
// this.getMineList(record.signature)
|
|
|
- this.$refs.ratio.getMineList(record,this.active)
|
|
|
+ this.$refs.ratio.getMineList(record, this.active)
|
|
|
}
|
|
|
}
|
|
|
})
|
|
@@ -511,6 +511,7 @@ export default {
|
|
|
this.addUser()
|
|
|
},
|
|
|
addUser() {
|
|
|
+ this.loading = true
|
|
|
var that = this
|
|
|
if (this.appId.length > 0) {
|
|
|
var params = {}
|
|
@@ -522,10 +523,11 @@ export default {
|
|
|
}
|
|
|
} else {
|
|
|
this.$message.error('请选择账户')
|
|
|
- return
|
|
|
+ return
|
|
|
}
|
|
|
- getMaterialReportByAccount(params).then(res=>{
|
|
|
- this.data = res
|
|
|
+ getMaterialReportByAccount(params).then(res => {
|
|
|
+ this.data = res
|
|
|
+ this.loading = false
|
|
|
})
|
|
|
},
|
|
|
getStatistics() {
|