Commit c214bd00 authored by linxin's avatar linxin

add

parent 3e405294
......@@ -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.3"'
currentVersion: '"1.5.4"'
}
......@@ -36,7 +36,8 @@
<input type="checkbox" @click="select" >
<span>我本人已阅读本协议,并同意授权xxxx</span>
</div>
<h-button :disabled="!ischecked" class="appro" @click="confirm">同意</h-button>
<button v-if="!ischecked" style="background:rgba(56, 63, 69, 0.5)">同意</button>
<button v-if="ischecked" class="appro" style="background:#00469c" @click="confirm">同意</button>
</div>
</div>
<div class="tab-style">
......@@ -302,6 +303,7 @@ export default {
bp_name: '',
bookFlag: false,
read_status: 'N',
content_id: '',
showModalValue: false,
credit_status: 'N', // 一个月内是否查过征信 N查过
guarantorInfo: [], // 担保人信息
......@@ -344,14 +346,14 @@ export default {
$route (to, from) {
hlsPopup.hideConfirm()
},
ischecked: function (newVal, oldVal) {
let appro = document.querySelector('.appro') // 同意按钮
if (newVal) {
appro.style.backgroundColor = '#00469c'
} else {
appro.style.backgroundColor = 'rgba(56, 63, 69, 0.5)'
}
},
// ischecked: function (newVal, oldVal) {
// let appro = document.querySelector('.appro') // 同意按钮
// if (newVal) {
// appro.style.backgroundColor = '#00469c'
// } else {
// appro.style.backgroundColor = 'rgba(56, 63, 69, 0.5)'
// }
// },
bp_class () {
if (this.bp_class === 'NP') {
this.bp_flag = false
......@@ -501,6 +503,7 @@ export default {
vm.bookFlag = false
} else if (res.attachments[0].read_status === 'N') {
vm.bookFlag = true
vm.content_id = res.attachments[0].content_id
vm._loadFile(res.attachments[0].attachment_file_path)
}
} else {
......@@ -809,8 +812,8 @@ export default {
let url = $config.basePath + 'prj_content_status_save'
let param = {
master: {
confirm_id: vm.confirm_id,
auth_credit_flag: 'Y',
content_id: vm.content_id,
read_status: 'Y',
},
}
vm.hlsPopup.showLoading('请稍后')
......
......@@ -21,7 +21,9 @@
</item>
<item>
<div slot="name" class="font-color">设备总价</div>
<CurrencyInput slot="content" v-model="equip_price" :allCheck="equip_price" placeholder="请输入设备总价" />
<CurrencyInput
slot="content" v-model="equip_price" :allCheck="equip_price"
placeholder="请输入设备总价" />
</item>
<item>
<div slot="name" class="font-color">融资金额</div>
......@@ -140,13 +142,9 @@ export default {
},
computed: {},
watch: {
// $route () {
// let body = document.querySelector('body')
// let h6 = document.createElement('h6')
// body.appendChild(h6)
// h6.click()
// // body.removeChild(h6)
// },
$route () {
document.activeElement.blur()
},
},
beforeRouteEnter (to, from, next) {
next(vm => {
......
......@@ -57,7 +57,6 @@
</scroll>
</h-view>
</template>
<script>
export default {
name: 'FinancingTrial',
......
......@@ -110,6 +110,7 @@ export default {
vm.$post(process.env.basePath + 'app_login', param).then(function (res) {
if (res.result === 'S' && res.info.login_flag === 'Y') {
vm.hlsPopup.hideLoading()
vm.updateVersion() // 版本更新
window.localStorage.setItem('user_phone', vm.username)
window.localStorage.setItem('password', md5passwprd)
vm.$router.push('tab')
......@@ -133,7 +134,6 @@ export default {
// vm.hlsPopup.hideLoading()
if (res) {
window.localStorage.setItem('access_token', res.access_token)
vm.updateVersion() // 版本更新
return true
}
},
......
......@@ -292,6 +292,13 @@ export default {
created () {},
beforeRouteEnter (to, from, next) {
next(vm => {
vm.signCount = '0'
vm.carNum = '0'
vm.faceSign = '0'
vm.prjSubmit = '0'
vm.confirmCount = '0'
vm.productCount = '0'
vm.carCount = '0'
vm.multipleRole = window.localStorage.getItem('multipleRole')
vm.userQuery()
vm.numQuery()
......
<!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.7d0eb5c01ab1882337f4332feb2e5a0a.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.1667e08db3741a42ec84.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.3133a6f1d84b08e27af3f45bb3930309.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.8a1ae113e3b5262701ed.js></script><script type=text/javascript src=./static/js/app.36942b9754a54d6f2194.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