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