iv-npm 1.0.38 → 1.0.39

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.38",
3
+ "version": "1.0.39",
4
4
  "description": "公共通用包",
5
5
  "author": "Mr.Cong",
6
6
  "license": "ISC",
@@ -507,7 +507,7 @@ function _defineProperty(obj, key, value) {
507
507
  /*
508
508
  * @Author: Mr.Cong Wei
509
509
  * @Date: 2022-08-10 10:13:38
510
- * @LastEditTime: 2022-08-10 11:33:27
510
+ * @LastEditTime: 2022-08-10 11:34:28
511
511
  */
512
512
  var BASE_URL = "https://basis.nacho.cn";
513
513
  var DEFIND_OPTION = {
@@ -596,6 +596,10 @@ var script = /*#__PURE__*/vue.defineComponent({
596
596
  type: null,
597
597
  required: true
598
598
  },
599
+ params: {
600
+ type: Object,
601
+ required: true
602
+ },
599
603
  replaceFields: {
600
604
  type: Object,
601
605
  required: false
@@ -634,9 +638,9 @@ var script = /*#__PURE__*/vue.defineComponent({
634
638
  switch (_context.prev = _context.next) {
635
639
  case 0:
636
640
  _option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {
637
- params: {
641
+ params: assign(props.params, {
638
642
  type: 1
639
- }
643
+ })
640
644
  };
641
645
  _context.next = 3;
642
646
  return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.getIVMrpOrgDropdown.url, _option.params), assign({
@@ -646,10 +650,9 @@ var script = /*#__PURE__*/vue.defineComponent({
646
650
  case 3:
647
651
  _yield$formatHTTP = _context.sent;
648
652
  items = _yield$formatHTTP.items;
649
- console.log(items, "1238099999999999999999999");
650
653
  dataV.value = tranListToTreeData(items);
651
654
 
652
- case 7:
655
+ case 6:
653
656
  case "end":
654
657
  return _context.stop();
655
658
  }
@@ -503,7 +503,7 @@ function _defineProperty(obj, key, value) {
503
503
  /*
504
504
  * @Author: Mr.Cong Wei
505
505
  * @Date: 2022-08-10 10:13:38
506
- * @LastEditTime: 2022-08-10 11:33:27
506
+ * @LastEditTime: 2022-08-10 11:34:28
507
507
  */
508
508
  var BASE_URL = "https://basis.nacho.cn";
509
509
  var DEFIND_OPTION = {
@@ -592,6 +592,10 @@ var script = /*#__PURE__*/defineComponent({
592
592
  type: null,
593
593
  required: true
594
594
  },
595
+ params: {
596
+ type: Object,
597
+ required: true
598
+ },
595
599
  replaceFields: {
596
600
  type: Object,
597
601
  required: false
@@ -630,9 +634,9 @@ var script = /*#__PURE__*/defineComponent({
630
634
  switch (_context.prev = _context.next) {
631
635
  case 0:
632
636
  _option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {
633
- params: {
637
+ params: assign(props.params, {
634
638
  type: 1
635
- }
639
+ })
636
640
  };
637
641
  _context.next = 3;
638
642
  return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.getIVMrpOrgDropdown.url, _option.params), assign({
@@ -642,10 +646,9 @@ var script = /*#__PURE__*/defineComponent({
642
646
  case 3:
643
647
  _yield$formatHTTP = _context.sent;
644
648
  items = _yield$formatHTTP.items;
645
- console.log(items, "1238099999999999999999999");
646
649
  dataV.value = tranListToTreeData(items);
647
650
 
648
- case 7:
651
+ case 6:
649
652
  case "end":
650
653
  return _context.stop();
651
654
  }
@@ -507,7 +507,7 @@
507
507
  /*
508
508
  * @Author: Mr.Cong Wei
509
509
  * @Date: 2022-08-10 10:13:38
510
- * @LastEditTime: 2022-08-10 11:33:27
510
+ * @LastEditTime: 2022-08-10 11:34:28
511
511
  */
512
512
  var BASE_URL = "https://basis.nacho.cn";
513
513
  var DEFIND_OPTION = {
@@ -596,6 +596,10 @@
596
596
  type: null,
597
597
  required: true
598
598
  },
599
+ params: {
600
+ type: Object,
601
+ required: true
602
+ },
599
603
  replaceFields: {
600
604
  type: Object,
601
605
  required: false
@@ -634,9 +638,9 @@
634
638
  switch (_context.prev = _context.next) {
635
639
  case 0:
636
640
  _option = _args.length > 0 && _args[0] !== undefined ? _args[0] : {
637
- params: {
641
+ params: assign(props.params, {
638
642
  type: 1
639
- }
643
+ })
640
644
  };
641
645
  _context.next = 3;
642
646
  return formatHTTP(fetch(formatUrl(BASE_URL, API_OPTION.getIVMrpOrgDropdown.url, _option.params), assign({
@@ -646,10 +650,9 @@
646
650
  case 3:
647
651
  _yield$formatHTTP = _context.sent;
648
652
  items = _yield$formatHTTP.items;
649
- console.log(items, "1238099999999999999999999");
650
653
  dataV.value = tranListToTreeData(items);
651
654
 
652
- case 7:
655
+ case 6:
653
656
  case "end":
654
657
  return _context.stop();
655
658
  }