上架之后不能编辑
Showing
1 changed file
with
3 additions
and
3 deletions
| ... | @@ -181,7 +181,7 @@ const tableBtnClick = (scope, btn) => { | ... | @@ -181,7 +181,7 @@ const tableBtnClick = (scope, btn) => { |
| 181 | 181 | ||
| 182 | const handleDataClick = (item) => { | 182 | const handleDataClick = (item) => { |
| 183 | //同步过来的要显示详情页面。 | 183 | //同步过来的要显示详情页面。 |
| 184 | if (item.nodeId) { | 184 | if (item.nodeId || item.listingStatus == 'Y') { |
| 185 | router.push({ | 185 | router.push({ |
| 186 | // name: "registerCatalogDetail", | 186 | // name: "registerCatalogDetail", |
| 187 | path: props.dataSources == 1 ? '/data-asset/authordata-catalog/register-catalog-detail' : '/data-asset/register-catalog/register-catalog-detail', | 187 | path: props.dataSources == 1 ? '/data-asset/authordata-catalog/register-catalog-detail' : '/data-asset/register-catalog/register-catalog-detail', |
| ... | @@ -450,9 +450,9 @@ const handleUploadClose = (itemGuid) => { | ... | @@ -450,9 +450,9 @@ const handleUploadClose = (itemGuid) => { |
| 450 | <!-- TODO,上架之后不可以删除, 上架可以编辑,下架之后以及数据交付后可以删除。数据在交付状态不可以编辑。只有数据交付之后才可以编辑 --> | 450 | <!-- TODO,上架之后不可以删除, 上架可以编辑,下架之后以及数据交付后可以删除。数据在交付状态不可以编辑。只有数据交付之后才可以编辑 --> |
| 451 | <el-button plain v-if="!(item.isRegister == 'Y' || item.foundMode == 2) && item.listingStatus != 'Y' && !item.nodeId" | 451 | <el-button plain v-if="!(item.isRegister == 'Y' || item.foundMode == 2) && item.listingStatus != 'Y' && !item.nodeId" |
| 452 | @click.stop="tableBtnClick(item, 'delete')">删除</el-button> | 452 | @click.stop="tableBtnClick(item, 'delete')">删除</el-button> |
| 453 | <el-button plain v-if="!(item.isRegister == 'Y') && item.foundMode != 3 && item.foundMode != 4 && item.foundMode != 5 && !item.nodeId" @click.stop="handleDataClick(item)">编辑</el-button> | 453 | <el-button plain v-if="!(item.isRegister == 'Y') && item.foundMode != 3 && item.foundMode != 4 && item.listingStatus != 'Y' && item.foundMode != 5 && !item.nodeId" @click.stop="handleDataClick(item)">编辑</el-button> |
| 454 | <!-- <el-button plain @click.stop="handleClickUploadBtn(item)" v-if="item.isRegister == 'Y' && item.foundMode != 3 && item.foundMode != 4 && item.foundMode != 5">上传交付物</el-button> --> | 454 | <!-- <el-button plain @click.stop="handleClickUploadBtn(item)" v-if="item.isRegister == 'Y' && item.foundMode != 3 && item.foundMode != 4 && item.foundMode != 5">上传交付物</el-button> --> |
| 455 | <el-button plain @click.stop="handleDataClick(item)" v-if="(item.isRegister == 'Y' || item.foundMode == 3 || item.foundMode == 4 || item.foundMode == 5 || item.nodeId)">详情</el-button> | 455 | <el-button plain @click.stop="handleDataClick(item)" v-if="(item.isRegister == 'Y' || item.foundMode == 3 || item.foundMode == 4 || item.foundMode == 5 || item.nodeId || item.listingStatus == 'Y')">详情</el-button> |
| 456 | </div> | 456 | </div> |
| 457 | </div> | 457 | </div> |
| 458 | </div> | 458 | </div> | ... | ... |
-
Please register or sign in to post a comment