Merge branch 'dev' of http://git.sinoecare.com/sinoecare/digital_village_v2/dvcp_v2_webapp into dev
This commit is contained in:
		| @@ -11,7 +11,7 @@ | |||||||
|         </div> |         </div> | ||||||
|         <div class="detail-info__item"> |         <div class="detail-info__item"> | ||||||
|           <h2>获取积分</h2> |           <h2>获取积分</h2> | ||||||
|           <span style="color: #2266FF;">{{ info.personalIntegral || 0 }}</span> |           <span style="color: #2266FF;">{{ (info.personalIntegral + info.personalUsedIntegral) || 0 }}</span> | ||||||
|         </div> |         </div> | ||||||
|         <div class="detail-info__item"> |         <div class="detail-info__item"> | ||||||
|           <h2>已用积分</h2> |           <h2>已用积分</h2> | ||||||
|   | |||||||
| @@ -87,9 +87,10 @@ export default { | |||||||
|           label: '用户账号', |           label: '用户账号', | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           prop: 'personalIntegral', |           // prop: 'personalIntegral', | ||||||
|           align: 'center', |           align: 'center', | ||||||
|           label: '获取积分', |           label: '获取积分', | ||||||
|  |           render: (h, {row}) => h('span',null, row.personalIntegral + row.personalUsedIntegral) | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|           prop: 'personalUsedIntegral', |           prop: 'personalUsedIntegral', | ||||||
| @@ -97,9 +98,10 @@ export default { | |||||||
|           label: '已用积分', |           label: '已用积分', | ||||||
|         }, |         }, | ||||||
|         { |         { | ||||||
|  |           prop: 'personalIntegral', | ||||||
|           align: 'center', |           align: 'center', | ||||||
|           label: '剩余积分', |           label: '剩余积分', | ||||||
|           render: (h, {row}) => h('span', null, row.personalIntegral - row.personalUsedIntegral) |           // render: (h, {row}) => h('span', null, row.personalIntegral - row.personalUsedIntegral) | ||||||
|         } |         } | ||||||
|       ] |       ] | ||||||
|     }, |     }, | ||||||
|   | |||||||
| @@ -11,7 +11,7 @@ | |||||||
|                   <template #left> |                   <template #left> | ||||||
|                     <ai-select placeholder="机构类型" :selectList="dict.getDict('financialOrganizationType')" |                     <ai-select placeholder="机构类型" :selectList="dict.getDict('financialOrganizationType')" | ||||||
|                                v-model="search.organizationType" @change="page.current=1,getTableData()"/> |                                v-model="search.organizationType" @change="page.current=1,getTableData()"/> | ||||||
|                     <ai-select placeholder="审批状态" :selectList="dict.getDict('financialLoanApplyStatus')" |                     <ai-select placeholder="审批状态" :selectList="dict.getDict('financialLoanApplySearchStatus')" | ||||||
|                                v-model="search.status" @change="page.current=1,getTableData()"/> |                                v-model="search.status" @change="page.current=1,getTableData()"/> | ||||||
|                     <ai-search label="申请时间"> |                     <ai-search label="申请时间"> | ||||||
|                       <el-date-picker size="small" v-model="search.applyTime" type="daterange" |                       <el-date-picker size="small" v-model="search.applyTime" type="daterange" | ||||||
| @@ -69,22 +69,24 @@ export default { | |||||||
|         {label: "申请时间", prop: "createTime", width: 160}, |         {label: "申请时间", prop: "createTime", width: 160}, | ||||||
|         {label: "贷款机构", prop: "organizationName"}, |         {label: "贷款机构", prop: "organizationName"}, | ||||||
|         {label: "机构类型", prop: "organizationType", dict: "financialOrganizationType"}, |         {label: "机构类型", prop: "organizationType", dict: "financialOrganizationType"}, | ||||||
|         {label: "状态", prop: "status", align: "center", dict: "financialLoanApplyStatus"}, |         {label: "状态", prop: "status", align: "center", dict: "financialLoanApplySearchStatus"}, | ||||||
|         {slot: "options"} |         {slot: "options"} | ||||||
|       ] |       ] | ||||||
|     } |     } | ||||||
|   }, |   }, | ||||||
|   data() { |   data() { | ||||||
|     return { |     return { | ||||||
|       search: {name: ""}, |       search: {search: ""}, | ||||||
|       page: {current: 1, size: 10, total: 0}, |       page: {current: 1, size: 10, total: 0}, | ||||||
|       tableData: [] |       tableData: [], | ||||||
|  |       // status: '' | ||||||
|     } |     } | ||||||
|   }, |   }, | ||||||
|   methods: { |   methods: { | ||||||
|     getTableData() { |     getTableData() { | ||||||
|  |       let status = this.search.status || 999 | ||||||
|       this.instance.post("/appfinancialloanapply/list", null, { |       this.instance.post("/appfinancialloanapply/list", null, { | ||||||
|         params: {...this.page, ...this.search} |         params: {...this.page, ...this.search, status} | ||||||
|       }).then(res => { |       }).then(res => { | ||||||
|         if (res?.data) { |         if (res?.data) { | ||||||
|           this.tableData = res.data?.records |           this.tableData = res.data?.records | ||||||
| @@ -103,6 +105,7 @@ export default { | |||||||
|     }, |     }, | ||||||
|   }, |   }, | ||||||
|   created() { |   created() { | ||||||
|  |     this.dict.load('financialLoanApplySearchStatus') | ||||||
|     this.getTableData() |     this.getTableData() | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -24,13 +24,18 @@ | |||||||
|                 <h2 v-text="overviews['累计申请笔数(笔)']"/> |                 <h2 v-text="overviews['累计申请笔数(笔)']"/> | ||||||
|                 <p>总数</p> |                 <p>总数</p> | ||||||
|               </div> |               </div> | ||||||
|               <ai-echart :ops="circleEchart" :data="[{name:'企业融资',value:overviews['累计申请笔数(笔)']}]"/> |               <ai-echart :ops="circleEchart" :data="[{name:'企业融资',value:applyInfo['企业融资']}, {name:'个人融资',value:applyInfo['个人贷款']}]"/> | ||||||
|             </div> |             </div> | ||||||
|             <div class="cir-text"> |             <div class="cir-text"> | ||||||
|               <el-row type="flex" justify="space-between" align="middle" class="info"> |               <el-row type="flex" justify="space-between" align="middle" class="info"> | ||||||
|                 <span class="tips-bg" style="background: #2891FF;"/> |                 <span class="tips-bg" style="background: #2891FF;"/> | ||||||
|                 <p class="fill">企业融资</p> |                 <p class="fill">企业融资</p> | ||||||
|                 <div v-text="overviews['累计申请笔数']"/> |                 <div v-text="applyInfo['企业融资']"/> | ||||||
|  |               </el-row> | ||||||
|  |               <el-row type="flex" justify="space-between" align="middle" class="info"> | ||||||
|  |                 <span class="tips-bg" style="background: #FFB865;"/> | ||||||
|  |                 <p class="fill">个人融资</p> | ||||||
|  |                 <div v-text="applyInfo['个人贷款']"/> | ||||||
|               </el-row> |               </el-row> | ||||||
|             </div> |             </div> | ||||||
|           </div> |           </div> | ||||||
| @@ -172,6 +177,7 @@ export default { | |||||||
|       overviews: [], |       overviews: [], | ||||||
|       productTop10: [], |       productTop10: [], | ||||||
|       tradeTrend: [], |       tradeTrend: [], | ||||||
|  |       applyInfo: {} | ||||||
|     } |     } | ||||||
|   }, |   }, | ||||||
|   methods: { |   methods: { | ||||||
| @@ -179,6 +185,16 @@ export default { | |||||||
|       this.getOverviews() |       this.getOverviews() | ||||||
|       this.getProductTop10() |       this.getProductTop10() | ||||||
|       this.getTradeTrend() |       this.getTradeTrend() | ||||||
|  |       this.getApply() | ||||||
|  |     }, | ||||||
|  |     getApply() { | ||||||
|  |       this.instance.post("/appfinancialloanapply/staticFinancialLoanApplyByMainbody", null, { | ||||||
|  |         params: {...this.search} | ||||||
|  |       }).then(res => { | ||||||
|  |         if (res?.data) { | ||||||
|  |           this.applyInfo = res.data | ||||||
|  |         } | ||||||
|  |       }) | ||||||
|     }, |     }, | ||||||
|     getOverviews() { |     getOverviews() { | ||||||
|       this.instance.post("/appfinancialloanapply/staticFinancialLoanApplyByOrganization", null, { |       this.instance.post("/appfinancialloanapply/staticFinancialLoanApplyByOrganization", null, { | ||||||
|   | |||||||
| @@ -48,7 +48,7 @@ export default { | |||||||
|   }, |   }, | ||||||
|   data() { |   data() { | ||||||
|     return { |     return { | ||||||
|       search: {status: 1}, |       search: {status: ''}, | ||||||
|       page: {current: 1, size: 10, total: 0}, |       page: {current: 1, size: 10, total: 0}, | ||||||
|       tableData: [], |       tableData: [], | ||||||
|       colConfigs: [ |       colConfigs: [ | ||||||
| @@ -67,8 +67,9 @@ export default { | |||||||
|   }, |   }, | ||||||
|   methods: { |   methods: { | ||||||
|     getTableData() { |     getTableData() { | ||||||
|  |       let status = this.search.status || 999 | ||||||
|       this.instance.post("/appfinancialloanapply/list", null, { |       this.instance.post("/appfinancialloanapply/list", null, { | ||||||
|         params: {...this.page, ...this.search} |         params: {...this.page, ...this.search, status} | ||||||
|       }).then(res => { |       }).then(res => { | ||||||
|         if (res?.data) { |         if (res?.data) { | ||||||
|           this.tableData = res.data?.records |           this.tableData = res.data?.records | ||||||
|   | |||||||
| @@ -6,7 +6,7 @@ | |||||||
|       <template #content> |       <template #content> | ||||||
|         <ai-search-bar> |         <ai-search-bar> | ||||||
|           <template #left> |           <template #left> | ||||||
|             <ai-select v-model="search.status" placeholder="状态" :selectList="dict.getDict('financingDemandStatus')" |             <ai-select v-model="search.status" placeholder="状态" :selectList="dict.getDict('financingDemandSearchStatus')" | ||||||
|                        @change="page.current=1,getTableData()"/> |                        @change="page.current=1,getTableData()"/> | ||||||
|             <ai-search label="申请时间"> |             <ai-search label="申请时间"> | ||||||
|               <el-date-picker size="small" placeholder="请选择" type="daterange" |               <el-date-picker size="small" placeholder="请选择" type="daterange" | ||||||
| @@ -29,7 +29,7 @@ | |||||||
|                   @getList="getTableData" :col-configs="colConfigs" :dict="dict"> |                   @getList="getTableData" :col-configs="colConfigs" :dict="dict"> | ||||||
|           <el-table-column slot="options" label="状态" fixed="right" width="100" align="center"> |           <el-table-column slot="options" label="状态" fixed="right" width="100" align="center"> | ||||||
|             <template slot-scope="{row}"> |             <template slot-scope="{row}"> | ||||||
|               <span :class="`status${row.status}`">{{ dict.getLabel('financingDemandStatus', row.status) }}</span> |               <span :class="`status${row.status}`">{{ dict.getLabel('financingDemandSearchStatus', row.status) }}</span> | ||||||
|             </template> |             </template> | ||||||
|           </el-table-column> |           </el-table-column> | ||||||
|         </ai-table> |         </ai-table> | ||||||
| @@ -54,7 +54,7 @@ export default { | |||||||
|   }, |   }, | ||||||
|   data() { |   data() { | ||||||
|     return { |     return { | ||||||
|       search: {status: "1"}, |       search: {status: ""}, | ||||||
|       page: {current: 1, size: 10, total: 0}, |       page: {current: 1, size: 10, total: 0}, | ||||||
|       tableData: [], |       tableData: [], | ||||||
|       colConfigs: [ |       colConfigs: [ | ||||||
| @@ -74,7 +74,7 @@ export default { | |||||||
|   }, |   }, | ||||||
|   methods: { |   methods: { | ||||||
|     getTableData() { |     getTableData() { | ||||||
|       let status = this.search.status || 999 |       let status = this.search.status || 888 | ||||||
|       this.instance.post("/appfinancingdemand/list", null, { |       this.instance.post("/appfinancingdemand/list", null, { | ||||||
|         params: {...this.page, ...this.search, status} |         params: {...this.page, ...this.search, status} | ||||||
|       }).then(res => { |       }).then(res => { | ||||||
| @@ -92,7 +92,7 @@ export default { | |||||||
|     } |     } | ||||||
|   }, |   }, | ||||||
|   created() { |   created() { | ||||||
|     this.dict.load('financingDemandStatus') |     this.dict.load('financingDemandSearchStatus') | ||||||
|     this.search.areaId = this.user.info.areaId |     this.search.areaId = this.user.info.areaId | ||||||
|     this.getTableData() |     this.getTableData() | ||||||
|   } |   } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user