|
|
@@ -45,16 +45,16 @@ $(function() {
|
|
|
|
|
|
|
|
|
// if (road_manager) {
|
|
|
- getFsStationList(road_manager, function(obj) {
|
|
|
- $("#fs_station").html(obj);
|
|
|
- var dept;
|
|
|
- if (roleContains("STATION")) {
|
|
|
- dept = getCurrentUser().organid;
|
|
|
- }
|
|
|
- $("#fs_station").val(dept);
|
|
|
- // 初始化查询
|
|
|
- getFsWorkInfo();
|
|
|
- });
|
|
|
+ getFsStationList(road_manager, function(obj) {
|
|
|
+ $("#fs_station").html(obj);
|
|
|
+ var dept;
|
|
|
+ if (roleContains("STATION")) {
|
|
|
+ dept = getCurrentUser().organid;
|
|
|
+ }
|
|
|
+ $("#fs_station").val(dept);
|
|
|
+ // 初始化查询
|
|
|
+ getFsWorkInfo();
|
|
|
+ });
|
|
|
// } else {
|
|
|
// // 初始化查询
|
|
|
// getFsWorkInfo();
|
|
|
@@ -65,14 +65,14 @@ $(function() {
|
|
|
// if (center_manage_id == '') {
|
|
|
// $("#fs_station,#fs_employee").html('');
|
|
|
// } else {
|
|
|
- getFsStationList(center_manage_id, function(obj) {
|
|
|
- $("#fs_station").html(obj);
|
|
|
- var dept;
|
|
|
- if (roleContains("STATION")) {
|
|
|
- dept = getCurrentUser().organid;
|
|
|
- }
|
|
|
- $("#fs_station").val(dept);
|
|
|
- });
|
|
|
+ getFsStationList(center_manage_id, function(obj) {
|
|
|
+ $("#fs_station").html(obj);
|
|
|
+ var dept;
|
|
|
+ if (roleContains("STATION")) {
|
|
|
+ dept = getCurrentUser().organid;
|
|
|
+ }
|
|
|
+ $("#fs_station").val(dept);
|
|
|
+ });
|
|
|
// }
|
|
|
})
|
|
|
|