|
@@ -1004,8 +1004,12 @@
|
|
|
this.request.nextCompleteNum = this.tabList[this.chooseIndex+1].number
|
|
this.request.nextCompleteNum = this.tabList[this.chooseIndex+1].number
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
- datasource({ page, limit,where }) {
|
|
|
|
|
- return reportPage({ ...where, pageNum:page, size:limit });
|
|
|
|
|
|
|
+ async datasource({ page, limit,where }) {
|
|
|
|
|
+ const res = await reportPage({ ...where, pageNum:page, size:limit })
|
|
|
|
|
+ if(typeof res.list == 'string'){
|
|
|
|
|
+ res.list = []
|
|
|
|
|
+ }
|
|
|
|
|
+ return res
|
|
|
},
|
|
},
|
|
|
/* 刷新表格 */
|
|
/* 刷新表格 */
|
|
|
reload (where) {
|
|
reload (where) {
|
|
@@ -1054,6 +1058,7 @@
|
|
|
cancelButtonText: '取消',
|
|
cancelButtonText: '取消',
|
|
|
})
|
|
})
|
|
|
.then(() => {
|
|
.then(() => {
|
|
|
|
|
+ console.log('row',row)
|
|
|
const data = {
|
|
const data = {
|
|
|
taskCode:this.taskCode,
|
|
taskCode:this.taskCode,
|
|
|
taskName:this.chooseItem,
|
|
taskName:this.chooseItem,
|