Commit c214bd00 authored by linxin's avatar linxin

add

parent 3e405294
...@@ -11,5 +11,5 @@ module.exports = { ...@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://180.104.121.66:8088/r/api"', ocrPath:'"http://180.104.121.66:8088/r/api"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="', fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app"', appId: '"com.xcmg.app"',
currentVersion: '"1.5.3"' currentVersion: '"1.5.4"'
} }
...@@ -36,7 +36,8 @@ ...@@ -36,7 +36,8 @@
<input type="checkbox" @click="select" > <input type="checkbox" @click="select" >
<span>我本人已阅读本协议,并同意授权xxxx</span> <span>我本人已阅读本协议,并同意授权xxxx</span>
</div> </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> </div>
<div class="tab-style"> <div class="tab-style">
...@@ -302,6 +303,7 @@ export default { ...@@ -302,6 +303,7 @@ export default {
bp_name: '', bp_name: '',
bookFlag: false, bookFlag: false,
read_status: 'N', read_status: 'N',
content_id: '',
showModalValue: false, showModalValue: false,
credit_status: 'N', // 一个月内是否查过征信 N查过 credit_status: 'N', // 一个月内是否查过征信 N查过
guarantorInfo: [], // 担保人信息 guarantorInfo: [], // 担保人信息
...@@ -344,14 +346,14 @@ export default { ...@@ -344,14 +346,14 @@ export default {
$route (to, from) { $route (to, from) {
hlsPopup.hideConfirm() hlsPopup.hideConfirm()
}, },
ischecked: function (newVal, oldVal) { // ischecked: function (newVal, oldVal) {
let appro = document.querySelector('.appro') // 同意按钮 // let appro = document.querySelector('.appro') // 同意按钮
if (newVal) { // if (newVal) {
appro.style.backgroundColor = '#00469c' // appro.style.backgroundColor = '#00469c'
} else { // } else {
appro.style.backgroundColor = 'rgba(56, 63, 69, 0.5)' // appro.style.backgroundColor = 'rgba(56, 63, 69, 0.5)'
} // }
}, // },
bp_class () { bp_class () {
if (this.bp_class === 'NP') { if (this.bp_class === 'NP') {
this.bp_flag = false this.bp_flag = false
...@@ -501,6 +503,7 @@ export default { ...@@ -501,6 +503,7 @@ export default {
vm.bookFlag = false vm.bookFlag = false
} else if (res.attachments[0].read_status === 'N') { } else if (res.attachments[0].read_status === 'N') {
vm.bookFlag = true vm.bookFlag = true
vm.content_id = res.attachments[0].content_id
vm._loadFile(res.attachments[0].attachment_file_path) vm._loadFile(res.attachments[0].attachment_file_path)
} }
} else { } else {
...@@ -809,8 +812,8 @@ export default { ...@@ -809,8 +812,8 @@ export default {
let url = $config.basePath + 'prj_content_status_save' let url = $config.basePath + 'prj_content_status_save'
let param = { let param = {
master: { master: {
confirm_id: vm.confirm_id, content_id: vm.content_id,
auth_credit_flag: 'Y', read_status: 'Y',
}, },
} }
vm.hlsPopup.showLoading('请稍后') vm.hlsPopup.showLoading('请稍后')
......
...@@ -21,7 +21,9 @@ ...@@ -21,7 +21,9 @@
</item> </item>
<item> <item>
<div slot="name" class="font-color">设备总价</div> <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>
<item> <item>
<div slot="name" class="font-color">融资金额</div> <div slot="name" class="font-color">融资金额</div>
...@@ -140,13 +142,9 @@ export default { ...@@ -140,13 +142,9 @@ export default {
}, },
computed: {}, computed: {},
watch: { watch: {
// $route () { $route () {
// let body = document.querySelector('body') document.activeElement.blur()
// let h6 = document.createElement('h6') },
// body.appendChild(h6)
// h6.click()
// // body.removeChild(h6)
// },
}, },
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { next(vm => {
......
...@@ -57,7 +57,6 @@ ...@@ -57,7 +57,6 @@
</scroll> </scroll>
</h-view> </h-view>
</template> </template>
<script> <script>
export default { export default {
name: 'FinancingTrial', name: 'FinancingTrial',
......
...@@ -110,6 +110,7 @@ export default { ...@@ -110,6 +110,7 @@ export default {
vm.$post(process.env.basePath + 'app_login', param).then(function (res) { vm.$post(process.env.basePath + 'app_login', param).then(function (res) {
if (res.result === 'S' && res.info.login_flag === 'Y') { if (res.result === 'S' && res.info.login_flag === 'Y') {
vm.hlsPopup.hideLoading() vm.hlsPopup.hideLoading()
vm.updateVersion() // 版本更新
window.localStorage.setItem('user_phone', vm.username) window.localStorage.setItem('user_phone', vm.username)
window.localStorage.setItem('password', md5passwprd) window.localStorage.setItem('password', md5passwprd)
vm.$router.push('tab') vm.$router.push('tab')
...@@ -133,7 +134,6 @@ export default { ...@@ -133,7 +134,6 @@ export default {
// vm.hlsPopup.hideLoading() // vm.hlsPopup.hideLoading()
if (res) { if (res) {
window.localStorage.setItem('access_token', res.access_token) window.localStorage.setItem('access_token', res.access_token)
vm.updateVersion() // 版本更新
return true return true
} }
}, },
......
...@@ -292,6 +292,13 @@ export default { ...@@ -292,6 +292,13 @@ export default {
created () {}, created () {},
beforeRouteEnter (to, from, next) { beforeRouteEnter (to, from, next) {
next(vm => { 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.multipleRole = window.localStorage.getItem('multipleRole')
vm.userQuery() vm.userQuery()
vm.numQuery() 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> <!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 \ 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