|
@@ -36,7 +36,7 @@
|
|
|
<el-button type="warning" class="ml-2" @click="importClick">导入</el-button>
|
|
|
<!-- el-button v-yes-com:[deriveTableItem] type="primary" class="ml-2" :disabled="tableCheckKeys.length <= 0">批量导出</el-button -->
|
|
|
</template>
|
|
|
- <HcTableList ref="tableRef" is-admin :datas="tableData" :plan-year="searchForm.planYear" @tap="rowNameClick" @check="tableCheck" @change="searchClick" />
|
|
|
+ <HcTableList ref="tableRef" is-admin :datas="tableData" :plan-year="searchForm.planYear" @tap="rowNameClick" @check="tableCheck" @change="changeClick" />
|
|
|
<template #action>
|
|
|
<div>建设规模:共计 {{ buildTotal }} 公里</div>
|
|
|
<hc-pages :pages="searchForm" @change="pageChange" />
|
|
@@ -173,7 +173,10 @@ const pageChange = ({ current, size }) => {
|
|
|
searchForm.value.size = size
|
|
|
getTableData()
|
|
|
}
|
|
|
-
|
|
|
+const changeClick = (val) => {
|
|
|
+ // searchForm.value.planYear = val
|
|
|
+ getTableData()
|
|
|
+}
|
|
|
//表格被选择
|
|
|
const tableCheckKeys = ref([])
|
|
|
const tableCheck = (row) => {
|