|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
- <div class="custom-form">
|
|
|
- <div class="custom-form__wrapper">
|
|
|
+ <div class="setting-form">
|
|
|
+ <div class="setting-form__wrapper">
|
|
|
<FormTitle icon="gas-pump" title="工作面参数" />
|
|
|
<BasicForm :schemas="workSurfaceFormSchema" @register="regWSForm" @submit="submitHandler">
|
|
|
<template #input="{ model, field, schema }">
|
|
@@ -8,7 +8,7 @@
|
|
|
</template>
|
|
|
</BasicForm>
|
|
|
</div>
|
|
|
- <div class="custom-form__wrapper">
|
|
|
+ <div class="setting-form__wrapper">
|
|
|
<FormTitle icon="pump" title="抽采单元参数" />
|
|
|
<BasicForm :schemas="extractionUnitFormSchema" @register="regEUForm" @submit="submitHandler">
|
|
|
<template #input="{ model, field, schema }">
|
|
@@ -16,7 +16,7 @@
|
|
|
</template>
|
|
|
</BasicForm>
|
|
|
</div>
|
|
|
- <div class="custom-form__wrapper">
|
|
|
+ <div class="setting-form__wrapper">
|
|
|
<FormTitle icon="water-pump" title="计算参数" />
|
|
|
<BasicForm :schemas="calculationFormSchema" @register="regCCForm" @submit="submitHandler">
|
|
|
<template #radio="{ model, field, schema }">
|
|
@@ -33,9 +33,9 @@
|
|
|
</BasicForm>
|
|
|
</div>
|
|
|
<div class="text-right">
|
|
|
- <Button class="mr-10px custom-form__button" type="primary" ghost @click="cancel">取消</Button>
|
|
|
- <Button class="mr-10px custom-form__button" type="primary" ghost @click="save">保存</Button>
|
|
|
- <Button class="mr-10px custom-form__button" type="primary" ghost @click="submit">提交</Button>
|
|
|
+ <Button class="mr-10px setting-form__button" type="primary" ghost @click="cancel">取消</Button>
|
|
|
+ <Button class="mr-10px setting-form__button" type="primary" ghost @click="save">保存</Button>
|
|
|
+ <Button class="mr-10px setting-form__button" type="primary" ghost @click="submit">提交</Button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</template>
|
|
@@ -45,7 +45,7 @@
|
|
|
import ListItem from '@/views/vent/gas/components/list/listItem.vue';
|
|
|
import FormTitle from '@/views/vent/gas/components/form/formTitle.vue';
|
|
|
import { useForm, BasicForm } from '/@/components/Form';
|
|
|
- import { workSurfaceFormSchema, extractionUnitFormSchema, calculationFormSchema } from '../gasPumpMonitor.data';
|
|
|
+ import { workSurfaceFormSchema, extractionUnitFormSchema, calculationFormSchema } from '../gasPumpSetting.data';
|
|
|
import { ref } from 'vue';
|
|
|
|
|
|
const emit = defineEmits(['submit', 'save', 'cancel']);
|
|
@@ -87,15 +87,19 @@
|
|
|
<style lang="less" scoped>
|
|
|
@import '@/design/vent/color.less';
|
|
|
|
|
|
- .custom-form__wrapper {
|
|
|
+ .setting-form {
|
|
|
+ padding: 0 20px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .setting-form__wrapper {
|
|
|
color: #fff;
|
|
|
border-top: 3px solid @vent-gas-primary-text;
|
|
|
background-color: #0091ff12;
|
|
|
- padding: 20px 20px 0 20px;
|
|
|
- margin-bottom: 20px;
|
|
|
+ padding: 10px 10px 0 10px;
|
|
|
+ margin-bottom: 10px;
|
|
|
}
|
|
|
|
|
|
- .custom-form__button {
|
|
|
+ .setting-form__button {
|
|
|
color: @vent-gas-primary-text;
|
|
|
border-color: @vent-gas-primary-text;
|
|
|
background-color: transparent !important;
|