@freelog/tools-lib 0.1.45 → 0.1.49

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1212,7 +1212,10 @@ var LinkTo = {
1212
1212
  // 预设资源类型
1213
1213
  var resourceTypes = ['json', 'widget', 'image', 'audio', 'markdown', 'theme', 'reveal_slide', 'license', 'video', 'catalog']; // 全局列表加载条目数
1214
1214
 
1215
- var pageSize = 20; // 签约方用户的身份类型定义
1215
+ var pageSize = 100; // Moment 日期时间格式
1216
+
1217
+ var momentDateFormat = 'YYYY-MM-DD';
1218
+ var momentDateTimeFormat = 'YYYY-MM-DD HH:mm'; // 签约方用户的身份类型定义
1216
1219
 
1217
1220
  var EnumContractPartyIdentityType;
1218
1221
 
@@ -1247,6 +1250,8 @@ var Predefined = {
1247
1250
  __proto__: null,
1248
1251
  resourceTypes: resourceTypes,
1249
1252
  pageSize: pageSize,
1253
+ momentDateFormat: momentDateFormat,
1254
+ momentDateTimeFormat: momentDateTimeFormat,
1250
1255
  get EnumContractPartyIdentityType () { return EnumContractPartyIdentityType; },
1251
1256
  get EnumSubjectType () { return EnumSubjectType; },
1252
1257
  get EnumContractStatus () { return EnumContractStatus; }
@@ -2558,9 +2563,6 @@ function contractDetails(_ref) {
2558
2563
  var contractId = _ref.contractId,
2559
2564
  params = _objectWithoutPropertiesLoose(_ref, _excluded$6);
2560
2565
 
2561
- // return FUtil.Axios.get(`/v2/contracts/${contractId}`, {
2562
- // params,
2563
- // });
2564
2566
  return FUtil.Request({
2565
2567
  method: 'GET',
2566
2568
  url: "/v2/contracts/" + contractId,
@@ -2568,9 +2570,6 @@ function contractDetails(_ref) {
2568
2570
  });
2569
2571
  }
2570
2572
  function contracts(params) {
2571
- // return FUtil.Axios.get('/v2/contracts', {
2572
- // params,
2573
- // });
2574
2573
  return FUtil.Request({
2575
2574
  method: 'GET',
2576
2575
  url: "/v2/contracts",
@@ -2578,9 +2577,6 @@ function contracts(params) {
2578
2577
  });
2579
2578
  }
2580
2579
  function batchContracts(params) {
2581
- // return FUtil.Axios.get('/v2/contracts/list', {
2582
- // params,
2583
- // });
2584
2580
  return FUtil.Request({
2585
2581
  method: 'GET',
2586
2582
  url: "/v2/contracts/list",