715036df by lihua

fix: 修复脱敏方式问题

1 parent f330b807
......@@ -196,7 +196,7 @@ const handleDataClick = (item) => {
router.push({
// name: "registerCatalogDetail",
path: props.dataSources == 1 ? '/data-asset/authordata-catalog/register-catalog-detail' : '/data-asset/register-catalog/register-catalog-detail',
query: { guid: item.guid, type: "asset", dataSources: props.dataSources },
query: { guid: item.guid, type: "asset", dataSources: props.dataSources, foundMode: item.foundMode },
});
}
};
......@@ -450,7 +450,7 @@ const handleUploadClose = (itemGuid) => {
</div>
<div class="label-main">
<div class="dataLabel" v-if="item.damTypeName">{{ item.damTypeName }}</div>
<div class="dataLabel" style="margin-left: 4px;">{{ item.subjectDomainName || item.subjectDomain || '--' }}</div>
<div class="dataLabel" v-show="item.subjectDomain" style="margin-left: 4px;">{{ item.subjectDomainName || item.subjectDomain || '--' }}</div>
</div>
</div>
<div class="v-middle">
......
......@@ -1512,7 +1512,7 @@ const setRegisterFormItems = (formValue, isEdit = false) => {
// item.visible = formValue.sharingType == '1' || formValue.sharingType == '2'
item.children && (item.children[1].visible = item.children[0].default == '5');
} else if (item.field == 'desensitizationMethodGroup') { //脱敏方式,现实条件,脱敏为是
item.visible = formValue['desensitizationSituation'] == 'Y';
item.visible = formValue.sensitiveInformation == 'Y' && formValue['desensitizationSituation'] == 'Y';
item.children && (item.children[1].visible = item.children[0].default == '7');
} else if (item.field == 'sharingTypeGroup') {
item.children && (item.children[1].visible = item.children[0].default == '2');
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!