| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_Unit/list1', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere, "Organization": Organization }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "Organization": Organization }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + 'DeltetGy_Unit', |
| | | type: "GET", |
| | | data: { "HItemID": ItemID }, |
| | | data: { "HItemID": ItemID, "user": sessionStorage["HUserName"] }, |
| | | success: function (result) { |
| | | console.log('gouba' + result); |
| | | if (result.count == 1) { |
| | |
| | | $.ajax({ |
| | | url: GetWEBURL() + '/Gy_Unit/list1', |
| | | type: "GET", |
| | | data: { "sWhere": sWhere }, |
| | | data: { "sWhere": sWhere, "user": sessionStorage["HUserName"], "Organization": Organization }, |
| | | success: function (data1) { |
| | | if (data1.count == 1) { |
| | | option.data = data1.data; |