|
@@ -196,11 +196,16 @@
|
|
</template>
|
|
</template>
|
|
<div class="hc-switch-tab-content">
|
|
<div class="hc-switch-tab-content">
|
|
<div class="h-full w-full">
|
|
<div class="h-full w-full">
|
|
- <div v-if="tableRowData[tabTypeKey]" style="text-align:center">
|
|
|
|
|
|
+ <div v-if="tableRowData[tabTypeKey]" style="text-align:center;height:100%">
|
|
<iframe v-if="tableRowData[tabTypeKey]&&ispdf!==-1" :src="tableRowData[tabTypeKey]" allow="display-capture" frameborder='1'
|
|
<iframe v-if="tableRowData[tabTypeKey]&&ispdf!==-1" :src="tableRowData[tabTypeKey]" allow="display-capture" frameborder='1'
|
|
- height='100%' style="height:500px;width:90%"
|
|
|
|
|
|
+ height='100%' style="height: 100%;"
|
|
width='100%'/>
|
|
width='100%'/>
|
|
|
|
|
|
|
|
+ <el-button hc-btn size="small" type="primary" @click="deleteFile" v-if="tableRowData[tabTypeKey]&&ispdf!==-1">
|
|
|
|
+ <HcIcon name="delete-bin-2"/>
|
|
|
|
+ <span>删除</span>
|
|
|
|
+ </el-button>
|
|
|
|
+
|
|
<div v-if="ispdf==-1" class="hc-no-table-form">
|
|
<div v-if="ispdf==-1" class="hc-no-table-form">
|
|
<div class="table-form-no" style="margin-top:100px">
|
|
<div class="table-form-no" style="margin-top:100px">
|
|
<!-- <img :src="notableform" alt=""/>
|
|
<!-- <img :src="notableform" alt=""/>
|
|
@@ -213,13 +218,15 @@
|
|
<el-link :href="tableRowData[tabTypeKey]" style="margin-top:10px" type="primary">
|
|
<el-link :href="tableRowData[tabTypeKey]" style="margin-top:10px" type="primary">
|
|
{{ splitFileName(tableRowData[tabTypeKey]) }}
|
|
{{ splitFileName(tableRowData[tabTypeKey]) }}
|
|
</el-link>
|
|
</el-link>
|
|
|
|
+ <el-button hc-btn size="small" type="primary" @click="deleteFile">
|
|
|
|
+ <HcIcon name="delete-bin-2"/>
|
|
|
|
+ <span>删除</span>
|
|
|
|
+ </el-button>
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
|
|
|
|
- <el-button hc-btn size="small" type="primary" @click="deleteFile">
|
|
|
|
- <HcIcon name="delete-bin-2"/>
|
|
|
|
- <span>删除</span>
|
|
|
|
- </el-button>
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
|
|