iv-npm 1.0.40 → 1.0.43

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iv-npm",
3
- "version": "1.0.40",
3
+ "version": "1.0.43",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -598,7 +598,7 @@ var script = /*#__PURE__*/vue.defineComponent({
598
598
  },
599
599
  params: {
600
600
  type: Object,
601
- required: true
601
+ required: false
602
602
  },
603
603
  replaceFields: {
604
604
  type: Object,
@@ -635,25 +635,24 @@ var script = /*#__PURE__*/vue.defineComponent({
635
635
  var dataV = vue.ref();
636
636
 
637
637
  var getData = /*#__PURE__*/function () {
638
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
639
- var _option,
640
- _a,
641
- _yield$formatHTTP,
642
- items,
643
- _args = arguments;
638
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_option) {
639
+ var _a, _b, _yield$formatHTTP, items;
644
640
 
645
641
  return _regeneratorRuntime().wrap(function _callee$(_context) {
646
642
  while (1) {
647
643
  switch (_context.prev = _context.next) {
648
644
  case 0:
649
- _option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {
650
- params: assign(props.params, {
651
- type: 1
652
- })
653
- };
645
+ if (_option === void 0) {
646
+ _option = {
647
+ params: assign((_a = props.params) !== null && _a !== void 0 ? _a : {}, {
648
+ type: 1
649
+ })
650
+ };
651
+ }
652
+
654
653
  _context.next = 3;
655
654
  return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.getIVMrpOrgDropdown.url, _option.params), assign({
656
- data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
655
+ data: (_b = _option.data) !== null && _b !== void 0 ? _b : null
657
656
  }, API_OPTION.getIVMrpOrgDropdown.option)));
658
657
 
659
658
  case 3:
@@ -669,7 +668,7 @@ var script = /*#__PURE__*/vue.defineComponent({
669
668
  }, _callee);
670
669
  }));
671
670
 
672
- return function getData() {
671
+ return function getData(_x) {
673
672
  return _ref2.apply(this, arguments);
674
673
  };
675
674
  }();
@@ -594,7 +594,7 @@ var script = /*#__PURE__*/defineComponent({
594
594
  },
595
595
  params: {
596
596
  type: Object,
597
- required: true
597
+ required: false
598
598
  },
599
599
  replaceFields: {
600
600
  type: Object,
@@ -631,25 +631,24 @@ var script = /*#__PURE__*/defineComponent({
631
631
  var dataV = ref();
632
632
 
633
633
  var getData = /*#__PURE__*/function () {
634
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
635
- var _option,
636
- _a,
637
- _yield$formatHTTP,
638
- items,
639
- _args = arguments;
634
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_option) {
635
+ var _a, _b, _yield$formatHTTP, items;
640
636
 
641
637
  return _regeneratorRuntime().wrap(function _callee$(_context) {
642
638
  while (1) {
643
639
  switch (_context.prev = _context.next) {
644
640
  case 0:
645
- _option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {
646
- params: assign(props.params, {
647
- type: 1
648
- })
649
- };
641
+ if (_option === void 0) {
642
+ _option = {
643
+ params: assign((_a = props.params) !== null && _a !== void 0 ? _a : {}, {
644
+ type: 1
645
+ })
646
+ };
647
+ }
648
+
650
649
  _context.next = 3;
651
650
  return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.getIVMrpOrgDropdown.url, _option.params), assign({
652
- data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
651
+ data: (_b = _option.data) !== null && _b !== void 0 ? _b : null
653
652
  }, API_OPTION.getIVMrpOrgDropdown.option)));
654
653
 
655
654
  case 3:
@@ -665,7 +664,7 @@ var script = /*#__PURE__*/defineComponent({
665
664
  }, _callee);
666
665
  }));
667
666
 
668
- return function getData() {
667
+ return function getData(_x) {
669
668
  return _ref2.apply(this, arguments);
670
669
  };
671
670
  }();
@@ -598,7 +598,7 @@
598
598
  },
599
599
  params: {
600
600
  type: Object,
601
- required: true
601
+ required: false
602
602
  },
603
603
  replaceFields: {
604
604
  type: Object,
@@ -635,25 +635,24 @@
635
635
  var dataV = vue.ref();
636
636
 
637
637
  var getData = /*#__PURE__*/function () {
638
- var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
639
- var _option,
640
- _a,
641
- _yield$formatHTTP,
642
- items,
643
- _args = arguments;
638
+ var _ref2 = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(_option) {
639
+ var _a, _b, _yield$formatHTTP, items;
644
640
 
645
641
  return _regeneratorRuntime().wrap(function _callee$(_context) {
646
642
  while (1) {
647
643
  switch (_context.prev = _context.next) {
648
644
  case 0:
649
- _option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {
650
- params: assign(props.params, {
651
- type: 1
652
- })
653
- };
645
+ if (_option === void 0) {
646
+ _option = {
647
+ params: assign((_a = props.params) !== null && _a !== void 0 ? _a : {}, {
648
+ type: 1
649
+ })
650
+ };
651
+ }
652
+
654
653
  _context.next = 3;
655
654
  return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.getIVMrpOrgDropdown.url, _option.params), assign({
656
- data: (_a = _option.data) !== null && _a !== void 0 ? _a : null
655
+ data: (_b = _option.data) !== null && _b !== void 0 ? _b : null
657
656
  }, API_OPTION.getIVMrpOrgDropdown.option)));
658
657
 
659
658
  case 3:
@@ -669,7 +668,7 @@
669
668
  }, _callee);
670
669
  }));
671
670
 
672
- return function getData() {
671
+ return function getData(_x) {
673
672
  return _ref2.apply(this, arguments);
674
673
  };
675
674
  }();