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.
- package/package.json +1 -1
- package/packages/shared/package.json +31 -31
- package/packages/ui/dist/Altimeter/index.html +3 -2
- package/packages/ui/dist/business-ui/component/IVOrgDropdown.d.ts +0 -17
- package/packages/ui/dist/index.cjs.js +47 -50
- package/packages/ui/dist/index.esm.js +47 -50
- package/packages/ui/dist/index.umd.js +47 -50
- package/packages/ui/dist/index.umd.js.map +1 -1
- package/packages/ui/package.json +60 -60
- package/pnpm-lock.yaml +5724 -5724
package/package.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@IVNPM/shared",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"private": false,
|
|
5
|
-
"description": "IVNPM/shared",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"prepare": "npm run build",
|
|
8
|
-
"dev": "tsup --watch",
|
|
9
|
-
"build": "tsup"
|
|
10
|
-
},
|
|
11
|
-
"main": "dist/utils/index.mjs",
|
|
12
|
-
"module": "dist/utils/index.mjs",
|
|
13
|
-
"types": "dist/utils/index.d.ts",
|
|
14
|
-
"files": [
|
|
15
|
-
"index.js",
|
|
16
|
-
"dist"
|
|
17
|
-
],
|
|
18
|
-
"author": "Mr.Cong",
|
|
19
|
-
"license": "ISC",
|
|
20
|
-
"devDependencies": {
|
|
21
|
-
"@types/node": "^18.6.4",
|
|
22
|
-
"rollup-plugin-copy": "^3.4.0",
|
|
23
|
-
"tsup": "^6.2.1"
|
|
24
|
-
},
|
|
25
|
-
"peerDependencies": {
|
|
26
|
-
"ant-design-vue": "^3.2.5"
|
|
27
|
-
},
|
|
28
|
-
"dependencies": {
|
|
29
|
-
"nanoid": "^4.0.0"
|
|
30
|
-
}
|
|
31
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@IVNPM/shared",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "IVNPM/shared",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"prepare": "npm run build",
|
|
8
|
+
"dev": "tsup --watch",
|
|
9
|
+
"build": "tsup"
|
|
10
|
+
},
|
|
11
|
+
"main": "dist/utils/index.mjs",
|
|
12
|
+
"module": "dist/utils/index.mjs",
|
|
13
|
+
"types": "dist/utils/index.d.ts",
|
|
14
|
+
"files": [
|
|
15
|
+
"index.js",
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"author": "Mr.Cong",
|
|
19
|
+
"license": "ISC",
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@types/node": "^18.6.4",
|
|
22
|
+
"rollup-plugin-copy": "^3.4.0",
|
|
23
|
+
"tsup": "^6.2.1"
|
|
24
|
+
},
|
|
25
|
+
"peerDependencies": {
|
|
26
|
+
"ant-design-vue": "^3.2.5"
|
|
27
|
+
},
|
|
28
|
+
"dependencies": {
|
|
29
|
+
"nanoid": "^4.0.0"
|
|
30
|
+
}
|
|
31
|
+
}
|
|
@@ -113,6 +113,7 @@
|
|
|
113
113
|
function GetCameraOnOffStatus(status) {
|
|
114
114
|
if (status == 0) {
|
|
115
115
|
window.parent.postMessage({ message: "设备开启成功" }, '*')
|
|
116
|
+
Cam_SetCutMode(1); //设备开启后自动裁剪
|
|
116
117
|
}
|
|
117
118
|
else {
|
|
118
119
|
window.parent.postMessage({ error: "设备开启失败" }, '*')
|
|
@@ -564,7 +565,7 @@
|
|
|
564
565
|
|
|
565
566
|
<body onload="LoadCameraDocument()">
|
|
566
567
|
|
|
567
|
-
<div style="width:602px; height: 400px; border: 1px solid white; background:#DEDEBE; font-size:14px; float:left;
|
|
568
|
+
<div style="width:602px; height: 400px; border: 1px solid white; background:#DEDEBE; font-size:14px; float:left;">
|
|
568
569
|
|
|
569
570
|
<div id='Div1' style="width:600px; height: 300px">
|
|
570
571
|
<div id='CameraCtl' style="width:600px; height: 300px; float:left"> </div>
|
|
@@ -670,7 +671,7 @@
|
|
|
670
671
|
<!-- <input type="button" value="删除文件" onclick="ToDeleteFile();" /> -->
|
|
671
672
|
<!-- <input type="button" value="上传" onclick="HttpUploadFile();" /> -->
|
|
672
673
|
</div>
|
|
673
|
-
<input type="button" value="拍照" onclick="TakePhoto();" />
|
|
674
|
+
<input style="width: 100%;height: 30px;" type="button" value="拍照" onclick="TakePhoto();" />
|
|
674
675
|
|
|
675
676
|
<div>
|
|
676
677
|
|
|
@@ -14,14 +14,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
14
14
|
type: ObjectConstructor;
|
|
15
15
|
required: false;
|
|
16
16
|
};
|
|
17
|
-
fieldNames: {
|
|
18
|
-
type: null;
|
|
19
|
-
required: false;
|
|
20
|
-
default: () => {
|
|
21
|
-
label: string;
|
|
22
|
-
value: string;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
17
|
replaceFields: {
|
|
26
18
|
type: null;
|
|
27
19
|
required: false;
|
|
@@ -91,14 +83,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
91
83
|
type: ObjectConstructor;
|
|
92
84
|
required: false;
|
|
93
85
|
};
|
|
94
|
-
fieldNames: {
|
|
95
|
-
type: null;
|
|
96
|
-
required: false;
|
|
97
|
-
default: () => {
|
|
98
|
-
label: string;
|
|
99
|
-
value: string;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
86
|
replaceFields: {
|
|
103
87
|
type: null;
|
|
104
88
|
required: false;
|
|
@@ -157,7 +141,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
157
141
|
"onUpdate:value"?: ((...args: any[]) => any) | undefined;
|
|
158
142
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
159
143
|
}, {
|
|
160
|
-
fieldNames: any;
|
|
161
144
|
replaceFields: any;
|
|
162
145
|
inputStyle: Record<string, any>;
|
|
163
146
|
isRequired: boolean;
|
|
@@ -565,7 +565,7 @@ var _hoisted_4$9 = {
|
|
|
565
565
|
key: 0
|
|
566
566
|
};
|
|
567
567
|
|
|
568
|
-
var _hoisted_5$
|
|
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 @@ var _hoisted_8$6 = {
|
|
|
586
586
|
"class": "mrpTable",
|
|
587
587
|
id: "IVTable"
|
|
588
588
|
};
|
|
589
|
-
var _hoisted_9$
|
|
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 @@ var script$n = /*#__PURE__*/vue.defineComponent({
|
|
|
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$
|
|
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 @@ var script$n = /*#__PURE__*/vue.defineComponent({
|
|
|
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$
|
|
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 @@ var _hoisted_3$8 = /*#__PURE__*/vue.createTextVNode(" 默认 ");
|
|
|
961
961
|
|
|
962
962
|
var _hoisted_4$8 = /*#__PURE__*/vue.createTextVNode(" 中等 ");
|
|
963
963
|
|
|
964
|
-
var _hoisted_5$
|
|
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 @@ var script$m = /*#__PURE__*/vue.defineComponent({
|
|
|
1116
1116
|
key: "2"
|
|
1117
1117
|
}, {
|
|
1118
1118
|
"default": vue.withCtx(function () {
|
|
1119
|
-
return [_hoisted_5$
|
|
1119
|
+
return [_hoisted_5$7];
|
|
1120
1120
|
}),
|
|
1121
1121
|
_: 1
|
|
1122
1122
|
/* STABLE */
|
|
@@ -1511,16 +1511,6 @@ var script$l = /*#__PURE__*/vue.defineComponent({
|
|
|
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 @@ var script$l = /*#__PURE__*/vue.defineComponent({
|
|
|
1635
1625
|
}
|
|
1636
1626
|
});
|
|
1637
1627
|
var filterOption = vue.computed(function () {
|
|
1638
|
-
return filterOptionHeadle(props.
|
|
1628
|
+
return filterOptionHeadle(props.replaceFields.label);
|
|
1639
1629
|
});
|
|
1640
1630
|
/**
|
|
1641
1631
|
* 侦听器-------------------------------------
|
|
@@ -1705,11 +1695,10 @@ var script$l = /*#__PURE__*/vue.defineComponent({
|
|
|
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", "
|
|
1701
|
+
, ["value", "tree-data", "getPopupContainer", "placeholder", "allowClear", "multiple", "filterOption", "style", "replaceFields"])];
|
|
1713
1702
|
}),
|
|
1714
1703
|
_: 1
|
|
1715
1704
|
/* STABLE */
|
|
@@ -3341,7 +3330,7 @@ var _hoisted_3$7 = vue.createElementVNode("g", {
|
|
|
3341
3330
|
})], -1
|
|
3342
3331
|
);
|
|
3343
3332
|
var _hoisted_4$7 = [_hoisted_3$7];
|
|
3344
|
-
var _hoisted_5$
|
|
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 @@ var _hoisted_6$6 = vue.createElementVNode("g", {
|
|
|
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$
|
|
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 @@ var _hoisted_3$6 = {
|
|
|
3389
3378
|
var _hoisted_4$6 = {
|
|
3390
3379
|
"class": "mx-10"
|
|
3391
3380
|
};
|
|
3392
|
-
var _hoisted_5$
|
|
3381
|
+
var _hoisted_5$5 = {
|
|
3393
3382
|
"class": "flex items-center my-4 justify-center"
|
|
3394
3383
|
};
|
|
3395
3384
|
|
|
@@ -3401,7 +3390,7 @@ var _hoisted_7$5 = {
|
|
|
3401
3390
|
var _hoisted_8$5 = {
|
|
3402
3391
|
"class": "flex justify-between mb-2"
|
|
3403
3392
|
};
|
|
3404
|
-
var _hoisted_9$
|
|
3393
|
+
var _hoisted_9$5 = {
|
|
3405
3394
|
"class": "text-[#999999]"
|
|
3406
3395
|
};
|
|
3407
3396
|
|
|
@@ -3717,7 +3706,7 @@ var script$b = /*#__PURE__*/vue.defineComponent({
|
|
|
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$
|
|
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 @@ var script$b = /*#__PURE__*/vue.defineComponent({
|
|
|
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$
|
|
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 @@ var _withScopeId$1 = function _withScopeId(n) {
|
|
|
4574
4563
|
return vue.pushScopeId("data-v-44290c60"), n = n(), vue.popScopeId(), n;
|
|
4575
4564
|
};
|
|
4576
4565
|
|
|
4577
|
-
var _hoisted_1$7 = {
|
|
4578
|
-
"
|
|
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
|
|
4576
|
+
var _hoisted_2$5 = {
|
|
4590
4577
|
"class": "Altimeter"
|
|
4591
4578
|
};
|
|
4592
4579
|
|
|
4593
|
-
var
|
|
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
|
-
}, "
|
|
4583
|
+
}, "图片预览:", -1
|
|
4597
4584
|
/* HOISTED */
|
|
4598
4585
|
);
|
|
4599
4586
|
});
|
|
4600
4587
|
|
|
4601
|
-
var
|
|
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 @@ var script$7 = /*#__PURE__*/vue.defineComponent({
|
|
|
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 @@ var script$7 = /*#__PURE__*/vue.defineComponent({
|
|
|
4782
4768
|
onCancelHandle: cancelHandle
|
|
4783
4769
|
}, {
|
|
4784
4770
|
title: vue.withCtx(function () {
|
|
4785
|
-
return [
|
|
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",
|
|
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 @@ var script$7 = /*#__PURE__*/vue.defineComponent({
|
|
|
4797
4781
|
onLoad: load
|
|
4798
4782
|
}, null, 544
|
|
4799
4783
|
/* HYDRATE_EVENTS, NEED_PATCH */
|
|
4800
|
-
),
|
|
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 @@ var _hoisted_5$4 = [_hoisted_3$4, _hoisted_4$4];
|
|
|
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
|
|
4855
|
+
var _hoisted_8$4 = /*#__PURE__*/vue.createTextVNode(" 上传 ");
|
|
4869
4856
|
|
|
4870
|
-
var
|
|
4857
|
+
var _hoisted_9$4 = ["src"];
|
|
4871
4858
|
/**
|
|
4872
4859
|
* uploadApi:api接口
|
|
4873
4860
|
* uploadLength:最大上传文件数量
|
|
@@ -5163,7 +5150,7 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
|
|
|
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[
|
|
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 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
|
|
|
5183
5170
|
onClick: _ctx.onUploadInvoice
|
|
5184
5171
|
}, null, 8
|
|
5185
5172
|
/* PROPS */
|
|
5186
|
-
, ["onClick"])])) : (vue.openBlock(), vue.
|
|
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),
|
|
5187
|
+
return [vue.createVNode(_component_upload_outlined), _hoisted_8$4];
|
|
5191
5188
|
}),
|
|
5192
5189
|
_: 1
|
|
5193
5190
|
/* STABLE */
|
|
@@ -5213,7 +5210,7 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
|
|
|
5213
5210
|
src: previewImage.value
|
|
5214
5211
|
}, null, 8
|
|
5215
5212
|
/* PROPS */
|
|
5216
|
-
,
|
|
5213
|
+
, _hoisted_9$4)];
|
|
5217
5214
|
}),
|
|
5218
5215
|
_: 1
|
|
5219
5216
|
/* STABLE */
|
|
@@ -5223,7 +5220,7 @@ var script$6 = /*#__PURE__*/vue.defineComponent({
|
|
|
5223
5220
|
, ["visible"]), __props.showAltimeter ? (vue.openBlock(), vue.createBlock(script$7, {
|
|
5224
5221
|
key: 0,
|
|
5225
5222
|
show: isAltimeter.value,
|
|
5226
|
-
"onUpdate:show": _cache[
|
|
5223
|
+
"onUpdate:show": _cache[2] || (_cache[2] = function ($event) {
|
|
5227
5224
|
return isAltimeter.value = $event;
|
|
5228
5225
|
}),
|
|
5229
5226
|
onCancelHandle: cancelAltimeter,
|