|
@@ -86,6 +86,7 @@
|
|
<script>
|
|
<script>
|
|
import Base from '@/views/base/base'
|
|
import Base from '@/views/base/base'
|
|
import BaseData from '@/views/base/baseData'
|
|
import BaseData from '@/views/base/baseData'
|
|
|
|
+import constant from '@/static/utils/constant'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: 'ReceiptManage',
|
|
name: 'ReceiptManage',
|
|
@@ -163,8 +164,9 @@ export default {
|
|
cancel: function() {
|
|
cancel: function() {
|
|
this.dialogVisible = false
|
|
this.dialogVisible = false
|
|
},
|
|
},
|
|
- downLoad() {
|
|
|
|
-
|
|
|
|
|
|
+ downLoad(row) {
|
|
|
|
+ const url = constant.BASE_URI + '/ReceiptManageController/downLoadReceipt?id=' + row.id
|
|
|
|
+ window.open(url, '_blank')
|
|
},
|
|
},
|
|
baseRequest(opUrl, postData) {
|
|
baseRequest(opUrl, postData) {
|
|
return this.$channel.globeRequest('ReceiptManageController', opUrl, postData, 'project')
|
|
return this.$channel.globeRequest('ReceiptManageController', opUrl, postData, 'project')
|