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

'myinfo'

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