修改bug

This commit is contained in:
‘937886381’
2024-04-03 16:01:11 +08:00
parent 1fd547893f
commit 43e54e8ee7
19 changed files with 455 additions and 347 deletions

View File

@@ -1,18 +1,12 @@
<template>
<div class="app-container">
<!-- 搜索工作栏 -->
<SearchBar
:formConfigs="searchBarFormConfig"
ref="search-bar"
@headBtnClick="handleSearchBarBtnClick" />
<div class="app-container">
<!-- 搜索工作栏 -->
<SearchBar :formConfigs="searchBarFormConfig" ref="search-bar"
@headBtnClick="handleSearchBarBtnClick" />
<!-- 列表 -->
<base-table
:table-props="tableProps"
:page="1"
:limit="10"
:table-data="list">
<!-- <method-btn
<!-- 列表 -->
<base-table :max-height="tableH" :table-props="tableProps" :page="1" :limit="10" :table-data="list">
<!-- <method-btn
v-if="tableBtn.length"
slot="handleBtn"
label="操作"
@@ -20,18 +14,18 @@
fixed="right"
:method-list="tableBtn"
@clickBtn="handleTableBtnClick" /> -->
</base-table>
</base-table>
<!-- 分页组件 -->
<!-- <pagination
<!-- 分页组件 -->
<!-- <pagination
v-show="total > 0"
:total="total"
:page.sync="queryParams.pageNo"
:limit.sync="queryParams.pageSize"
@pagination="getList" /> -->
<!-- 对话框(添加 / 修改) -->
<!-- <base-dialog
<!-- 对话框(添加 / 修改) -->
<!-- <base-dialog
:dialogTitle="title"
:dialogVisible="open"
width="50%"
@@ -40,7 +34,7 @@
@confirm="submitForm">
<DialogForm v-if="open" ref="form" v-model="form" />
</base-dialog> -->
</div>
</div>
</template>
<script>
@@ -51,6 +45,7 @@ import {
} from '@/api/monitoring/statisticalData';
// import Editor from '@/components/Editor';
import moment from 'moment';
import tableHeightMixin from '@/mixins/lb/tableHeightMixin';
// import DialogForm from './dialogForm.vue';
// import basicPageMixin from '@/mixins/lb/basicPageMixin';
@@ -59,7 +54,7 @@ export default {
// components: {
// DialogForm,
// },
// mixins: [basicPageMixin],
mixins: [tableHeightMixin],
data() {
return {
list: [],
@@ -111,7 +106,13 @@ export default {
btnName: '查询',
name: 'search',
color: 'primary',
},
},
{
type: 'button',
btnName: '返回',
name: 'back',
color: 'primary',
},
// {
// type: this.$auth.hasPermi(
// 'base:quality-inspection-record:create'
@@ -373,8 +374,9 @@ export default {
this.queryParams.productionId = val.productionId ? val.productionId : undefined
this.queryParams.startTime = val.checkTime ? val.checkTime[0] : undefined
this.queryParams.endTime = val.checkTime ? val.checkTime[1] : undefined
this.getList()
} else if (val.btnName === 'back') {
this.$router.go(-1)
}
// console.log(val);
}