|
|
@@ -216,7 +216,6 @@ const projTreeObj = {
|
|
|
this.bindEvent(newWorkBook);
|
|
|
this.loadContextMenu();
|
|
|
this.loadStartMenu();
|
|
|
- this.loadBtn();
|
|
|
}
|
|
|
return newWorkBook;
|
|
|
},
|
|
|
@@ -356,7 +355,7 @@ const projTreeObj = {
|
|
|
}
|
|
|
},
|
|
|
importInterface: {
|
|
|
- name: '导入标准接口',
|
|
|
+ name: '导入招投标接口文件',
|
|
|
icon: 'fa-cloud-upload',
|
|
|
callback: function () {
|
|
|
$('#importInterface').modal('show');
|
|
|
@@ -1238,7 +1237,6 @@ const projTreeObj = {
|
|
|
$("#mr_title").text(title);
|
|
|
this.initHtmlByFromRadio();
|
|
|
let result = from == "unitPriceFile"?await this.setUnitFileChangeFileData():await this.setFeeRateChangeFileData();
|
|
|
- console.log(result);
|
|
|
this.changeInfo = result;
|
|
|
this.loadFileOptions(this.changeInfo,from);
|
|
|
|
|
|
@@ -1445,8 +1443,6 @@ const projTreeObj = {
|
|
|
//发送文件改变消息
|
|
|
data.oldFileIDs = _.uniq(oldFileIDs);
|
|
|
socket.emit('multiFileChangeNotify', data);
|
|
|
-
|
|
|
- console.log(result);
|
|
|
},
|
|
|
checkFileName:async function (fileID,name,type) {
|
|
|
let node = this.tree.selected;
|
|
|
@@ -1579,6 +1575,8 @@ const projTreeObj = {
|
|
|
|
|
|
};
|
|
|
$(document).ready(function() {
|
|
|
+ //绑定项目管理的升降级、上下移按钮事件
|
|
|
+ projTreeObj.loadBtn();
|
|
|
$('#sideTab').find('li').click(function () {
|
|
|
//消除tooltip
|
|
|
$('[data-toggle="tooltip"]').tooltip('hide');
|
|
|
@@ -1685,7 +1683,6 @@ $(document).ready(function() {
|
|
|
infoData = await ajaxPost('/pm/api/getBasicInfo', {user_id: userID});
|
|
|
//第一次默认是投标
|
|
|
needfulInfoData = getNeedfulBasicInfo(infoData, fileKind);
|
|
|
- console.log(infoData);
|
|
|
} catch (err) {
|
|
|
$('#add-project-dialog').modal('hide');
|
|
|
}
|
|
|
@@ -1811,7 +1808,6 @@ $(document).ready(function() {
|
|
|
curValuation = $(this).val();
|
|
|
curValuationName = $(this).text();
|
|
|
let engineeringList = getEngineeringList();
|
|
|
- console.log(engineeringList);
|
|
|
let engineeringHtml = getEngineeringHtml(engineeringList);
|
|
|
$("#tender-engineering").html(engineeringHtml);
|
|
|
$('#valuation-info').hide();
|
|
|
@@ -2448,7 +2444,6 @@ $(document).ready(function() {
|
|
|
$("#copy-to-dialog").modal('hide');
|
|
|
$.bootstrapLoading.start();
|
|
|
CommonAjax.post('/pm/api/copyProjects',{projectMap:projectMap,user_id: userID},function (result) {
|
|
|
- console.log(result);
|
|
|
let newNode = projTreeObj.insert(result['copy'].document,parent,next);
|
|
|
let refreshNodes = projTreeObj.calEngineeringCost(newNode);
|
|
|
projTreeObj.refreshNodeData(refreshNodes);
|
|
|
@@ -4464,7 +4459,6 @@ function setShareToModal(selected){
|
|
|
userIDs.push(user.userID);
|
|
|
}
|
|
|
CommonAjax.post('/user/getUsers', {userIDs: userIDs}, function (rstData) {
|
|
|
- console.log(rstData);
|
|
|
for(let userInfo of rstData){
|
|
|
for(let user of selected.data.shareInfo){
|
|
|
if(user.userID === userInfo._id){
|