From 26770c9f6fee1d3bddaef9203d703e97c184e3f8 Mon Sep 17 00:00:00 2001 From: zhal <15900249928@163.com> Date: Thu, 14 Jul 2022 10:19:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=8F=AA=E8=AF=BB=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/views/repository/RepositoryMain.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryMain.vue b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryMain.vue index a7a9b61..393d732 100644 --- a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryMain.vue +++ b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryMain.vue @@ -147,7 +147,7 @@ - 确定 + 确定 取消 @@ -193,6 +193,7 @@ } }; return { + isDisabled:false, dis: false, headerHeight1: '60px', headerHeight2: '10px', @@ -259,6 +260,7 @@ isLeaf: 'leaf' }, createMethodLoading: false, + systemMethodLoading:true, havingWritePerm: false, havingRemovePerm: false, havingVersionManagePerm: false, @@ -624,7 +626,6 @@ that.$refs[formName].validate((valid) => { if (valid) { - const checkdata = { url:'jd', data:{ @@ -635,8 +636,9 @@ }; // 查询数据 awsuiAxios.post(checkdata).then(function (ro) { - if (ro.data.result == 'ok') { + if (ro.data.result == 'ok') { + that.isDisabled = true; const nodeData = that.$refs.tree.getCurrentNode(); const parentId = nodeData.id; const wsId = that.$store.getters.getWsIdFn; @@ -656,7 +658,6 @@ }; // 查询数据 awsuiAxios.post(data).then(function (ro) { - if (ro.result == 'ok') { that.ModelsetUpDialog.systemForm.uuid=ro.data.id; that.ModelsetUpDialog.systemForm.parentId=parentId; @@ -673,8 +674,8 @@ }; // 查询数据 awsuiAxios.post(data).then(function (ro) { - if (ro.result == 'ok') { + that.isDisabled = false; that.ModelsetUpDialog.dialogVisible = false; that.openRepositoryList(that.ModelsetUpDialog.systemForm.parentId); // 返回id