Merge remote-tracking branch 'origin/lichang'

This commit is contained in:
TsMask committed 2024-12-25 17:50:10 +08:00
commit 9b589a0e69
4 files changed
+6 -4

No files matched your search

+2
View File
@@ -39,6 +39,7 @@ async function fnSelectNeType(_: any, info: any) {
}); });
treeState.selectLoading = true; treeState.selectLoading = true;
neIdSelect.value = []; neIdSelect.value = [];
neSelectTreeDate.value = [];
return; return;
} }
@@ -47,6 +48,7 @@ async function fnSelectNeType(_: any, info: any) {
treeState.selectLoading = true; treeState.selectLoading = true;
neTypeSelectStatus.value = true; neTypeSelectStatus.value = true;
neIdSelect.value = []; neIdSelect.value = [];
neSelectTreeDate.value = [];
// 构建可选树形数据 // 构建可选树形数据
if (Array.isArray(info.children) && info.children.length > 0) { if (Array.isArray(info.children) && info.children.length > 0) {
const neArr = info.children.concat(); const neArr = info.children.concat();
+1 -1
View File
@@ -113,7 +113,7 @@ let modalState: ModalStateType = reactive({
neAddress: '', neAddress: '',
dn: '', dn: '',
vendorName: '', vendorName: '',
province: '', province: 'Area',
remark: '', remark: '',
// 主机 // 主机
hosts: [ hosts: [
@@ -54,7 +54,7 @@ let modalState: ModalStateType = reactive({
neAddress: '', neAddress: '',
dn: '-', dn: '-',
vendorName: '-', vendorName: '-',
province: '-', province: 'Area',
// 主机 // 主机
hosts: [ hosts: [
{ {
@@ -81,7 +81,7 @@ let modalState: ModalStateType = reactive({
neAddress: '', neAddress: '',
dn: '-', dn: '-',
vendorName: '-', vendorName: '-',
province: '-', province: 'Area',
hosts: [], hosts: [],
}, },
confirmLoading: false, confirmLoading: false,
@@ -244,7 +244,7 @@ function fnModalVisibleByEdit(record?: any) {
neAddress: '', neAddress: '',
dn: '-', dn: '-',
vendorName: '-', vendorName: '-',
province: '-', province: 'Area',
// 主机 // 主机
hosts: [ hosts: [
{ {