style: 网元配置类型可选择或输入
This commit is contained in:
@@ -23,6 +23,7 @@ import useI18n from '@/hooks/useI18n';
|
|||||||
import { FileType } from 'ant-design-vue/lib/upload/interface';
|
import { FileType } from 'ant-design-vue/lib/upload/interface';
|
||||||
import { UploadRequestOption } from 'ant-design-vue/lib/vc-upload/interface';
|
import { UploadRequestOption } from 'ant-design-vue/lib/vc-upload/interface';
|
||||||
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
import { RESULT_CODE_SUCCESS } from '@/constants/result-constants';
|
||||||
|
import { NE_TYPE_LIST } from '@/constants/ne-constants';
|
||||||
import useNeInfoStore from '@/store/modules/neinfo';
|
import useNeInfoStore from '@/store/modules/neinfo';
|
||||||
const { t } = useI18n();
|
const { t } = useI18n();
|
||||||
|
|
||||||
@@ -221,7 +222,7 @@ let modalState: ModalStateType = reactive({
|
|||||||
pvFlag: 'PNF',
|
pvFlag: 'PNF',
|
||||||
rmUid: '4400HX1AMF001',
|
rmUid: '4400HX1AMF001',
|
||||||
vendorName: '',
|
vendorName: '',
|
||||||
sync: false,
|
sync: true,
|
||||||
},
|
},
|
||||||
importFrom: {
|
importFrom: {
|
||||||
neId: '',
|
neId: '',
|
||||||
@@ -785,11 +786,12 @@ onMounted(() => {
|
|||||||
:label="t('views.configManage.neManage.neType')"
|
:label="t('views.configManage.neManage.neType')"
|
||||||
name="neType "
|
name="neType "
|
||||||
>
|
>
|
||||||
<a-input
|
<a-auto-complete
|
||||||
v-model:value="queryParams.neType"
|
v-model:value="queryParams.neType"
|
||||||
|
:options="NE_TYPE_LIST.map(v => ({ value: v }))"
|
||||||
allow-clear
|
allow-clear
|
||||||
:placeholder="t('views.configManage.neManage.neTypePlease')"
|
:placeholder="t('common.inputPlease')"
|
||||||
></a-input>
|
/>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :lg="6" :md="12" :xs="24">
|
<a-col :lg="6" :md="12" :xs="24">
|
||||||
@@ -974,20 +976,21 @@ onMounted(() => {
|
|||||||
name="neType"
|
name="neType"
|
||||||
v-bind="modalStateFrom.validateInfos.neType"
|
v-bind="modalStateFrom.validateInfos.neType"
|
||||||
>
|
>
|
||||||
<a-input
|
<a-auto-complete
|
||||||
v-model:value="modalState.from.neType"
|
v-model:value="queryParams.neType"
|
||||||
allow-clear
|
:options="NE_TYPE_LIST.map(v => ({ value: v }))"
|
||||||
:placeholder="t('views.configManage.neManage.neTypePlease')"
|
|
||||||
>
|
>
|
||||||
<template #prefix>
|
<a-input allow-clear :placeholder="t('common.inputPlease')">
|
||||||
<a-tooltip placement="topLeft">
|
<template #prefix>
|
||||||
<template #title>{{
|
<a-tooltip placement="topLeft">
|
||||||
t('views.configManage.neManage.neTypeTip')
|
<template #title>{{
|
||||||
}}</template>
|
t('views.configManage.neManage.neTypeTip')
|
||||||
<InfoCircleOutlined style="color: rgba(0, 0, 0, 0.45)" />
|
}}</template>
|
||||||
</a-tooltip>
|
<InfoCircleOutlined style="color: rgba(0, 0, 0, 0.45)" />
|
||||||
</template>
|
</a-tooltip>
|
||||||
</a-input>
|
</template>
|
||||||
|
</a-input>
|
||||||
|
</a-auto-complete>
|
||||||
</a-form-item>
|
</a-form-item>
|
||||||
</a-col>
|
</a-col>
|
||||||
<a-col :lg="12" :md="12" :xs="24">
|
<a-col :lg="12" :md="12" :xs="24">
|
||||||
|
|||||||
Reference in New Issue
Block a user