|
@@ -92,7 +92,7 @@
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6" class="col-input">
|
|
|
- <el-button type="text" style="float: right">意向金收据下载</el-button>
|
|
|
+ <el-button v-if="isView" type="text" style="float: right" @click="downLoad()">意向金收据下载</el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
@@ -119,6 +119,7 @@
|
|
|
import Base from '@/views/base/base'
|
|
|
import BaseData from '@/views/base/baseData'
|
|
|
import { upload } from '@/static/utils/channel'
|
|
|
+import constant from '@/static/utils/constant'
|
|
|
|
|
|
export default {
|
|
|
name: 'AddIntentionalDepositVue',
|
|
@@ -141,7 +142,8 @@ export default {
|
|
|
fileList: [],
|
|
|
customerManagementId: '',
|
|
|
dateStr: '',
|
|
|
- username: ''
|
|
|
+ username: '',
|
|
|
+ isView: false
|
|
|
}
|
|
|
},
|
|
|
mounted() {
|
|
@@ -246,6 +248,10 @@ export default {
|
|
|
this.fileList.push(res)
|
|
|
})
|
|
|
},
|
|
|
+ downLoad() {
|
|
|
+ const url = constant.BASE_URI + '/IntentionalDepositController/downLoadReceipt?id=' + this.form.id
|
|
|
+ window.open(url, '_blank')
|
|
|
+ },
|
|
|
baseRequest(opUrl, postData) {
|
|
|
return this.$channel.globeRequest('IntentionalDepositController', opUrl, postData, 'project')
|
|
|
},
|