b24883dd by lihua

运营管理员查看其它非连接器企业产品支持下载数据功能

1 parent 9b6df6b5
......@@ -1521,12 +1521,12 @@ const respParamsTableInfo = ref({
</template>
</el-table-column>
<el-table-column label="操作" v-if="!detailInfo.nodeId || foundMode == 'download' || foundMode == 'read' || foundMode == 'readAndDown'"
:width="foundMode == 'readAndDown' ? '220px' : '140px'" align="left" fixed="right" show-overflow-tooltip>
:width="foundMode == 'readAndDown' || (!detailInfo.nodeId && foundMode == '1' && userData.superTubeFlag == 'Y') ? '220px' : '140px'" align="left" fixed="right" show-overflow-tooltip>
<template #default="scope">
<!-- 如果是下载,就只显示下载,如果是查看和下载就都显示,就两个按钮都显示。仅查看,就仅查看 -->
<span v-show="foundMode != 'download'" class="text_btn" @click="handleTableViewData(scope)">查看样例数据</span>
<el-divider v-show="foundMode == 'readAndDown'" direction="vertical" />
<span v-show="foundMode == 'download' || foundMode == 'readAndDown'" class="text_btn"
<el-divider v-show="foundMode == 'readAndDown' || (!detailInfo.nodeId && foundMode == '1' && userData.superTubeFlag == 'Y')" direction="vertical" />
<span v-show="foundMode == 'download' || foundMode == 'readAndDown' || (!detailInfo.nodeId && foundMode == '1' && userData.superTubeFlag == 'Y')" class="text_btn"
@click="handleTableViewDataDown(scope)">下载数据</span>
</template>
</el-table-column>
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!