数据权限

szh-new
张同海 2 months ago
parent 185f1c2c49
commit 8ac7225abc

@ -13,7 +13,7 @@
<columnView <columnView
ref="RefcolumnView" ref="RefcolumnView"
title="" title=""
:IsApi="false" :IsApi="true"
:schemas="ColumnViewschemas" :schemas="ColumnViewschemas"
v-show="columnViewType" v-show="columnViewType"
></columnView> ></columnView>
@ -91,8 +91,6 @@
label: item.columnDescription, label: item.columnDescription,
}) })
}) })
console.log(ColumnViewschemas.value)
columnViewType.value = true columnViewType.value = true
} }
const [registerModal, { setModalProps, closeModal, updateFormField }] = useModalInner( const [registerModal, { setModalProps, closeModal, updateFormField }] = useModalInner(
@ -109,7 +107,9 @@
...res.data, ...res.data,
}) })
// feeField.value.SetData(res.data.details) // feeField.value.SetData(res.data.details)
RefcolumnView.value.condition = JSON.parse(res.data.dataRules) // RefcolumnView.value.condition = JSON.parse(res.data.dataRules)
RefcolumnView.value.init(JSON.parse(res.data.dataRules))
columnViewType.value = true
detailId.value = res.data.id detailId.value = res.data.id
} }
} else { } else {
@ -118,10 +118,11 @@
customerName: props.customerName, customerName: props.customerName,
customerId: props.customerId, customerId: props.customerId,
}) })
RefcolumnView.value.init(null)
// feeField.value.SetData([]) // feeField.value.SetData([])
// feeField.value.condition = '' // feeField.value.condition = ''
} }
RefcolumnView.value.init(null)
setModalProps({ loading: false }) setModalProps({ loading: false })
}, },
) )

@ -12,6 +12,7 @@ if (res.succeeded) {
columnViewData.push({ columnViewData.push({
label: item.description, label: item.description,
value: item.description, value: item.description,
...item,
}) })
}) })
} }

Loading…
Cancel
Save