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