抽取企业详情组件
This commit is contained in:
		| @@ -99,7 +99,7 @@ | ||||
|  | ||||
| <script> | ||||
| import {mapState} from "vuex"; | ||||
| import EnterpriseDialog from "../../financing/enterpriseDialog"; | ||||
| import EnterpriseDialog from "../../../components/enterpriseDialog"; | ||||
|  | ||||
| export default { | ||||
|   name: "loanDetail", | ||||
|   | ||||
| @@ -55,7 +55,7 @@ | ||||
|  | ||||
| <script> | ||||
| import {mapState} from "vuex"; | ||||
| import EnterpriseDialog from "../enterpriseDialog"; | ||||
| import EnterpriseDialog from "../../../components/enterpriseDialog"; | ||||
|  | ||||
| export default { | ||||
|   name: "needsDetail", | ||||
|   | ||||
| @@ -29,42 +29,34 @@ | ||||
|         <span :class="[currIndex === 3 ? 'active' : '']" @click="currIndex = 3">失信信息</span> | ||||
|       </div> | ||||
|       <div class="table"> | ||||
|         <template v-if="currIndex === 0"> | ||||
|           <ai-table :dict="dict" :tableData="info.adminstrativeLicenseList" :col-configs="colConfigs1" | ||||
|                     :isShowPagination="false" border tableSize="small" @getList="() => {}"/> | ||||
|         </template> | ||||
|         <ai-table :dict="dict" | ||||
|                   v-show="currIndex === 0" | ||||
|                   :tableData="info.adminstrativeLicenseList" | ||||
|                   :col-configs="colConfigs1" | ||||
|                   :isShowPagination="false" | ||||
|                   border | ||||
|                   tableSize="small" | ||||
|                   @getList="() => {}"> | ||||
|         </ai-table> | ||||
|         <ai-table :dict="dict" | ||||
|                   v-show="currIndex === 1" | ||||
|                   v-if="currIndex === 1" | ||||
|                   :tableData="info.administrativeSanctionList" | ||||
|                   :col-configs="colConfigs2" | ||||
|                   :isShowPagination="false" | ||||
|                   border | ||||
|                   tableSize="small" | ||||
|                   @getList="() => {}"> | ||||
|         </ai-table> | ||||
|                   @getList="() => {}"/> | ||||
|         <ai-table :dict="dict" | ||||
|                   v-show="currIndex === 2" | ||||
|                   v-if="currIndex === 2" | ||||
|                   :tableData="info.taxInfoList" | ||||
|                   :col-configs="colConfigs3" | ||||
|                   :isShowPagination="false" | ||||
|                   border | ||||
|                   tableSize="small" | ||||
|                   @getList="() => {}"> | ||||
|         </ai-table> | ||||
|         <ai-table :dict="dict" | ||||
|                   v-show="currIndex === 3" | ||||
|                   :tableData="info.dishonestPersonList" | ||||
|                   :col-configs="colConfigs4" | ||||
|                   :isShowPagination="false" | ||||
|                   border | ||||
|                   tableSize="small" | ||||
|                   @getList="() => {}"> | ||||
|         </ai-table> | ||||
|                   @getList="() => {}"/> | ||||
|         <div class="table-item" v-if="currIndex==3"> | ||||
|           <h2>失信被执行人信息</h2> | ||||
|           <ai-table :dict="dict" :tableData="info.dishonestPersonList" :col-configs="colConfigs4" | ||||
|                     :isShowPagination="false" border tableSize="small" @getList="() => {}"/> | ||||
|           <h2 style="margin-top: 30px;">公共事业欠缴费信息</h2> | ||||
|           <ai-table :dict="dict" :tableData="info.puaInfoList" :col-configs="colConfigs5" | ||||
|                     :isShowPagination="false" border tableSize="small" @getList="() => {}"/> | ||||
|         </div> | ||||
|       </div> | ||||
|     </div> | ||||
|   </section> | ||||
| @@ -118,10 +110,19 @@ export default { | ||||
|         {prop: 'executionCourt', align: 'center', label: '执行法院'}, | ||||
|         {prop: 'executionTime', align: 'center', label: '数据更新时间'} | ||||
|       ], | ||||
|       colConfigs5: [ | ||||
|         {prop: 'arrearsAmount', label: '欠费金额(万元)'}, | ||||
|         {prop: 'arrearsType', align: 'center', label: '欠缴类型名称', dict: "arrearsType"}, | ||||
|         {prop: 'deadlineForArrearsStatistics', align: 'center', label: '欠缴统计截止日期'}, | ||||
|         {prop: 'dishonestySeverity', align: 'center', label: '失信严重程度', dict: "dishonestySeverity"}, | ||||
|         {prop: 'validityPeriodOfDishonesty', align: 'center', label: '失信行为有效期'}, | ||||
|         {prop: 'sourceOrganization', align: 'center', label: '数据来源机构'}, | ||||
|         {prop: 'createTime', align: 'center', label: '数据更新时间'} | ||||
|       ] | ||||
|     } | ||||
|   }, | ||||
|   created() { | ||||
|     this.dict.load("dishonestPersonSituation", "administrativeSanctionType") | ||||
|     this.dict.load("dishonestPersonSituation", "administrativeSanctionType", "enterpriseType", 'arrearsType', 'dishonestySeverity') | ||||
|     this.getCompanyInfo() | ||||
|   }, | ||||
|   methods: { | ||||
| @@ -149,6 +150,15 @@ export default { | ||||
| 
 | ||||
| <style lang="scss" scoped> | ||||
| .enterpriseDialog { | ||||
|   .table-item { | ||||
|     h2 { | ||||
|       margin-bottom: 16px; | ||||
|       color: #333333; | ||||
|       font-size: 18px; | ||||
|       font-weight: 600; | ||||
|     } | ||||
|   } | ||||
| 
 | ||||
|   .top { | ||||
|     display: flex; | ||||
|     margin-bottom: 20px; | ||||
		Reference in New Issue
	
	Block a user