XMTT 7 years ago
parent
commit
7b4747be64

+ 1 - 1
css/model/sys/customer.css

@ -26,7 +26,7 @@
26 26
.sys_customer_salesedit{
27 27
    width:800px;
28 28
}
29
.sys_customer_allindex .table-opt .name{
29
.sys_customer_allindex .table-opt .name,.sys_customer_myindex .table-opt .name, .sys_customer_salesindex .table-opt .name,.sys_customer_index .table-opt .name{
30 30
    cursor:pointer;
31 31
}
32 32
.temtextarea{width: 100%;height: 80px;margin-top: 8px;border: none;border: 1px solid #ccc; border-radius: 4px;}

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

@ -61,7 +61,7 @@
61 61
					<!--<td class="table-opt" orgName="{{orgname}}" userId="{{id}}"><i class="icon icon-edit"></i></td>-->
62 62
					<td class="table-opt" professorId="{{id}}"><i class="icon icon-edit"></i></td>
63 63
					<td>{{pi}}</td>
64
					<td>{{name}}</td>
64
					<td class="table-opt" professorId="{{id}}"><a class="name">{{name}}</a></td>
65 65
					<td>{{title}}</td>
66 66
					<td>{{address}}</td>
67 67
					<td>{{orgname}}</td>

+ 1 - 1
html/model/sys/customer/myindex.html

@ -62,7 +62,7 @@
62 62
				<tr ch-dir="list">
63 63
					<td class="table-opt" powerId="{{powerId}}" style="cursor: hand;"><i class="icon icon-edit"></i></td>
64 64
					<td>{{pi}}</td>
65
					<td>{{name}}</td>
65
					<td class="table-opt" professorId="{{id}}"><a class="name">{{name}}</a></td>
66 66
					<td>{{title}}</td>
67 67
					<td>{{address}}</td>
68 68
					<td>{{orgname}}</td>

+ 1 - 1
html/model/sys/customer/salesindex.html

@ -66,7 +66,7 @@
66 66
				<tr ch-dir="list">
67 67
					<td class="table-opt" powerId="{{powerId}}" style="cursor: hand;"><i class="icon icon-edit"></i></td>
68 68
					<td>{{pi}}</td>
69
					<td>{{name}}</td>
69
					<td class="table-opt" professorId="{{id}}"><a class="name">{{name}}</a></td>
70 70
					<td>{{title}}</td>
71 71
					<td>{{address}}</td>
72 72
					<td>{{orgname}}</td>

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

@ -31,6 +31,10 @@ spa_define(function(){
31 31
						});
32 32
33 33
					});
34
                    root.find(".table-opt a.name").on("click", function () {
35
                        var professorId = $(this).parent().attr("professorId");
36
                        window.open('http://www.ekexiu.com/information-brow.html?professorId=' + professorId);
37
                    });
34 38
             	};
35 39
             	pdg.code.listen(bindDataEvent);
36 40
			}

+ 4 - 0
js/model/sys/customer/myindex.js

@ -35,6 +35,10 @@ spa_define(function() {
35 35
						}
36 36
					}, {});
37 37
				});
38
                root.on("click",".table-opt a.name", function () {
39
                    var professorId = $(this).parent().attr("professorId");
40
                    window.open('http://www.ekexiu.com/information-brow.html?professorId=' + professorId);
41
                });
38 42
			}
39 43
		};
40 44
	});

+ 4 - 0
js/model/sys/customer/salesindex.js

@ -35,6 +35,10 @@ spa_define(function() {
35 35
						}
36 36
					}, {});
37 37
				});
38
                root.on("click",".table-opt a.name", function () {
39
                    var professorId = $(this).parent().attr("professorId");
40
                    window.open('http://www.ekexiu.com/information-brow.html?professorId=' + professorId);
41
                });
38 42
			}
39 43
		};
40 44
	});