|
|
|
@ -19,13 +19,35 @@ function searchFromGridTitle(byValue, byOutputValue, mainOption, subOption){
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* 차량번호로 단속 건수 조회
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
async function countCrdnByVhrno(vhrno, taskSeCd){
|
|
|
|
|
async function countCrdnByVhrno(vhrno, taskSeCd, sggCd){
|
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
|
json.get({
|
|
|
|
|
url: wctx.url("/"+taskSeCd+"/crdn/crdn06/010/countCrdn.do"),
|
|
|
|
|
url: wctx.url("/"+taskSeCd+"/crdn/crdn06/010/nocs.do"),
|
|
|
|
|
data: {
|
|
|
|
|
vhrno : vhrno,
|
|
|
|
|
taskSeCd : taskSeCd
|
|
|
|
|
taskSeCd : taskSeCd,
|
|
|
|
|
sggCd : sggCd
|
|
|
|
|
},
|
|
|
|
|
success: function(resp, textStatus, jqXHR) {
|
|
|
|
|
resolve(resp);
|
|
|
|
|
},
|
|
|
|
|
error: function(jqXHR, textStatus, error) {
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**************************************************************************
|
|
|
|
|
* 차량번호로 민원상담 건수 조회
|
|
|
|
|
**************************************************************************/
|
|
|
|
|
async function countCvlcptDscsnByVhrno(vhrno, taskSeCd, sggCd){
|
|
|
|
|
return new Promise((resolve, reject) => {
|
|
|
|
|
json.get({
|
|
|
|
|
url: wctx.url("/"+taskSeCd+"/sprt/sprt04/010/nocs.do"),
|
|
|
|
|
data: {
|
|
|
|
|
vhrno : vhrno,
|
|
|
|
|
taskSeCd : taskSeCd,
|
|
|
|
|
sggCd : sggCd
|
|
|
|
|
},
|
|
|
|
|
success: function(resp, textStatus, jqXHR) {
|
|
|
|
|
resolve(resp);
|
|
|
|
|