@baosight/erm 1.0.54 → 1.0.56
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/lib/ermAttach/ermAttach.vue.d.ts +32 -16
- package/lib/index.common.js +105 -37
- package/lib/index.common.js.map +1 -1
- package/lib/index.css +1 -1
- package/lib/index.esm.css +61 -61
- package/lib/index.esm.js +1 -1
- package/lib/index.umd.js +105 -37
- package/lib/index.umd.js.map +1 -1
- package/lib/index.umd.min.js +2 -2
- package/lib/index.umd.min.js.map +1 -1
- package/package.json +1 -1
package/lib/index.umd.js
CHANGED
|
@@ -41304,7 +41304,7 @@ const MobileButtonEdit_exports_ = MobileButtonEditvue_type_script_lang_ts_setup_
|
|
|
41304
41304
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-86.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/ermForm/ermForm.vue?vue&type=script&lang=ts&setup=true
|
|
41305
41305
|
|
|
41306
41306
|
|
|
41307
|
-
const ermFormvue_type_script_lang_ts_setup_true_withScopeId = n => (_pushScopeId("data-v-
|
|
41307
|
+
const ermFormvue_type_script_lang_ts_setup_true_withScopeId = n => (_pushScopeId("data-v-5446108e"), n = n(), _popScopeId(), n);
|
|
41308
41308
|
const ermFormvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
41309
41309
|
key: 0,
|
|
41310
41310
|
class: "mainTitle"
|
|
@@ -41391,7 +41391,8 @@ const ermFormvue_type_script_lang_ts_setup_true_hoisted_5 = {
|
|
|
41391
41391
|
addRow,
|
|
41392
41392
|
checkRequireInput,
|
|
41393
41393
|
resetData,
|
|
41394
|
-
getGridCellData
|
|
41394
|
+
getGridCellData,
|
|
41395
|
+
mergeDataRow
|
|
41395
41396
|
});
|
|
41396
41397
|
//#endregion
|
|
41397
41398
|
//#region 单记录高度设置
|
|
@@ -41508,6 +41509,12 @@ const ermFormvue_type_script_lang_ts_setup_true_hoisted_5 = {
|
|
|
41508
41509
|
//#region 默认值规则defaultValueRule()
|
|
41509
41510
|
function defaultValueRule(str, type) {
|
|
41510
41511
|
var defaultValue = str.trim();
|
|
41512
|
+
if (str.trim().indexOf("yyyy") > 0) {
|
|
41513
|
+
defaultValue = str.trim().replace('yyyy', 'YYYY');
|
|
41514
|
+
}
|
|
41515
|
+
if (str.trim().indexOf("MMdd") > 0) {
|
|
41516
|
+
defaultValue = str.trim().replace('dd', 'DD');
|
|
41517
|
+
}
|
|
41511
41518
|
var date = new Date();
|
|
41512
41519
|
if (defaultValue === '$USER_ID$') {
|
|
41513
41520
|
return (0,ei.getCurrentUser)().userId;
|
|
@@ -41516,7 +41523,7 @@ const ermFormvue_type_script_lang_ts_setup_true_hoisted_5 = {
|
|
|
41516
41523
|
} else if (defaultValue === '$USER_NAME$') {
|
|
41517
41524
|
return (0,ei.getCurrentUser)().userName;
|
|
41518
41525
|
} else if (defaultValue.toUpperCase().indexOf('YYYY') >= 0 && defaultValue.toUpperCase().indexOf(',ADD') < 0) {
|
|
41519
|
-
var out = moment_default()(date).format(
|
|
41526
|
+
var out = moment_default()(date).format(defaultValue);
|
|
41520
41527
|
return out;
|
|
41521
41528
|
} else if (defaultValue.toUpperCase().indexOf(',ADDDAYS') > 0) {
|
|
41522
41529
|
var idx = defaultValue.toUpperCase().indexOf(',ADDDAYS');
|
|
@@ -41627,7 +41634,7 @@ const ermFormvue_type_script_lang_ts_setup_true_hoisted_5 = {
|
|
|
41627
41634
|
for (let i = 0; i < codeSets.value[itemConfig.SVC_NAME].data.length; i++) {
|
|
41628
41635
|
const element = codeSets.value[itemConfig.SVC_NAME].data[i];
|
|
41629
41636
|
codeSets.value[itemConfig.SVC_NAME].data[i].showFlag = true;
|
|
41630
|
-
if (data[0][itemConfig.FATHER_FIELD].
|
|
41637
|
+
if ((data[0][itemConfig.FATHER_FIELD] !== '' || data[0][itemConfig.FATHER_FIELD] !== ' ') && element[FORM_FILTER] !== data[0][itemConfig.FATHER_FIELD]) {
|
|
41631
41638
|
element.showFlag = false;
|
|
41632
41639
|
} else {
|
|
41633
41640
|
element.showFlag = true;
|
|
@@ -41690,6 +41697,22 @@ const ermFormvue_type_script_lang_ts_setup_true_hoisted_5 = {
|
|
|
41690
41697
|
});
|
|
41691
41698
|
}
|
|
41692
41699
|
//#endregion
|
|
41700
|
+
//#region mergeDataRow 整行赋值
|
|
41701
|
+
function mergeDataRow(idx, objIn) {
|
|
41702
|
+
if (data.length <= idx) {
|
|
41703
|
+
console.log('data中不存在第' + idx + '行数据');
|
|
41704
|
+
return;
|
|
41705
|
+
}
|
|
41706
|
+
for (const key in objIn) {
|
|
41707
|
+
if (objIn.hasOwnProperty(key)) {
|
|
41708
|
+
console.log(`属性名: ${key}, 属性值: ${objIn[key]}`);
|
|
41709
|
+
if (data[idx].hasOwnProperty(key)) {
|
|
41710
|
+
data[idx][key] = objIn[key];
|
|
41711
|
+
}
|
|
41712
|
+
}
|
|
41713
|
+
}
|
|
41714
|
+
}
|
|
41715
|
+
//#endregion
|
|
41693
41716
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
41694
41717
|
getItemConfig();
|
|
41695
41718
|
});
|
|
@@ -41791,10 +41814,10 @@ const ermFormvue_type_script_lang_ts_setup_true_hoisted_5 = {
|
|
|
41791
41814
|
}));
|
|
41792
41815
|
;// CONCATENATED MODULE: ./packages/ermForm/ermForm.vue?vue&type=script&lang=ts&setup=true
|
|
41793
41816
|
|
|
41794
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/ermForm/ermForm.vue?vue&type=style&index=0&id=
|
|
41817
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/ermForm/ermForm.vue?vue&type=style&index=0&id=5446108e&lang=scss&scoped=true
|
|
41795
41818
|
// extracted by mini-css-extract-plugin
|
|
41796
41819
|
|
|
41797
|
-
;// CONCATENATED MODULE: ./packages/ermForm/ermForm.vue?vue&type=style&index=0&id=
|
|
41820
|
+
;// CONCATENATED MODULE: ./packages/ermForm/ermForm.vue?vue&type=style&index=0&id=5446108e&lang=scss&scoped=true
|
|
41798
41821
|
|
|
41799
41822
|
;// CONCATENATED MODULE: ./packages/ermForm/ermForm.vue
|
|
41800
41823
|
|
|
@@ -41803,7 +41826,7 @@ const ermFormvue_type_script_lang_ts_setup_true_hoisted_5 = {
|
|
|
41803
41826
|
;
|
|
41804
41827
|
|
|
41805
41828
|
|
|
41806
|
-
const ermForm_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(ermFormvue_type_script_lang_ts_setup_true, [['__scopeId',"data-v-
|
|
41829
|
+
const ermForm_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(ermFormvue_type_script_lang_ts_setup_true, [['__scopeId',"data-v-5446108e"]])
|
|
41807
41830
|
|
|
41808
41831
|
/* harmony default export */ const ermForm = (ermForm_exports_);
|
|
41809
41832
|
;// CONCATENATED MODULE: ./packages/ermForm/index.ts
|
|
@@ -56324,11 +56347,12 @@ ImagePreview.install = (app) => {
|
|
|
56324
56347
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js!./node_modules/ts-loader/index.js??clonedRuleSet-86.use[2]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/ermAttach/ermAttach.vue?vue&type=script&lang=ts&setup=true
|
|
56325
56348
|
|
|
56326
56349
|
|
|
56327
|
-
const ermAttachvue_type_script_lang_ts_setup_true_withScopeId = n => (_pushScopeId("data-v-
|
|
56350
|
+
const ermAttachvue_type_script_lang_ts_setup_true_withScopeId = n => (_pushScopeId("data-v-0a9b23b3"), n = n(), _popScopeId(), n);
|
|
56328
56351
|
const ermAttachvue_type_script_lang_ts_setup_true_hoisted_1 = {
|
|
56329
56352
|
class: "container"
|
|
56330
56353
|
};
|
|
56331
56354
|
const ermAttachvue_type_script_lang_ts_setup_true_hoisted_2 = {
|
|
56355
|
+
key: 0,
|
|
56332
56356
|
class: "button-area"
|
|
56333
56357
|
};
|
|
56334
56358
|
const ermAttachvue_type_script_lang_ts_setup_true_hoisted_3 = {
|
|
@@ -56343,8 +56367,6 @@ const ermAttachvue_type_script_lang_ts_setup_true_hoisted_4 = ["src"];
|
|
|
56343
56367
|
|
|
56344
56368
|
|
|
56345
56369
|
|
|
56346
|
-
// const servePath = 'http://10.25.145.55:10004/api/'; // 定义服务地址
|
|
56347
|
-
// const rootDirectory = '/BSMesWare/BM2A01/Attach/'; // 定义根目录
|
|
56348
56370
|
const maxSize = 5 * 1024 * 1024; // 记录上传文件最大容量
|
|
56349
56371
|
/* harmony default export */ const ermAttachvue_type_script_lang_ts_setup_true = (/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.defineComponent)({
|
|
56350
56372
|
__name: 'ermAttach',
|
|
@@ -56355,29 +56377,39 @@ const maxSize = 5 * 1024 * 1024; // 记录上传文件最大容量
|
|
|
56355
56377
|
*/
|
|
56356
56378
|
recId: {
|
|
56357
56379
|
type: String,
|
|
56358
|
-
require: true
|
|
56359
|
-
default: 'TEST'
|
|
56380
|
+
require: true
|
|
56360
56381
|
},
|
|
56361
56382
|
/**
|
|
56362
|
-
*
|
|
56383
|
+
* code-框架代码
|
|
56363
56384
|
* @type {String}
|
|
56364
56385
|
*/
|
|
56365
|
-
|
|
56386
|
+
code: {
|
|
56366
56387
|
type: String,
|
|
56367
|
-
require: true
|
|
56368
|
-
default: 'http://10.25.145.55:10004/api/'
|
|
56388
|
+
require: true
|
|
56369
56389
|
},
|
|
56370
56390
|
/**
|
|
56371
|
-
*
|
|
56391
|
+
* isSort-是否排序
|
|
56372
56392
|
* @type {String}
|
|
56373
56393
|
*/
|
|
56374
|
-
|
|
56375
|
-
type:
|
|
56376
|
-
require:
|
|
56394
|
+
isSort: {
|
|
56395
|
+
type: Boolean,
|
|
56396
|
+
require: false,
|
|
56397
|
+
default: false
|
|
56398
|
+
},
|
|
56399
|
+
/**
|
|
56400
|
+
* isOnlyPreview-是否只预览
|
|
56401
|
+
* @type {String}
|
|
56402
|
+
*/
|
|
56403
|
+
isOnlyPreview: {
|
|
56404
|
+
type: Boolean,
|
|
56405
|
+
require: false,
|
|
56406
|
+
default: false
|
|
56377
56407
|
}
|
|
56378
56408
|
},
|
|
56379
56409
|
setup(__props) {
|
|
56380
56410
|
// #region import及变量定义
|
|
56411
|
+
let servePath = ''; // 定义服务地址
|
|
56412
|
+
let rootDirectory = ''; // 定义根目录
|
|
56381
56413
|
const previewURl = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)(); // 文件预览地址
|
|
56382
56414
|
const fileInfo = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.ref)([]); // 文件信息
|
|
56383
56415
|
let imageUrl = ''; // 图标路径
|
|
@@ -56395,18 +56427,21 @@ const maxSize = 5 * 1024 * 1024; // 记录上传文件最大容量
|
|
|
56395
56427
|
// #endregion
|
|
56396
56428
|
// #region 初始化服务信息
|
|
56397
56429
|
(0,external_commonjs_vue_commonjs2_vue_root_Vue_.onMounted)(() => {
|
|
56398
|
-
|
|
56399
|
-
|
|
56430
|
+
setTimeout(() => {
|
|
56431
|
+
initServeInfo(); // 初始化服务信息
|
|
56432
|
+
}, 1000);
|
|
56400
56433
|
});
|
|
56401
|
-
|
|
56402
56434
|
const initServeInfo = () => {
|
|
56403
|
-
|
|
56404
|
-
de.getServerInfo(code).then(res => {
|
|
56435
|
+
de.getServerInfo(prop.code).then(res => {
|
|
56405
56436
|
console.log('服务器信息:', res);
|
|
56437
|
+
console.log('isOnlyPreview', prop.isOnlyPreview);
|
|
56406
56438
|
Toast({
|
|
56407
56439
|
message: '服务信息初始化成功',
|
|
56408
56440
|
duration: 2000
|
|
56409
56441
|
});
|
|
56442
|
+
servePath = res.serverUrl;
|
|
56443
|
+
rootDirectory = res.rootPath;
|
|
56444
|
+
getFile(); // 获取文件信息
|
|
56410
56445
|
}).catch(error => {
|
|
56411
56446
|
console.error('error', error);
|
|
56412
56447
|
Toast({
|
|
@@ -56418,11 +56453,16 @@ const maxSize = 5 * 1024 * 1024; // 记录上传文件最大容量
|
|
|
56418
56453
|
// #endregion
|
|
56419
56454
|
// #region 获取文件信息
|
|
56420
56455
|
const getFile = () => {
|
|
56421
|
-
de.getFilesInfo(prop.recId,
|
|
56456
|
+
de.getFilesInfo(prop.recId, servePath, rootDirectory).then(res => {
|
|
56422
56457
|
console.log('获取文件:', res);
|
|
56423
56458
|
if (res.success === true) {
|
|
56424
56459
|
fileInfo.value = res.result;
|
|
56425
56460
|
console.log('fileInfo', fileInfo.value);
|
|
56461
|
+
if (prop.isSort) {
|
|
56462
|
+
console.log('排序前', fileInfo.value);
|
|
56463
|
+
fileInfo.value.reverse();
|
|
56464
|
+
console.log('排序后', fileInfo.value);
|
|
56465
|
+
}
|
|
56426
56466
|
// 获取文件信息后,更新imgsUrl数组
|
|
56427
56467
|
imgsUrl = [];
|
|
56428
56468
|
fileInfo.value.forEach(item => {
|
|
@@ -56458,7 +56498,7 @@ const maxSize = 5 * 1024 * 1024; // 记录上传文件最大容量
|
|
|
56458
56498
|
ImagePreview(imgsUrl, indexOfImg);
|
|
56459
56499
|
} else {
|
|
56460
56500
|
previewURl.value = '';
|
|
56461
|
-
de.filePreview(e.key,
|
|
56501
|
+
de.filePreview(e.key, servePath, rootDirectory).then(res => {
|
|
56462
56502
|
console.log('预览后台返回:', res);
|
|
56463
56503
|
show.value = true;
|
|
56464
56504
|
previewURl.value = res;
|
|
@@ -56486,7 +56526,7 @@ const maxSize = 5 * 1024 * 1024; // 记录上传文件最大容量
|
|
|
56486
56526
|
console.log('blobData', blobData);
|
|
56487
56527
|
const fileName = file0.file.name; // 文件全称
|
|
56488
56528
|
const fileSize = file0.file.size; // 文件大小
|
|
56489
|
-
de.fileUpload(blobData, prop.recId, fileName, fileSize,
|
|
56529
|
+
de.fileUpload(blobData, prop.recId, fileName, fileSize, servePath, rootDirectory).then(res => {
|
|
56490
56530
|
console.log('文件上传:', res);
|
|
56491
56531
|
if (res.success === true) {
|
|
56492
56532
|
Toast.success({
|
|
@@ -56509,7 +56549,7 @@ const maxSize = 5 * 1024 * 1024; // 记录上传文件最大容量
|
|
|
56509
56549
|
console.log('blobData', blobData);
|
|
56510
56550
|
const fileName = file.file.name; // 文件全称
|
|
56511
56551
|
const fileSize = file.file.size; // 文件大小
|
|
56512
|
-
de.fileUpload(blobData, prop.recId, fileName, fileSize,
|
|
56552
|
+
de.fileUpload(blobData, prop.recId, fileName, fileSize, servePath, rootDirectory).then(res => {
|
|
56513
56553
|
console.log('文件上传:', res);
|
|
56514
56554
|
if (res.success === true) {
|
|
56515
56555
|
Toast.success({
|
|
@@ -56538,7 +56578,7 @@ const maxSize = 5 * 1024 * 1024; // 记录上传文件最大容量
|
|
|
56538
56578
|
const deleteFile = e => {
|
|
56539
56579
|
console.log('e', e);
|
|
56540
56580
|
const fileName = e.name; // 文件全称
|
|
56541
|
-
de.fileDelete(fileName, prop.recId,
|
|
56581
|
+
de.fileDelete(fileName, prop.recId, servePath, rootDirectory).then(res => {
|
|
56542
56582
|
console.log('删除文件:', res);
|
|
56543
56583
|
if (res.success === true) {
|
|
56544
56584
|
Toast({
|
|
@@ -56702,15 +56742,18 @@ const maxSize = 5 * 1024 * 1024; // 记录上传文件最大容量
|
|
|
56702
56742
|
const _component_van_swipe_cell = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("van-swipe-cell");
|
|
56703
56743
|
const _component_van_checkbox_group = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("van-checkbox-group");
|
|
56704
56744
|
const _component_van_list = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("van-list");
|
|
56745
|
+
const _component_van_image = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("van-image");
|
|
56746
|
+
const _component_van_grid_item = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("van-grid-item");
|
|
56747
|
+
const _component_van_grid = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("van-grid");
|
|
56705
56748
|
const _component_van_popup = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("van-popup");
|
|
56706
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", ermAttachvue_type_script_lang_ts_setup_true_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.
|
|
56749
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", ermAttachvue_type_script_lang_ts_setup_true_hoisted_1, [!prop.isOnlyPreview ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", ermAttachvue_type_script_lang_ts_setup_true_hoisted_2, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_van_uploader, {
|
|
56707
56750
|
disabled: isVisible.value,
|
|
56708
56751
|
"preview-image": false,
|
|
56709
56752
|
"after-read": afterRead,
|
|
56710
56753
|
multiple: true,
|
|
56711
56754
|
"max-size": maxSize,
|
|
56712
56755
|
onOversize: onOversize,
|
|
56713
|
-
accept: ".doc,.docx,.pdf,.ppt,.pptx,.xlsx,.xls"
|
|
56756
|
+
accept: ".jpg,.png,.jpeg,.doc,.docx,.pdf,.ppt,.pptx,.xlsx,.xls"
|
|
56714
56757
|
}, {
|
|
56715
56758
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_van_button, {
|
|
56716
56759
|
icon: "plus",
|
|
@@ -56751,7 +56794,9 @@ const maxSize = 5 * 1024 * 1024; // 记录上传文件最大容量
|
|
|
56751
56794
|
}, {
|
|
56752
56795
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)("批量管理")]),
|
|
56753
56796
|
_: 1
|
|
56754
|
-
})]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.
|
|
56797
|
+
})])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), !prop.isOnlyPreview ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_van_list, {
|
|
56798
|
+
key: 1
|
|
56799
|
+
}, {
|
|
56755
56800
|
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_van_checkbox_group, {
|
|
56756
56801
|
modelValue: checked.value,
|
|
56757
56802
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = $event => checked.value = $event),
|
|
@@ -56813,7 +56858,30 @@ const maxSize = 5 * 1024 * 1024; // 记录上传文件最大容量
|
|
|
56813
56858
|
_: 1
|
|
56814
56859
|
}, 8, ["modelValue"])]),
|
|
56815
56860
|
_: 1
|
|
56816
|
-
})
|
|
56861
|
+
})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), prop.isOnlyPreview ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_van_list, {
|
|
56862
|
+
key: 2
|
|
56863
|
+
}, {
|
|
56864
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_van_grid, {
|
|
56865
|
+
gutter: 10,
|
|
56866
|
+
border: false,
|
|
56867
|
+
"column-num": 2
|
|
56868
|
+
}, {
|
|
56869
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderList)(fileInfo.value, (item, index) => {
|
|
56870
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_van_grid_item, {
|
|
56871
|
+
key: index
|
|
56872
|
+
}, {
|
|
56873
|
+
default: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withCtx)(() => [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_van_image, {
|
|
56874
|
+
fit: "fill",
|
|
56875
|
+
src: getImageUrlBySuffix(item),
|
|
56876
|
+
onClick: $event => previewFile(item, index)
|
|
56877
|
+
}, null, 8, ["src", "onClick"])]),
|
|
56878
|
+
_: 2
|
|
56879
|
+
}, 1024);
|
|
56880
|
+
}), 128))]),
|
|
56881
|
+
_: 1
|
|
56882
|
+
})]),
|
|
56883
|
+
_: 1
|
|
56884
|
+
})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", ermAttachvue_type_script_lang_ts_setup_true_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_van_popup, {
|
|
56817
56885
|
"v-model:show": show.value,
|
|
56818
56886
|
position: "bottom",
|
|
56819
56887
|
style: {
|
|
@@ -56834,10 +56902,10 @@ const maxSize = 5 * 1024 * 1024; // 记录上传文件最大容量
|
|
|
56834
56902
|
}));
|
|
56835
56903
|
;// CONCATENATED MODULE: ./packages/ermAttach/ermAttach.vue?vue&type=script&lang=ts&setup=true
|
|
56836
56904
|
|
|
56837
|
-
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/ermAttach/ermAttach.vue?vue&type=style&index=0&id=
|
|
56905
|
+
;// CONCATENATED MODULE: ./node_modules/mini-css-extract-plugin/dist/loader.js??clonedRuleSet-67.use[0]!./node_modules/css-loader/dist/cjs.js??clonedRuleSet-67.use[1]!./node_modules/vue-loader/dist/stylePostLoader.js!./node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-67.use[2]!./node_modules/sass-loader/dist/cjs.js??clonedRuleSet-67.use[3]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./packages/ermAttach/ermAttach.vue?vue&type=style&index=0&id=0a9b23b3&lang=scss&scoped=true
|
|
56838
56906
|
// extracted by mini-css-extract-plugin
|
|
56839
56907
|
|
|
56840
|
-
;// CONCATENATED MODULE: ./packages/ermAttach/ermAttach.vue?vue&type=style&index=0&id=
|
|
56908
|
+
;// CONCATENATED MODULE: ./packages/ermAttach/ermAttach.vue?vue&type=style&index=0&id=0a9b23b3&lang=scss&scoped=true
|
|
56841
56909
|
|
|
56842
56910
|
;// CONCATENATED MODULE: ./packages/ermAttach/ermAttach.vue
|
|
56843
56911
|
|
|
@@ -56846,7 +56914,7 @@ const maxSize = 5 * 1024 * 1024; // 记录上传文件最大容量
|
|
|
56846
56914
|
;
|
|
56847
56915
|
|
|
56848
56916
|
|
|
56849
|
-
const ermAttach_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(ermAttachvue_type_script_lang_ts_setup_true, [['__scopeId',"data-v-
|
|
56917
|
+
const ermAttach_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(ermAttachvue_type_script_lang_ts_setup_true, [['__scopeId',"data-v-0a9b23b3"]])
|
|
56850
56918
|
|
|
56851
56919
|
/* harmony default export */ const ermAttach = (ermAttach_exports_);
|
|
56852
56920
|
;// CONCATENATED MODULE: ./packages/ermAttach/index.ts
|