iv-npm 1.2.50 → 1.2.53

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.
@@ -561,7 +561,7 @@ var _hoisted_4$9 = {
561
561
  key: 0
562
562
  };
563
563
 
564
- var _hoisted_5$9 = /*#__PURE__*/createElementVNode("div", {
564
+ var _hoisted_5$8 = /*#__PURE__*/createElementVNode("div", {
565
565
  "class": "h-2 flex items-center"
566
566
  }, [/*#__PURE__*/createElementVNode("span", {
567
567
  "class": "bg-[#d9d9d9] h-[1px] w-full"
@@ -582,7 +582,7 @@ var _hoisted_8$6 = {
582
582
  "class": "mrpTable",
583
583
  id: "IVTable"
584
584
  };
585
- var _hoisted_9$5 = {
585
+ var _hoisted_9$6 = {
586
586
  "class": "relative w-full mb-[24px]",
587
587
  style: {
588
588
  "table-layout": "fixed"
@@ -771,7 +771,7 @@ var script$n = /*#__PURE__*/defineComponent({
771
771
  /* TEXT */
772
772
  ), item.unit ? (openBlock(), createElementBlock("span", _hoisted_3$9, toDisplayString(item.unit), 1
773
773
  /* TEXT */
774
- )) : createCommentVNode("v-if", true)]), item.header ? (openBlock(), createElementBlock("div", _hoisted_4$9, [_hoisted_5$9, createElementVNode("div", _hoisted_6$8, [(openBlock(true), createElementBlock(Fragment, null, renderList(item.header, function (e, i) {
774
+ )) : createCommentVNode("v-if", true)]), item.header ? (openBlock(), createElementBlock("div", _hoisted_4$9, [_hoisted_5$8, createElementVNode("div", _hoisted_6$8, [(openBlock(true), createElementBlock(Fragment, null, renderList(item.header, function (e, i) {
775
775
  return openBlock(), createElementBlock("div", {
776
776
  key: i,
777
777
  style: normalizeStyle({
@@ -802,7 +802,7 @@ var script$n = /*#__PURE__*/defineComponent({
802
802
  onChangeS: tableControlChange
803
803
  }, null, 8
804
804
  /* PROPS */
805
- , ["setHeight"])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_8$6, [createElementVNode("table", _hoisted_9$5, [createElementVNode("tr", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.dataTh, function (item, index) {
805
+ , ["setHeight"])) : createCommentVNode("v-if", true)])) : createCommentVNode("v-if", true), createElementVNode("div", _hoisted_8$6, [createElementVNode("table", _hoisted_9$6, [createElementVNode("tr", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(__props.dataTh, function (item, index) {
806
806
  return openBlock(), createElementBlock(Fragment, {
807
807
  key: index
808
808
  }, [item.show ? (openBlock(), createElementBlock("th", {
@@ -957,7 +957,7 @@ var _hoisted_3$8 = /*#__PURE__*/createTextVNode(" 默认 ");
957
957
 
958
958
  var _hoisted_4$8 = /*#__PURE__*/createTextVNode(" 中等 ");
959
959
 
960
- var _hoisted_5$8 = /*#__PURE__*/createTextVNode(" 紧凑 ");
960
+ var _hoisted_5$7 = /*#__PURE__*/createTextVNode(" 紧凑 ");
961
961
 
962
962
  var _hoisted_6$7 = /*#__PURE__*/_withScopeId$2(function () {
963
963
  return /*#__PURE__*/createElementVNode("div", null, "列设置", -1
@@ -1112,7 +1112,7 @@ var script$m = /*#__PURE__*/defineComponent({
1112
1112
  key: "2"
1113
1113
  }, {
1114
1114
  "default": withCtx(function () {
1115
- return [_hoisted_5$8];
1115
+ return [_hoisted_5$7];
1116
1116
  }),
1117
1117
  _: 1
1118
1118
  /* STABLE */
@@ -1507,16 +1507,6 @@ var script$l = /*#__PURE__*/defineComponent({
1507
1507
  type: Object,
1508
1508
  required: false
1509
1509
  },
1510
- fieldNames: {
1511
- type: null,
1512
- required: false,
1513
- "default": function _default() {
1514
- return {
1515
- label: "name",
1516
- value: "id"
1517
- };
1518
- }
1519
- },
1520
1510
  replaceFields: {
1521
1511
  type: null,
1522
1512
  required: false,
@@ -1631,7 +1621,7 @@ var script$l = /*#__PURE__*/defineComponent({
1631
1621
  }
1632
1622
  });
1633
1623
  var filterOption = computed(function () {
1634
- return filterOptionHeadle(props.fieldNames.label);
1624
+ return filterOptionHeadle(props.replaceFields.label);
1635
1625
  });
1636
1626
  /**
1637
1627
  * 侦听器-------------------------------------
@@ -1701,11 +1691,10 @@ var script$l = /*#__PURE__*/defineComponent({
1701
1691
  onChange: _cache[1] || (_cache[1] = function ($event) {
1702
1692
  return _ctx.$emit('change', $event);
1703
1693
  }),
1704
- fieldNames: __props.fieldNames,
1705
1694
  replaceFields: __props.replaceFields
1706
1695
  }), null, 16
1707
1696
  /* FULL_PROPS */
1708
- , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "multiple", "filterOption", "style", "fieldNames", "replaceFields"])];
1697
+ , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "multiple", "filterOption", "style", "replaceFields"])];
1709
1698
  }),
1710
1699
  _: 1
1711
1700
  /* STABLE */
@@ -3337,7 +3326,7 @@ var _hoisted_3$7 = createElementVNode("g", {
3337
3326
  })], -1
3338
3327
  );
3339
3328
  var _hoisted_4$7 = [_hoisted_3$7];
3340
- var _hoisted_5$7 = {
3329
+ var _hoisted_5$6 = {
3341
3330
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
3342
3331
  xmlns: "http://www.w3.org/2000/svg",
3343
3332
  version: "1.1",
@@ -3361,7 +3350,7 @@ var _hoisted_6$6 = createElementVNode("g", {
3361
3350
  );
3362
3351
  var _hoisted_7$6 = [_hoisted_6$6];
3363
3352
  function render$1(_ctx, _cache) {
3364
- return openBlock(), createElementBlock("div", _hoisted_1$c, [(openBlock(), createElementBlock("svg", _hoisted_2$8, _hoisted_4$7)), (openBlock(), createElementBlock("svg", _hoisted_5$7, _hoisted_7$6))]);
3353
+ return openBlock(), createElementBlock("div", _hoisted_1$c, [(openBlock(), createElementBlock("svg", _hoisted_2$8, _hoisted_4$7)), (openBlock(), createElementBlock("svg", _hoisted_5$6, _hoisted_7$6))]);
3365
3354
  }
3366
3355
 
3367
3356
  var script$c = {};
@@ -3385,7 +3374,7 @@ var _hoisted_3$6 = {
3385
3374
  var _hoisted_4$6 = {
3386
3375
  "class": "mx-10"
3387
3376
  };
3388
- var _hoisted_5$6 = {
3377
+ var _hoisted_5$5 = {
3389
3378
  "class": "flex items-center my-4 justify-center"
3390
3379
  };
3391
3380
 
@@ -3397,7 +3386,7 @@ var _hoisted_7$5 = {
3397
3386
  var _hoisted_8$5 = {
3398
3387
  "class": "flex justify-between mb-2"
3399
3388
  };
3400
- var _hoisted_9$4 = {
3389
+ var _hoisted_9$5 = {
3401
3390
  "class": "text-[#999999]"
3402
3391
  };
3403
3392
 
@@ -3713,7 +3702,7 @@ var script$b = /*#__PURE__*/defineComponent({
3713
3702
  return [createElementVNode("div", _hoisted_1$b, [createVNode(script$c), _hoisted_2$7])];
3714
3703
  }),
3715
3704
  body: withCtx(function () {
3716
- return [createElementVNode("div", _hoisted_3$6, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$6, [createElementVNode("div", _hoisted_5$6, [createVNode(unref(script$i), {
3705
+ return [createElementVNode("div", _hoisted_3$6, [createCommentVNode(" 搜索 "), createElementVNode("div", _hoisted_4$6, [createElementVNode("div", _hoisted_5$5, [createVNode(unref(script$i), {
3717
3706
  value: formData.setOfBookId,
3718
3707
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
3719
3708
  return formData.setOfBookId = $event;
@@ -3788,7 +3777,7 @@ var script$b = /*#__PURE__*/defineComponent({
3788
3777
  _: 1
3789
3778
  /* STABLE */
3790
3779
 
3791
- })])]), createCommentVNode(" 主体 "), createElementVNode("div", _hoisted_7$5, [createCommentVNode(" 分页 "), createElementVNode("div", _hoisted_8$5, [createElementVNode("div", _hoisted_9$4, [_hoisted_10$4, createElementVNode("span", _hoisted_11$4, toDisplayString(totalPages.value), 1
3780
+ })])]), createCommentVNode(" 主体 "), createElementVNode("div", _hoisted_7$5, [createCommentVNode(" 分页 "), createElementVNode("div", _hoisted_8$5, [createElementVNode("div", _hoisted_9$5, [_hoisted_10$4, createElementVNode("span", _hoisted_11$4, toDisplayString(totalPages.value), 1
3792
3781
  /* TEXT */
3793
3782
  ), _hoisted_12$4, createElementVNode("span", _hoisted_13$4, toDisplayString(topCurrentPages.value), 1
3794
3783
  /* TEXT */
@@ -4570,31 +4559,29 @@ var _withScopeId$1 = function _withScopeId(n) {
4570
4559
  return pushScopeId("data-v-44290c60"), n = n(), popScopeId(), n;
4571
4560
  };
4572
4561
 
4573
- var _hoisted_1$7 = {
4574
- "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
4575
- };
4576
-
4577
- var _hoisted_2$5 = /*#__PURE__*/_withScopeId$1(function () {
4578
- return /*#__PURE__*/createElementVNode("span", {
4562
+ var _hoisted_1$7 = /*#__PURE__*/_withScopeId$1(function () {
4563
+ return /*#__PURE__*/createElementVNode("div", {
4564
+ "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
4565
+ }, [/*#__PURE__*/createCommentVNode(" <UnorderedListOutlined class=\"text-xl text-[#bd9e55]\" /> "), /*#__PURE__*/createElementVNode("span", {
4579
4566
  "class": "text-xl text-[#bd9e55] pl-2"
4580
- }, "高拍仪", -1
4567
+ }, "高拍仪")], -1
4581
4568
  /* HOISTED */
4582
4569
  );
4583
4570
  });
4584
4571
 
4585
- var _hoisted_3$5 = {
4572
+ var _hoisted_2$5 = {
4586
4573
  "class": "Altimeter"
4587
4574
  };
4588
4575
 
4589
- var _hoisted_4$5 = /*#__PURE__*/_withScopeId$1(function () {
4576
+ var _hoisted_3$5 = /*#__PURE__*/_withScopeId$1(function () {
4590
4577
  return /*#__PURE__*/createElementVNode("div", {
4591
4578
  "class": "text-[#0000006D] mt-2 text-[14px]"
4592
- }, "上传图片:", -1
4579
+ }, "图片预览:", -1
4593
4580
  /* HOISTED */
4594
4581
  );
4595
4582
  });
4596
4583
 
4597
- var _hoisted_5$5 = {
4584
+ var _hoisted_4$5 = {
4598
4585
  "class": "imgBox mt-8 ml-[-58px]"
4599
4586
  };
4600
4587
  var script$7 = /*#__PURE__*/defineComponent({
@@ -4760,11 +4747,10 @@ var script$7 = /*#__PURE__*/defineComponent({
4760
4747
  iframe.value.contentWindow.document.getElementById('closeDeviceButton').click();
4761
4748
  emit("update:detailVisible", false);
4762
4749
  emit("cancelHandle", pictures.value);
4750
+ pictures.value = [];
4763
4751
  }
4764
4752
 
4765
4753
  return function (_ctx, _cache) {
4766
- var _component_UnorderedListOutlined = resolveComponent("UnorderedListOutlined");
4767
-
4768
4754
  var _component_a_image = resolveComponent("a-image");
4769
4755
 
4770
4756
  var _component_CloseCircleOutlined = resolveComponent("CloseCircleOutlined");
@@ -4778,12 +4764,10 @@ var script$7 = /*#__PURE__*/defineComponent({
4778
4764
  onCancelHandle: cancelHandle
4779
4765
  }, {
4780
4766
  title: withCtx(function () {
4781
- return [createElementVNode("div", _hoisted_1$7, [createVNode(_component_UnorderedListOutlined, {
4782
- "class": "text-xl text-[#bd9e55]"
4783
- }), _hoisted_2$5])];
4767
+ return [_hoisted_1$7];
4784
4768
  }),
4785
4769
  body: withCtx(function () {
4786
- return [createElementVNode("div", _hoisted_3$5, [createCommentVNode(" src=\"/node_modules/iv-npm/packages/ui/dist/Altimeter/index.html\" "), createElementVNode("iframe", {
4770
+ return [createElementVNode("div", _hoisted_2$5, [createCommentVNode(" src=\"/node_modules/iv-npm/packages/ui/dist/Altimeter/index.html\" "), createElementVNode("iframe", {
4787
4771
  src: "/Altimeter/index.html",
4788
4772
  id: "iframe",
4789
4773
  ref_key: "iframe",
@@ -4793,7 +4777,7 @@ var script$7 = /*#__PURE__*/defineComponent({
4793
4777
  onLoad: load
4794
4778
  }, null, 544
4795
4779
  /* HYDRATE_EVENTS, NEED_PATCH */
4796
- ), _hoisted_4$5, createElementVNode("div", _hoisted_5$5, [(openBlock(true), createElementBlock(Fragment, null, renderList(pictures.value, function (e, i) {
4780
+ ), _hoisted_3$5, createElementVNode("div", _hoisted_4$5, [(openBlock(true), createElementBlock(Fragment, null, renderList(pictures.value, function (e, i) {
4797
4781
  return openBlock(), createElementBlock("div", {
4798
4782
  key: i,
4799
4783
  "class": "imgList"
@@ -4860,10 +4844,13 @@ var _hoisted_5$4 = [_hoisted_3$4, _hoisted_4$4];
4860
4844
  var _hoisted_6$4 = {
4861
4845
  key: 1
4862
4846
  };
4847
+ var _hoisted_7$4 = {
4848
+ key: 0
4849
+ };
4863
4850
 
4864
- var _hoisted_7$4 = /*#__PURE__*/createTextVNode(" 上传 ");
4851
+ var _hoisted_8$4 = /*#__PURE__*/createTextVNode(" 上传 ");
4865
4852
 
4866
- var _hoisted_8$4 = ["src"];
4853
+ var _hoisted_9$4 = ["src"];
4867
4854
  /**
4868
4855
  * uploadApi:api接口
4869
4856
  * uploadLength:最大上传文件数量
@@ -5159,7 +5146,7 @@ var script$6 = /*#__PURE__*/defineComponent({
5159
5146
 
5160
5147
  return openBlock(), createElementBlock(Fragment, null, [createElementVNode("div", _hoisted_1$6, [createVNode(_component_a_upload, {
5161
5148
  "file-list": fileList.value,
5162
- "onUpdate:file-list": _cache[0] || (_cache[0] = function ($event) {
5149
+ "onUpdate:file-list": _cache[1] || (_cache[1] = function ($event) {
5163
5150
  return fileList.value = $event;
5164
5151
  }),
5165
5152
  "list-type": __props.listType,
@@ -5179,11 +5166,21 @@ var script$6 = /*#__PURE__*/defineComponent({
5179
5166
  onClick: _ctx.onUploadInvoice
5180
5167
  }, null, 8
5181
5168
  /* PROPS */
5182
- , ["onClick"])])) : (openBlock(), createBlock(_component_a_button, {
5169
+ , ["onClick"])])) : __props.listType === 'textCustom' ? (openBlock(), createElementBlock(Fragment, {
5183
5170
  key: 2
5171
+ }, [fileList.value.length < __props.uploadLength ? (openBlock(), createElementBlock("div", _hoisted_7$4, [createElementVNode("span", {
5172
+ "class": "inline-block text-[#006AB2] cursor-pointer mb-[2px]",
5173
+ onClick: _cache[0] || (_cache[0] = //@ts-ignore
5174
+ function () {
5175
+ return _ctx.onUploadListChange && _ctx.onUploadListChange.apply(_ctx, arguments);
5176
+ })
5177
+ }, "上传")])) : createCommentVNode("v-if", true)], 64
5178
+ /* STABLE_FRAGMENT */
5179
+ )) : (openBlock(), createBlock(_component_a_button, {
5180
+ key: 3
5184
5181
  }, {
5185
5182
  "default": withCtx(function () {
5186
- return [createVNode(_component_upload_outlined), _hoisted_7$4];
5183
+ return [createVNode(_component_upload_outlined), _hoisted_8$4];
5187
5184
  }),
5188
5185
  _: 1
5189
5186
  /* STABLE */
@@ -5209,7 +5206,7 @@ var script$6 = /*#__PURE__*/defineComponent({
5209
5206
  src: previewImage.value
5210
5207
  }, null, 8
5211
5208
  /* PROPS */
5212
- , _hoisted_8$4)];
5209
+ , _hoisted_9$4)];
5213
5210
  }),
5214
5211
  _: 1
5215
5212
  /* STABLE */
@@ -5219,7 +5216,7 @@ var script$6 = /*#__PURE__*/defineComponent({
5219
5216
  , ["visible"]), __props.showAltimeter ? (openBlock(), createBlock(script$7, {
5220
5217
  key: 0,
5221
5218
  show: isAltimeter.value,
5222
- "onUpdate:show": _cache[1] || (_cache[1] = function ($event) {
5219
+ "onUpdate:show": _cache[2] || (_cache[2] = function ($event) {
5223
5220
  return isAltimeter.value = $event;
5224
5221
  }),
5225
5222
  onCancelHandle: cancelAltimeter,
@@ -565,7 +565,7 @@
565
565
  key: 0
566
566
  };
567
567
 
568
- var _hoisted_5$9 = /*#__PURE__*/vue.createElementVNode("div", {
568
+ var _hoisted_5$8 = /*#__PURE__*/vue.createElementVNode("div", {
569
569
  "class": "h-2 flex items-center"
570
570
  }, [/*#__PURE__*/vue.createElementVNode("span", {
571
571
  "class": "bg-[#d9d9d9] h-[1px] w-full"
@@ -586,7 +586,7 @@
586
586
  "class": "mrpTable",
587
587
  id: "IVTable"
588
588
  };
589
- var _hoisted_9$5 = {
589
+ var _hoisted_9$6 = {
590
590
  "class": "relative w-full mb-[24px]",
591
591
  style: {
592
592
  "table-layout": "fixed"
@@ -775,7 +775,7 @@
775
775
  /* TEXT */
776
776
  ), item.unit ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$9, vue.toDisplayString(item.unit), 1
777
777
  /* TEXT */
778
- )) : vue.createCommentVNode("v-if", true)]), item.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$9, [_hoisted_5$9, vue.createElementVNode("div", _hoisted_6$8, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.header, function (e, i) {
778
+ )) : vue.createCommentVNode("v-if", true)]), item.header ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4$9, [_hoisted_5$8, vue.createElementVNode("div", _hoisted_6$8, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(item.header, function (e, i) {
779
779
  return vue.openBlock(), vue.createElementBlock("div", {
780
780
  key: i,
781
781
  style: vue.normalizeStyle({
@@ -806,7 +806,7 @@
806
806
  onChangeS: tableControlChange
807
807
  }, null, 8
808
808
  /* PROPS */
809
- , ["setHeight"])) : vue.createCommentVNode("v-if", true)])) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", _hoisted_8$6, [vue.createElementVNode("table", _hoisted_9$5, [vue.createElementVNode("tr", null, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dataTh, function (item, index) {
809
+ , ["setHeight"])) : vue.createCommentVNode("v-if", true)])) : vue.createCommentVNode("v-if", true), vue.createElementVNode("div", _hoisted_8$6, [vue.createElementVNode("table", _hoisted_9$6, [vue.createElementVNode("tr", null, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(__props.dataTh, function (item, index) {
810
810
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, {
811
811
  key: index
812
812
  }, [item.show ? (vue.openBlock(), vue.createElementBlock("th", {
@@ -961,7 +961,7 @@
961
961
 
962
962
  var _hoisted_4$8 = /*#__PURE__*/vue.createTextVNode(" 中等 ");
963
963
 
964
- var _hoisted_5$8 = /*#__PURE__*/vue.createTextVNode(" 紧凑 ");
964
+ var _hoisted_5$7 = /*#__PURE__*/vue.createTextVNode(" 紧凑 ");
965
965
 
966
966
  var _hoisted_6$7 = /*#__PURE__*/_withScopeId$2(function () {
967
967
  return /*#__PURE__*/vue.createElementVNode("div", null, "列设置", -1
@@ -1116,7 +1116,7 @@
1116
1116
  key: "2"
1117
1117
  }, {
1118
1118
  "default": vue.withCtx(function () {
1119
- return [_hoisted_5$8];
1119
+ return [_hoisted_5$7];
1120
1120
  }),
1121
1121
  _: 1
1122
1122
  /* STABLE */
@@ -1511,16 +1511,6 @@
1511
1511
  type: Object,
1512
1512
  required: false
1513
1513
  },
1514
- fieldNames: {
1515
- type: null,
1516
- required: false,
1517
- "default": function _default() {
1518
- return {
1519
- label: "name",
1520
- value: "id"
1521
- };
1522
- }
1523
- },
1524
1514
  replaceFields: {
1525
1515
  type: null,
1526
1516
  required: false,
@@ -1635,7 +1625,7 @@
1635
1625
  }
1636
1626
  });
1637
1627
  var filterOption = vue.computed(function () {
1638
- return filterOptionHeadle(props.fieldNames.label);
1628
+ return filterOptionHeadle(props.replaceFields.label);
1639
1629
  });
1640
1630
  /**
1641
1631
  * 侦听器-------------------------------------
@@ -1705,11 +1695,10 @@
1705
1695
  onChange: _cache[1] || (_cache[1] = function ($event) {
1706
1696
  return _ctx.$emit('change', $event);
1707
1697
  }),
1708
- fieldNames: __props.fieldNames,
1709
1698
  replaceFields: __props.replaceFields
1710
1699
  }), null, 16
1711
1700
  /* FULL_PROPS */
1712
- , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "multiple", "filterOption", "style", "fieldNames", "replaceFields"])];
1701
+ , ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "multiple", "filterOption", "style", "replaceFields"])];
1713
1702
  }),
1714
1703
  _: 1
1715
1704
  /* STABLE */
@@ -3341,7 +3330,7 @@
3341
3330
  })], -1
3342
3331
  );
3343
3332
  var _hoisted_4$7 = [_hoisted_3$7];
3344
- var _hoisted_5$7 = {
3333
+ var _hoisted_5$6 = {
3345
3334
  "xmlns:xlink": "http://www.w3.org/1999/xlink",
3346
3335
  xmlns: "http://www.w3.org/2000/svg",
3347
3336
  version: "1.1",
@@ -3365,7 +3354,7 @@
3365
3354
  );
3366
3355
  var _hoisted_7$6 = [_hoisted_6$6];
3367
3356
  function render$1(_ctx, _cache) {
3368
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [(vue.openBlock(), vue.createElementBlock("svg", _hoisted_2$8, _hoisted_4$7)), (vue.openBlock(), vue.createElementBlock("svg", _hoisted_5$7, _hoisted_7$6))]);
3357
+ return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$c, [(vue.openBlock(), vue.createElementBlock("svg", _hoisted_2$8, _hoisted_4$7)), (vue.openBlock(), vue.createElementBlock("svg", _hoisted_5$6, _hoisted_7$6))]);
3369
3358
  }
3370
3359
 
3371
3360
  var script$c = {};
@@ -3389,7 +3378,7 @@
3389
3378
  var _hoisted_4$6 = {
3390
3379
  "class": "mx-10"
3391
3380
  };
3392
- var _hoisted_5$6 = {
3381
+ var _hoisted_5$5 = {
3393
3382
  "class": "flex items-center my-4 justify-center"
3394
3383
  };
3395
3384
 
@@ -3401,7 +3390,7 @@
3401
3390
  var _hoisted_8$5 = {
3402
3391
  "class": "flex justify-between mb-2"
3403
3392
  };
3404
- var _hoisted_9$4 = {
3393
+ var _hoisted_9$5 = {
3405
3394
  "class": "text-[#999999]"
3406
3395
  };
3407
3396
 
@@ -3717,7 +3706,7 @@
3717
3706
  return [vue.createElementVNode("div", _hoisted_1$b, [vue.createVNode(script$c), _hoisted_2$7])];
3718
3707
  }),
3719
3708
  body: vue.withCtx(function () {
3720
- return [vue.createElementVNode("div", _hoisted_3$6, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4$6, [vue.createElementVNode("div", _hoisted_5$6, [vue.createVNode(vue.unref(script$i), {
3709
+ return [vue.createElementVNode("div", _hoisted_3$6, [vue.createCommentVNode(" 搜索 "), vue.createElementVNode("div", _hoisted_4$6, [vue.createElementVNode("div", _hoisted_5$5, [vue.createVNode(vue.unref(script$i), {
3721
3710
  value: formData.setOfBookId,
3722
3711
  "onUpdate:value": _cache[0] || (_cache[0] = function ($event) {
3723
3712
  return formData.setOfBookId = $event;
@@ -3792,7 +3781,7 @@
3792
3781
  _: 1
3793
3782
  /* STABLE */
3794
3783
 
3795
- })])]), vue.createCommentVNode(" 主体 "), vue.createElementVNode("div", _hoisted_7$5, [vue.createCommentVNode(" 分页 "), vue.createElementVNode("div", _hoisted_8$5, [vue.createElementVNode("div", _hoisted_9$4, [_hoisted_10$4, vue.createElementVNode("span", _hoisted_11$4, vue.toDisplayString(totalPages.value), 1
3784
+ })])]), vue.createCommentVNode(" 主体 "), vue.createElementVNode("div", _hoisted_7$5, [vue.createCommentVNode(" 分页 "), vue.createElementVNode("div", _hoisted_8$5, [vue.createElementVNode("div", _hoisted_9$5, [_hoisted_10$4, vue.createElementVNode("span", _hoisted_11$4, vue.toDisplayString(totalPages.value), 1
3796
3785
  /* TEXT */
3797
3786
  ), _hoisted_12$4, vue.createElementVNode("span", _hoisted_13$4, vue.toDisplayString(topCurrentPages.value), 1
3798
3787
  /* TEXT */
@@ -4574,31 +4563,29 @@
4574
4563
  return vue.pushScopeId("data-v-44290c60"), n = n(), vue.popScopeId(), n;
4575
4564
  };
4576
4565
 
4577
- var _hoisted_1$7 = {
4578
- "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
4579
- };
4580
-
4581
- var _hoisted_2$5 = /*#__PURE__*/_withScopeId$1(function () {
4582
- return /*#__PURE__*/vue.createElementVNode("span", {
4566
+ var _hoisted_1$7 = /*#__PURE__*/_withScopeId$1(function () {
4567
+ return /*#__PURE__*/vue.createElementVNode("div", {
4568
+ "class": "flex items-center h-[60px] pl-[40px] bg-[#97D2FD]"
4569
+ }, [/*#__PURE__*/vue.createCommentVNode(" <UnorderedListOutlined class=\"text-xl text-[#bd9e55]\" /> "), /*#__PURE__*/vue.createElementVNode("span", {
4583
4570
  "class": "text-xl text-[#bd9e55] pl-2"
4584
- }, "高拍仪", -1
4571
+ }, "高拍仪")], -1
4585
4572
  /* HOISTED */
4586
4573
  );
4587
4574
  });
4588
4575
 
4589
- var _hoisted_3$5 = {
4576
+ var _hoisted_2$5 = {
4590
4577
  "class": "Altimeter"
4591
4578
  };
4592
4579
 
4593
- var _hoisted_4$5 = /*#__PURE__*/_withScopeId$1(function () {
4580
+ var _hoisted_3$5 = /*#__PURE__*/_withScopeId$1(function () {
4594
4581
  return /*#__PURE__*/vue.createElementVNode("div", {
4595
4582
  "class": "text-[#0000006D] mt-2 text-[14px]"
4596
- }, "上传图片:", -1
4583
+ }, "图片预览:", -1
4597
4584
  /* HOISTED */
4598
4585
  );
4599
4586
  });
4600
4587
 
4601
- var _hoisted_5$5 = {
4588
+ var _hoisted_4$5 = {
4602
4589
  "class": "imgBox mt-8 ml-[-58px]"
4603
4590
  };
4604
4591
  var script$7 = /*#__PURE__*/vue.defineComponent({
@@ -4764,11 +4751,10 @@
4764
4751
  iframe.value.contentWindow.document.getElementById('closeDeviceButton').click();
4765
4752
  emit("update:detailVisible", false);
4766
4753
  emit("cancelHandle", pictures.value);
4754
+ pictures.value = [];
4767
4755
  }
4768
4756
 
4769
4757
  return function (_ctx, _cache) {
4770
- var _component_UnorderedListOutlined = vue.resolveComponent("UnorderedListOutlined");
4771
-
4772
4758
  var _component_a_image = vue.resolveComponent("a-image");
4773
4759
 
4774
4760
  var _component_CloseCircleOutlined = vue.resolveComponent("CloseCircleOutlined");
@@ -4782,12 +4768,10 @@
4782
4768
  onCancelHandle: cancelHandle
4783
4769
  }, {
4784
4770
  title: vue.withCtx(function () {
4785
- return [vue.createElementVNode("div", _hoisted_1$7, [vue.createVNode(_component_UnorderedListOutlined, {
4786
- "class": "text-xl text-[#bd9e55]"
4787
- }), _hoisted_2$5])];
4771
+ return [_hoisted_1$7];
4788
4772
  }),
4789
4773
  body: vue.withCtx(function () {
4790
- return [vue.createElementVNode("div", _hoisted_3$5, [vue.createCommentVNode(" src=\"/node_modules/iv-npm/packages/ui/dist/Altimeter/index.html\" "), vue.createElementVNode("iframe", {
4774
+ return [vue.createElementVNode("div", _hoisted_2$5, [vue.createCommentVNode(" src=\"/node_modules/iv-npm/packages/ui/dist/Altimeter/index.html\" "), vue.createElementVNode("iframe", {
4791
4775
  src: "/Altimeter/index.html",
4792
4776
  id: "iframe",
4793
4777
  ref_key: "iframe",
@@ -4797,7 +4781,7 @@
4797
4781
  onLoad: load
4798
4782
  }, null, 544
4799
4783
  /* HYDRATE_EVENTS, NEED_PATCH */
4800
- ), _hoisted_4$5, vue.createElementVNode("div", _hoisted_5$5, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pictures.value, function (e, i) {
4784
+ ), _hoisted_3$5, vue.createElementVNode("div", _hoisted_4$5, [(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(pictures.value, function (e, i) {
4801
4785
  return vue.openBlock(), vue.createElementBlock("div", {
4802
4786
  key: i,
4803
4787
  "class": "imgList"
@@ -4864,10 +4848,13 @@
4864
4848
  var _hoisted_6$4 = {
4865
4849
  key: 1
4866
4850
  };
4851
+ var _hoisted_7$4 = {
4852
+ key: 0
4853
+ };
4867
4854
 
4868
- var _hoisted_7$4 = /*#__PURE__*/vue.createTextVNode(" 上传 ");
4855
+ var _hoisted_8$4 = /*#__PURE__*/vue.createTextVNode(" 上传 ");
4869
4856
 
4870
- var _hoisted_8$4 = ["src"];
4857
+ var _hoisted_9$4 = ["src"];
4871
4858
  /**
4872
4859
  * uploadApi:api接口
4873
4860
  * uploadLength:最大上传文件数量
@@ -5163,7 +5150,7 @@
5163
5150
 
5164
5151
  return vue.openBlock(), vue.createElementBlock(vue.Fragment, null, [vue.createElementVNode("div", _hoisted_1$6, [vue.createVNode(_component_a_upload, {
5165
5152
  "file-list": fileList.value,
5166
- "onUpdate:file-list": _cache[0] || (_cache[0] = function ($event) {
5153
+ "onUpdate:file-list": _cache[1] || (_cache[1] = function ($event) {
5167
5154
  return fileList.value = $event;
5168
5155
  }),
5169
5156
  "list-type": __props.listType,
@@ -5183,11 +5170,21 @@
5183
5170
  onClick: _ctx.onUploadInvoice
5184
5171
  }, null, 8
5185
5172
  /* PROPS */
5186
- , ["onClick"])])) : (vue.openBlock(), vue.createBlock(_component_a_button, {
5173
+ , ["onClick"])])) : __props.listType === 'textCustom' ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, {
5187
5174
  key: 2
5175
+ }, [fileList.value.length < __props.uploadLength ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7$4, [vue.createElementVNode("span", {
5176
+ "class": "inline-block text-[#006AB2] cursor-pointer mb-[2px]",
5177
+ onClick: _cache[0] || (_cache[0] = //@ts-ignore
5178
+ function () {
5179
+ return _ctx.onUploadListChange && _ctx.onUploadListChange.apply(_ctx, arguments);
5180
+ })
5181
+ }, "上传")])) : vue.createCommentVNode("v-if", true)], 64
5182
+ /* STABLE_FRAGMENT */
5183
+ )) : (vue.openBlock(), vue.createBlock(_component_a_button, {
5184
+ key: 3
5188
5185
  }, {
5189
5186
  "default": vue.withCtx(function () {
5190
- return [vue.createVNode(_component_upload_outlined), _hoisted_7$4];
5187
+ return [vue.createVNode(_component_upload_outlined), _hoisted_8$4];
5191
5188
  }),
5192
5189
  _: 1
5193
5190
  /* STABLE */
@@ -5213,7 +5210,7 @@
5213
5210
  src: previewImage.value
5214
5211
  }, null, 8
5215
5212
  /* PROPS */
5216
- , _hoisted_8$4)];
5213
+ , _hoisted_9$4)];
5217
5214
  }),
5218
5215
  _: 1
5219
5216
  /* STABLE */
@@ -5223,7 +5220,7 @@
5223
5220
  , ["visible"]), __props.showAltimeter ? (vue.openBlock(), vue.createBlock(script$7, {
5224
5221
  key: 0,
5225
5222
  show: isAltimeter.value,
5226
- "onUpdate:show": _cache[1] || (_cache[1] = function ($event) {
5223
+ "onUpdate:show": _cache[2] || (_cache[2] = function ($event) {
5227
5224
  return isAltimeter.value = $event;
5228
5225
  }),
5229
5226
  onCancelHandle: cancelAltimeter,