同步过来的数据不能查看样例数据,不能编辑删除
Showing
3 changed files
with
6 additions
and
5 deletions
| ... | @@ -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 | } | ... | ... |
| ... | @@ -1434,8 +1434,7 @@ const respParamsTableInfo = ref({ | ... | @@ -1434,8 +1434,7 @@ const respParamsTableInfo = ref({ |
| 1434 | <span>{{ scope.row["updateTime"] || '--' }}</span> | 1434 | <span>{{ scope.row["updateTime"] || '--' }}</span> |
| 1435 | </template> | 1435 | </template> |
| 1436 | </el-table-column> | 1436 | </el-table-column> |
| 1437 | <el-table-column label="操作" minWidth="120px" align="left" fixed="right" v-if="!detailInfo.zqName" | 1437 | <el-table-column label="操作" v-if="!detailInfo.nodeId" minWidth="120px" align="left" fixed="right" show-overflow-tooltip> |
| 1438 | show-overflow-tooltip> | ||
| 1439 | <template #default="scope"> | 1438 | <template #default="scope"> |
| 1440 | <span class="text_btn" @click="handleTableViewData(scope)">查看样例数据</span> | 1439 | <span class="text_btn" @click="handleTableViewData(scope)">查看样例数据</span> |
| 1441 | </template> | 1440 | </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.foundMode != 3 && item.foundMode != 4 && item.foundMode != 5 && item.listingStatus != 'Y'" | 442 | <el-button plain v-if="!(item.isRegister == 'Y' || item.foundMode == 2) && item.foundMode != 3 && item.foundMode != 4 && item.foundMode != 5 && 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> | ... | ... |
-
Please register or sign in to post a comment