|
@@ -166,7 +166,7 @@
|
|
</HcDialog>
|
|
</HcDialog>
|
|
|
|
|
|
<!--导入-->
|
|
<!--导入-->
|
|
- <HcDialog :show="importModal" isRowFooter title="导入" widths="38rem" @close="importModalClose">
|
|
|
|
|
|
+ <HcDialog :show="importModal" isRowFooter title="导入" widths="38rem" @close="importModalClose" >
|
|
<HcDragUpload ref="uploadRef" :api="'/api/blade-business/material/'" :datas="uploadData" action="mobilization/import"
|
|
<HcDragUpload ref="uploadRef" :api="'/api/blade-business/material/'" :datas="uploadData" action="mobilization/import"
|
|
@finished="uploadFinished" @progress="uploadprogress"/>
|
|
@finished="uploadFinished" @progress="uploadprogress"/>
|
|
<template #leftRowFooter>
|
|
<template #leftRowFooter>
|
|
@@ -188,7 +188,7 @@
|
|
</HcDialog>
|
|
</HcDialog>
|
|
|
|
|
|
<!--查看附件-->
|
|
<!--查看附件-->
|
|
- <HcDialog :footer="false" :show="viewAttachmentModal" isTable title="查看附件" widths="70rem"
|
|
|
|
|
|
+ <HcDialog :show="viewAttachmentModal" isTable title="查看附件" widths="70rem" isRowFooter
|
|
@close="viewAttachmentModalClose">
|
|
@close="viewAttachmentModalClose">
|
|
<template #extra>
|
|
<template #extra>
|
|
<HcNewSwitch :datas="tabTypeTab" :disabled="tableRowPdfDisabled" :keys="tabTypeKey"
|
|
<HcNewSwitch :datas="tabTypeTab" :disabled="tableRowPdfDisabled" :keys="tabTypeKey"
|
|
@@ -196,11 +196,10 @@
|
|
</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%'/>
|
|
-
|
|
|
|
<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=""/>
|
|
@@ -215,12 +214,6 @@
|
|
</el-link>
|
|
</el-link>
|
|
</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>
|
|
|
|
|
|
<div v-else class="hc-no-table-form">
|
|
<div v-else class="hc-no-table-form">
|
|
@@ -236,6 +229,12 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <template #rightRowFooter >
|
|
|
|
+ <el-button hc-btn size="large" type="primary" @click="deleteFile" v-if="tableRowData[tabTypeKey]">
|
|
|
|
+ <HcIcon name="delete-bin-2"/>
|
|
|
|
+ <span>删除</span>
|
|
|
|
+ </el-button>
|
|
|
|
+ </template>
|
|
</HcDialog>
|
|
</HcDialog>
|
|
|
|
|
|
<!--取样记录-->
|
|
<!--取样记录-->
|