|
|
@@ -960,7 +960,7 @@ |
|
|
|
this.$confirm("退出职员选择将清空您的所有操作!确定返回吗?", "", {
|
|
|
|
confirmButtonText: "退出",
|
|
|
|
cancelButtonText: "取消",
|
|
|
|
showClose:false,
|
|
|
|
//showClose:false,
|
|
|
|
type: "warning"
|
|
|
|
}).then(() => {
|
|
|
|
this.newProjData.listFolder[this.nowFolderIndex] = this.currSelectData;
|
|
|
@@ -1547,6 +1547,17 @@ |
|
|
|
});
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
let rg = /[/\\]{1,}/g;
|
|
|
|
if (rg.test(this.newProjData.projectData.projName)) {
|
|
|
|
this.$notify({
|
|
|
|
title: "温馨提示",
|
|
|
|
message: "项目名称请不要包含'/' '\\'等字符",
|
|
|
|
type: "warning",
|
|
|
|
offset: 100,
|
|
|
|
duration: 2500
|
|
|
|
});
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
if (this.newProjData.projectData.templateID == undefined || this.newProjData.projectData.templateID == null ||
|
|
|
|
this.newProjData.projectData.templateID == "") {
|
|
|
|
this.$notify({
|
|
|
|