fix: 修复脱敏方式问题
Showing
2 changed files
with
3 additions
and
3 deletions
| ... | @@ -196,7 +196,7 @@ const handleDataClick = (item) => { | ... | @@ -196,7 +196,7 @@ const handleDataClick = (item) => { |
| 196 | router.push({ | 196 | router.push({ |
| 197 | // name: "registerCatalogDetail", | 197 | // name: "registerCatalogDetail", |
| 198 | path: props.dataSources == 1 ? '/data-asset/authordata-catalog/register-catalog-detail' : '/data-asset/register-catalog/register-catalog-detail', | 198 | path: props.dataSources == 1 ? '/data-asset/authordata-catalog/register-catalog-detail' : '/data-asset/register-catalog/register-catalog-detail', |
| 199 | query: { guid: item.guid, type: "asset", dataSources: props.dataSources }, | 199 | query: { guid: item.guid, type: "asset", dataSources: props.dataSources, foundMode: item.foundMode }, |
| 200 | }); | 200 | }); |
| 201 | } | 201 | } |
| 202 | }; | 202 | }; |
| ... | @@ -450,7 +450,7 @@ const handleUploadClose = (itemGuid) => { | ... | @@ -450,7 +450,7 @@ const handleUploadClose = (itemGuid) => { |
| 450 | </div> | 450 | </div> |
| 451 | <div class="label-main"> | 451 | <div class="label-main"> |
| 452 | <div class="dataLabel" v-if="item.damTypeName">{{ item.damTypeName }}</div> | 452 | <div class="dataLabel" v-if="item.damTypeName">{{ item.damTypeName }}</div> |
| 453 | <div class="dataLabel" style="margin-left: 4px;">{{ item.subjectDomainName || item.subjectDomain || '--' }}</div> | 453 | <div class="dataLabel" v-show="item.subjectDomain" style="margin-left: 4px;">{{ item.subjectDomainName || item.subjectDomain || '--' }}</div> |
| 454 | </div> | 454 | </div> |
| 455 | </div> | 455 | </div> |
| 456 | <div class="v-middle"> | 456 | <div class="v-middle"> | ... | ... |
| ... | @@ -1512,7 +1512,7 @@ const setRegisterFormItems = (formValue, isEdit = false) => { | ... | @@ -1512,7 +1512,7 @@ const setRegisterFormItems = (formValue, isEdit = false) => { |
| 1512 | // item.visible = formValue.sharingType == '1' || formValue.sharingType == '2' | 1512 | // item.visible = formValue.sharingType == '1' || formValue.sharingType == '2' |
| 1513 | item.children && (item.children[1].visible = item.children[0].default == '5'); | 1513 | item.children && (item.children[1].visible = item.children[0].default == '5'); |
| 1514 | } else if (item.field == 'desensitizationMethodGroup') { //脱敏方式,现实条件,脱敏为是 | 1514 | } else if (item.field == 'desensitizationMethodGroup') { //脱敏方式,现实条件,脱敏为是 |
| 1515 | item.visible = formValue['desensitizationSituation'] == 'Y'; | 1515 | item.visible = formValue.sensitiveInformation == 'Y' && formValue['desensitizationSituation'] == 'Y'; |
| 1516 | item.children && (item.children[1].visible = item.children[0].default == '7'); | 1516 | item.children && (item.children[1].visible = item.children[0].default == '7'); |
| 1517 | } else if (item.field == 'sharingTypeGroup') { | 1517 | } else if (item.field == 'sharingTypeGroup') { |
| 1518 | item.children && (item.children[1].visible = item.children[0].default == '2'); | 1518 | item.children && (item.children[1].visible = item.children[0].default == '2'); | ... | ... |
-
Please register or sign in to post a comment