26323
This commit is contained in:
		| @@ -75,7 +75,7 @@ import {mapState} from 'vuex' | ||||
| export default { | ||||
|   name: 'visit', | ||||
|  | ||||
|   props: ['id', 'dict', 'instance', 'appId', 'name'], | ||||
|   props: ['id', 'dict', 'instance', 'appId', 'name', 'areaId'], | ||||
|  | ||||
|   data() { | ||||
|     return { | ||||
| @@ -128,6 +128,7 @@ export default { | ||||
|             images: JSON.stringify(this.form.images), | ||||
|             applicationId: this.appId, | ||||
|             name: this.name, | ||||
|             areaId: this.areaId | ||||
|           }).then(res => { | ||||
|             if (res.code === 0) { | ||||
|               this.$message.success('添加成功') | ||||
|   | ||||
| @@ -21,7 +21,16 @@ | ||||
|           </ai-wrapper> | ||||
|         </template> | ||||
|       </ai-card> | ||||
|       <component :is="component" :name="params.name || params.name00" :id="params.id" :appId="appId" :dict="dict" :instance="instance" v-if="currIndex === 1"></component> | ||||
|       <component | ||||
|         :is="component" | ||||
|         :name="params.name || params.name00" | ||||
|         :areaId="formData.area" | ||||
|         :id="params.id" | ||||
|         :appId="appId" | ||||
|         :dict="dict" | ||||
|         :instance="instance" | ||||
|         v-if="currIndex === 1"> | ||||
|       </component> | ||||
|     </template> | ||||
|   </ai-detail> | ||||
| </template> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user