|
@@ -229,8 +229,6 @@
|
|
|
<div v-if="tableRowData[tabTypeKey]" style="text-align:center;height:100%">
|
|
|
<div class="hc-no-table-form">
|
|
|
<div class="table-form-no" style="margin-top:100px">
|
|
|
- <!-- <img :src="notableform" alt=""/>
|
|
|
- <div class="desc">暂无 PDF 数据,请上传</div> -->
|
|
|
<HcDragUpload
|
|
|
accept="image/png,image/jpg,image/jpeg,application/pdf,.doc,.docx,application/msword" action="endpoint/put-file-attach" format-tip=":jpg/png/pdf/excel/word.pdf"
|
|
|
auto-upload
|
|
@@ -238,7 +236,8 @@
|
|
|
@progress="tableRowPdfProgress"
|
|
|
/>
|
|
|
<el-link style="margin-top:10px" type="primary" @click="tableItemClick(tableRowData)">
|
|
|
- {{ splitFileName(tableRowData[tabTypeKey]) }}
|
|
|
+ <!-- {{ splitFileName(tableRowData[tabTypeKey]) }} -->
|
|
|
+ {{ `${tableRowData[`${tabTypeKey}Name`]}` }}
|
|
|
</el-link>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -387,7 +386,7 @@ const tableColumn = ref([
|
|
|
const tableRowData = ref({})
|
|
|
const tableItemClick = (row) => {
|
|
|
console.log(row, 'rwo')
|
|
|
-
|
|
|
+ toPdfPage(row.productionCertificate)
|
|
|
}
|
|
|
|
|
|
//获取数据
|
|
@@ -762,7 +761,8 @@ const tableRowPdfFinished = async (data1) => {
|
|
|
tableRowPdfDisabled.value = true
|
|
|
const row = tableRowData.value, key = tabTypeKey.value
|
|
|
row[key] = data1?.link
|
|
|
- ispdf.value = getCaption(row[key])
|
|
|
+ row[key + 'Name'] = data1.originalName
|
|
|
+
|
|
|
// //保存请求
|
|
|
// const { error, code } = await approachApi.submitForm({
|
|
|
// ...row,
|