Просмотр исходного кода

优化费用类型查询功能

wuxw лет назад: 6
Родитель
Сommit
5d9e07e57c

+ 1 - 1
ReportComponent/src/main/java/com/java110/report/smo/feeType/impl/FeeTypeSMOImpl.java

@@ -39,7 +39,7 @@ public class FeeTypeSMOImpl extends BaseComponentSMO implements IFeeTypeSMO {
         reqParam.put("name", "pay_fee");
         reqParam.put("type", "fee_type_cd");
         //拉取数据
-        String url=ServiceConstant.SERVICE_API_URL.concat("/api/dict.type").concat(mapToUrlParam(reqParam));
+        String url=ServiceConstant.SERVICE_API_URL.concat("/api/dict.queryDict").concat(mapToUrlParam(reqParam));
         ResponseEntity<String> responseEntity = this.callCenterService(restTemplate, pd, "",url , HttpMethod.GET);
         return responseEntity;
     }

+ 2 - 1
ReportComponent/src/main/resources/components/feePackage/fee-manage/payFeeManage.js

@@ -25,6 +25,7 @@
         _initMethod: function () {
             vc.component._initDate();
             vc.component._listpayFees(DEFAULT_PAGE, DEFAULT_ROWS);
+            vc.component._listFeeType();
         },
         _initEvent: function () {
             vc.on('pagination', 'page_event', function (_currentPage) {
@@ -100,7 +101,7 @@
             _exportExcel:function () {
 
             },
-            _listpayFees: function (_page, _rows) {
+            _listFeeType: function () {
                 var param = {
                     params:{
                         "hc":"cc@cc"

+ 1 - 1
WebService/src/main/java/com/java110/web/smo/dict/impl/DictServiceSMOImpl.java

@@ -43,7 +43,7 @@ public class DictServiceSMOImpl extends BaseComponentSMO implements IDictService
         //获取请求参数
         JSONObject reqParam = JSONObject.parseObject(pd.getReqData());
         //拉取数据
-        String url=ServiceConstant.SERVICE_API_URL.concat("/api/dict.type").concat(mapToUrlParam(reqParam));
+        String url=ServiceConstant.SERVICE_API_URL.concat("/api/dict.queryDict").concat(mapToUrlParam(reqParam));
         ResponseEntity<String> responseEntity = this.callCenterService(restTemplate, pd, "",url , HttpMethod.GET);
         return responseEntity;
     }

+ 1 - 1
WebService/src/main/java/com/java110/web/smo/impl/CarServiceSMOImpl.java

@@ -206,7 +206,7 @@ public class CarServiceSMOImpl extends BaseComponentSMO implements ICarServiceSM
         //获取请求参数
         JSONObject reqParam = JSONObject.parseObject(pd.getReqData());
         //拉取数据
-        String url=ServiceConstant.SERVICE_API_URL.concat("/api/dict.type").concat(mapToUrlParam(reqParam));
+        String url=ServiceConstant.SERVICE_API_URL.concat("/api/dict.queryDict").concat(mapToUrlParam(reqParam));
         ResponseEntity<String> responseEntity = this.callCenterService(restTemplate, pd, "",url , HttpMethod.GET);
         return responseEntity;
     }

+ 1 - 1
java110-utils/src/main/java/com/java110/utils/constant/ServiceCodeConstant.java

@@ -540,6 +540,6 @@ public class ServiceCodeConstant {
     /**
      * 查询数据字典
      */
-    public static final String SERVICE_CODE_DICT_TYPE="dict.type";
+    public static final String SERVICE_CODE_DICT_TYPE="dict.queryDict";
 
 }