|
@@ -12,6 +12,12 @@
|
|
<el-button :loading="copyClickLoading" plain type="primary" @click.stop="copyClick(item, index)">
|
|
<el-button :loading="copyClickLoading" plain type="primary" @click.stop="copyClick(item, index)">
|
|
复制本表
|
|
复制本表
|
|
</el-button>
|
|
</el-button>
|
|
|
|
+ <el-button :disabled="!item?.pdfUrl" plain type="primary" @click.stop="previewClick(item)">
|
|
|
|
+ 预览
|
|
|
|
+ </el-button>
|
|
|
|
+ <el-button plain type="primary" :loading="tableFormSaveLoading" @click="tableFormSaveClick(item)">
|
|
|
|
+ 保存
|
|
|
|
+ </el-button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -848,7 +854,7 @@ const saveExcelBussData = async ({ id }, dragItem = null, showTip = true) => {
|
|
//预览PDF
|
|
//预览PDF
|
|
const getBussPdfInfo = async ({ id }, dragItem = null, showTip = true) => {
|
|
const getBussPdfInfo = async ({ id }, dragItem = null, showTip = true) => {
|
|
setDragModalLoading(dragItem, '获取pdf中...', true)
|
|
setDragModalLoading(dragItem, '获取pdf中...', true)
|
|
- const { error, code, data } = await landApi.getBussPdfInfo({
|
|
|
|
|
|
+ const { error, code, data } = await landApi.getSingleBussPdfInfo({
|
|
id: id,
|
|
id: id,
|
|
}, false)
|
|
}, false)
|
|
setDragModalLoading(dragItem)
|
|
setDragModalLoading(dragItem)
|