2016-12-28 86 views
-3
var customerConstant = { 
     grdcustomers: "gvcustomers", 
     customerPager: "customerPager", 
     divRootcustomer: "divRootcustomer", 
     mainGridTitile: "Customer Data", 
     divShowCustomerSearchPopup: "divShowCustomerSearchPopup", 
     divShowPatientSearchPopup: "divShowPatientSearchPopup", 
     gridSearchResult: "gridSearchResult", 
     divSearchResult: "divSearchResult", 
     searchResult: "Search Result", 
     searchPager: "searchPager", 
     idOfcustomerMainDiv: "idOfcustomerMainDiv", 
     Url: { 
      getcustomers: "LcmCustomer/Get", 
      getcustomerDetails: "LcmCustomer/GetCustomerRecord?customerPatientNumber=", 
     } 
    }; 
+2

問題是什麼? – Satpal

+1

你能告訴我們產生錯誤的代碼嗎? – phuzi

+0

getcustomerDetails:「LcmCustomer/GetCustomerRecord?customerPatientNumber =」,..,不含逗號 – Milaci

回答

0

刪除最後昏迷:LcmCustomer/GetCustomerRecord?customerPatientNumber=",

0

刪除逗號(,)在getcustomerDetails: 「LcmCustomer/GetCustomerRecord customerPatientNumber =」,並嘗試:

var customerConstant = { 
    grdcustomers: "gvcustomers", 
    customerPager: "customerPager", 
    divRootcustomer: "divRootcustomer", 
    mainGridTitile: "Customer Data", 
    divShowCustomerSearchPopup: "divShowCustomerSearchPopup", 
    divShowPatientSearchPopup: "divShowPatientSearchPopup", 
    gridSearchResult: "gridSearchResult", 
    divSearchResult: "divSearchResult", 
    searchResult: "Search Result", 
    searchPager: "searchPager", 
    idOfcustomerMainDiv: "idOfcustomerMainDiv", 
    Url: { 
     getcustomers: "LcmCustomer/Get", 
     getcustomerDetails: "LcmCustomer/GetCustomerRecord?customerPatientNumber=" 
    } 
};