修改bug

This commit is contained in:
yangjun 2025-08-19 15:11:36 +08:00
parent 68de775664
commit 7e9713191b
3 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,6 @@
<a-drawer :title="title" :width="width" v-model:visible="visible" :closable="true"
:footer-style="{ textAlign: 'right' }" @close="handleCancel">
<DepartUtilsList ref="registerForm" @ok="submitCallback" :formDisabled="disableSubmit" :formBpm="false"></DepartUtilsList>
<ConfigMaterialTypeForm ref="registerForm" @ok="submitCallback" :formDisabled="disableSubmit" :formBpm="false"></ConfigMaterialTypeForm>
<template #footer>
<a-button type="primary" style="margin-right: 8px" @click="handleCancel">关闭</a-button>
<a-button type="primary" @click="handleOk" v-if="!disableSubmit">确认</a-button>

View File

@ -155,10 +155,12 @@ import { defHttp } from '/@/utils/http/axios';
{
label: '拉闸',
onClick: handleControlLz.bind(null, record),
ifShow: record.relayState == 1,
},
{
label: '合闸',
onClick: handleControlHz.bind(null, record),
ifShow: record.relayState == 0,
},
{
label: '清零',

View File

@ -149,10 +149,12 @@
{
label: '开阀',
onClick: handleWaterControlKf.bind(null, record),
ifShow: record.relayState == 0,
},
{
label: '关阀',
onClick: handleWaterControlGf.bind(null, record),
ifShow: record.relayState == 1,
},
{
label: '清零',