Commit 4b092abd authored by linxin's avatar linxin

add

parent 67dd3bb7
......@@ -13,5 +13,5 @@ module.exports = merge(prodEnv, {
filePath: '"http://180.104.121.66:8088/r/api/app/fileViewSvc?sysName=XCMG_UAT&apiName=file_view&"',
ocrPath: '"http://180.104.121.66:8088/r/api"',
appId: '"com.xcmg.app.dev"',
currentVersion: '"1.8.6"',
currentVersion: '"1.8.9"',
})
......@@ -28,13 +28,13 @@ module.exports = {
assetsSubDirectory: 'static',
assetsPublicPath: '/',
proxyTable: {
// '/xcmg_file': {
// target: 'http://lichee.iask.in',
// changeOrigin: true,
// pathRewrite: {
// '^/xcmg_file': '/xcmg_file'
// }
// },
'/xcmg_file': {
target: 'http://lichee.iask.in',
changeOrigin: true,
pathRewrite: {
'^/xcmg_file': '/xcmg_file'
}
},
},
// Various Dev Server settings
......
......@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://180.104.121.66:8088/r/api"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app"',
currentVersion: '"1.5.2"'
currentVersion: '"1.5.3"'
}
......@@ -200,6 +200,8 @@ export default {
#confirmList {
.display {
position: fixed;
width: 100%;
height: 100%;
// top: 0;
img {
width: 100%;
......
......@@ -124,6 +124,8 @@ export default {
#contract-repayment {
.display {
position: fixed;
width: 100%;
height: 100%;
// top: 0;
img {
width: 100%;
......
......@@ -27,31 +27,11 @@
</h-header>
<div
v-if="!isConfirm && con_confirm_status !== 'APPROVED' && auth_credit_flag !=='Y' && credit_status !== 'N'"
v-once
class="myModal"
>
<div class="box">
<span class="title-box">征信授权书</span>
<div class="content-box">
<div>江苏徐工工程机械租赁有限公司:</div>
<p>本人/本单位拟向贵公司办理融资租赁业务,贵公司需要了解本人/本单位、本人配偶/本单位法定代表人以及担保人的信用记录,用于审核融资租赁申请条件、贷后管理及风险控制,因此,相关人员特做出以下授权并清楚理解其含义:</p>
<p>(一)同意授权贵公司通过中国人民银行或者第三方机构查询、打印、保存、使用征信信息;</p>
<p>(二)同意授权贵公司向中国人民银行或者第三方机构提供、报送、上传因本业务产生的全部信息;</p>
<p>(三)同意授权中国人民银行或者第三方机构向有关机构采集的个人信息,可依法整理、保存、加工、使用、提供,并出具信用报告;</p>
<p>(四)以上授权的期限为作出本授权承诺之日起至在贵公司办理或涉及的所有业务或事项终结之日止,且在业务存续期间可多次查询。若在贵公司处办理或涉及的业务未获批准,同意贵公司继续保留此查询授权书原件和身份证件复印件或影印件。</p>
<p>特别提示:</p>
<p>为了保障您的合法权益,您应当阅读并遵守本授权书。请您务必审慎阅读,并充分理解本授权书的全部内容,特别是以加粗形式提示您注意的。若您不接受本授权书的任何条款,请您立即停止授权。</p>
<p>特别声明:</p>
<p>本授权书经接受后即时生效,且效力具有独立性,不因相关业务合同或条款无效或被撤销而无效或失效,本授权一经做出,便不可撤销。</p>
<p>授权人已知悉本授权书全部内容(特别是加粗字体内容)的含义及因此产生的法律效力,自愿作出以上授权。本授权书是授权人真实意思表示,授权人同意承担由此带来的一切法律后果。</p>
<div>授权人(承租人):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;身份证号:&nbsp;&nbsp;&nbsp;&nbsp;日期:</div>
<div>法定代表人/负责人:&nbsp;&nbsp;&nbsp;&nbsp;身份证号:&nbsp;&nbsp;&nbsp;日期:</div>
<div>授权人(承租人配偶):&nbsp;&nbsp;&nbsp;&nbsp;身份证号:&nbsp;&nbsp;&nbsp;日期:</div>
<div>授权人(担保人):&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;身份证号:&nbsp;&nbsp;&nbsp;&nbsp;日期:</div>
<div>法定代表人/负责人:&nbsp;&nbsp;&nbsp;&nbsp;身份证号:&nbsp;&nbsp;&nbsp;日期:</div>
<p class="font-blod">注:1.承租人、担保人为法人或者其他机构的,法定代表人或负责人需签名</p>
<p class="font-blod sec">2.承租人为自然人且已婚的,配偶双方共同签名</p>
</div>
<img src="@/assets/intoApproval/top.png">
<canvas v-for="page in pages" :id="'the-canvas'+page" :key="page" class="canvas"/>
<div class="confirm">
<input type="checkbox" @click="select" >
<span>我本人已阅读本协议,并同意授权xxxx</span>
......@@ -301,6 +281,7 @@ import LegalPerson from '@/pages/distributorSign/legal-person'
import Personal from '@/pages/distributorSign/personal'
import bodyCheck from './body-check'
import axios from 'axios'
import PDFJS from 'pdfjs-dist'
export default {
name: 'ContractDetail',
components: {
......@@ -310,6 +291,8 @@ export default {
},
data () {
return {
pages: 0,
pdfDoc: null,
isshow: false, // 提示框的显示与隐藏
bp_flag: false, // 判断自然人和法人
num: 0,
......@@ -494,11 +477,69 @@ export default {
hlsPopup.hideLoading()
if (res.result === 'S') {
vm.attachArray = res.attachments
// vm.getBook()
} else {
vm.hlsPopup.showLongCenter(res.message)
}
})
},
// 征信授权书
getBook () {
let vm = this
let url = process.env.basePath + 'get_content_app'
let param = {
confirm_id: vm.confirm_id,
data_class: 'PRJ_CONFIRM',
}
hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(res => {
hlsPopup.hideLoading()
if (res.result === 'S') {
vm._loadFile(res.attachments[0].attachment_file_path)
} else {
vm.hlsPopup.showLongCenter(res.message)
}
})
},
_renderPage (num) {
this.pdfDoc.getPage(num).then((page) => {
let canvas = document.getElementById('the-canvas' + num)
console.log(canvas)
let ctx = canvas.getContext('2d')
let dpr = window.devicePixelRatio || 1
let bsr = ctx.webkitBackingStorePixelRatio ||
ctx.mozBackingStorePixelRatio ||
ctx.msBackingStorePixelRatio ||
ctx.oBackingStorePixelRatio ||
ctx.backingStorePixelRatio || 1
let ratio = dpr / bsr
let viewport = page.getViewport(screen.availWidth / page.getViewport(1).width)
canvas.width = viewport.width * ratio
canvas.height = viewport.height * ratio
canvas.style.width = viewport.width / 1.24 + 'px'
canvas.style.height = viewport.height / 1.2 + 'px'
ctx.setTransform(ratio, 0, 0, ratio, 0, 0)
let renderContext = {
canvasContext: ctx,
viewport: viewport,
}
page.render(renderContext)
if (this.pages > num) {
this._renderPage(num + 1)
}
})
},
_loadFile (url) {
console.log('URL ==== ' + url)
PDFJS.getDocument(url).then((pdf) => {
this.pdfDoc = pdf
console.log('pdf ==== ' + pdf)
this.pages = this.pdfDoc.numPages
this.$nextTick(() => {
this._renderPage(1)
})
})
},
// 征信查询
creditCheck () {
let vm = this
......@@ -944,6 +985,10 @@ export default {
</script>
<style lang="less" rel="stylesheet">
#contract-details {
.canvas{
position: relative;
z-index: 0;
}
.sign-elect {
width: 100%;
height: 1.1rem;
......@@ -1434,9 +1479,15 @@ export default {
position: relative;
width: 301px;
height: 467px;
top:-67px;
background: url("../../assets/intoApproval/top.png") no-repeat;
background-size: 301px 24.7px;
background-color: #fff;
img{
position: absolute;
z-index: 999;
width:301px;
}
button {
width: 240px;
height: 40px;
......@@ -1484,7 +1535,7 @@ export default {
.confirm {
width: 240px;
height: 20px;
padding-top: 25px;
// padding-top: 25px;
margin: 0 auto;
font-family: PingFangSC-Regular;
font-size: 12px;
......@@ -1493,6 +1544,8 @@ export default {
display: flex;
justify-content: center;
align-items: center;
position: relative;
margin-top: -59px;
input {
width: 16px;
height: 16px;
......
......@@ -352,6 +352,8 @@ export default {
<style lang="less" type="text/less">
#contract-signing{
.display {
width: 100%;
height: 100%;
position: fixed;
// top: 0;
img {
......
......@@ -112,6 +112,8 @@ export default {
@import "../../styles/mixin";
#invoice {
.display {
width: 100%;
height: 100%;
position: fixed;
// top: 0;
img {
......
......@@ -184,6 +184,8 @@ export default {
#reimburse {
.display {
position: fixed;
width: 100%;
height: 100%;
// top: 0;
img {
width: 100%;
......
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"></script><title>徐工金服</title><link href=./static/css/app.d5a3f8bf114c9ae887d402e363f38c92.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.6a178e8d77c32e3c385d.js></script><script type=text/javascript src=./static/js/vendor.ea346998502d0674468b.js></script><script type=text/javascript src=./static/js/app.cae4d8c70148fb844d09.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta name=viewport content="initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,width=device-width,viewport-fit=cover"><meta name=format-detection content="telephone=no"><meta name=format-detection content="email=no"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=black><script type=text/javascript src=./static/vuePlatform.js></script><script type=text/javascript src=./static/prototype.js></script><script type=text/javascript src=cordova.js></script><script type=text/javascript src="http://api.map.baidu.com/api?v=2.0&ak=Eoo0EtfjYCdAy7r8D19gZ0vMojdZpHqU"></script><title>徐工金服</title><link href=./static/css/app.277cd1d073602ce3a1d7ea3aeed03d2d.css rel=stylesheet></head><body><div id=app-box></div><script type=text/javascript src=./static/js/manifest.6a178e8d77c32e3c385d.js></script><script type=text/javascript src=./static/js/vendor.ea346998502d0674468b.js></script><script type=text/javascript src=./static/js/app.90f8fea4d3186e384e0c.js></script></body></html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment