fix: 修复脱敏方式问题
Showing
2 changed files
with
4 additions
and
4 deletions
| ... | @@ -198,7 +198,7 @@ const handleDataClick = (item) => { | ... | @@ -198,7 +198,7 @@ const handleDataClick = (item) => { |
| 198 | router.push({ | 198 | router.push({ |
| 199 | // name: "registerCatalogDetail", | 199 | // name: "registerCatalogDetail", |
| 200 | path: props.dataSources == 1 ? '/data-asset/authordata-catalog/register-catalog-detail' : '/data-asset/register-catalog/register-catalog-detail', | 200 | path: props.dataSources == 1 ? '/data-asset/authordata-catalog/register-catalog-detail' : '/data-asset/register-catalog/register-catalog-detail', |
| 201 | query: { guid: item.guid, type: "asset", dataSources: props.dataSources }, | 201 | query: { guid: item.guid, type: "asset", dataSources: props.dataSources, foundMode: item.foundMode }, |
| 202 | }); | 202 | }); |
| 203 | } | 203 | } |
| 204 | }; | 204 | }; |
| ... | @@ -452,7 +452,7 @@ const handleUploadClose = (itemGuid) => { | ... | @@ -452,7 +452,7 @@ const handleUploadClose = (itemGuid) => { |
| 452 | </div> | 452 | </div> |
| 453 | <div class="label-main"> | 453 | <div class="label-main"> |
| 454 | <div class="dataLabel" v-if="item.damTypeName">{{ item.damTypeName }}</div> | 454 | <div class="dataLabel" v-if="item.damTypeName">{{ item.damTypeName }}</div> |
| 455 | <div class="dataLabel" style="margin-left: 4px;">{{ item.subjectDomainName || item.subjectDomain || '--' }}</div> | 455 | <div class="dataLabel" v-show="item.subjectDomain" style="margin-left: 4px;">{{ item.subjectDomainName || item.subjectDomain || '--' }}</div> |
| 456 | </div> | 456 | </div> |
| 457 | </div> | 457 | </div> |
| 458 | <div class="v-middle"> | 458 | <div class="v-middle"> |
| ... | @@ -471,7 +471,7 @@ const handleUploadClose = (itemGuid) => { | ... | @@ -471,7 +471,7 @@ const handleUploadClose = (itemGuid) => { |
| 471 | </div> | 471 | </div> |
| 472 | </div> | 472 | </div> |
| 473 | <div class="v-bottom"> | 473 | <div class="v-bottom"> |
| 474 | <el-button plain v-if="!(item.isRegister == 'Y' || item.foundMode == 2) && item.foundMode != 3" | 474 | <el-button plain v-if="!(item.isRegister == 'Y' || item.foundMode == 2) && item.foundMode != 3 && item.foundMode != 4" |
| 475 | @click.stop="tableBtnClick(item, 'delete')">删除</el-button> | 475 | @click.stop="tableBtnClick(item, 'delete')">删除</el-button> |
| 476 | <el-button plain v-if="!(item.isRegister == 'Y') && item.foundMode != 3 && item.foundMode != 4" @click.stop="handleDataClick(item)">编辑</el-button> | 476 | <el-button plain v-if="!(item.isRegister == 'Y') && item.foundMode != 3 && item.foundMode != 4" @click.stop="handleDataClick(item)">编辑</el-button> |
| 477 | <el-button plain @click.stop="handleClickUploadBtn(item)" v-if="item.isRegister == 'Y' && item.foundMode != 3 && item.foundMode != 4">上传交付物</el-button> | 477 | <el-button plain @click.stop="handleClickUploadBtn(item)" v-if="item.isRegister == 'Y' && item.foundMode != 3 && item.foundMode != 4">上传交付物</el-button> | ... | ... |
| ... | @@ -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