|
@@ -26,7 +26,7 @@ const sheetActions = computed(() => {
|
|
|
else if (Source === 2) authList = [ etaTablePermission.etaTable_customize_data_refresh, etaTablePermission.etaTable_customize_data_download, etaTablePermission.etaTable_customize_data_del]
|
|
|
else authList = [ etaTablePermission.etaTable_customize_mix_refresh, etaTablePermission.etaTable_excel_download, etaTablePermission.etaTable_excel_del]
|
|
|
return [
|
|
|
- { label: globalProperties.$t('shared_table.refresh'), types:'flushed', src: getStaticImg('table/flushed.png'), isAuth: Source === 2 ? true : checkAuthBtn(authList[0]) }, /* 因为pc端时间序列表格没有刷新这个权限,所以暂时直接给true */
|
|
|
+ // { label: globalProperties.$t('shared_table.refresh'), types:'flushed', src: getStaticImg('table/flushed.png'), isAuth: Source === 2 ? true : checkAuthBtn(authList[0]) }, /* 因为pc端时间序列表格没有刷新这个权限,所以暂时直接给true */
|
|
|
{ label: globalProperties.$t('shared_table.download'), types:'download', src: getStaticImg('table/download.png'), isAuth: checkAuthBtn(authList[1])},
|
|
|
{ label: globalProperties.$t('shared_table.delete'), types:'delete', src: getStaticImg('table/delete.png'), isAuth: checkAuthBtn(authList[2])},
|
|
|
]
|
|
@@ -210,15 +210,15 @@ function Base64() {
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="sheet-box" v-if="queryData.UniqueCode">
|
|
|
- <iframe :src="link + '/sheetshow?code=' + queryData.UniqueCode" frameborder="0" width="100%" height="100%"></iframe>
|
|
|
+ <iframe v-if="link" :src="link + '/sheetshow?code=' + queryData.UniqueCode" frameborder="0" width="100%" height="100%"></iframe>
|
|
|
</div>
|
|
|
<div class="bottom">
|
|
|
- <div v-for="item in sheetActions" :key="item.types">
|
|
|
+ <template v-for="item in sheetActions" :key="item.types">
|
|
|
<div class="bottom-item" @click="handleActionClick(item)" v-if="item.isAuth">
|
|
|
<img :src="item.src" alt="">
|
|
|
<div>{{item.label}}</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </template>
|
|
|
</div>
|
|
|
<!-- 更多设置弹窗 -->
|
|
|
<van-popup
|
|
@@ -274,7 +274,7 @@ function Base64() {
|
|
|
}
|
|
|
.sheet-box{
|
|
|
width: 100%;
|
|
|
- height: calc(100% - 200px);
|
|
|
+ height: calc(100% - 220px);
|
|
|
// background-color: pink;
|
|
|
}
|
|
|
.sheet-more-action-wrap{
|
|
@@ -300,7 +300,16 @@ function Base64() {
|
|
|
}
|
|
|
}
|
|
|
.bottom {
|
|
|
+ padding-top: 20px;
|
|
|
+ height: 120px;
|
|
|
+ position: fixed;
|
|
|
+ left: 0;
|
|
|
+ bottom: 0;
|
|
|
+ right: 0;
|
|
|
+ z-index: 99;
|
|
|
+ margin-top: 10px;
|
|
|
display: flex;
|
|
|
+ background-color: #fff;
|
|
|
justify-content: space-around;
|
|
|
.bottom-item {
|
|
|
color: rgba(51, 51, 51, 1);
|
|
@@ -355,7 +364,7 @@ function Base64() {
|
|
|
.bottom {
|
|
|
margin: 10px 0;
|
|
|
display: flex;
|
|
|
- justify-content: space-between;
|
|
|
+ justify-content: space-around;
|
|
|
.bottom-item {
|
|
|
color: rgba(51, 51, 51, 1);
|
|
|
font-size: 10px;
|