diff --git a/data-room-ui/packages/ComponentList/EditForm.vue b/data-room-ui/packages/ComponentList/EditForm.vue
index 192c3d43..5671c8b9 100644
--- a/data-room-ui/packages/ComponentList/EditForm.vue
+++ b/data-room-ui/packages/ComponentList/EditForm.vue
@@ -89,6 +89,40 @@
class="bs-el-input-number"
/>
+
+
+
+
+
+
+
+
+
+
+
+
{
+ this.$dataRoomAxios.get('/bigScreen/type/list/bizComponentCatalog').then((resp) => {
+ this.catalogList = resp
+ })
if (code) {
this.$dataRoomAxios.get(`/bigScreen/bizComponent/info/${code}`).then((resp) => {
this.$set(this, 'title', resp.name)
@@ -301,6 +340,7 @@ export default {
this.$set(this.dataForm, 'orderNum', nodeData.orderNum)
this.$set(this.dataForm, 'type', resp.type)
this.$set(this.dataForm, 'id', resp.id)
+ this.$set(this.dataForm, 'parentCode', resp.parentCode)
})
} else {
this.$set(this.dataForm, 'name', '')
@@ -308,6 +348,7 @@ export default {
this.$set(this.dataForm, 'type', parentCode)
this.$set(this.dataForm, 'orderNum', 0)
this.$set(this.dataForm, 'id', '')
+ this.$set(this.dataForm, 'parentCode', parentCode)
}
})
},
@@ -316,6 +357,9 @@ export default {
const code = nodeData ? nodeData.code : ''
this.formVisible = true
this.$nextTick(() => {
+ this.$dataRoomAxios.get('/bigScreen/type/list/componentCatalog').then((resp) => {
+ this.catalogList = resp
+ })
if (code) {
this.$dataRoomAxios.get(`/bigScreen/design/info/code/${code}`).then((resp) => {
this.$set(this, 'title', resp.name)
@@ -332,6 +376,7 @@ export default {
this.$set(this.dataForm, 'orderNum', nodeData.orderNum)
this.$set(this.dataForm, 'pageTemplateId', resp?.pageTemplateId)
this.$set(this.dataForm, 'pageConfig', resp?.pageConfig)
+ this.$set(this.dataForm, 'parentCode', resp?.parentCode)
const { w, h } = resp.pageConfig
this.resolutionRatio.w = w
this.resolutionRatio.h = h