0ab34084 by lihua

同步过来的数据不能查看样例数据,不能编辑删除

1 parent 4a37e5f0
...@@ -627,6 +627,7 @@ const assetDataTableInfo = ref({ ...@@ -627,6 +627,7 @@ const assetDataTableInfo = ref({
627 }) 627 })
628 } 628 }
629 }); 629 });
630 if (!detailInfo.value.nodeId) {
630 btns.push({ 631 btns.push({
631 label: "查看样例数据", value: "viewData", click: (scope) => { 632 label: "查看样例数据", value: "viewData", click: (scope) => {
632 let row = scope.row; 633 let row = scope.row;
...@@ -643,6 +644,7 @@ const assetDataTableInfo = ref({ ...@@ -643,6 +644,7 @@ const assetDataTableInfo = ref({
643 } 644 }
644 }); 645 });
645 } 646 }
647 }
646 return btns; 648 return btns;
647 } 649 }
648 } 650 }
......
...@@ -1449,7 +1449,7 @@ const respParamsTableInfo = ref({ ...@@ -1449,7 +1449,7 @@ const respParamsTableInfo = ref({
1449 <span>{{ scope.row["updateTime"] || '--' }}</span> 1449 <span>{{ scope.row["updateTime"] || '--' }}</span>
1450 </template> 1450 </template>
1451 </el-table-column> 1451 </el-table-column>
1452 <el-table-column label="操作" minWidth="120px" align="left" fixed="right" show-overflow-tooltip> 1452 <el-table-column label="操作" v-if="!detailInfo.nodeId" minWidth="120px" align="left" fixed="right" show-overflow-tooltip>
1453 <template #default="scope"> 1453 <template #default="scope">
1454 <span class="text_btn" @click="handleTableViewData(scope)">查看样例数据</span> 1454 <span class="text_btn" @click="handleTableViewData(scope)">查看样例数据</span>
1455 </template> 1455 </template>
......
...@@ -439,11 +439,11 @@ const handleUploadClose = (itemGuid) => { ...@@ -439,11 +439,11 @@ const handleUploadClose = (itemGuid) => {
439 </div> 439 </div>
440 <div class="v-bottom"> 440 <div class="v-bottom">
441 <!-- TODO,上架之后不可以删除, 上架可以编辑,下架之后以及数据交付后可以删除。数据在交付状态不可以编辑。只有数据交付之后才可以编辑 --> 441 <!-- TODO,上架之后不可以删除, 上架可以编辑,下架之后以及数据交付后可以删除。数据在交付状态不可以编辑。只有数据交付之后才可以编辑 -->
442 <el-button plain v-if="!(item.isRegister == 'Y' || item.foundMode == 2) && item.listingStatus != 'Y'" 442 <el-button plain v-if="!(item.isRegister == 'Y' || item.foundMode == 2) && item.listingStatus != 'Y' && !item.nodeId"
443 @click.stop="tableBtnClick(item, 'delete')">删除</el-button> 443 @click.stop="tableBtnClick(item, 'delete')">删除</el-button>
444 <el-button plain v-if="!(item.isRegister == 'Y') && item.foundMode != 3 && item.foundMode != 4 && item.foundMode != 5" @click.stop="handleDataClick(item)">编辑</el-button> 444 <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>
445 <!-- <el-button plain @click.stop="handleClickUploadBtn(item)" v-if="item.isRegister == 'Y' && item.foundMode != 3 && item.foundMode != 4 && item.foundMode != 5">上传交付物</el-button> --> 445 <!-- <el-button plain @click.stop="handleClickUploadBtn(item)" v-if="item.isRegister == 'Y' && item.foundMode != 3 && item.foundMode != 4 && item.foundMode != 5">上传交付物</el-button> -->
446 <el-button plain @click.stop="handleDataClick(item)" v-if="(item.isRegister == 'Y' || item.foundMode == 3 || item.foundMode == 4 || item.foundMode == 5)">详情</el-button> 446 <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>
447 </div> 447 </div>
448 </div> 448 </div>
449 </div> 449 </div>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!