From ebbd788fbb2c0b45d4473798efc57eec8ba74a25 Mon Sep 17 00:00:00 2001 From: Ben Lin <maobin001@msn.com> Date: 星期二, 18 六月 2024 14:51:16 +0800 Subject: [PATCH] 版本更新至2.11.5 --- src/views/tigerprojects/mes/eng/route/components/FormProps.vue | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/views/tigerprojects/mes/eng/route/components/FormProps.vue b/src/views/tigerprojects/mes/eng/route/components/FormProps.vue index e178bfa..681358d 100644 --- a/src/views/tigerprojects/mes/eng/route/components/FormProps.vue +++ b/src/views/tigerprojects/mes/eng/route/components/FormProps.vue @@ -2,8 +2,8 @@ * @Description: 鍙充晶灞炴�ч潰鏉挎帶浠� 琛ㄥ崟灞炴�ч潰鏉� --> <template> - <div class="properties-content"> - <Form class="properties-body" label-align="left" layout="vertical"> + <div> + <Form label-align="left" layout="vertical"> <FormItem label="宸ヨ壓璺嚎缂栫爜" name="宸ヨ壓璺嚎缂栫爜"> <Input :style="{ width: '100%' }" @@ -52,15 +52,14 @@ </Form> </div> </template> -<script lang="ts" setup> +<script lang="ts" setup name="FormProps"> import { Select, Input, InputNumber, Form, FormItem } from 'ant-design-vue'; import { useRouteDesignState } from '../hooks/useRouteDesignState'; - import { SelectTypes } from 'ant-design-vue/es/select'; import { ref } from 'vue'; - import { RouteTypeStatus } from '/@/api/tigerapi/mes/router'; + import { GetEnum } from '/@/api/tigerapi/system'; const { mesRoute } = useRouteDesignState(); - const options1 = ref<SelectTypes['options']>([ + const options1 = ref<any>([ { value: 'Y', label: '鍚敤', @@ -70,8 +69,8 @@ label: '涓嶅惎鐢�', }, ]); - const options2 = ref<SelectTypes['options']>([]); - RouteTypeStatus().then((res) => { + const options2 = ref<any>([]); + GetEnum({ name: 'MES_ROUTE+ROT_TYPEs' }).then((res) => { console.log(res); res.Data.forEach((d) => { options2.value.push({ -- Gitblit v1.9.3