Browse Source

查看用户信息

XMTT 7 years ago
parent
commit
ecb1c0ecfd
2 changed files with 16 additions and 13 deletions
  1. 4 1
      html/model/sys/professornew/index.html
  2. 12 12
      js/model/sys/professornew/index.js

+ 4 - 1
html/model/sys/professornew/index.html

42
            <!--<div class="btn opt-details">-->
42
            <!--<div class="btn opt-details">-->
43
                <!--编辑用户资料-->
43
                <!--编辑用户资料-->
44
            <!--</div>-->
44
            <!--</div>-->
45
            <div class="btn opt-view">
46
                查看用户信息
47
            </div>
45
            <div class="btn opt-data">
48
            <div class="btn opt-data">
46
                修改业务数据
49
                设置业务数据
47
            </div>
50
            </div>
48
        </div>
51
        </div>
49
    </div>
52
    </div>

+ 12 - 12
js/model/sys/professornew/index.js

121
                        util.alert("请选择一个用户");
121
                        util.alert("请选择一个用户");
122
                    }
122
                    }
123
                });
123
                });
124
                // root.find(".opt-view").on("click", function () {
125
                //     var $org = root.find("td.opt-check>i.checked");
126
                //     if ($org.length) {
127
                //         if ($org.length > 1) {
128
                //             util.alert("只能选择一个用户");
129
                //         } else {
130
                //             window.open('http://www.ekexiu.com/cmpInforShow.html?orgId=' + $org.attr("orgId"));
131
                //         }
132
                //     } else {
133
                //         util.alert("请选择一个用户");
134
                //     }
135
                // });
124
                root.find(".opt-view").on("click", function () {
125
                    var $org = root.find("td.opt-check>i.checked");
126
                    if ($org.length) {
127
                        if ($org.length > 1) {
128
                            util.alert("只能选择一个用户");
129
                        } else {
130
                            window.open('http://www.ekexiu.com/userInforShow.html?professorId=' + $org.attr("professorid"));
131
                        }
132
                    } else {
133
                        util.alert("请选择一个用户");
134
                    }
135
                });
136
136
137
            }, mainDestory: function () {
137
            }, mainDestory: function () {
138
138