流程表调整

This commit is contained in:
joylink_zhaoerwei 2024-11-15 09:18:14 +08:00
parent 02e49ec6fa
commit 2aad7d4139

View File

@ -15,7 +15,7 @@
/> />
</q-tabs> </q-tabs>
<q-separator /> <q-separator />
<q-tab-panel> <q-tab-panel name="info">
<div class="dialogContainer"> <div class="dialogContainer">
<q-table <q-table
ref="tableRef" ref="tableRef"
@ -30,7 +30,7 @@
class="left" class="left"
> >
<template v-slot:top-right> <template v-slot:top-right>
<q-form ref="myForm" @submit="searchDecisionInfo" style="width: 100%"> <q-form ref="myForm" style="width: 100%">
<div class="q-gutter-md q-mt-none row justify-center items-start"> <div class="q-gutter-md q-mt-none row justify-center items-start">
<q-select <q-select
dense dense
@ -43,7 +43,6 @@
style="width: 75px" style="width: 75px"
no-error-icon no-error-icon
lazy-rules lazy-rules
@update:model-value="handleSelectSearchLineId"
:rules="[(val) => val >= 0 || '请选择线路ID']" :rules="[(val) => val >= 0 || '请选择线路ID']"
/> />
<q-select <q-select
@ -140,8 +139,15 @@ import {
import { pageQuery } from 'src/api/LineInfoApi'; import { pageQuery } from 'src/api/LineInfoApi';
import { ApiError } from 'src/boot/axios'; import { ApiError } from 'src/boot/axios';
const $q = useQuasar(); const props = withDefaults(
defineProps<{
sizeHeight: number;
sizeWidth: number;
}>(),
{ sizeHeight: 500, sizeWidth: 500 }
);
const $q = useQuasar();
const tab = ref('GUIDE'); const tab = ref('GUIDE');
const tableTitle = reactive({ const tableTitle = reactive({
faultNameShower: '', faultNameShower: '',
@ -416,11 +422,11 @@ onMounted(() => {
display: flex; display: flex;
height: calc(100vh - 120px); height: calc(100vh - 120px);
.left { .left {
width: calc(50vw + 60px); width: 67%;
} }
.right { .right {
flex: 1; flex: 1;
height: calc(100vh - 120px); height: 100%;
.detaiRow { .detaiRow {
margin: 10px 0 0 20px; margin: 10px 0 0 20px;
.text { .text {