| | |
| | | return R.ok(); |
| | | } |
| | | |
| | | |
| | | @RequestMapping(value = "/projectPlan/delete/auth") |
| | | @ManagerAuth |
| | | public R delete(@RequestParam(value = "ids[]") Long[] ids) { |
| | |
| | | $(document).onclick |
| | | let param |
| | | $(document).on("click",".normal",function () { |
| | | let p = $(this).children("p").html() |
| | | if (!p) { |
| | | console.log(1) |
| | | } |
| | | let str = this.id.split('-') |
| | | param = { |
| | | itemId:str[1],weightNum:str[2] |
| | | } |
| | | console.log(param) |
| | | |
| | | }) |
| | | |
| | | //$.ajax({ |
| | | // url: baseurl + '/pms/projectPlan/update/homepage', |
| | | // type: 'GET', |
| | | // dataType: 'JSON', |
| | | // data: param, |
| | | // success: function (res) { |
| | | // console.log(res) |
| | | // } |
| | | //}) |
| | |
| | | $(document).on("dblclick",".row",function(){ |
| | | |
| | | var index = $(".row").index(this) // 确定在表格中的第几行 |
| | | console.log('this:'+this,'index:'+index) |
| | | var rowName = $(this).children(".projects").html() // 当前行中类名为projects的类中的文字 |
| | | var project = data[index] // 把data中的第index个项目 赋值给project |
| | | if(project.projectName==rowName){ |
| | |
| | | getType() |
| | | }, 0) |
| | | setInterval(function () { |
| | | getThbodyData() |
| | | //getThbodyData() |
| | | }, 5000) |
| | | |
| | | //表头小进度表 |
| | |
| | | } |
| | | str = '' |
| | | for (var j = 0; j < node.length; j++) { |
| | | var nodeName = node[j].flowId$ // 节点名称 |
| | | var weightNum = node[j].weightNum |
| | | var itemId = node[j].itemId |
| | | var nodeEndTime = node[j].endTime$.substring(0, 10) |
| | | var nodeRealStartTime = node[j].realEndTime$.substring(0, 10) |
| | | str1 = '<td class="normal">' + '<p>' + nodeEndTime + '</p>' + '<p>' + nodeRealStartTime + '</p>' + '</td>' |
| | | str1 = '<td class="normal" id="item-'+ itemId + '-' + weightNum +'">' + '<p>' + nodeEndTime + '</p>' + '<p>' + nodeRealStartTime + '</p>' + '</td>' |
| | | str = str + str1 |
| | | } |
| | | var str2 = '<tr id="row' + i + '" class="row">' |
| | |
| | | <!-- <script src="../static/js/tableData2.js"></script>--> |
| | | <script src="../static/js/tableData3.js"></script> |
| | | <script src="../static/js/projectShow3.js"></script> |
| | | <script src="../static/js/projectShow3.js"></script> |
| | | <script src="../static/js/changetime.js"></script> |
| | | <script src="../static/js/cols.js"></script> |
| | | </head> |
| | | <body> |
| | |
| | | <div id="text">当前项目计划时间不完整;请补充完成后重试!</div> |
| | | <button id="closee" onclick="">确 认</button> |
| | | </div> |
| | | |
| | | <div id="changes"> |
| | | |
| | | </div> |
| | | </body> |
| | | </html> |
| | | <script type="text/javascript"> |