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