@fmdeui/fmui 1.0.113 → 1.0.115
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/es/component.mjs +3 -1
- package/es/components/fm-datepicker/index.d.ts +33 -0
- package/es/components/fm-datepicker/index.vue.d.ts +34 -0
- package/es/components/index.d.ts +1 -0
- package/es/hooks/useVxeTableOptionsHook.d.ts +4 -0
- package/es/index.mjs +1 -1
- package/es/packages/components/fm-autocomplete/index2.vue.mjs +46 -41
- package/es/packages/components/fm-datepicker/index.mjs +6 -0
- package/es/packages/components/fm-datepicker/index.vue.mjs +5 -0
- package/es/packages/components/fm-datepicker/index2.vue.mjs +56 -0
- package/es/packages/components/index.mjs +1 -0
- package/es/packages/hooks/useVxeTableOptionsHook.mjs +22 -4
- package/es/packages/utils/formatTime.mjs +12 -1
- package/es/packages/utils/index.mjs +1 -1
- package/es/utils/formatTime.d.ts +10 -0
- package/index.js +183 -93
- package/index.min.js +7 -7
- package/index.min.mjs +7 -7
- package/index.mjs +182 -94
- package/lib/component.js +3 -1
- package/lib/components/fm-datepicker/index.d.ts +33 -0
- package/lib/components/fm-datepicker/index.vue.d.ts +34 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/hooks/useVxeTableOptionsHook.d.ts +4 -0
- package/lib/index.js +2 -0
- package/lib/packages/components/fm-autocomplete/index2.vue.js +45 -40
- package/lib/packages/components/fm-datepicker/index.js +8 -0
- package/lib/packages/components/fm-datepicker/index.vue.js +9 -0
- package/lib/packages/components/fm-datepicker/index2.vue.js +60 -0
- package/lib/packages/components/index.js +6 -4
- package/lib/packages/hooks/useVxeTableOptionsHook.js +22 -4
- package/lib/packages/utils/formatTime.js +13 -0
- package/lib/packages/utils/index.js +2 -0
- package/lib/utils/formatTime.d.ts +10 -0
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/package.json +1 -1
- /package/es/{defaults.css → make-installer.css} +0 -0
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! fmdeui-fmui v1.0.
|
|
1
|
+
/*! fmdeui-fmui v1.0.115 */
|
|
2
2
|
(function (global, factory) {
|
|
3
3
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('vxe-table'), require('@vxe-ui/plugin-render-element'), require('@vxe-ui/plugin-export-xlsx'), require('vxe-pc-ui'), require('exceljs'), require('@element-plus/icons-vue'), require('vue'), require('element-plus'), require('lodash-es'), require('js-cookie'), require('pinia'), require('vue-router'), require('@vueuse/core'), require('crypto-js'), require('xlsx-js-style'), require('vue-i18n'), require('sortablejs'), require('screenfull'), require('push.js'), require('mitt'), require('@microsoft/signalr'), require('axios')) :
|
|
4
4
|
typeof define === 'function' && define.amd ? define(['exports', 'vxe-table', '@vxe-ui/plugin-render-element', '@vxe-ui/plugin-export-xlsx', 'vxe-pc-ui', 'exceljs', '@element-plus/icons-vue', 'vue', 'element-plus', 'lodash-es', 'js-cookie', 'pinia', 'vue-router', '@vueuse/core', 'crypto-js', 'xlsx-js-style', 'vue-i18n', 'sortablejs', 'screenfull', 'push.js', 'mitt', '@microsoft/signalr', 'axios'], factory) :
|
|
@@ -757,6 +757,17 @@
|
|
|
757
757
|
else if (hour < 22) return getMessage("eveningGreeting");
|
|
758
758
|
else return getMessage("nightGreeting");
|
|
759
759
|
}
|
|
760
|
+
function getBdate(num = 1) {
|
|
761
|
+
const firstDay = /* @__PURE__ */ new Date();
|
|
762
|
+
firstDay.setDate(num);
|
|
763
|
+
return formatDate(firstDay, "YYYY-mm-dd");
|
|
764
|
+
}
|
|
765
|
+
function getEdate(num = 0) {
|
|
766
|
+
const lastDay = /* @__PURE__ */ new Date();
|
|
767
|
+
lastDay.setMonth(lastDay.getMonth() + 1, 0);
|
|
768
|
+
if (num > 0) lastDay.setDate(num);
|
|
769
|
+
return formatDate(lastDay, "YYYY-mm-dd");
|
|
770
|
+
}
|
|
760
771
|
|
|
761
772
|
const TRIGGER_INPUT = "change";
|
|
762
773
|
const TRIGGER_BLUR = "blur";
|
|
@@ -20297,7 +20308,7 @@
|
|
|
20297
20308
|
app.use(VxeUITable);
|
|
20298
20309
|
};
|
|
20299
20310
|
|
|
20300
|
-
var _sfc_main$
|
|
20311
|
+
var _sfc_main$N = /* @__PURE__ */ vue.defineComponent({
|
|
20301
20312
|
...{
|
|
20302
20313
|
name: "FButton"
|
|
20303
20314
|
},
|
|
@@ -20367,7 +20378,7 @@
|
|
|
20367
20378
|
}
|
|
20368
20379
|
});
|
|
20369
20380
|
|
|
20370
|
-
const FButton = _sfc_main$
|
|
20381
|
+
const FButton = _sfc_main$N;
|
|
20371
20382
|
|
|
20372
20383
|
const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
|
|
20373
20384
|
const translate = (path, option, locale) => lodashEs.get(locale, path, path).replace(
|
|
@@ -20438,7 +20449,7 @@
|
|
|
20438
20449
|
}
|
|
20439
20450
|
|
|
20440
20451
|
const useVxeTable = (opt, extras) => {
|
|
20441
|
-
var _a, _b;
|
|
20452
|
+
var _a, _b, _c;
|
|
20442
20453
|
const vxeSize = useThemeConfig().themeConfig.globalComponentSize == "small" ? "mini" : useThemeConfig().themeConfig.globalComponentSize == "default" ? "small" : "medium";
|
|
20443
20454
|
const userStore = useUserInfo();
|
|
20444
20455
|
const processColumns = (columns) => {
|
|
@@ -20489,7 +20500,25 @@
|
|
|
20489
20500
|
}
|
|
20490
20501
|
}
|
|
20491
20502
|
}
|
|
20492
|
-
} : opt.spanMethod ? opt.spanMethod : ({ row, rowIndex, column, visibleData }) => {
|
|
20503
|
+
} : opt.spanMethod ? opt.spanMethod : opt.spanRules && ((_c = opt.spanRules) == null ? void 0 : _c.length) > 0 ? ({ row, rowIndex, column, visibleData }) => {
|
|
20504
|
+
if (!opt.spanRules || opt.spanRules.length === 0) return void 0;
|
|
20505
|
+
const rule = opt.spanRules.find((r) => r.targetFields.includes(column.field));
|
|
20506
|
+
if (!rule) return;
|
|
20507
|
+
const cellValue = row[rule.valueField];
|
|
20508
|
+
if (!cellValue && cellValue !== 0) return;
|
|
20509
|
+
const prevRow = visibleData[rowIndex - 1];
|
|
20510
|
+
if (prevRow && prevRow[rule.valueField] === cellValue) {
|
|
20511
|
+
return { rowspan: 0, colspan: 0 };
|
|
20512
|
+
}
|
|
20513
|
+
let rowspanCount = 1;
|
|
20514
|
+
let nextIndex = rowIndex + 1;
|
|
20515
|
+
while (nextIndex < visibleData.length && visibleData[nextIndex][rule.valueField] === cellValue) {
|
|
20516
|
+
rowspanCount++;
|
|
20517
|
+
nextIndex++;
|
|
20518
|
+
}
|
|
20519
|
+
if (rowspanCount > 1)
|
|
20520
|
+
return { rowspan: rowspanCount, colspan: 1 };
|
|
20521
|
+
} : ({ row, rowIndex, column, visibleData }) => {
|
|
20493
20522
|
};
|
|
20494
20523
|
const options = vue.reactive({
|
|
20495
20524
|
stripe: false,
|
|
@@ -20590,11 +20619,11 @@
|
|
|
20590
20619
|
}
|
|
20591
20620
|
if (opt.remoteCustom && options.customConfig != void 0) {
|
|
20592
20621
|
options.customConfig.restoreStore = async ({ id, storeData }) => {
|
|
20593
|
-
var _a2, _b2,
|
|
20622
|
+
var _a2, _b2, _c2, _d;
|
|
20594
20623
|
const { data } = await useBaseApi("sysColumnCustom").get({ id }, "sysColumnCustomDetail");
|
|
20595
20624
|
if ((_a2 = data.result) == null ? void 0 : _a2.fixedData) storeData.fixedData = data.result.fixedData;
|
|
20596
20625
|
if ((_b2 = data.result) == null ? void 0 : _b2.resizableData) storeData.resizableData = data.result.resizableData;
|
|
20597
|
-
if ((
|
|
20626
|
+
if ((_c2 = data.result) == null ? void 0 : _c2.sortData) storeData.sortData = data.result.sortData;
|
|
20598
20627
|
if ((_d = data.result) == null ? void 0 : _d.visibleData) storeData.visibleData = data.result.visibleData;
|
|
20599
20628
|
return storeData;
|
|
20600
20629
|
};
|
|
@@ -21065,7 +21094,7 @@
|
|
|
21065
21094
|
|
|
21066
21095
|
const _hoisted_1$w = { key: 0 };
|
|
21067
21096
|
const _hoisted_2$k = { key: 0 };
|
|
21068
|
-
var _sfc_main$
|
|
21097
|
+
var _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
21069
21098
|
...{
|
|
21070
21099
|
name: "FInput"
|
|
21071
21100
|
},
|
|
@@ -21318,13 +21347,13 @@
|
|
|
21318
21347
|
}
|
|
21319
21348
|
});
|
|
21320
21349
|
|
|
21321
|
-
const FInput = _sfc_main$
|
|
21350
|
+
const FInput = _sfc_main$M;
|
|
21322
21351
|
|
|
21323
21352
|
const _hoisted_1$v = {
|
|
21324
21353
|
key: 0,
|
|
21325
21354
|
class: "back_to_top"
|
|
21326
21355
|
};
|
|
21327
|
-
var _sfc_main$
|
|
21356
|
+
var _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
|
|
21328
21357
|
...{
|
|
21329
21358
|
name: "FLayoutPage"
|
|
21330
21359
|
},
|
|
@@ -21414,9 +21443,9 @@
|
|
|
21414
21443
|
}
|
|
21415
21444
|
});
|
|
21416
21445
|
|
|
21417
|
-
const FLayoutPage = _sfc_main$
|
|
21446
|
+
const FLayoutPage = _sfc_main$L;
|
|
21418
21447
|
|
|
21419
|
-
var _sfc_main$
|
|
21448
|
+
var _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
|
|
21420
21449
|
...{
|
|
21421
21450
|
name: "FLayoutPageItem"
|
|
21422
21451
|
},
|
|
@@ -21444,7 +21473,7 @@
|
|
|
21444
21473
|
}
|
|
21445
21474
|
});
|
|
21446
21475
|
|
|
21447
|
-
const FLayoutPageItem = _sfc_main$
|
|
21476
|
+
const FLayoutPageItem = _sfc_main$K;
|
|
21448
21477
|
|
|
21449
21478
|
function debounce(func, delay = 500, immediate, resultCallback) {
|
|
21450
21479
|
let timer = null;
|
|
@@ -21488,7 +21517,7 @@
|
|
|
21488
21517
|
}
|
|
21489
21518
|
|
|
21490
21519
|
const _hoisted_1$u = ["id"];
|
|
21491
|
-
var _sfc_main$
|
|
21520
|
+
var _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
|
|
21492
21521
|
...{
|
|
21493
21522
|
name: "FChart"
|
|
21494
21523
|
},
|
|
@@ -21587,13 +21616,13 @@
|
|
|
21587
21616
|
}
|
|
21588
21617
|
});
|
|
21589
21618
|
|
|
21590
|
-
const FChart = _sfc_main$
|
|
21619
|
+
const FChart = _sfc_main$J;
|
|
21591
21620
|
|
|
21592
21621
|
const _hoisted_1$t = {
|
|
21593
21622
|
key: 1,
|
|
21594
21623
|
class: "f_select__pagination"
|
|
21595
21624
|
};
|
|
21596
|
-
var _sfc_main$
|
|
21625
|
+
var _sfc_main$I = /* @__PURE__ */ vue.defineComponent({
|
|
21597
21626
|
...{
|
|
21598
21627
|
name: "FSelect"
|
|
21599
21628
|
},
|
|
@@ -21844,9 +21873,9 @@
|
|
|
21844
21873
|
}
|
|
21845
21874
|
});
|
|
21846
21875
|
|
|
21847
|
-
const FSelect = _sfc_main$
|
|
21876
|
+
const FSelect = _sfc_main$I;
|
|
21848
21877
|
|
|
21849
|
-
var _sfc_main$
|
|
21878
|
+
var _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
|
|
21850
21879
|
...{
|
|
21851
21880
|
name: "RenderComp"
|
|
21852
21881
|
},
|
|
@@ -21871,7 +21900,7 @@
|
|
|
21871
21900
|
const _hoisted_3$c = { class: "check-box" };
|
|
21872
21901
|
const _hoisted_4$8 = { class: "more_dropdown_icon" };
|
|
21873
21902
|
const _hoisted_5$7 = { class: "out_box" };
|
|
21874
|
-
var _sfc_main$
|
|
21903
|
+
var _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
|
|
21875
21904
|
...{
|
|
21876
21905
|
name: "MoreChoose"
|
|
21877
21906
|
},
|
|
@@ -22186,7 +22215,7 @@
|
|
|
22186
22215
|
};
|
|
22187
22216
|
}
|
|
22188
22217
|
|
|
22189
|
-
var _sfc_main$
|
|
22218
|
+
var _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
22190
22219
|
...{
|
|
22191
22220
|
name: "FQueryCondition"
|
|
22192
22221
|
},
|
|
@@ -22605,7 +22634,7 @@
|
|
|
22605
22634
|
opt.labelRender ? {
|
|
22606
22635
|
name: "label",
|
|
22607
22636
|
fn: vue.withCtx(() => [
|
|
22608
|
-
vue.createVNode(_sfc_main$
|
|
22637
|
+
vue.createVNode(_sfc_main$H, {
|
|
22609
22638
|
form: vue.unref(queryState).form,
|
|
22610
22639
|
render: opt.labelRender
|
|
22611
22640
|
}, null, 8, ["form", "render"])
|
|
@@ -22701,7 +22730,7 @@
|
|
|
22701
22730
|
_: 1
|
|
22702
22731
|
/* STABLE */
|
|
22703
22732
|
})) : vue.createCommentVNode("v-if", true),
|
|
22704
|
-
vue.createVNode(_sfc_main$
|
|
22733
|
+
vue.createVNode(_sfc_main$G, {
|
|
22705
22734
|
isDropDownSelectMore: __props.isDropDownSelectMore,
|
|
22706
22735
|
moreCheckList: __props.moreCheckList,
|
|
22707
22736
|
popoverAttrsBind: popoverAttrsBind.value,
|
|
@@ -22727,7 +22756,7 @@
|
|
|
22727
22756
|
}
|
|
22728
22757
|
});
|
|
22729
22758
|
|
|
22730
|
-
var _sfc_main$
|
|
22759
|
+
var _sfc_main$E = /* @__PURE__ */ vue.defineComponent({
|
|
22731
22760
|
...{
|
|
22732
22761
|
name: "RenderCol"
|
|
22733
22762
|
},
|
|
@@ -22893,7 +22922,7 @@
|
|
|
22893
22922
|
key: 0,
|
|
22894
22923
|
class: "f-table-select__page"
|
|
22895
22924
|
};
|
|
22896
|
-
var _sfc_main$
|
|
22925
|
+
var _sfc_main$D = /* @__PURE__ */ vue.defineComponent({
|
|
22897
22926
|
...{
|
|
22898
22927
|
name: "FSelectTable"
|
|
22899
22928
|
},
|
|
@@ -23517,7 +23546,7 @@
|
|
|
23517
23546
|
[
|
|
23518
23547
|
__props.isShowQuery ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$r, [
|
|
23519
23548
|
vue.createVNode(
|
|
23520
|
-
_sfc_main$
|
|
23549
|
+
_sfc_main$F,
|
|
23521
23550
|
vue.mergeProps({
|
|
23522
23551
|
ref_key: "fQueryConditionRef",
|
|
23523
23552
|
ref: fQueryConditionRef,
|
|
@@ -23643,7 +23672,7 @@
|
|
|
23643
23672
|
fixed: item.fixed
|
|
23644
23673
|
}, { ref_for: true }, { "show-overflow-tooltip": true, ...item.bind }), {
|
|
23645
23674
|
default: vue.withCtx((scope) => [
|
|
23646
|
-
item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
23675
|
+
item.render ? (vue.openBlock(), vue.createBlock(_sfc_main$E, {
|
|
23647
23676
|
key: 0,
|
|
23648
23677
|
column: item,
|
|
23649
23678
|
row: scope.row,
|
|
@@ -23706,11 +23735,11 @@
|
|
|
23706
23735
|
}
|
|
23707
23736
|
});
|
|
23708
23737
|
|
|
23709
|
-
const FSelectTable = _sfc_main$
|
|
23738
|
+
const FSelectTable = _sfc_main$D;
|
|
23710
23739
|
|
|
23711
|
-
const FQueryCondition = _sfc_main$
|
|
23740
|
+
const FQueryCondition = _sfc_main$F;
|
|
23712
23741
|
|
|
23713
|
-
var _sfc_main$
|
|
23742
|
+
var _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
23714
23743
|
...{
|
|
23715
23744
|
name: "RenderComp"
|
|
23716
23745
|
},
|
|
@@ -23730,7 +23759,7 @@
|
|
|
23730
23759
|
}
|
|
23731
23760
|
});
|
|
23732
23761
|
|
|
23733
|
-
var _sfc_main$
|
|
23762
|
+
var _sfc_main$B = /* @__PURE__ */ vue.defineComponent({
|
|
23734
23763
|
...{
|
|
23735
23764
|
name: "RenderBtn"
|
|
23736
23765
|
},
|
|
@@ -23755,7 +23784,7 @@
|
|
|
23755
23784
|
class: "text_show"
|
|
23756
23785
|
};
|
|
23757
23786
|
const _hoisted_2$h = { class: "footer_btn flex-box flex-ver f-margin-top-5" };
|
|
23758
|
-
var _sfc_main$
|
|
23787
|
+
var _sfc_main$A = /* @__PURE__ */ vue.defineComponent({
|
|
23759
23788
|
...{
|
|
23760
23789
|
name: "FForm"
|
|
23761
23790
|
},
|
|
@@ -24126,7 +24155,7 @@
|
|
|
24126
24155
|
item.labelSlotName || item.labelRender ? {
|
|
24127
24156
|
name: "label",
|
|
24128
24157
|
fn: vue.withCtx(() => [
|
|
24129
|
-
item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24158
|
+
item.labelRender ? (vue.openBlock(), vue.createBlock(_sfc_main$C, {
|
|
24130
24159
|
key: 0,
|
|
24131
24160
|
render: item.labelRender,
|
|
24132
24161
|
item
|
|
@@ -24158,7 +24187,7 @@
|
|
|
24158
24187
|
vue.Fragment,
|
|
24159
24188
|
null,
|
|
24160
24189
|
[
|
|
24161
|
-
val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$
|
|
24190
|
+
val.render ? (vue.openBlock(), vue.createBlock(_sfc_main$B, {
|
|
24162
24191
|
key: index,
|
|
24163
24192
|
item: val,
|
|
24164
24193
|
render: val.render
|
|
@@ -24205,10 +24234,10 @@
|
|
|
24205
24234
|
}
|
|
24206
24235
|
});
|
|
24207
24236
|
|
|
24208
|
-
const FForm = _sfc_main$
|
|
24237
|
+
const FForm = _sfc_main$A;
|
|
24209
24238
|
|
|
24210
24239
|
const _hoisted_1$p = ["src"];
|
|
24211
|
-
var _sfc_main$
|
|
24240
|
+
var _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
|
|
24212
24241
|
...{
|
|
24213
24242
|
name: "svgIcon"
|
|
24214
24243
|
},
|
|
@@ -24306,13 +24335,13 @@
|
|
|
24306
24335
|
}
|
|
24307
24336
|
}
|
|
24308
24337
|
if (!app._context.components[`SvgIcon`]) {
|
|
24309
|
-
app.component("SvgIcon", _sfc_main$
|
|
24338
|
+
app.component("SvgIcon", _sfc_main$z);
|
|
24310
24339
|
}
|
|
24311
24340
|
}
|
|
24312
24341
|
|
|
24313
24342
|
const emitter = mitt();
|
|
24314
24343
|
|
|
24315
|
-
var _sfc_main$
|
|
24344
|
+
var _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
|
|
24316
24345
|
...{
|
|
24317
24346
|
name: "FLayout"
|
|
24318
24347
|
},
|
|
@@ -24398,7 +24427,7 @@
|
|
|
24398
24427
|
}
|
|
24399
24428
|
});
|
|
24400
24429
|
|
|
24401
|
-
const FLayout = _sfc_main$
|
|
24430
|
+
const FLayout = _sfc_main$y;
|
|
24402
24431
|
|
|
24403
24432
|
function commonFunction() {
|
|
24404
24433
|
const { copy, isSupported } = core.useClipboard();
|
|
@@ -24800,7 +24829,7 @@
|
|
|
24800
24829
|
class: "traditionalColors-chines",
|
|
24801
24830
|
style: { "cursor": "grab", "color": "gray" }
|
|
24802
24831
|
};
|
|
24803
|
-
var _sfc_main$
|
|
24832
|
+
var _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
|
|
24804
24833
|
...{
|
|
24805
24834
|
name: "FSettings"
|
|
24806
24835
|
},
|
|
@@ -26563,9 +26592,9 @@
|
|
|
26563
26592
|
}
|
|
26564
26593
|
});
|
|
26565
26594
|
|
|
26566
|
-
const FSettings = _sfc_main$
|
|
26595
|
+
const FSettings = _sfc_main$x;
|
|
26567
26596
|
|
|
26568
|
-
var _sfc_main$
|
|
26597
|
+
var _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
|
|
26569
26598
|
...{
|
|
26570
26599
|
name: "FModifyRecord"
|
|
26571
26600
|
},
|
|
@@ -26828,10 +26857,10 @@
|
|
|
26828
26857
|
}
|
|
26829
26858
|
});
|
|
26830
26859
|
|
|
26831
|
-
const FModifyRecord = _sfc_main$
|
|
26860
|
+
const FModifyRecord = _sfc_main$w;
|
|
26832
26861
|
|
|
26833
26862
|
const _hoisted_1$n = { style: { "display": "flex", "justify-content": "end", "align-items": "right" } };
|
|
26834
|
-
var _sfc_main$
|
|
26863
|
+
var _sfc_main$v = /* @__PURE__ */ vue.defineComponent({
|
|
26835
26864
|
...{
|
|
26836
26865
|
name: "FmSelect"
|
|
26837
26866
|
},
|
|
@@ -27032,9 +27061,9 @@
|
|
|
27032
27061
|
}
|
|
27033
27062
|
});
|
|
27034
27063
|
|
|
27035
|
-
const FmSelect = _sfc_main$
|
|
27064
|
+
const FmSelect = _sfc_main$v;
|
|
27036
27065
|
|
|
27037
|
-
var _sfc_main$
|
|
27066
|
+
var _sfc_main$u = /* @__PURE__ */ vue.defineComponent({
|
|
27038
27067
|
...{
|
|
27039
27068
|
name: "Fminputdropdown"
|
|
27040
27069
|
},
|
|
@@ -27232,9 +27261,9 @@
|
|
|
27232
27261
|
}
|
|
27233
27262
|
});
|
|
27234
27263
|
|
|
27235
|
-
const Fminputdropdown = _sfc_main$
|
|
27264
|
+
const Fminputdropdown = _sfc_main$u;
|
|
27236
27265
|
|
|
27237
|
-
var _sfc_main$
|
|
27266
|
+
var _sfc_main$t = /* @__PURE__ */ vue.defineComponent({
|
|
27238
27267
|
...{ name: "FmInputNumber" },
|
|
27239
27268
|
__name: "index",
|
|
27240
27269
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
@@ -27343,14 +27372,14 @@
|
|
|
27343
27372
|
}
|
|
27344
27373
|
});
|
|
27345
27374
|
|
|
27346
|
-
const FmInputNumber = _sfc_main$
|
|
27375
|
+
const FmInputNumber = _sfc_main$t;
|
|
27347
27376
|
|
|
27348
27377
|
const _hoisted_1$m = { style: { "color": "#fff" } };
|
|
27349
27378
|
const _hoisted_2$f = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
27350
27379
|
const _hoisted_3$9 = { style: { "padding": "8px 16px", "background-color": "var(--el-color-primary-light-9)", "border-left": "5px solid var(--el-color-primary)", "margin-bottom": "5px" } };
|
|
27351
27380
|
const _hoisted_4$5 = { style: { "margin-top": "10px" } };
|
|
27352
27381
|
const _hoisted_5$5 = { class: "dialog-footer" };
|
|
27353
|
-
var _sfc_main$
|
|
27382
|
+
var _sfc_main$s = /* @__PURE__ */ vue.defineComponent({
|
|
27354
27383
|
__name: "userSelectDialog",
|
|
27355
27384
|
props: {
|
|
27356
27385
|
visible: {
|
|
@@ -27742,7 +27771,7 @@
|
|
|
27742
27771
|
const _hoisted_1$l = { style: { "color": "#fff" } };
|
|
27743
27772
|
const _hoisted_2$e = { style: { "margin-top": "10px" } };
|
|
27744
27773
|
const _hoisted_3$8 = { class: "dialog-footer" };
|
|
27745
|
-
var _sfc_main$
|
|
27774
|
+
var _sfc_main$r = /* @__PURE__ */ vue.defineComponent({
|
|
27746
27775
|
__name: "supplierSelectDialog",
|
|
27747
27776
|
props: {
|
|
27748
27777
|
visible: {
|
|
@@ -28105,7 +28134,7 @@
|
|
|
28105
28134
|
});
|
|
28106
28135
|
|
|
28107
28136
|
const _hoisted_1$k = { style: { "font-size": "14px", "line-height": "30px" } };
|
|
28108
|
-
var _sfc_main$
|
|
28137
|
+
var _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
|
|
28109
28138
|
...{
|
|
28110
28139
|
name: "FmAutocomplete"
|
|
28111
28140
|
},
|
|
@@ -28254,7 +28283,7 @@
|
|
|
28254
28283
|
"trigger-on-focus": false,
|
|
28255
28284
|
onSelect: handleSelect,
|
|
28256
28285
|
style: { "margin-top": "-2px" }
|
|
28257
|
-
}, {
|
|
28286
|
+
}, vue.createSlots({
|
|
28258
28287
|
default: vue.withCtx(({ item }) => [
|
|
28259
28288
|
vue.createElementVNode(
|
|
28260
28289
|
"div",
|
|
@@ -28264,50 +28293,108 @@
|
|
|
28264
28293
|
/* TEXT */
|
|
28265
28294
|
)
|
|
28266
28295
|
]),
|
|
28267
|
-
|
|
28268
|
-
|
|
28269
|
-
|
|
28270
|
-
|
|
28271
|
-
|
|
28272
|
-
|
|
28273
|
-
|
|
28274
|
-
|
|
28275
|
-
|
|
28276
|
-
|
|
28277
|
-
|
|
28278
|
-
|
|
28279
|
-
|
|
28280
|
-
|
|
28281
|
-
|
|
28282
|
-
|
|
28283
|
-
|
|
28284
|
-
|
|
28285
|
-
|
|
28286
|
-
|
|
28287
|
-
|
|
28288
|
-
|
|
28289
|
-
|
|
28290
|
-
|
|
28291
|
-
|
|
28292
|
-
|
|
28293
|
-
|
|
28294
|
-
|
|
28295
|
-
|
|
28296
|
-
title:
|
|
28297
|
-
|
|
28298
|
-
|
|
28299
|
-
|
|
28300
|
-
|
|
28301
|
-
|
|
28302
|
-
|
|
28303
|
-
|
|
28304
|
-
|
|
28305
|
-
|
|
28296
|
+
_: 2
|
|
28297
|
+
/* DYNAMIC */
|
|
28298
|
+
}, [
|
|
28299
|
+
__props.openType > -1 ? {
|
|
28300
|
+
name: "suffix",
|
|
28301
|
+
fn: vue.withCtx(() => [
|
|
28302
|
+
vue.createVNode(_component_el_icon, {
|
|
28303
|
+
color: "#E6A23C",
|
|
28304
|
+
size: __props.searchsize,
|
|
28305
|
+
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => visibleopenDialog.value = true, ["stop"]))
|
|
28306
|
+
}, {
|
|
28307
|
+
default: vue.withCtx(() => [
|
|
28308
|
+
vue.createVNode(vue.unref(svg.Search))
|
|
28309
|
+
]),
|
|
28310
|
+
_: 1
|
|
28311
|
+
/* STABLE */
|
|
28312
|
+
}, 8, ["size"]),
|
|
28313
|
+
__props.openType == 0 ? (vue.openBlock(), vue.createBlock(_sfc_main$s, {
|
|
28314
|
+
key: 0,
|
|
28315
|
+
visible: visibleopenDialog.value,
|
|
28316
|
+
"onUpdate:visible": _cache[1] || (_cache[1] = ($event) => visibleopenDialog.value = $event),
|
|
28317
|
+
orgService: __props.orgService,
|
|
28318
|
+
orgAction: __props.orgAction,
|
|
28319
|
+
orgparas: __props.params,
|
|
28320
|
+
title: __props.title,
|
|
28321
|
+
userService: __props.userService,
|
|
28322
|
+
userAction: __props.userAction,
|
|
28323
|
+
userParams: __props.params,
|
|
28324
|
+
onChange: handleSelectDialogChange
|
|
28325
|
+
}, null, 8, ["visible", "orgService", "orgAction", "orgparas", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true),
|
|
28326
|
+
__props.openType == 2 ? (vue.openBlock(), vue.createBlock(_sfc_main$r, {
|
|
28327
|
+
key: 1,
|
|
28328
|
+
visible: visibleopenDialog.value,
|
|
28329
|
+
"onUpdate:visible": _cache[2] || (_cache[2] = ($event) => visibleopenDialog.value = $event),
|
|
28330
|
+
title: __props.title,
|
|
28331
|
+
userService: __props.userService,
|
|
28332
|
+
userAction: __props.userAction,
|
|
28333
|
+
userParams: __props.params,
|
|
28334
|
+
onChange: handleSelectDialogChange
|
|
28335
|
+
}, null, 8, ["visible", "title", "userService", "userAction", "userParams"])) : vue.createCommentVNode("v-if", true)
|
|
28336
|
+
]),
|
|
28337
|
+
key: "0"
|
|
28338
|
+
} : void 0
|
|
28339
|
+
]), 1032, ["modelValue", "placeholder"]);
|
|
28340
|
+
};
|
|
28341
|
+
}
|
|
28342
|
+
});
|
|
28343
|
+
|
|
28344
|
+
const FmAutocomplete = _sfc_main$q;
|
|
28345
|
+
|
|
28346
|
+
var _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
|
|
28347
|
+
...{
|
|
28348
|
+
name: "Fmdatepicker"
|
|
28349
|
+
},
|
|
28350
|
+
__name: "index",
|
|
28351
|
+
props: /* @__PURE__ */ vue.mergeModels({
|
|
28352
|
+
dateType: {
|
|
28353
|
+
type: String,
|
|
28354
|
+
default: "bdate"
|
|
28355
|
+
},
|
|
28356
|
+
adddaynum: {
|
|
28357
|
+
type: Number,
|
|
28358
|
+
default: 0
|
|
28359
|
+
}
|
|
28360
|
+
}, {
|
|
28361
|
+
"modelValue": {},
|
|
28362
|
+
"modelModifiers": {}
|
|
28363
|
+
}),
|
|
28364
|
+
emits: ["update:modelValue"],
|
|
28365
|
+
setup(__props) {
|
|
28366
|
+
const modeValue = vue.useModel(__props, "modelValue");
|
|
28367
|
+
const props = __props;
|
|
28368
|
+
vue.onMounted(() => {
|
|
28369
|
+
vue.nextTick(() => {
|
|
28370
|
+
initdate();
|
|
28371
|
+
});
|
|
28372
|
+
});
|
|
28373
|
+
const initdate = () => {
|
|
28374
|
+
if (props.dateType === "bdate" && (modeValue.value == null || modeValue.value == void 0 || modeValue.value == "")) {
|
|
28375
|
+
modeValue.value = getBdate(props.adddaynum);
|
|
28376
|
+
} else if (props.dateType === "edate" && (modeValue.value == null || modeValue.value == void 0 || modeValue.value == "")) {
|
|
28377
|
+
modeValue.value = getEdate(props.adddaynum);
|
|
28378
|
+
} else if (props.dateType === "curday" && (modeValue.value == null || modeValue.value == void 0 || modeValue.value == "")) {
|
|
28379
|
+
modeValue.value = formatDate(/* @__PURE__ */ new Date(), "YYYY-mm-dd");
|
|
28380
|
+
}
|
|
28381
|
+
};
|
|
28382
|
+
initdate();
|
|
28383
|
+
return (_ctx, _cache) => {
|
|
28384
|
+
const _component_el_date_picker = vue.resolveComponent("el-date-picker");
|
|
28385
|
+
return vue.openBlock(), vue.createBlock(_component_el_date_picker, {
|
|
28386
|
+
class: "fmdatepicker",
|
|
28387
|
+
modelValue: modeValue.value,
|
|
28388
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modeValue.value = $event),
|
|
28389
|
+
type: "date",
|
|
28390
|
+
format: "YYYY-MM-DD",
|
|
28391
|
+
"value-format": "YYYY-MM-DD"
|
|
28392
|
+
}, null, 8, ["modelValue"]);
|
|
28306
28393
|
};
|
|
28307
28394
|
}
|
|
28308
28395
|
});
|
|
28309
28396
|
|
|
28310
|
-
const
|
|
28397
|
+
const Fmdatepicker = _sfc_main$p;
|
|
28311
28398
|
|
|
28312
28399
|
const makeInstaller = (components = []) => {
|
|
28313
28400
|
const install = (app) => {
|
|
@@ -28839,7 +28926,8 @@
|
|
|
28839
28926
|
FmCascader,
|
|
28840
28927
|
FmInputNumber,
|
|
28841
28928
|
FmAutocomplete,
|
|
28842
|
-
FmSelect
|
|
28929
|
+
FmSelect,
|
|
28930
|
+
Fmdatepicker
|
|
28843
28931
|
];
|
|
28844
28932
|
|
|
28845
28933
|
var installer = makeInstaller([...plugins]);
|
|
@@ -32757,7 +32845,9 @@
|
|
|
32757
32845
|
exports.formatDate = formatDate;
|
|
32758
32846
|
exports.formatPast = formatPast;
|
|
32759
32847
|
exports.gcj02ToBd09 = gcj02ToBd09;
|
|
32848
|
+
exports.getBdate = getBdate;
|
|
32760
32849
|
exports.getCountryCode = getCountryCode;
|
|
32850
|
+
exports.getEdate = getEdate;
|
|
32761
32851
|
exports.getFileName = getFileName;
|
|
32762
32852
|
exports.getFileUrl = getFileUrl;
|
|
32763
32853
|
exports.getFormItemLabel = getFormItemLabel;
|