积分规则 积分维护
This commit is contained in:
		
							
								
								
									
										57
									
								
								project/xiushan/apps/AppCreditInquiry/AppCreditInquiry.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										57
									
								
								project/xiushan/apps/AppCreditInquiry/AppCreditInquiry.vue
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,57 @@ | ||||
| <template> | ||||
|   <section class="AppCreditInquiry"> | ||||
|     <!-- <keep-alive :include="['List']"> | ||||
|       <component ref="component" :is="component" :instance="instance" :params="params" :dict="dict" @change="onChange"/> | ||||
|     </keep-alive> --> | ||||
|   </section> | ||||
| </template> | ||||
|  | ||||
| <script> | ||||
| // import List from "./components/List.vue"; | ||||
| // import Add from "./components/Add.vue"; | ||||
|  | ||||
| export default { | ||||
|   name: "AppCreditInquiry", | ||||
|   label: "信用查询", | ||||
|   props: { | ||||
|     instance: Function, | ||||
|     dict: Object, | ||||
|   }, | ||||
|   // components: {Add, List}, | ||||
|   data() { | ||||
|     return { | ||||
|       component: "List", | ||||
|       params: {}, | ||||
|       include: [], | ||||
|     } | ||||
|   }, | ||||
|   methods: { | ||||
|     onChange(data) { | ||||
|       if (data.type === "Add") { | ||||
|         this.component = "Add"; | ||||
|         this.params = data.params; | ||||
|       } | ||||
|  | ||||
|       if (data.type === "List") { | ||||
|         this.component = "List"; | ||||
|         this.params = data.params; | ||||
|  | ||||
|         this.$nextTick(() => { | ||||
|           if (data.isRefresh) { | ||||
|             this.$refs.component.getTableData(); | ||||
|           } | ||||
|         }); | ||||
|       } | ||||
|     }, | ||||
|   }, | ||||
|   created() { | ||||
|     this.dict.load("portalUserStatus", "enterpriseStatus", "userEnterpriseStatus","enterpriseType") | ||||
|   } | ||||
| } | ||||
| </script> | ||||
|  | ||||
| <style lang="scss" scoped> | ||||
| .AppCreditInquiry { | ||||
|   height: 100%; | ||||
| } | ||||
| </style> | ||||
		Reference in New Issue
	
	Block a user