|
@@ -9,7 +9,7 @@
|
|
</template>
|
|
</template>
|
|
<hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" is-new :index-style="{ width: 60 }">
|
|
<hc-table :column="tableColumn" :datas="tableData" :loading="tableLoading" is-new :index-style="{ width: 60 }">
|
|
<template #action="{ row }">
|
|
<template #action="{ row }">
|
|
- <el-link type="primary" @click="viewPdf(row)">查看报表</el-link>
|
|
|
|
|
|
+ <el-link type="primary" @click="isReportDrawer = true">查看报表</el-link>
|
|
<el-link type="success" @click="rowEditClick(row)">修改</el-link>
|
|
<el-link type="success" @click="rowEditClick(row)">修改</el-link>
|
|
<el-link type="danger" @click="rowDelClick(row)">删除</el-link>
|
|
<el-link type="danger" @click="rowDelClick(row)">删除</el-link>
|
|
<el-link v-loading="row?.recalculateLoading" @click="rowRecalculateClick(row)">重新计算</el-link>
|
|
<el-link v-loading="row?.recalculateLoading" @click="rowRecalculateClick(row)">重新计算</el-link>
|
|
@@ -157,10 +157,6 @@ const rowRecalculateClick = async (row) => {
|
|
window.$message.error(msg ?? '操作失败')
|
|
window.$message.error(msg ?? '操作失败')
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-//查看报表
|
|
|
|
-const viewPdf = (row)=>{
|
|
|
|
- toPdfPage(row.rawUrl)
|
|
|
|
-}
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|