修改bug

This commit is contained in:
2024-02-29 16:46:25 +08:00
parent d750cbe0f8
commit 5deaa0bc1e
4 changed files with 112 additions and 18 deletions

View File

@@ -1,11 +1,12 @@
<template>
<div class="app-container">
<!-- 搜索工作栏 -->
<search-bar
<search-area @submit="buttonClick"/>
<!-- <search-bar
:formConfigs="formConfig"
ref="searchBarForm"
@headBtnClick="buttonClick"
/>
/> -->
<!-- 列表 -->
<base-table
:page="queryParams.pageNo"
@@ -34,10 +35,11 @@
</div>
</template>
<script>
import { groupTeamSchedulingPage, groupClassesListAll } from '@/api/monitoring/teamProduction'
import { groupTeamSchedulingPage } from '@/api/monitoring/teamProduction'
import { parseTime } from '@/utils/ruoyi'
import TeamProductionDetail from './components/teamProductionDetail'
import { publicFormatter } from '@/utils/dict'
import SearchArea from './components/searchArea'
const tableProps = [
{
prop: 'roomNameDict',
@@ -139,12 +141,11 @@ export default {
paramVisible: false
}
},
components: { TeamProductionDetail },
components: { TeamProductionDetail, SearchArea },
mounted() {
window.addEventListener('resize', () => {
this.tableH = this.tableHeight(260)
})
this.getGroupClass()
this.getList()
},
methods: {
@@ -163,11 +164,6 @@ export default {
this.total = res.data.total || 0
})
},
getGroupClass() {
groupClassesListAll().then(res => {
this.formConfig[0].selectOptions = res.data || []
})
},
handleClick(val) {
console.log(val)
this.paramVisible = true