Commit d532419e authored by 李晓兵's avatar 李晓兵

'myinfo'

parent 5cf3b1c6
Pipeline #4454 canceled with stages
...@@ -74,15 +74,15 @@ ...@@ -74,15 +74,15 @@
</item> </item>
<item v-if="user_bp_type === 'AGENT'"> <item v-if="user_bp_type === 'AGENT'">
<div slot="name" class="font-color">授信额度</div> <div slot="name" class="font-color">授信额度</div>
<input slot="content" v-model="inflow_line" readonly placeholder="授信额度"> <CurrencyInput slot="content" v-model="inflow_line" :readonly="true" placeholder="授信额度"/>
</item> </item>
<item v-if="user_bp_type === 'AGENT'"> <item v-if="user_bp_type === 'AGENT'">
<div slot="name" class="font-color">已使用授信额度</div> <div slot="name" class="font-color">已使用授信额度</div>
<input slot="content" v-model="inflow_used" readonly placeholder="已使用授信额度"> <CurrencyInput slot="content" v-model="inflow_used" :readonly="true" placeholder="已使用授信额度"/>
</item> </item>
<item v-if="user_bp_type === 'AGENT'"> <item v-if="user_bp_type === 'AGENT'">
<div slot="name" class="font-color">剩余授信额度</div> <div slot="name" class="font-color">剩余授信额度</div>
<input slot="content" v-model="inflow_reset" readonly placeholder="剩余授信额度"> <CurrencyInput slot="content" v-model="inflow_reset" :readonly="true" placeholder="剩余授信额度"/>
</item> </item>
<item @click.native="showTime('YYYY-MM-DD')"> <item @click.native="showTime('YYYY-MM-DD')">
<div slot="name" class="font-color">签约日期</div> <div slot="name" class="font-color">签约日期</div>
...@@ -132,8 +132,11 @@ ...@@ -132,8 +132,11 @@
</template> </template>
<script> <script>
import CurrencyInput from '../../components/currencyInput'
export default { export default {
components: {
CurrencyInput,
},
data () { data () {
return { return {
inflow_line: '', // 授信总额度 inflow_line: '', // 授信总额度
......
...@@ -312,6 +312,7 @@ export default { ...@@ -312,6 +312,7 @@ export default {
this.approveBtn = false this.approveBtn = false
} else if (this.bp_id && this.user_bp_status === 'NEW') { } else if (this.bp_id && this.user_bp_status === 'NEW') {
this.description = '待提交' this.description = '待提交'
this.approveBtn = false
} else if (this.bp_id && this.user_bp_status === 'APPROVED') { } else if (this.bp_id && this.user_bp_status === 'APPROVED') {
this.description = '解除绑定' this.description = '解除绑定'
this.approveBtn = true this.approveBtn = true
...@@ -320,8 +321,10 @@ export default { ...@@ -320,8 +321,10 @@ export default {
(this.bp_id && this.user_bp_status === 'REJECT') (this.bp_id && this.user_bp_status === 'REJECT')
) { ) {
this.description = '审核未通过' this.description = '审核未通过'
this.approveBtn = false
} else { } else {
this.description = '审批中' this.description = '审批中'
this.approveBtn = false
} }
}, },
// 我的发票 // 我的发票
......
...@@ -35,11 +35,14 @@ axios.interceptors.response.use(response => { ...@@ -35,11 +35,14 @@ axios.interceptors.response.use(response => {
err.message = response.data.message err.message = response.data.message
hlsPopup.showError(err.message) hlsPopup.showError(err.message)
return Promise.resolve(err) return Promise.resolve(err)
} else if (response.code === '404') {
hlsPopup.showError('未找到资源文件')
} else { } else {
return response.data return response.data
} }
}, err => { }, err => {
if (err && err.response) { if (err && err.response) {
debugger
switch (err.response.status) { switch (err.response.status) {
case 400: case 400:
err.message = '错误请求' err.message = '错误请求'
......
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