This commit is contained in:
zhouxin
2022-01-05 05:09:08 +00:00
parent 3125190938
commit ee431f18e3
5 changed files with 122 additions and 109 deletions
+14
View File
@@ -1,3 +1,10 @@
/**
* Add item to create view of programplan.
*
* @param obj obj
* @access public
* @return void
*/
function addItem(obj)
{
var item = $('#addItem').html().replace(/%i%/g, i);
@@ -11,6 +18,13 @@ function addItem(obj)
i ++;
}
/**
* Delete item.
*
* @param obj obj
* @access public
* @return void
*/
function deleteItem(obj)
{
if($('#planForm .table tbody').children().length < 2) return false;