XMTT 7 years ago
parent
commit
81748caa18
2 changed files with 5 additions and 1 deletions
  1. 1 1
      html/model/sys/professornew/index.html
  2. 4 0
      js/model/sys/professornew/index.js

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

@ -91,7 +91,7 @@
91 91
            <tr ch-dir="list">
92 92
                <td class="opt-check"><i class="icon icon-st-check" na="{{name}}" professorid="{{id}}"></i></td>
93 93
                <td>{{-_index}}</td>
94
                <td>{{name}}</td>
94
                <td class="table-opt" professorId="{{id}}"><a class="name">{{name}}</a></td>
95 95
                <td>{{title}}</td>
96 96
                <td>{{orgName}}</td>
97 97
                <td>{{phone}}</td>

+ 4 - 0
js/model/sys/professornew/index.js

@ -29,6 +29,10 @@ spa_define(function () {
29 29
                        }, {});
30 30
                        $e.removeClass("hand-fans");
31 31
                    });
32
                    root.find(".table-opt a.name").on("click", function () {
33
                        var professorId = $(this).parent().attr("professorId");
34
                        window.open('http://www.ekexiu.com/userInforShow.html?professorId=' + professorId);
35
                    })
32 36
                });
33 37
                root.find(".opt-query").on("click", function () {
34 38
                    pdg.load();