mirror of
https://github.com/veops/cmdb.git
synced 2025-08-11 21:23:58 +08:00
fix:json 不支持预定义值
This commit is contained in:
@@ -633,8 +633,10 @@ export default {
|
||||
values = { ...values, ...computedAreaData }
|
||||
} else {
|
||||
// 如果是非计算属性,就看看有没有预定义值
|
||||
const preValueAreaData = this.$refs.preValueArea.getData()
|
||||
values = { ...values, ...preValueAreaData }
|
||||
if (values.value_type !== '6') {
|
||||
const preValueAreaData = this.$refs.preValueArea.getData()
|
||||
values = { ...values, ...preValueAreaData }
|
||||
}
|
||||
}
|
||||
|
||||
const fontOptions = this.$refs.fontArea.getData()
|
||||
|
@@ -100,12 +100,6 @@
|
||||
:CITypeId="CITypeId"
|
||||
/>
|
||||
<i></i> <i></i> <i></i> <i></i> <i></i>
|
||||
|
||||
<!-- <a-col :xxl="4" :xl="6" :lg="8" :md="12" :sm="24">
|
||||
<div class="property-item-empty filter-empty" @click="handleAddGroupAttr(index)">
|
||||
<a><a-icon type="plus"/></a>
|
||||
</div>
|
||||
</a-col> -->
|
||||
</draggable>
|
||||
</div>
|
||||
</div>
|
||||
@@ -145,10 +139,6 @@
|
||||
:CITypeId="CITypeId"
|
||||
/>
|
||||
<i></i> <i></i> <i></i> <i></i> <i></i>
|
||||
<!-- <a-col :xxl="4" :xl="6" :lg="8" :md="12" :sm="24">
|
||||
<div class="property-item-empty filter-empty" @click="handleAddGroupAttr(undefined)">
|
||||
<a><a-icon type="plus"/></a></div
|
||||
></a-col> -->
|
||||
</draggable>
|
||||
</div>
|
||||
</div>
|
||||
@@ -262,7 +252,6 @@ export default {
|
||||
group.editable = false
|
||||
group.originOrder = group.order
|
||||
group.originName = group.name
|
||||
// group.attributes = group.attributes.sort((a, b) => a.order - b.order)
|
||||
})
|
||||
|
||||
this.otherGroupAttributes = this.attributes
|
||||
@@ -390,7 +379,6 @@ export default {
|
||||
group.attributes = group.attributes.filter((x) => !values.checkedAttributes.includes(x.id))
|
||||
}
|
||||
})
|
||||
// this.CITypeGroups = this.CITypeGroups
|
||||
|
||||
this.otherGroupAttributes.forEach((attributes) => {
|
||||
if (values.groupId === null) {
|
||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user