|
|
@ -94,7 +94,7 @@ |
|
|
|
<el-row> |
|
|
|
<el-col :span="16"> |
|
|
|
<div class="span-sty">证件地址</div> |
|
|
|
<el-form-item><el-input class="addinputInfo" style="width: 30%;" v-model="formobj.clientAddress" clearable placeholder=""/></el-form-item> |
|
|
|
<el-form-item><el-input class="addinputInfo" style="width: 60%;" v-model="formobj.clientAddress" clearable placeholder=""/></el-form-item> |
|
|
|
</el-col> |
|
|
|
<el-col :span="8"> |
|
|
|
<div v-show="formobj.customerTypeKey == '1'"> |
|
|
@ -187,7 +187,10 @@ |
|
|
|
</el-col> |
|
|
|
</el-row> |
|
|
|
</div> |
|
|
|
<div class="title">附件清单</div> |
|
|
|
<div class="title titleOne"> |
|
|
|
<div>附件清单</div> |
|
|
|
<el-button type="primary" class="btntopblueline" size="mini" @click="downLoad('/template/信息查询授权书.pdf')">信息查询授权书模板下载</el-button> |
|
|
|
</div> |
|
|
|
<el-row v-show="formobj.customerTypeKey === '2' || (formobj.customerTypeKey === '1' && formobj.isAnchored === '1')"> |
|
|
|
<el-col :span="24"> |
|
|
|
<div class="span-sty span-sty-special" style="display: flex;flex-direction: row;justify-content: flex-end;align-items: center">营业执照</div> |
|
|
@ -237,6 +240,7 @@ |
|
|
|
import req from '@/api/delinquentcustomerfiling/delinquentcustomerfiling' |
|
|
|
import { selectOrgList, selectMangerByDeptSid, selectCustomerList, typeValues, selectInvoingByOrgPath } from '@/api/Common/dictcommons' |
|
|
|
import uploadImg from '@/components/uploadFile/uploadImg' |
|
|
|
import { getStorage } from '@/utils/auth' |
|
|
|
|
|
|
|
export default { |
|
|
|
name: 'DelinquentCustomerFilingEdit', |
|
|
@ -519,6 +523,28 @@ export default { |
|
|
|
this.formobj.address = '' |
|
|
|
} |
|
|
|
}, |
|
|
|
downLoad(filePath) { |
|
|
|
var xhr = new XMLHttpRequest() |
|
|
|
xhr.open('GET', process.env.VUE_APP_BASE_API + '/base/file/download?filePath=' + filePath + '&outFileName=' + '信息查询授权书', true) |
|
|
|
xhr.setRequestHeader('token', getStorage()) |
|
|
|
xhr.responseType = 'blob' |
|
|
|
xhr.onload = function(e) { |
|
|
|
// 如果请求执行成功 |
|
|
|
var blob = this.response |
|
|
|
var filename = '信息查询授权书.pdf' |
|
|
|
var a = document.createElement('a') |
|
|
|
// blob.type="application/octet-stream"; |
|
|
|
// 创键临时url对象 |
|
|
|
var url = URL.createObjectURL(blob) |
|
|
|
a.href = url |
|
|
|
a.download = filename |
|
|
|
a.click() |
|
|
|
// 释放之前创建的URL对象 |
|
|
|
window.URL.revokeObjectURL(url) |
|
|
|
} |
|
|
|
// 发送请求 |
|
|
|
xhr.send() |
|
|
|
}, |
|
|
|
save() { |
|
|
|
this.$refs['dataForm'].validate((valid) => { |
|
|
|
if (valid) { |
|
|
|