摘要: 1.删除岗位范围 $("#SCOPETEMS").val(""); beans = new Array(); 2.模板替换 temp = ' type="hidden">'; temp = temp.replace("",postId); 3.岗位已添加 if($("input[name='postBeans']").val() == postId){ alert("岗位已添加,... 阅读全文
posted @ 2018-11-07 18:05 剑小新 阅读(123) 评论(0) 推荐(0)
摘要: 1.修改模板 temp = ' type="hidden">'; var postSelect = ')\'>删除' postSelect = postSelect.replace("",postId); 模板替换 var selectPostScope = ' )\'>查看' selectPostScope = selectPostScope.replace("",p... 阅读全文
posted @ 2018-11-07 16:17 剑小新 阅读(114) 评论(0) 推荐(0)
摘要: var beans = new Array();//定义数组,用于存放缺件物品 var index = null; //index用于存储数组的长度 var SCOPETEMS = null;///JSON字符串,用于存放缺件信息 M_Personnel.prototype.addScope = function(data) { var postId=$("#POSTID").val()... 阅读全文
posted @ 2018-11-07 10:55 剑小新 阅读(174) 评论(0) 推荐(0)