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