|
|
@@ -13,6 +13,7 @@
|
|
|
</template> -->
|
|
|
<template #expandedRowRender>
|
|
|
<BasicTable @register="registerInnerTable">
|
|
|
+ <template #emptyText> 暂无数据 </template>
|
|
|
<template #action="{ record }">
|
|
|
<button @click="handleEdit(record, 'goaf')" class="action-btn" title="编辑">
|
|
|
<SvgIcon name="edit" />
|
|
|
@@ -52,42 +53,6 @@
|
|
|
</Flex>
|
|
|
<BasicModal width="60%" @register="registerModal" @ok="handleSubmit" title="预警参数设置">
|
|
|
<BasicForm v-if="modalSign === 'coal'" @register="registerCoalForm">
|
|
|
- <template #InputRangeNumber="{ model, field, schema }">
|
|
|
- <a-form-item>
|
|
|
- <a-input-group>
|
|
|
- <a-input-number v-model:value="model[`${field}Start`]" style="width: calc(50% - 100px)" placeholder="-" />
|
|
|
- <a-input style="width: 200px; border-left: 0; pointer-events: none; color: inherit" :value="schema.groupName" disabled />
|
|
|
- <a-input-number v-model:value="model[`${field}End`]" style="width: calc(50% - 100px); border-left: 0" placeholder="-" />
|
|
|
- </a-input-group>
|
|
|
- </a-form-item>
|
|
|
- </template>
|
|
|
- <template #InputGreaterNumber="{ model, field, schema }">
|
|
|
- <a-form-item>
|
|
|
- <a-input-group>
|
|
|
- <a-input-number style="width: calc(50% - 100px)" placeholder="-" disabled />
|
|
|
- <a-input style="width: 200px; border-left: 0; pointer-events: none; color: inherit" :value="schema.groupName" disabled />
|
|
|
- <a-input-number v-model:value="model[field]" style="width: calc(50% - 100px); border-left: 0" placeholder="-" />
|
|
|
- </a-input-group>
|
|
|
- </a-form-item>
|
|
|
- </template>
|
|
|
- <template #InputLowerNumber="{ model, field, schema }">
|
|
|
- <a-form-item>
|
|
|
- <a-input-group>
|
|
|
- <a-input-number v-model:value="model[field]" style="width: calc(50% - 100px)" placeholder="-" />
|
|
|
- <a-input style="width: 200px; border-left: 0; pointer-events: none; color: inherit" :value="schema.groupName" disabled />
|
|
|
- <a-input-number style="width: calc(50% - 100px); border-left: 0" placeholder="-" disabled />
|
|
|
- </a-input-group>
|
|
|
- </a-form-item>
|
|
|
- </template>
|
|
|
- <template #InputRangeGoaf="{ model, field, schema }">
|
|
|
- <a-form-item v-if="model[field]">
|
|
|
- <a-input-group>
|
|
|
- <a-input-number v-model:value="model[field][`lowerLimit`]" style="width: calc(50% - 100px)" placeholder="-" />
|
|
|
- <a-input style="width: 200px; border-left: 0; pointer-events: none; color: inherit" :value="schema.groupName" disabled />
|
|
|
- <a-input-number v-model:value="model[field][`upperLimit`]" style="width: calc(50% - 100px); border-left: 0" placeholder="-" />
|
|
|
- </a-input-group>
|
|
|
- </a-form-item>
|
|
|
- </template>
|
|
|
<template #relation="{ model, field }">
|
|
|
<RelationBuilder class="h-full" v-model="model[field]" />
|
|
|
</template>
|
|
|
@@ -132,29 +97,29 @@
|
|
|
schemasCoalExpression,
|
|
|
schemasGoafLimit,
|
|
|
searchFormSchema,
|
|
|
- limitationModel,
|
|
|
+ // limitationModel,
|
|
|
schemasGoafInfo,
|
|
|
} from './algorithm.data';
|
|
|
import {
|
|
|
- addCoalSeamAlarmRule,
|
|
|
+ // addCoalSeamAlarmRule,
|
|
|
deleteCoalSeamAlarmRule,
|
|
|
deleteGoafDataLimit,
|
|
|
getCoalSeam,
|
|
|
getGoafList,
|
|
|
- updateCoalSeamAlarmRule,
|
|
|
+ // updateCoalSeamAlarmRule,
|
|
|
getCoalSeamAlarmRule,
|
|
|
- getGoafDataLimit,
|
|
|
- patchGoafDataLimit,
|
|
|
+ // getGoafDataLimit,
|
|
|
+ // patchGoafDataLimit,
|
|
|
patchCoalSeamAlarmRule,
|
|
|
patchCoalLimit,
|
|
|
patchGoafLimit,
|
|
|
updateGoaf,
|
|
|
- fetchGoafLimit,
|
|
|
+ // fetchGoafLimit,
|
|
|
fetchCoalLimit,
|
|
|
} from './algorithm.api';
|
|
|
import { Flex } from 'ant-design-vue';
|
|
|
// import { PlusOutlined } from '@ant-design/icons-vue';
|
|
|
- import { forEach, last, isString } from 'lodash-es';
|
|
|
+ import { last, isString } from 'lodash-es';
|
|
|
import { message } from 'ant-design-vue';
|
|
|
import { SvgIcon } from '/@/components/Icon';
|
|
|
import RelationBuilder from './components/RelationBuilder.vue';
|