diff --git a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue
index 90b2f30..0235e77 100644
--- a/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue
+++ b/com.actionsoft.apps.coe.pal/src/views/repository/RepositoryList.vue
@@ -51,10 +51,15 @@
导出
+
+ 版本管理
+
删除模型
+
+
@@ -189,6 +194,9 @@
导出
+
+ 版本管理
+
删除模型
@@ -1535,7 +1543,7 @@
})
}
},
- openRepositoryInfo(type) {// 打开文件属性、版本管理、附件管理
+ openRepositoryInfo(type) {// 打开文件属性、版本管理、附件管理'
let that = this;
//三员管理
if(that.isHighSecurity && that.isFileSecurity){
@@ -1560,6 +1568,38 @@
this.$refs.repositoryInfo.openRepositoryInfoDlg(this, this.currRepositoryDetail.id, this.currRepositoryDetail.version, type, this.currRepositoryDetail.isUse, this.currRepositoryDetail.isPublish, this.currRepositoryDetail.isStop, this.currRepositoryDetail.isApproval, this.currRepositoryDetail.methodId);
}
},
+
+ /**
+ * 重新打开版本管理
+ * @param currRepositoryDetailId
+ */
+ openRepositoryInfoById(type,mainRepository) {// 打开文件属性、版本管理、附件管理
+ let that = this;
+ //三员管理
+ if(that.isHighSecurity && that.isFileSecurity){
+ const data = {
+ url:'jd',
+ data:{
+ cmd: 'com.actionsoft.apps.coe.pal_pl_file_permission_query',
+ uuid: mainRepository.id,
+ }
+ };
+ awsuiAxios.post(data).then(function (ro) {
+ if(ro.result == 'ok') {
+ that.$refs.repositoryInfo.openRepositoryInfoDlg(that, mainRepository.id, mainRepository.version, type, mainRepository.isUse, mainRepository.isPublish, mainRepository.isStop, mainRepository.isApproval, mainRepository.methodId);
+ }else{
+ that.$message.error(ro.msg);
+ }
+ }).catch(error=>{
+ console.log(error);
+ that.$message.error(error.msg);
+ })
+ }else{
+ this.$refs.repositoryInfo.openRepositoryInfoDlg(this, mainRepository.id, mainRepository.version, type, mainRepository.isUse, mainRepository.isPublish, mainRepository.isStop, mainRepository.isApproval, mainRepository.methodId);
+ }
+ },
+
+
positionRepositoryPath(id, versionId) {// 路径定位模型文件
const arr = [];
for (let i = 0; i < this.repositoryPathData.length; i++) {