|
@@ -23,7 +23,7 @@
|
|
|
<hc-table
|
|
|
:column="tableColumn" :datas="tableData" :loading="tableLoading"
|
|
|
is-new is-check :check-style="{ width: 29 }" :index-style="{ width: 60 }"
|
|
|
- @selection-change="tableCheckChange"
|
|
|
+ is-current-row @selection-change="tableCheckChange" @row-click="hanleRow"
|
|
|
>
|
|
|
<template #action="{ row }">
|
|
|
<el-link type="success" @click="rowEditClick(row)">修改</el-link>
|
|
@@ -131,7 +131,7 @@ const pageChange = ({ current, size }) => {
|
|
|
//表格数据
|
|
|
const tableLoading = ref(false)
|
|
|
const tableColumn = ref([
|
|
|
- { key: 'periodNumber', name: '计量期' },
|
|
|
+ { key: 'periodName', name: '计量期' },
|
|
|
{ key: 'businessDate', name: '业务日期' },
|
|
|
{ key: 'meterMoney', name: '计量金额' },
|
|
|
{ key: 'approveStatusName', name: '审批状态' },
|
|
@@ -184,7 +184,9 @@ const viewFile = (item)=>{
|
|
|
const tableCheckChange = () => {
|
|
|
|
|
|
}
|
|
|
-
|
|
|
+const hanleRow = ({ row })=>{
|
|
|
+ getDetail(row.id)
|
|
|
+}
|
|
|
//新增
|
|
|
const isDataModal = ref(false)
|
|
|
const addModalClick = () => {
|