|
@@ -93,7 +93,7 @@
|
|
|
|
|
|
<dm-calendar-picker-view ref='calendarPickerView' @confirmSelDate='confirmSelDate'></dm-calendar-picker-view>
|
|
<dm-calendar-picker-view ref='calendarPickerView' @confirmSelDate='confirmSelDate'></dm-calendar-picker-view>
|
|
<dmWithDrawalRecord ref='withDrawalRecord'></dmWithDrawalRecord>
|
|
<dmWithDrawalRecord ref='withDrawalRecord'></dmWithDrawalRecord>
|
|
- <dmWithDrawal ref='withDrawal' :canCashOut='headerInfo.canCashOut'></dmWithDrawal>
|
|
|
|
|
|
+ <dmWithDrawal ref='withDrawal' :canCashOut='headerInfo.canCashOut' @updata="getData"></dmWithDrawal>
|
|
<login-notice></login-notice>
|
|
<login-notice></login-notice>
|
|
<login></login>
|
|
<login></login>
|
|
</view>
|
|
</view>
|
|
@@ -153,14 +153,16 @@
|
|
mounted() {
|
|
mounted() {
|
|
this.color1 = app.globalData.color1;
|
|
this.color1 = app.globalData.color1;
|
|
this.color2 = app.globalData.color2;
|
|
this.color2 = app.globalData.color2;
|
|
- this.getReportHeader()
|
|
|
|
- this.getReportMenu();
|
|
|
|
|
|
+ this.getData()
|
|
uni.$on("request",()=>{
|
|
uni.$on("request",()=>{
|
|
- this.getReportHeader()
|
|
|
|
- this.getReportMenu()
|
|
|
|
|
|
+ this.getData()
|
|
})
|
|
})
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ getData(){
|
|
|
|
+ this.getReportHeader()
|
|
|
|
+ this.getReportMenu()
|
|
|
|
+ },
|
|
// 表头数据
|
|
// 表头数据
|
|
async getReportHeader() {
|
|
async getReportHeader() {
|
|
const res = await this.$myRequest({
|
|
const res = await this.$myRequest({
|