增加点击修改时选择UPF的操作
This commit is contained in:
@@ -447,6 +447,9 @@ function fnModalVisibleByType(
|
||||
.then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS && res.data) {
|
||||
modalState.typeFrom = Object.assign(modalState.typeFrom, res.data);
|
||||
if (modalState.typeFrom.tenancyType === 'UPF') {
|
||||
fnTypeChange('UPF');
|
||||
}
|
||||
modalState.typeTitle =
|
||||
t('common.editText') + t('views.system.tenant.type');
|
||||
modalState.visibleByType = true;
|
||||
@@ -539,7 +542,7 @@ function fnTypeRecordDelete(
|
||||
}
|
||||
|
||||
//选择租赁类型
|
||||
function fnTypeChange(value: any, options: any) {
|
||||
function fnTypeChange(value: any) {
|
||||
if (value === 'UPF') {
|
||||
listNeInfo({ neType: 'UPF', pageNum: 1, pageSize: 10000 }).then(res => {
|
||||
/** 查询最新的UPF的所有RMUID*/
|
||||
@@ -841,6 +844,7 @@ onMounted(() => {
|
||||
:label="t('views.system.tenant.type')"
|
||||
name="type"
|
||||
:labelWrap="true"
|
||||
v-bind="modalStateTypeFrom.validateInfos.tenancyType"
|
||||
>
|
||||
<a-select
|
||||
v-model:value="modalState.typeFrom.tenancyType"
|
||||
@@ -858,6 +862,7 @@ onMounted(() => {
|
||||
name="key"
|
||||
:extra="keyTip"
|
||||
:label-col="{ span: 4 }"
|
||||
v-bind="modalStateTypeFrom.validateInfos.tenancyKey"
|
||||
>
|
||||
<a-input
|
||||
v-model:value="modalState.typeFrom.tenancyKey"
|
||||
|
||||
Reference in New Issue
Block a user