Commit a6ccea78 authored by caimeng's avatar caimeng

报告

parent 2ec89963
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
<meta content="IE=edge" http-equiv="X-UA-Compatible" /> <meta content="IE=edge" http-equiv="X-UA-Compatible" />
<meta content="width=device-width,initial-scale=1.0" name="viewport" /> <meta content="width=device-width,initial-scale=1.0" name="viewport" />
<script src="./aliyun-oss-sdk.min.js"></script> <script src="./aliyun-oss-sdk.min.js"></script>
<script src="./jQuery.1.9.1.min.js"></script>
<script src="./tdReport.1.2.min.js"></script>
<link href="<%= BASE_URL %>favicon.ico" rel="icon" /> <link href="<%= BASE_URL %>favicon.ico" rel="icon" />
<title><%= VUE_APP_TITLE %></title> <title><%= VUE_APP_TITLE %></title>
<meta <meta
......
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
<!-- 预授信申述 -->
<template>
<div class='no-data'>
<span>暂无数据</span>
</div>
</template>
<script>
</script>
<style lang='scss' scoped>
.no-data{
box-sizing: border-box;
display: flex;
align-items: center;
justify-content: center;
padding: 15px;
}
</style>
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</el-row> </el-row>
</el-form-item> </el-form-item>
<el-form-item label='申请期数'> <el-form-item label='申请期数(期)'>
<el-row> <el-row>
<el-col :span='14'> <el-col :span='14'>
<el-input v-model='form.loanIntentionNum' disabled style='width: 100%;' clearable /> <el-input v-model='form.loanIntentionNum' disabled style='width: 100%;' clearable />
...@@ -193,7 +193,7 @@ ...@@ -193,7 +193,7 @@
const { applyAmount, manualAmount,loanIntentionNum, creditAmount, creditNo } = this.item const { applyAmount, manualAmount,loanIntentionNum, creditAmount, creditNo } = this.item
this.form.applyAmount = this.money(applyAmount) this.form.applyAmount = this.money(applyAmount)
this.form.creditAmount = this.money(creditAmount) this.form.creditAmount = this.money(creditAmount)
this.form.loanIntentionNum = `${loanIntentionNum}期`; this.form.loanIntentionNum = loanIntentionNum;
this.manualAmount = manualAmount this.manualAmount = manualAmount
this.form.creditNo = creditNo this.form.creditNo = creditNo
......
<!-- 操作日志 --> <!-- 操作日志 -->
<template> <template>
<div> <div>
<!--表格--> <!--表格-->
<el-table <el-table
ref="tableSort" ref='tableSort'
border border
:data="list" :data='list'
style="width: 100%; margin-bottom: 20px" style='width: 100%; margin-bottom: 20px'
> >
<el-table-column <el-table-column
v-for="(item, index) in finallyColumns" v-for='(item, index) in finallyColumns'
:key="index" :key='index'
align="center" align='center'
:label="item.label" :label='item.label'
:sortable="item.sortable" :sortable='item.sortable'
:width="item.width" :width='item.width'
:fixed="!!item.fixed" :fixed='!!item.fixed'
:show-overflow-tooltip="!!item.overflow" :show-overflow-tooltip='!!item.overflow'
> >
<template #default="{ row }"> <template #default='{ row }'>
<span >{{ row[item.prop] }}</span> <span>{{ row[item.prop] }}</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -35,30 +34,35 @@ ...@@ -35,30 +34,35 @@
export default { export default {
name: 'PreOperationLog', name: 'PreOperationLog',
props:{ props: {
report:{ report: {
type:Array, type: Array,
require:true require: true
} }
}, },
data() { data() {
return { return {
checkList: ["规则名", "规则名称", "审批建议"], checkList: ['规则名', '规则名称', '数值', '审批建议'],
columns: [ columns: [
{ {
order: 1, order: 1,
label: "规则名", label: '规则名',
prop: "ruleCode" prop: 'ruleCode'
}, },
{ {
order: 2, order: 2,
label: "规则名称", label: '规则名称',
prop: "ruleName" prop: 'ruleName'
}, },
{ {
order: 3, order: 3,
label: "审批建议", label: '数值',
prop: "ruleResultStr" prop: 'ruleValue'
},
{
order: 4,
label: '审批建议',
prop: 'ruleResultStr'
} }
], ],
list: [] list: []
...@@ -66,18 +70,18 @@ ...@@ -66,18 +70,18 @@
}, },
computed: { computed: {
finallyColumns() { finallyColumns() {
let finallyArray = []; let finallyArray = []
this.checkList.forEach((checkItem) => { this.checkList.forEach((checkItem) => {
finallyArray.push( finallyArray.push(
this.columns.filter((item) => item.label === checkItem)[0] this.columns.filter((item) => item.label === checkItem)[0]
); )
}); })
return _.sortBy(finallyArray, (item) => item.order); return _.sortBy(finallyArray, (item) => item.order)
} }
}, },
created() { created() {
if(this.report){ if (this.report) {
this.list = this.report; this.list = this.report
} }
} }
} }
......
<!-- 操作日志 --> <!-- 操作日志 -->
<template> <template>
<div> <div>
<block-header title='操作日志' />
<!--表格--> <!--表格-->
<el-table <el-table
ref="tableSort" ref="tableSort"
......
<!-- 操作日志 --> <!-- 操作日志 -->
<template> <template>
<div> <div>
<block-header title='预审报告' />
<!--表格--> <!--表格-->
<el-table <el-table
ref="tableSort" ref='tableSort'
border border
:data="list" :data='list'
style="width: 100%; margin-bottom: 20px" style='width: 100%; margin-bottom: 20px'
> >
<el-table-column <el-table-column
v-for="(item, index) in finallyColumns" v-for='(item, index) in finallyColumns'
:key="index" :key='index'
align="center" align='center'
:label="item.label" :label='item.label'
:sortable="item.sortable" :sortable='item.sortable'
:width="item.width" :width='item.width'
:fixed="!!item.fixed" :fixed='!!item.fixed'
:show-overflow-tooltip="!!item.overflow" :show-overflow-tooltip='!!item.overflow'
> >
<template #default="{ row }"> <template #default='{ row }'>
<span >{{ row[item.prop] }}</span> <span>{{ row[item.prop] }}</span>
</template> </template>
</el-table-column> </el-table-column>
...@@ -36,30 +35,35 @@ ...@@ -36,30 +35,35 @@
export default { export default {
name: 'PreOperationLog', name: 'PreOperationLog',
props:{ props: {
report:{ report: {
type:Array, type: Array,
require:true require: true
} }
}, },
data() { data() {
return { return {
checkList: ["规则名", "规则名称", "审批建议"], checkList: ['规则名', '规则名称', '数值', '审批建议'],
columns: [ columns: [
{ {
order: 1, order: 1,
label: "规则名", label: '规则名',
prop: "ruleCode" prop: 'ruleCode'
}, },
{ {
order: 2, order: 2,
label: "规则名称", label: '规则名称',
prop: "ruleName" prop: 'ruleName'
}, },
{ {
order: 3, order: 3,
label: "审批建议", label: '数值',
prop: "ruleResultStr" prop: 'ruleValue'
},
{
order: 4,
label: '审批建议',
prop: 'ruleResultStr'
} }
], ],
list: [] list: []
...@@ -67,18 +71,18 @@ ...@@ -67,18 +71,18 @@
}, },
computed: { computed: {
finallyColumns() { finallyColumns() {
let finallyArray = []; let finallyArray = []
this.checkList.forEach((checkItem) => { this.checkList.forEach((checkItem) => {
finallyArray.push( finallyArray.push(
this.columns.filter((item) => item.label === checkItem)[0] this.columns.filter((item) => item.label === checkItem)[0]
); )
}); })
return _.sortBy(finallyArray, (item) => item.order); return _.sortBy(finallyArray, (item) => item.order)
} }
}, },
created() { created() {
if(this.report){ if (this.report) {
this.list = this.report; this.list = this.report
} }
} }
} }
......
This diff is collapsed.
<!-- 图片信息 --> <!-- 图片信息 -->
<template> <template>
<div> <div>
<template v-if='clientIdCardInfoResponse.length'>
<block-header title='客户身份证信息' /> <block-header title='客户身份证信息' />
<template v-if='clientIdCardInfoResponse.length'>
<el-row :gutter='20'> <el-row :gutter='20'>
<el-col v-for='(o, index) in clientIdCardInfoResponse' :key='index' :span='4'> <el-col v-for='(o, index) in clientIdCardInfoResponse' :key='index' :span='4'>
<el-card :body-style="{ padding: '10px' }"> <el-card :body-style="{ padding: '10px' }">
...@@ -16,9 +16,10 @@ ...@@ -16,9 +16,10 @@
</el-col> </el-col>
</el-row> </el-row>
</template> </template>
<no-data v-else />
<template v-if='faceInfoResponse.length'>
<block-header title='人脸信息' /> <block-header title='人脸信息' />
<template v-if='faceInfoResponse.length'>
<el-row :gutter='20'> <el-row :gutter='20'>
<el-col v-for='(o, index) in faceInfoResponse' :key='index' :span='4'> <el-col v-for='(o, index) in faceInfoResponse' :key='index' :span='4'>
<el-card :body-style="{ padding: '10px' }"> <el-card :body-style="{ padding: '10px' }">
...@@ -33,10 +34,11 @@ ...@@ -33,10 +34,11 @@
</el-col> </el-col>
</el-row> </el-row>
</template> </template>
<no-data v-else />
<template v-if='creditAttachInfo.length'>
<block-header title='授信附件信息' /> <block-header title='授信附件信息' />
<template v-if='creditAttachInfo.length'>
<el-row :gutter='20'> <el-row :gutter='20'>
<el-col v-for='(o, index) in creditAttachInfo' :key='index' :span='4'> <el-col v-for='(o, index) in creditAttachInfo' :key='index' :span='4'>
<el-card :body-style="{ padding: '10px' }"> <el-card :body-style="{ padding: '10px' }">
...@@ -53,10 +55,10 @@ ...@@ -53,10 +55,10 @@
</el-col> </el-col>
</el-row> </el-row>
</template> </template>
<no-data v-else />
<template v-if='supplAttachInfo && supplAttachInfo.length'>
<block-header title='客户附件信息' /> <block-header title='客户附件信息' />
<template v-if='supplAttachInfo && supplAttachInfo.length'>
<el-row :gutter='20'> <el-row :gutter='20'>
<el-col v-for='(o, index) in supplAttachInfo' :key='index' :span='4'> <el-col v-for='(o, index) in supplAttachInfo' :key='index' :span='4'>
<el-card :body-style="{ padding: '10px' }"> <el-card :body-style="{ padding: '10px' }">
...@@ -73,9 +75,11 @@ ...@@ -73,9 +75,11 @@
</el-col> </el-col>
</el-row> </el-row>
</template> </template>
<no-data v-else />
<template v-if='xcxSupplAttachInfo!==null && xcxSupplAttachInfo.length'>
<block-header title='补充附件信息' /> <block-header title='补充附件信息' />
<template v-if='xcxSupplAttachInfo!==null && xcxSupplAttachInfo.length'>
<el-row :gutter='20'> <el-row :gutter='20'>
<el-col v-for='(o, index) in xcxSupplAttachInfo' :key='index' :span='4'> <el-col v-for='(o, index) in xcxSupplAttachInfo' :key='index' :span='4'>
<el-card :body-style="{ padding: '10px' }"> <el-card :body-style="{ padding: '10px' }">
...@@ -92,6 +96,7 @@ ...@@ -92,6 +96,7 @@
</el-col> </el-col>
</el-row> </el-row>
</template> </template>
<no-data v-else />
<template v-if='!isLoan'> <template v-if='!isLoan'>
<!--机审报告--> <!--机审报告-->
...@@ -99,17 +104,20 @@ ...@@ -99,17 +104,20 @@
<template v-if='reportResponse!==null'> <template v-if='reportResponse!==null'>
<mch-report :report=reportResponse /> <mch-report :report=reportResponse />
</template> </template>
<no-data v-else />
<block-header title='第三方报告' /> <block-header title='第三方报告' />
<template v-if='thirdPartyReport && thirdPartyReport !==null'> <template v-if='thirdPartyReport && thirdPartyReport !==null'>
<t-dun-report :report=thirdPartyReport /> <t-dun-report :report=thirdPartyReport />
</template> </template>
<no-data v-else />
<!--审批结果--> <!--审批结果-->
<block-header title='审批结果' /> <block-header title='审批结果' />
<template v-if='approvalResultResponse!==null'> <template v-if='approvalResultResponse!==null'>
<approval-result :result='approvalResultResponse' /> <approval-result :result='approvalResultResponse' />
</template> </template>
<no-data v-else />
</template> </template>
......
...@@ -11,6 +11,7 @@ import MchReport from '@/components/mch-report' ...@@ -11,6 +11,7 @@ import MchReport from '@/components/mch-report'
import TDunReport from '@/components/tdun-report' import TDunReport from '@/components/tdun-report'
import UserBaseInfo from '@/components/user-base-info' import UserBaseInfo from '@/components/user-base-info'
import UserProjectInfo from '@/components/user-project-info' import UserProjectInfo from '@/components/user-project-info'
import NoData from '@/components/NoData';
import moment from 'moment' import moment from 'moment'
export default { export default {
...@@ -29,6 +30,7 @@ export default { ...@@ -29,6 +30,7 @@ export default {
UserProjectInfo, UserProjectInfo,
Approval, Approval,
LoanAudit, LoanAudit,
NoData,
'el-image-viewer': () => import('element-ui/packages/image/src/image-viewer') 'el-image-viewer': () => import('element-ui/packages/image/src/image-viewer')
}, },
data(){ data(){
......
...@@ -16,9 +16,11 @@ ...@@ -16,9 +16,11 @@
<user-other-info :info='detail' /> <user-other-info :info='detail' />
<!--操作日志--> <!--操作日志-->
<block-header title='操作日志' />
<template v-if='detail.operationLogResponse!==null'> <template v-if='detail.operationLogResponse!==null'>
<operation-log :log='detail.operationLogResponse' /> <operation-log :log='detail.operationLogResponse' />
</template> </template>
<no-data v-else />
<!--申述操作--> <!--申述操作-->
<template v-if='false'> <template v-if='false'>
......
...@@ -29,14 +29,19 @@ ...@@ -29,14 +29,19 @@
</el-descriptions> </el-descriptions>
<block-header title='预审报告' />
<div v-if='reportResponse!==null && reportResponse.length'> <div v-if='reportResponse!==null && reportResponse.length'>
<pre-report :report='reportResponse' /> <pre-report :report='reportResponse' />
</div> </div>
<no-data v-else />
<!--操作日志--> <!--操作日志-->
<block-header title='操作日志' />
<div v-if='operationLogResponse && operationLogResponse.length'> <div v-if='operationLogResponse && operationLogResponse.length'>
<operation-log :log='operationLogResponse' /> <operation-log :log='operationLogResponse' />
</div> </div>
<no-data v-else />
<!--申述弹框--> <!--申述弹框-->
<template v-if='visible'> <template v-if='visible'>
......
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