* Adjust code style.

This commit is contained in:
tianshujie98
2021-01-28 11:45:29 +08:00
parent 120797598f
commit 32e89fc96d
2 changed files with 4 additions and 3 deletions
+3 -3
View File
@@ -12,9 +12,9 @@ $(document).ready(function()
if($(this).val() == 1) var hourPoint = storyPoint;
if($(this).val() == 2) var hourPoint = functionPoint;
convertTitle = convertRelationTitle.replace('%s', hourPoint);
convertTips = convertRelationTips.replace(/%s/g, hourPoint);
submitTips = saveTips.replace(/%s/g, hourPoint);
var convertTitle = convertRelationTitle.replace('%s', hourPoint);
var convertTips = convertRelationTips.replace(/%s/g, hourPoint);
var submitTips = saveTips.replace(/%s/g, hourPoint);
$('#title').text(convertTitle);
$('#tips').text(convertTips);
+1
View File
@@ -1554,6 +1554,7 @@ class productModel extends model
->where('project')->eq($projectID)
->andWhere('product')->eq($productID)
->exec();
$newProducts = $this->dao->select('*')->from(TABLE_PROJECTPRODUCT)->where('project')->eq($projectID)->fetchPairs('product','product');
$this->loadModel('action')->create('project', $projectID, 'Managed', '', join(',', $newProducts));
}