|
|
@@ -791,19 +791,19 @@ const pmShare = (function () {
|
|
|
}
|
|
|
},
|
|
|
"copyProject": {
|
|
|
- name: "拷贝建设项目",
|
|
|
- icon: 'fa-copy',
|
|
|
- disabled: function () {
|
|
|
- let selected = tree.selected;
|
|
|
- return !(selected && selected.data.allowCopy && selected.data.projType === projectType.project);
|
|
|
- },
|
|
|
- callback: function (key, opt) {
|
|
|
- /* if($(".p-title").text().includes('学习')){
|
|
|
- hintBox.versionBox('此功能仅在专业版中提供,学习版可选择单个分段进行拷贝。');
|
|
|
- return;
|
|
|
- } */
|
|
|
- copyContructionProject(tree.selected);
|
|
|
- }
|
|
|
+ name: "拷贝建设项目",
|
|
|
+ icon: 'fa-copy',
|
|
|
+ disabled: function () {
|
|
|
+ let selected = tree.selected;
|
|
|
+ return !(selected && selected.data.allowCopy && selected.data.projType === projectType.project);
|
|
|
+ },
|
|
|
+ callback: function (key, opt) {
|
|
|
+ if ($(".p-title").text().includes('学习')) {
|
|
|
+ hintBox.versionBox('此功能仅在专业版中提供,学习版可选择单个分段进行拷贝。');
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ copyContructionProject(tree.selected);
|
|
|
+ }
|
|
|
},
|
|
|
"cancel": {
|
|
|
name: "清除",
|