今天维护公司以前外包出去的项目的代码,我该怎么做?

2017-09-18 19:16:51 +08:00
 laoliang

先看一波: $("#"+tableId+":eq(0)>tbody:eq(0)>tr:eq("+i+")>td:eq(1)>div:eq(0)>div").click(function(){

        if(($(this).attr("id")==10) && ($(this).parent().parent().next().next().text()=="送机")){
             $(this).parent().parent().next().next().next().children("input").attr("disabled",false);
             $(this).parent().parent().next().next().next().children("input").val("");
        }else{
            $(this).parent().parent().next().next().next().children("input").attr("disabled",true);
            $(this).parent().parent().next().next().next().children("input").val("待分配");
        }
        $(this).siblings().children("span:eq(0)").removeClass("one");
        $(this).children("span:eq(0)").addClass("one");   
        $(this).parent().parent().prev().children("input:eq(1)").val($(this).children("span").children("span:eq(0)").text());  
        $(this).parent().parent().prev().children("input:eq(1)").attr('placeholder',this.id);    

        if(!($(this).children("span").text()=="未开通服务")){
            $(this).parent().parent().prev().children("input:eq(0)").attr("disabled",false);
        }
        else{
            alert("未开通服务");
            $(this).parent().parent().prev().children("input:eq(0)").attr("disabled",true);
        }  
    });
1502 次点击
所在节点    问与答
1 条回复
destinyclown
2018-06-26 12:17:08 +08:00
去问上司,是不是一定要我维护,是的话就辞职- -!

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/391741

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX