|
@@ -42,7 +42,7 @@
|
|
ref="commTable"
|
|
ref="commTable"
|
|
v-loading="loading"
|
|
v-loading="loading"
|
|
:columns="columns"
|
|
:columns="columns"
|
|
- :table-options="tableOptions"
|
|
|
|
|
|
+ :table-options="getTableOptions"
|
|
:data="tableData"
|
|
:data="tableData"
|
|
:count="total"
|
|
:count="total"
|
|
/>
|
|
/>
|
|
@@ -137,7 +137,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
handlerOperate(type, row) {
|
|
handlerOperate(type, row) {
|
|
- if(type == 'edit') {
|
|
|
|
|
|
+ if (type == 'edit') {
|
|
this.$router.push({
|
|
this.$router.push({
|
|
name: 'SettlementEdit',
|
|
name: 'SettlementEdit',
|
|
params: { id: 'child', infoId: row.id, taskId: row.taskId, type: row.taskName },
|
|
params: { id: 'child', infoId: row.id, taskId: row.taskId, type: row.taskName },
|
|
@@ -145,9 +145,9 @@ export default {
|
|
infoId: row.id, taskId: row.taskId, type: row.taskName
|
|
infoId: row.id, taskId: row.taskId, type: row.taskName
|
|
}
|
|
}
|
|
})
|
|
})
|
|
- } else if(type == 'timeAxis') {
|
|
|
|
|
|
+ } else if (type == 'timeAxis') {
|
|
this.timeAxisClick(row)
|
|
this.timeAxisClick(row)
|
|
- } else if(type == 'downloadContract') {
|
|
|
|
|
|
+ } else if (type == 'downloadContract') {
|
|
request({
|
|
request({
|
|
url: '/bill/downloadAllSettlementFile',
|
|
url: '/bill/downloadAllSettlementFile',
|
|
responseType: 'arraybuffer',
|
|
responseType: 'arraybuffer',
|
|
@@ -158,7 +158,7 @@ export default {
|
|
}).then(res => {
|
|
}).then(res => {
|
|
exportFile(res)
|
|
exportFile(res)
|
|
})
|
|
})
|
|
- } else if(type == 'downloadFile') {
|
|
|
|
|
|
+ } else if (type == 'downloadFile') {
|
|
request({
|
|
request({
|
|
url: '/bill/download/report',
|
|
url: '/bill/download/report',
|
|
responseType: 'arraybuffer',
|
|
responseType: 'arraybuffer',
|