整合
This commit is contained in:
		| @@ -26,14 +26,18 @@ | ||||
|                 <el-form-item label="企业主体" v-if="detail.applyType==1"> | ||||
|                   <el-row type="flex"> | ||||
|                     {{ detail.enterpriseName }} | ||||
|                     <el-link type="primary" @click="isShow=true">企业详情</el-link> | ||||
|                     <ai-dialog-btn text="企业详情" :dialog-title="detail.enterpriseName||'企业详情'"> | ||||
|                       <enterprise-dialog v-if="detail.enterpriseId" :enterprise-id="detail.enterpriseId" :instance="instance" :dict="dict"/> | ||||
|                     </ai-dialog-btn> | ||||
|                   </el-row> | ||||
|                 </el-form-item> | ||||
|                 <el-form-item v-else/> | ||||
|                 <el-form-item label="联系人"> | ||||
|                   <el-row type="flex"> | ||||
|                     <div v-text="detail.name"/> | ||||
|                     <person-credit-report :person="detail" :instance="instance" :dict="dict"/> | ||||
|                     <ai-dialog-btn text="个人详情" :dialog-title="detail.name||'个人详情'"> | ||||
|                       <person-credit-report :personId="detail.idNumber" :instance="instance" :dict="dict"/> | ||||
|                     </ai-dialog-btn> | ||||
|                   </el-row> | ||||
|                 </el-form-item> | ||||
|                 <el-form-item label="所在地区">{{ detail.areaName }}</el-form-item> | ||||
| @@ -45,14 +49,6 @@ | ||||
|             </template> | ||||
|           </ai-card> | ||||
|         </el-form> | ||||
|         <ai-dialog class="dialog" :title="detail.enterpriseName||'企业详情'" :visible.sync="isShow" width="1200px" | ||||
|                    customFooter> | ||||
|           <enterprise-dialog v-if="detail.enterpriseId" :enterprise-id="detail.enterpriseId" :instance="instance" | ||||
|                              :dict="dict"/> | ||||
|           <template #footer> | ||||
|             <el-button @click="isShow=false">关闭</el-button> | ||||
|           </template> | ||||
|         </ai-dialog> | ||||
|       </template> | ||||
|     </ai-detail> | ||||
|   </section> | ||||
| @@ -62,10 +58,11 @@ | ||||
| import {mapState} from "vuex"; | ||||
| import EnterpriseDialog from "../../../components/enterpriseDialog"; | ||||
| import PersonCreditReport from "../../../components/personCreditReport"; | ||||
| import AiDialogBtn from "../../../components/AiDialogBtn"; | ||||
|  | ||||
| export default { | ||||
|   name: "needsDetail", | ||||
|   components: {PersonCreditReport, EnterpriseDialog}, | ||||
|   components: {AiDialogBtn, PersonCreditReport, EnterpriseDialog}, | ||||
|   props: { | ||||
|     instance: Function, | ||||
|     dict: Object, | ||||
| @@ -81,7 +78,6 @@ export default { | ||||
|     return { | ||||
|       detail: {}, | ||||
|       info: {}, | ||||
|       isShow: false, | ||||
|     } | ||||
|   }, | ||||
|   methods: { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user