|
@@ -61,6 +61,7 @@ import {
|
|
|
dailySummaryReduceCountDelete,
|
|
|
dailySummaryReduceCountDo
|
|
|
} from '@/api/increaseAndDecreaseExpense'
|
|
|
+import { commonTemplateDownload } from '@/api/common.js'
|
|
|
export default {
|
|
|
components: { TemplatePage },
|
|
|
mixins: [import_mixin, operation_mixin],
|
|
@@ -154,6 +155,24 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
]
|
|
|
+ ],
|
|
|
+ [
|
|
|
+ [
|
|
|
+ this.optionsEvensAuth('template', {
|
|
|
+ click: () => {
|
|
|
+ commonTemplateDownload({ name: '增减费用模板(新).xlsx' }, `增减费用模板(新)`)
|
|
|
+ .then(res => {
|
|
|
+ this.$message({
|
|
|
+ message: '下载成功',
|
|
|
+ type: 'success'
|
|
|
+ })
|
|
|
+ })
|
|
|
+ .catch(err => {
|
|
|
+ this.$message.error('下载失败')
|
|
|
+ })
|
|
|
+ }
|
|
|
+ })
|
|
|
+ ]
|
|
|
]
|
|
|
]
|
|
|
},
|