Merge remote-tracking branch 'origin/lichang'

This commit is contained in:
TsMask
2024-12-25 17:50:10 +08:00
4 changed files with 6 additions and 4 deletions

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();

View File

@@ -113,7 +113,7 @@ let modalState: ModalStateType = reactive({
neAddress: '', neAddress: '',
dn: '', dn: '',
vendorName: '', vendorName: '',
province: '', province: 'Area',
remark: '', remark: '',
// 主机 // 主机
hosts: [ hosts: [

View File

@@ -54,7 +54,7 @@ let modalState: ModalStateType = reactive({
neAddress: '', neAddress: '',
dn: '-', dn: '-',
vendorName: '-', vendorName: '-',
province: '-', province: 'Area',
// 主机 // 主机
hosts: [ hosts: [
{ {

View File

@@ -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: [
{ {