feat: 更新getAllNeConfig函数,支持传入neId参数
This commit is contained in:
@@ -209,7 +209,7 @@ function fnActiveConfigNode(key: string | number) {
|
||||
|
||||
/**查询配置可选属性值列表 */
|
||||
function fnGetNeConfig() {
|
||||
const neType = neTypeSelect.value[0];
|
||||
const [neType, neId] = neTypeSelect.value;
|
||||
if (!neType) {
|
||||
message.warning({
|
||||
content: t('views.ne.neConfig.neTypePleace'),
|
||||
@@ -220,7 +220,7 @@ function fnGetNeConfig() {
|
||||
|
||||
treeState.loading = true;
|
||||
// 获取数据
|
||||
getAllNeConfig(neType).then(res => {
|
||||
getAllNeConfig(neType, neId).then(res => {
|
||||
if (res.code === RESULT_CODE_SUCCESS && Array.isArray(res.data)) {
|
||||
const arr = [];
|
||||
for (const item of res.data) {
|
||||
@@ -438,7 +438,11 @@ onMounted(() => {
|
||||
<PageContainer>
|
||||
<template #content> </template>
|
||||
<template #contentExtra>
|
||||
<a-button type="primary" @click="fnBaseOpen" v-perms:has="['ne:neConfig:edit']">
|
||||
<a-button
|
||||
type="primary"
|
||||
@click="fnBaseOpen"
|
||||
v-perms:has="['ne:neConfig:edit']"
|
||||
>
|
||||
Quickly Modify PLMN
|
||||
</a-button>
|
||||
</template>
|
||||
@@ -1068,7 +1072,7 @@ onMounted(() => {
|
||||
</a-form>
|
||||
</ProModal>
|
||||
|
||||
<!-- 快速修改 -->
|
||||
<!-- 快速修改 -->
|
||||
<Base v-model:open="baseOpen"></Base>
|
||||
</PageContainer>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user