@gct-paas/excel 0.1.2 → 0.1.4
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/README.md +15 -6
- package/dist/AntdIcon-C3RMq2zm.js +1040 -0
- package/dist/{VueVideoPlayer-dTA6rv55.js → VueVideoPlayer-ZLD8hL4k.js} +2 -2
- package/dist/{agg-design-BSh_tHX-.js → agg-design-C8kk8Kch.js} +1 -1
- package/dist/{agg-props-DgdpMWgC.js → agg-props-CGmbXrHl.js} +1 -1
- package/dist/{agg-style-aUn3JT2k.js → agg-style-C_1CXG03.js} +1 -1
- package/dist/{align-editor-BNAaRXra.js → align-editor-DPdYAGLc.js} +1 -1
- package/dist/{attach-fields-editor-CnCVzcVh.js → attach-fields-editor-CIDhAemZ.js} +2 -2
- package/dist/{barcode-design-BPj7bVmK.js → barcode-design-CoYVoEFn.js} +2 -3
- package/dist/base/index.es.js +160 -898
- package/dist/{base-font-editor-C2g5pe1r.js → base-font-editor-BPfw_Re6.js} +2 -2
- package/dist/{boolean-design-DQcD63hA.js → boolean-design-BXbr26D4.js} +2 -3
- package/dist/{boolean-props-foEwOqoS.js → boolean-props-nCzH09qP.js} +3 -3
- package/dist/{boolean-style-BjM3jV9-.js → boolean-style-Cl18Y8qB.js} +4 -5
- package/dist/{cell-upload-Cg6qgXIl.js → cell-upload-CO49bM5f.js} +2 -2
- package/dist/{date-format-editor-B5TNYQOa.js → date-format-editor-BDkwE_r3.js} +2 -2
- package/dist/{date-time-design-DtFbeX45.js → date-time-design-CuMNyFsU.js} +1 -1
- package/dist/{date-time-props-Bg68phPu.js → date-time-props-CLttq7YV.js} +3 -4
- package/dist/{date-time-style-R3n3DWXL.js → date-time-style-CekvgyZk.js} +1 -1
- package/dist/{decimal-design-OvRMF5yY.js → decimal-design-D6FK5-3M.js} +1 -1
- package/dist/{decimal-display-mode-CMDX0MxE.js → decimal-display-mode-CqaSh2ls.js} +2 -3
- package/dist/{decimal-props-CiZcfWWs.js → decimal-props-DEwnN1Q2.js} +4 -4
- package/dist/{decimal-style-VcGRGgo0.js → decimal-style-CJWmQdHz.js} +1 -1
- package/dist/{default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-JAtSG3Hg.js → default-value-editor.vue_vue_type_script_setup_true_name_default-value-editor_lang-mgY8bHUJ.js} +2 -3
- package/dist/{diagonal-design-DckKhSUa.js → diagonal-design-CIopLvpL.js} +2 -2
- package/dist/{document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-C7m8TMOx.js → document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js} +519 -1648
- package/dist/{Scrollbar-CZkJPRdu.js → document-sub-table-action-DTmf8djY.js} +32 -69
- package/dist/{double-design-BM09f_KU.js → double-design-CgvwQhau.js} +1 -1
- package/dist/{double-props-CeLgHsjo.js → double-props-TPv4fMW4.js} +4 -4
- package/dist/{double-style-DMLsVFfm.js → double-style-D6-yE_wb.js} +1 -1
- package/dist/{edit.utils-CXmmCnxE-DSPt0ECN.js → edit.utils-CXmmCnxE-BdPovZCI.js} +1 -1
- package/dist/{enum-design-CQV-mqqb.js → enum-design-DPpnnCBS.js} +2 -2
- package/dist/{enum-props-BHfTLRzU.js → enum-props-BozGqUk1.js} +4 -4
- package/dist/{enum-style-BEacuGVm.js → enum-style-BqFQ-u6u.js} +2 -2
- package/dist/excel.css +5325 -5250
- package/dist/{exceljs.min-BcrTQ29P.js → exceljs.min-Q7cd3slm.js} +2 -2
- package/dist/{expression-design-Vrtb7ZND.js → expression-design-TmsclPp9.js} +1 -1
- package/dist/{expression-props-DK-FoXcG.js → expression-props-D7Zk2Lj6.js} +1 -1
- package/dist/{expression-style-ClfZ23YJ.js → expression-style-DO5M9Ajy.js} +1 -1
- package/dist/{file-design-Cqn1H4ZT.js → file-design-D5w6xSTk.js} +1 -1
- package/dist/{file-props-C4TOFyAy.js → file-props-Bn7VgFDv.js} +2 -2
- package/dist/{file-style-B8L7LTU_.js → file-style-C2uWZfTL.js} +1 -1
- package/dist/{font-editor-Buf4R-Dg.js → font-editor-CxA5Db2_.js} +3 -3
- package/dist/{form-annotation-controller-Cg8TG2fi.js → form-annotation-controller-NcH3tnGJ.js} +2 -2
- package/dist/{image-design-DqAVKsuU.js → image-design-DIWSfrcq.js} +2 -2
- package/dist/{image-design-ChrM491B.js → image-design-DSbpGyCq.js} +2 -2
- package/dist/{image-props-yqaLEHSt.js → image-props-5fStBp37.js} +1 -1
- package/dist/{image-style-DVsD4FVx.js → image-style-ChKqwGjs.js} +1 -1
- package/dist/{index-CI1cxVRo.js → index-0fm9o8n6.js} +1 -2
- package/dist/{index-CmL4Be-K.js → index-3W4ojOsw.js} +1 -2
- package/dist/{index-GdSr850L.js → index-B5sCWlDl.js} +1 -2
- package/dist/{index-ou_rGN3F.js → index-BIBsEVp6.js} +1 -2
- package/dist/{index-BufHZCTt.js → index-BKTmHFPX.js} +3196 -1997
- package/dist/{index-BTeqM5Kn.js → index-BLZe6LV2.js} +1 -2
- package/dist/{index-B5bl5kGU.js → index-BQlGsxLp.js} +1 -2
- package/dist/{index-BLiD7NWb.js → index-BlD4K4x9.js} +1 -2
- package/dist/{index-C6J0DxCZ.js → index-BomC1N9j.js} +1 -2
- package/dist/{index-CR24b9nh.js → index-Bp_dDukK.js} +1 -2
- package/dist/{index-ZwgghSxK.js → index-C-R-S828.js} +1 -2
- package/dist/{index-Cbu-reyu.js → index-CKWk_Iax.js} +1 -2
- package/dist/{index-C-PCNtnr.js → index-CLfbQ9Km.js} +1 -2
- package/dist/{index-D2VzxQne.js → index-Cejm_o4O.js} +1 -2
- package/dist/{index-Dhkp_b7I.js → index-CiCyHGDi.js} +1 -2
- package/dist/{index-CEbxeuOx.js → index-CigaIXAe.js} +2 -3
- package/dist/{index-E8vZZFog.js → index-CnSZi6Rb.js} +1 -2
- package/dist/{index-BU5CPVZ9.js → index-CpFGw3N1.js} +1 -2
- package/dist/{index-DOQB5bpZ.js → index-CrsYNoBp.js} +1 -2
- package/dist/{index-D1YtyRKV.js → index-Czp4LZY9.js} +1 -2
- package/dist/{index-DUTCTiG6.js → index-D56i-zWI.js} +2 -3
- package/dist/{index-BNXmOMqP.js → index-D7tSQpaj.js} +2 -3
- package/dist/{index-ByW44_lg.js → index-DM8guHf_.js} +25 -1059
- package/dist/{index-D4oVIylK.js → index-DP-fe4OH.js} +1 -2
- package/dist/{index-DjFpScza.js → index-DSzP8X8O.js} +1 -2
- package/dist/{index-B6HMGpdJ.js → index-D_W1JQG3.js} +1 -2
- package/dist/{index-BOR8Q8y9.js → index-DfJnS3jv.js} +1 -2
- package/dist/{index-CxWoK5T3.js → index-Fm6FGBuV.js} +2 -3
- package/dist/{index-DCOAv1RI.js → index-I4RvYVZ5.js} +1 -2
- package/dist/{index-UvBvlRH6.js → index-TurTXvNN.js} +2 -3
- package/dist/{index-Dlfg1YKC.js → index-j478qavG.js} +1 -2
- package/dist/{index-BVjCKddq.js → index-qQN-nVT9.js} +1 -2
- package/dist/{index-DiW6xxVC.js → index-uZMZ5Sw0.js} +1 -2
- package/dist/index.es.js +34 -7
- package/dist/{integer-design-C6VCvXTM.js → integer-design-D9JByLVX.js} +1 -1
- package/dist/integer-props-BjWENkem.js +160 -0
- package/dist/{integer-style-Dn7g1ycQ.js → integer-style-CT8R9q-n.js} +1 -1
- package/dist/mb-render-JL1sDSy6.js +478 -0
- package/dist/{number-input-ex-Cul_CZQ0.js → number-input-ex-3TUi3vyu.js} +1 -1
- package/dist/{org-props-DREu4eul.js → org-props-DFbUC2TP.js} +2 -3
- package/dist/{org-style-DWgicBvo.js → org-style-DgGKHpDd.js} +1 -1
- package/dist/{pagination-design-C7Y3dklf.js → pagination-design-BgfX6d8b.js} +2 -3
- package/dist/paper-widget-design-CAqW3laq.js +4 -0
- package/dist/{qrcode-design-fGE8BQ-O.js → qrcode-design-80yZ4fJY.js} +1 -1
- package/dist/{ref-autofill-editor-B-Fso3FS.js → ref-autofill-editor-BIy-Jm0g.js} +2 -2
- package/dist/{ref-props-Bkx5kKf6.js → ref-props-B_GWOIQV.js} +3 -3
- package/dist/{ref-style-EN9Ns73A.js → ref-style-Dw1h5H98.js} +1 -1
- package/dist/{revo-grid.entry-C51uy2x-.js → revo-grid.entry-DNrCIdcu.js} +1 -1
- package/dist/{revogr-attribution_7.entry-6GWxPTYu.js → revogr-attribution_7.entry-g7DReToZ.js} +3 -3
- package/dist/{revogr-clipboard_3.entry-MHLzoSuG.js → revogr-clipboard_3.entry-vJotBpPb.js} +2 -2
- package/dist/{revogr-data_4.entry-D1WYZoa6.js → revogr-data_4.entry-CoP8SHrP.js} +2 -2
- package/dist/{revogr-filter-panel.entry-BpgqhpkQ.js → revogr-filter-panel.entry-Cl_ZKbCr.js} +1 -1
- package/dist/{select-render-type-editor.vue_vue_type_script_setup_true_lang-Bvjy4qIw.js → select-render-type-editor.vue_vue_type_script_setup_true_lang-CAjUQ7Ig.js} +2 -3
- package/dist/{serialnumber-design-C0T0j8QO.js → serialnumber-design-DCbPl9zc.js} +1 -1
- package/dist/shared/index.d.ts +1 -0
- package/dist/shared/index.es.js +87 -0
- package/dist/{signature-design-DYWt8Ey-.js → signature-design-DgMBF1dM.js} +1 -1
- package/dist/{signature-props-BtQoL2UQ.js → signature-props-DbaXK1t8.js} +3 -3
- package/dist/{signature-style-BXxi_a0T.js → signature-style-dr1T4Dfx.js} +1 -1
- package/dist/{single-field-drop-Ddtf_x2v.js → single-field-drop-gbyOxdwW.js} +2 -2
- package/dist/{size-editor-Dw9e652e.js → size-editor-BSZoEseb.js} +1 -1
- package/dist/src/adapter/adapter.d.ts +2 -0
- package/dist/src/adapter/setup.d.ts +4 -0
- package/dist/src/index.d.ts +16 -1
- package/dist/src/nocode-base/src/components/index.d.ts +1 -4
- package/dist/src/nocode-mobile-render/src/integration/form-ins/change-form-ins-popup.vue.d.ts +2 -2
- package/dist/src/nocode-mobile-render/src/integration/mobile-edhr-fill-modal.vue.d.ts +1 -67
- package/dist/src/nocode-mobile-render/src/integration/mobile-edhr-menu.vue.d.ts +4 -4
- package/dist/src/online-form/src/views/designer/hooks/reverse-modeling/index.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/modules/header.vue.d.ts +2 -0
- package/dist/src/online-form/src/views/designer/modules/panel/comps/signature-config/field-tree-select.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/modules/panel/panel-data-init-config/common/add-builtin-param/add-builtin-param-select.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/form-field-tree-select.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/modules/panel/panel-rule-config/material-rdo-select.vue.d.ts +2 -2
- package/dist/src/online-form/src/views/designer/public-api.d.ts +5 -0
- package/dist/src/{nocode-base/src/components/error-group-panel.vue.d.ts → online-form/src/views/integration/apaas_dp/designer/apaas-dp-print-sheet-view.vue.d.ts} +2 -3
- package/dist/src/online-form/src/views/integration/apaas_dp/designer/apaas-dp-print.vue.d.ts +2 -0
- package/dist/src/shared/components/rdo-tree-select/rdo-tree-select.vue.d.ts +2 -2
- package/dist/src/shared/components/version-select/version-select.vue.d.ts +2 -2
- package/dist/src/shared/index.d.ts +4 -0
- package/dist/{text-design-Cd-SRz7Y.js → text-design-Bnh_H2pu.js} +2 -2
- package/dist/{text-design-vceuHLPE.js → text-design-CCmIloIc.js} +2 -3
- package/dist/{text-props-CxTkG4Zm.js → text-props-cPJGCpv2.js} +4 -3
- package/dist/{text-style-DVy49LXX.js → text-style-CD_4lxio.js} +1 -1
- package/dist/{throttle-Cpk1LoGk-BVaBzkFx.js → throttle-Cpk1LoGk-BjiiSDKG.js} +1 -1
- package/dist/{timediff-design-W6UPLRAX.js → timediff-design-OvKUg4IL.js} +1 -2
- package/dist/{trace-design-BuhIchCy.js → trace-design-BXQyDWnc.js} +2 -2
- package/dist/{trace-props-0E_STwaq.js → trace-props-yQEe--Vy.js} +5 -5
- package/dist/{trace-style-CfSg0-lN.js → trace-style-DUJXCepn.js} +1 -1
- package/dist/{user-props-BiFKaiMZ.js → user-props-DVYxW97f.js} +2 -3
- package/dist/{user-style-CxsyKyXC.js → user-style-jlKo2wS8.js} +1 -1
- package/dist/{value-editor.vue_vue_type_style_index_0_lang-BrTKGp_z.js → value-editor.vue_vue_type_style_index_0_lang-CgqZs-Ag.js} +2 -3
- package/dist/{integer-props-BD4PuU4P.js → version-select-D6Jjs5hL.js} +93 -165
- package/dist/web-render/index.es.js +13 -12
- package/dist/{widget-barcode-Ctswl_H6.js → widget-barcode-DJ6E5SyP.js} +4 -5
- package/dist/{widget-diagonal-CkutzUiE.js → widget-diagonal-CAg-NXwA.js} +3 -3
- package/dist/{widget-image-CiGzVibD.js → widget-image-BAoTYQSQ.js} +5 -4
- package/dist/{widget-line-C-Nz3ZEK.js → widget-line-Cm9PTXss.js} +2 -3
- package/dist/{widget-pagination-B2fU-QnL.js → widget-pagination-DNPTBaOV.js} +5 -6
- package/dist/{widget-power-CU5Fx3HO.js → widget-power-cfqc0tm3.js} +3 -3
- package/dist/{widget-qrcode-DwZUkDpg.js → widget-qrcode-Cc6Iju1_.js} +3 -4
- package/dist/{widget-rangelimit-CCYANaY4.js → widget-rangelimit-CIe0fkdQ.js} +3 -3
- package/dist/{widget-serialnumber-vbZRJ1zL.js → widget-serialnumber-DJ97P3Pb.js} +1 -1
- package/dist/{widget-text-BQpus-v_.js → widget-text-66OkH_MY.js} +5 -5
- package/dist/{widget-timediff-C2PnkPsn.js → widget-timediff-_PSHGrTL.js} +2 -3
- package/package.json +8 -2
- package/dist/paper-widget-design-CZ2TYnKG.js +0 -4
- package/dist/src/nocode-base/src/components/ebr-wiki-layout.vue.d.ts +0 -34
- package/dist/src/nocode-base/src/components/edhr-new-wiki-tree.vue.d.ts +0 -46
package/dist/base/index.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { M as MaterialConsumptionPatternEnum, g as MaterialConsumeTableController,
|
|
4
|
-
import { B as B2,
|
|
5
|
-
import { ref, provide, watch, computed, defineComponent, openBlock, createElementBlock,
|
|
1
|
+
import { az as fetchHistoryConsume, aA as isBomGranted, F as FIELD_TYPE, i as api, aq as getParseRuleInfo, ar as getParseRuleValue, aB as calcFillData, aC as extractKeywordFromQueryData, t as FormTypeEnum, aD as transformUtils, g as SubTableType, an as NCB_PROVIDE, aE as clearFormRules, aF as baseDataUtils, as as RenderModeEnum, e as ComponentTypeEnum, aG as validate, aH as calcUtils, a3 as CheckDsTypeEnum, aj as renderUtils, H as PlatformEnum, aI as uuid2, aJ as normalizeToArray, aK as safeParseArray, aL as BpmnNodeTypeEnum, aM as mergeByMultiKey, ay as useNocodeEmitter, a2 as EntityModelCategoryEnum, aN as getSubTableQuickFillInfo, h as CellType, _ as _export_sfc } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
2
|
+
import { a6, a8, al, w, aO, aP, B, aQ, J, aR, aS, aT, ak, am, a7, a4, a5, K, aU, au, Q, aV, a0, ab, v, M, L, aW, aX, O, b, P, a1, a, m, aa, aY, ai, z, x, y, A, aZ, T, V, W, a_, a$, b0, b1, b2, b3, b4, b5, b6, b7, ao, ap, b8, af, b9, ae, ac, u, ag, ah, at, ad } from "../document-quick-fillin.vue_vue_type_style_index_0_scoped_a18386ab_lang-D66iEl9_.js";
|
|
3
|
+
import { M as MaterialConsumptionPatternEnum, g as MaterialConsumeTableController, S as SubTableCore, h as SubTableActionMenuTypeEnum, i as getMenuByAction, j as SubTableActionEnum, k as getCopySubMenu, l as getInsertSubMenu, m as useMaterialBalance, n as commonUtils, o as DocumentQuickFillModal } from "../document-sub-table-action-DTmf8djY.js";
|
|
4
|
+
import { B as B2, p, D, _, q, e, f, F, r, d, a as a2, b as b10, s, u as u2, c } from "../document-sub-table-action-DTmf8djY.js";
|
|
5
|
+
import { ref, provide, watch, computed, defineComponent, openBlock, createElementBlock, withModifiers } from "vue";
|
|
6
6
|
import { defaults, pick, merge, has, isEmpty, cloneDeep } from "lodash-es";
|
|
7
7
|
import dayjs from "dayjs";
|
|
8
|
-
import { B as B3, C, F as F2, a as a3, M as M2 } from "../form-annotation-controller-
|
|
9
|
-
import {
|
|
8
|
+
import { B as B3, C, F as F2, a as a3, M as M2 } from "../form-annotation-controller-NcH3tnGJ.js";
|
|
9
|
+
import { B as B4, F as F3, I, M as M3, b as b11, u as u3 } from "../mb-render-JL1sDSy6.js";
|
|
10
10
|
function useLatestRequest(execFn) {
|
|
11
11
|
let lastReqId = 0;
|
|
12
12
|
const loading = ref(false);
|
|
@@ -1041,11 +1041,11 @@ const fillFromOption$1 = [
|
|
|
1041
1041
|
toField: F$1.qty
|
|
1042
1042
|
}
|
|
1043
1043
|
];
|
|
1044
|
-
function applyFillFromOption$1(A2,
|
|
1044
|
+
function applyFillFromOption$1(A2, B5) {
|
|
1045
1045
|
const writableA = A2;
|
|
1046
1046
|
fillFromOption$1.forEach(({ optionField, toField }) => {
|
|
1047
|
-
if (has(
|
|
1048
|
-
writableA[toField] =
|
|
1047
|
+
if (has(B5, optionField)) {
|
|
1048
|
+
writableA[toField] = B5[optionField];
|
|
1049
1049
|
}
|
|
1050
1050
|
});
|
|
1051
1051
|
return A2;
|
|
@@ -1253,7 +1253,7 @@ class SterilizeBatchTableCore extends SubTableCore {
|
|
|
1253
1253
|
this.tableData = [...this.showTableData, applyFillFromOption$1({}, merged)];
|
|
1254
1254
|
}
|
|
1255
1255
|
}
|
|
1256
|
-
const
|
|
1256
|
+
const F4 = {
|
|
1257
1257
|
/** 物料 */
|
|
1258
1258
|
product: "product_id_",
|
|
1259
1259
|
/** 物料名称 */
|
|
@@ -1278,160 +1278,160 @@ const F3 = {
|
|
|
1278
1278
|
materialContainerNoId: "material_container_no__id_"
|
|
1279
1279
|
};
|
|
1280
1280
|
const PRETREATMENT_ALWAYS_DISABLED_FIELDS = [
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1281
|
+
F4.productCode,
|
|
1282
|
+
F4.productSpec,
|
|
1283
|
+
F4.productName
|
|
1284
1284
|
];
|
|
1285
1285
|
const CLEAR_ON_MFG_ORDER_EMPTY = [
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
|
|
1286
|
+
F4.mfgOrderCode,
|
|
1287
|
+
F4.product,
|
|
1288
|
+
F4.productName,
|
|
1289
|
+
F4.productCode,
|
|
1290
|
+
F4.productSpec,
|
|
1291
|
+
F4.qty,
|
|
1292
|
+
F4.productionDate
|
|
1293
1293
|
];
|
|
1294
1294
|
const CLEAR_ON_PROD_CONTAINER_EMPTY = [
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1295
|
+
F4.product,
|
|
1296
|
+
F4.productName,
|
|
1297
|
+
F4.productCode,
|
|
1298
|
+
F4.productSpec,
|
|
1299
|
+
F4.qty,
|
|
1300
|
+
F4.mfgOrderCode,
|
|
1301
|
+
F4.mfgOrder,
|
|
1302
|
+
F4.productionDate
|
|
1303
1303
|
];
|
|
1304
1304
|
const CLEAR_ON_MATERIAL_CONTAINER_EMPTY = [
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1305
|
+
F4.product,
|
|
1306
|
+
F4.productName,
|
|
1307
|
+
F4.productCode,
|
|
1308
|
+
F4.productSpec,
|
|
1309
|
+
F4.qty,
|
|
1310
|
+
F4.mfgOrderCode,
|
|
1311
|
+
F4.mfgOrder,
|
|
1312
|
+
F4.productionDate,
|
|
1313
|
+
F4.materialContainerNoId,
|
|
1314
|
+
F4.productionContainer
|
|
1315
1315
|
];
|
|
1316
1316
|
const CLEAR_ON_MFG_ORDER_SELECT = [
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1317
|
+
F4.productionContainer,
|
|
1318
|
+
F4.materialContainerNo,
|
|
1319
|
+
F4.materialContainerNoId
|
|
1320
1320
|
];
|
|
1321
1321
|
const CLEAR_ON_PROD_CONTAINER_SELECT = [
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1322
|
+
F4.mfgOrder,
|
|
1323
|
+
F4.mfgOrderCode,
|
|
1324
|
+
F4.materialContainerNo,
|
|
1325
|
+
F4.materialContainerNoId
|
|
1326
1326
|
];
|
|
1327
1327
|
const CLEAR_ON_MATERIAL_CONTAINER_SELECT = [
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1328
|
+
F4.productionContainer,
|
|
1329
|
+
F4.mfgOrder,
|
|
1330
|
+
F4.mfgOrderCode
|
|
1331
1331
|
];
|
|
1332
1332
|
const fillFromOption = [
|
|
1333
1333
|
{
|
|
1334
|
-
optionField:
|
|
1335
|
-
toField:
|
|
1334
|
+
optionField: F4.product,
|
|
1335
|
+
toField: F4.product
|
|
1336
1336
|
},
|
|
1337
1337
|
{
|
|
1338
|
-
optionField:
|
|
1339
|
-
toField:
|
|
1338
|
+
optionField: F4.productName,
|
|
1339
|
+
toField: F4.productName
|
|
1340
1340
|
},
|
|
1341
1341
|
{
|
|
1342
|
-
optionField:
|
|
1343
|
-
toField:
|
|
1342
|
+
optionField: F4.productCode,
|
|
1343
|
+
toField: F4.productCode
|
|
1344
1344
|
},
|
|
1345
1345
|
{
|
|
1346
|
-
optionField:
|
|
1347
|
-
toField:
|
|
1346
|
+
optionField: F4.productSpec,
|
|
1347
|
+
toField: F4.productSpec
|
|
1348
1348
|
},
|
|
1349
1349
|
{
|
|
1350
|
-
optionField:
|
|
1351
|
-
toField:
|
|
1350
|
+
optionField: F4.mfgOrder,
|
|
1351
|
+
toField: F4.mfgOrder
|
|
1352
1352
|
},
|
|
1353
1353
|
{
|
|
1354
|
-
optionField:
|
|
1355
|
-
toField:
|
|
1354
|
+
optionField: F4.mfgOrderCode,
|
|
1355
|
+
toField: F4.mfgOrderCode
|
|
1356
1356
|
},
|
|
1357
1357
|
{
|
|
1358
1358
|
optionField: "real_start_date_",
|
|
1359
|
-
toField:
|
|
1359
|
+
toField: F4.productionDate
|
|
1360
1360
|
},
|
|
1361
1361
|
{
|
|
1362
|
-
optionField:
|
|
1363
|
-
toField:
|
|
1362
|
+
optionField: F4.qty,
|
|
1363
|
+
toField: F4.qty
|
|
1364
1364
|
}
|
|
1365
1365
|
];
|
|
1366
1366
|
const fillFromMfgOrderOption = [
|
|
1367
1367
|
{
|
|
1368
1368
|
optionField: "id_",
|
|
1369
|
-
toField:
|
|
1369
|
+
toField: F4.mfgOrder
|
|
1370
1370
|
},
|
|
1371
1371
|
{
|
|
1372
1372
|
optionField: "code_",
|
|
1373
|
-
toField:
|
|
1373
|
+
toField: F4.mfgOrderCode
|
|
1374
1374
|
},
|
|
1375
1375
|
{
|
|
1376
|
-
optionField:
|
|
1377
|
-
toField:
|
|
1376
|
+
optionField: F4.product,
|
|
1377
|
+
toField: F4.product
|
|
1378
1378
|
},
|
|
1379
1379
|
{
|
|
1380
|
-
optionField:
|
|
1381
|
-
toField:
|
|
1380
|
+
optionField: F4.productName,
|
|
1381
|
+
toField: F4.productName
|
|
1382
1382
|
},
|
|
1383
1383
|
{
|
|
1384
|
-
optionField:
|
|
1385
|
-
toField:
|
|
1384
|
+
optionField: F4.productCode,
|
|
1385
|
+
toField: F4.productCode
|
|
1386
1386
|
},
|
|
1387
1387
|
{
|
|
1388
|
-
optionField:
|
|
1389
|
-
toField:
|
|
1388
|
+
optionField: F4.productSpec,
|
|
1389
|
+
toField: F4.productSpec
|
|
1390
1390
|
},
|
|
1391
1391
|
{
|
|
1392
1392
|
optionField: "real_start_date_",
|
|
1393
|
-
toField:
|
|
1393
|
+
toField: F4.productionDate
|
|
1394
1394
|
},
|
|
1395
1395
|
{
|
|
1396
|
-
optionField:
|
|
1397
|
-
toField:
|
|
1396
|
+
optionField: F4.qty,
|
|
1397
|
+
toField: F4.qty
|
|
1398
1398
|
}
|
|
1399
1399
|
];
|
|
1400
1400
|
const fillFromProductOption = [
|
|
1401
1401
|
{
|
|
1402
1402
|
optionField: "name_",
|
|
1403
|
-
toField:
|
|
1403
|
+
toField: F4.productName
|
|
1404
1404
|
},
|
|
1405
1405
|
{
|
|
1406
1406
|
optionField: "code_",
|
|
1407
|
-
toField:
|
|
1407
|
+
toField: F4.productCode
|
|
1408
1408
|
},
|
|
1409
1409
|
{
|
|
1410
1410
|
optionField: "spec_",
|
|
1411
|
-
toField:
|
|
1411
|
+
toField: F4.productSpec
|
|
1412
1412
|
}
|
|
1413
1413
|
];
|
|
1414
|
-
const CLEAR_ON_PRODUCT_EMPTY = [
|
|
1415
|
-
function applyFillFromMapping(A2,
|
|
1414
|
+
const CLEAR_ON_PRODUCT_EMPTY = [F4.productName, F4.productCode, F4.productSpec];
|
|
1415
|
+
function applyFillFromMapping(A2, B5, mapping) {
|
|
1416
1416
|
const writableA = A2;
|
|
1417
1417
|
mapping.forEach(({ optionField, toField }) => {
|
|
1418
|
-
if (has(
|
|
1419
|
-
writableA[toField] =
|
|
1418
|
+
if (has(B5, optionField)) {
|
|
1419
|
+
writableA[toField] = B5[optionField];
|
|
1420
1420
|
}
|
|
1421
1421
|
});
|
|
1422
1422
|
return A2;
|
|
1423
1423
|
}
|
|
1424
|
-
function applyFillFromOption(A2,
|
|
1425
|
-
return applyFillFromMapping(A2,
|
|
1424
|
+
function applyFillFromOption(A2, B5) {
|
|
1425
|
+
return applyFillFromMapping(A2, B5, fillFromOption);
|
|
1426
1426
|
}
|
|
1427
|
-
function applyFillFromProductOption(A2,
|
|
1428
|
-
return applyFillFromMapping(A2,
|
|
1427
|
+
function applyFillFromProductOption(A2, B5) {
|
|
1428
|
+
return applyFillFromMapping(A2, B5, fillFromProductOption);
|
|
1429
1429
|
}
|
|
1430
|
-
function applyFillFromMfgOrderOption(A2,
|
|
1431
|
-
applyFillFromMapping(A2,
|
|
1430
|
+
function applyFillFromMfgOrderOption(A2, B5) {
|
|
1431
|
+
applyFillFromMapping(A2, B5, fillFromMfgOrderOption);
|
|
1432
1432
|
const writableA = A2;
|
|
1433
|
-
if (!has(
|
|
1434
|
-
writableA[
|
|
1433
|
+
if (!has(B5, "code_") && (B5.label != null || B5.__LABEL__ != null)) {
|
|
1434
|
+
writableA[F4.mfgOrderCode] = B5.label ?? B5.__LABEL__;
|
|
1435
1435
|
}
|
|
1436
1436
|
return A2;
|
|
1437
1437
|
}
|
|
@@ -1676,24 +1676,24 @@ class PretreatmentListTableCore extends SubTableCore {
|
|
|
1676
1676
|
if (PRETREATMENT_ALWAYS_DISABLED_FIELDS.includes(field)) {
|
|
1677
1677
|
result.disabled = true;
|
|
1678
1678
|
}
|
|
1679
|
-
if (field ===
|
|
1680
|
-
const hasNo = rowData[
|
|
1681
|
-
const idEmpty = rowData[
|
|
1679
|
+
if (field === F4.product) {
|
|
1680
|
+
const hasNo = rowData[F4.materialContainerNo] != null && rowData[F4.materialContainerNo] !== "";
|
|
1681
|
+
const idEmpty = rowData[F4.materialContainerNoId] == null || rowData[F4.materialContainerNoId] === "";
|
|
1682
1682
|
result.disabled = !(hasNo && idEmpty);
|
|
1683
1683
|
}
|
|
1684
1684
|
return result;
|
|
1685
1685
|
}
|
|
1686
1686
|
calcFieldDataSource = (params) => {
|
|
1687
1687
|
const { field } = params;
|
|
1688
|
-
if (field ===
|
|
1689
|
-
if (field ===
|
|
1690
|
-
if (field ===
|
|
1688
|
+
if (field === F4.productionContainer) return createProductionContainerLoader();
|
|
1689
|
+
if (field === F4.mfgOrder) return createMfgOrderLoader();
|
|
1690
|
+
if (field === F4.materialContainerNo) return createMaterialContainerLoader();
|
|
1691
1691
|
};
|
|
1692
1692
|
handleChange = (params) => {
|
|
1693
1693
|
const { field, option, value, rowData } = params;
|
|
1694
1694
|
const writable = rowData;
|
|
1695
1695
|
const hasValue = value != null && value !== "";
|
|
1696
|
-
if (field ===
|
|
1696
|
+
if (field === F4.mfgOrder) {
|
|
1697
1697
|
if (option) {
|
|
1698
1698
|
applyFillFromMfgOrderOption(rowData, option._item ?? option);
|
|
1699
1699
|
}
|
|
@@ -1708,7 +1708,7 @@ class PretreatmentListTableCore extends SubTableCore {
|
|
|
1708
1708
|
}
|
|
1709
1709
|
return;
|
|
1710
1710
|
}
|
|
1711
|
-
if (field ===
|
|
1711
|
+
if (field === F4.productionContainer) {
|
|
1712
1712
|
if (option) {
|
|
1713
1713
|
applyFillFromOption(rowData, option._item ?? option);
|
|
1714
1714
|
}
|
|
@@ -1723,7 +1723,7 @@ class PretreatmentListTableCore extends SubTableCore {
|
|
|
1723
1723
|
}
|
|
1724
1724
|
return;
|
|
1725
1725
|
}
|
|
1726
|
-
if (field ===
|
|
1726
|
+
if (field === F4.materialContainerNo) {
|
|
1727
1727
|
if (option) {
|
|
1728
1728
|
applyFillFromOption(rowData, option._item ?? option);
|
|
1729
1729
|
}
|
|
@@ -1738,7 +1738,7 @@ class PretreatmentListTableCore extends SubTableCore {
|
|
|
1738
1738
|
}
|
|
1739
1739
|
return;
|
|
1740
1740
|
}
|
|
1741
|
-
if (field ===
|
|
1741
|
+
if (field === F4.product) {
|
|
1742
1742
|
if (option) {
|
|
1743
1743
|
applyFillFromProductOption(rowData, option._item ?? option);
|
|
1744
1744
|
} else if (!hasValue) {
|
|
@@ -3144,741 +3144,6 @@ function useMaterialStocktake() {
|
|
|
3144
3144
|
openScanModal
|
|
3145
3145
|
};
|
|
3146
3146
|
}
|
|
3147
|
-
const _hoisted_1$2 = { class: "ebr-wiki-edhr-builder-wrapper" };
|
|
3148
|
-
const _hoisted_2$2 = {
|
|
3149
|
-
key: 0,
|
|
3150
|
-
class: "nocode-common-loading-warp"
|
|
3151
|
-
};
|
|
3152
|
-
const _hoisted_3$2 = {
|
|
3153
|
-
key: 1,
|
|
3154
|
-
class: "ebr-wiki-edhr-builder-container"
|
|
3155
|
-
};
|
|
3156
|
-
const _hoisted_4$2 = { class: "ebr-wiki-edhr-builder-right" };
|
|
3157
|
-
const _hoisted_5$2 = { class: "ebr-wiki-edhr-builder-right__content" };
|
|
3158
|
-
const _hoisted_6$2 = {
|
|
3159
|
-
key: 0,
|
|
3160
|
-
class: "nocode-common-loading-warp ebr-wiki-right-loading"
|
|
3161
|
-
};
|
|
3162
|
-
const _hoisted_7$2 = {
|
|
3163
|
-
key: 2,
|
|
3164
|
-
class: "nocode-common-loading-warp"
|
|
3165
|
-
};
|
|
3166
|
-
const _hoisted_8$2 = { class: "w200px text-center color-[#666]" };
|
|
3167
|
-
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
3168
|
-
__name: "ebr-wiki-layout",
|
|
3169
|
-
props: {
|
|
3170
|
-
loading: { type: Boolean },
|
|
3171
|
-
hasData: { type: Boolean },
|
|
3172
|
-
rightLoading: { type: Boolean, default: false },
|
|
3173
|
-
leftLoading: { type: Boolean, default: false },
|
|
3174
|
-
showFullScreen: { type: Boolean }
|
|
3175
|
-
},
|
|
3176
|
-
setup(__props) {
|
|
3177
|
-
const isFullScreen = ref(false);
|
|
3178
|
-
function changeIsFullScreen() {
|
|
3179
|
-
isFullScreen.value = !isFullScreen.value;
|
|
3180
|
-
}
|
|
3181
|
-
return (_ctx, _cache) => {
|
|
3182
|
-
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
3183
|
-
__props.loading ? (openBlock(), createElementBlock("div", _hoisted_2$2, [
|
|
3184
|
-
createVNode(DocumentLoading)
|
|
3185
|
-
])) : __props.hasData || __props.rightLoading || __props.leftLoading ? (openBlock(), createElementBlock("div", _hoisted_3$2, [
|
|
3186
|
-
renderSlot(_ctx.$slots, "ebr-left", {}, void 0, true),
|
|
3187
|
-
createElementVNode("div", {
|
|
3188
|
-
class: normalizeClass(["ebr-wiki-edhr-builder-content", { isFullScreen: isFullScreen.value }])
|
|
3189
|
-
}, [
|
|
3190
|
-
__props.showFullScreen ? (openBlock(), createElementBlock("div", {
|
|
3191
|
-
key: 0,
|
|
3192
|
-
class: "ebr-container-full-screen",
|
|
3193
|
-
onClick: changeIsFullScreen
|
|
3194
|
-
}, [
|
|
3195
|
-
createElementVNode("i", {
|
|
3196
|
-
class: normalizeClass(["iconfont", isFullScreen.value ? "icon-tuichuquanping" : "icon-quanping"])
|
|
3197
|
-
}, null, 2)
|
|
3198
|
-
])) : createCommentVNode("", true),
|
|
3199
|
-
createElementVNode("div", _hoisted_4$2, [
|
|
3200
|
-
withDirectives(createElementVNode("div", _hoisted_5$2, [
|
|
3201
|
-
renderSlot(_ctx.$slots, "ebr-right", {}, void 0, true)
|
|
3202
|
-
], 512), [
|
|
3203
|
-
[vShow, !__props.rightLoading]
|
|
3204
|
-
]),
|
|
3205
|
-
__props.rightLoading ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
|
|
3206
|
-
createVNode(DocumentLoading)
|
|
3207
|
-
])) : createCommentVNode("", true)
|
|
3208
|
-
])
|
|
3209
|
-
], 2),
|
|
3210
|
-
renderSlot(_ctx.$slots, "ebr-action", {}, void 0, true)
|
|
3211
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_7$2, [
|
|
3212
|
-
createElementVNode("div", _hoisted_8$2, [
|
|
3213
|
-
_cache[0] || (_cache[0] = createElementVNode("img", {
|
|
3214
|
-
class: "w100% h100%",
|
|
3215
|
-
src: _imports_0,
|
|
3216
|
-
alt: ""
|
|
3217
|
-
}, null, -1)),
|
|
3218
|
-
createElementVNode("span", null, toDisplayString(_ctx.$t("sys.noData")), 1)
|
|
3219
|
-
])
|
|
3220
|
-
]))
|
|
3221
|
-
]);
|
|
3222
|
-
};
|
|
3223
|
-
}
|
|
3224
|
-
});
|
|
3225
|
-
const ebrWikiLayout = /* @__PURE__ */ _export_sfc(_sfc_main$3, [["__scopeId", "data-v-df9f2da6"]]);
|
|
3226
|
-
const _hoisted_1$1 = { class: "edhr-new-wiki-tree-wrapper" };
|
|
3227
|
-
const _hoisted_2$1 = { class: "edhr-new-wiki-tree-menu" };
|
|
3228
|
-
const _hoisted_3$1 = ["title"];
|
|
3229
|
-
const _hoisted_4$1 = {
|
|
3230
|
-
key: 0,
|
|
3231
|
-
class: "doc-icon"
|
|
3232
|
-
};
|
|
3233
|
-
const _hoisted_5$1 = { class: "appendix-list" };
|
|
3234
|
-
const _hoisted_6$1 = ["onClick"];
|
|
3235
|
-
const _hoisted_7$1 = { class: "appendix-item__title" };
|
|
3236
|
-
const _hoisted_8$1 = { class: "appendix-list" };
|
|
3237
|
-
const _hoisted_9$1 = ["onClick"];
|
|
3238
|
-
const _hoisted_10$1 = { class: "appendix-item__title" };
|
|
3239
|
-
const _hoisted_11$1 = { class: "ebr-new-wiki-print-btn" };
|
|
3240
|
-
const _hoisted_12$1 = { class: "header-title" };
|
|
3241
|
-
const _hoisted_13 = { class: "instance-content" };
|
|
3242
|
-
const _hoisted_14 = ["onClick"];
|
|
3243
|
-
const _hoisted_15 = { class: "title" };
|
|
3244
|
-
const _hoisted_16 = { class: "status" };
|
|
3245
|
-
const _hoisted_17 = ["onClick"];
|
|
3246
|
-
const f_key = "id";
|
|
3247
|
-
const f_title = "name";
|
|
3248
|
-
const f_children = "children";
|
|
3249
|
-
const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
3250
|
-
__name: "edhr-new-wiki-tree",
|
|
3251
|
-
props: {
|
|
3252
|
-
wikiTreeData: {},
|
|
3253
|
-
appendixList: {},
|
|
3254
|
-
docList: {},
|
|
3255
|
-
docInstanceList: {},
|
|
3256
|
-
treeSelectDocData: {},
|
|
3257
|
-
selectSelfInfo: {},
|
|
3258
|
-
hideInstanceArea: { type: Boolean }
|
|
3259
|
-
},
|
|
3260
|
-
emits: ["update:treeSelectDocData", "update:selectSelfInfo", "selectDoc"],
|
|
3261
|
-
setup(__props, { emit: __emit }) {
|
|
3262
|
-
const treeSettings = {
|
|
3263
|
-
children: f_children,
|
|
3264
|
-
title: f_title,
|
|
3265
|
-
key: f_key
|
|
3266
|
-
};
|
|
3267
|
-
const props = __props;
|
|
3268
|
-
const emit = __emit;
|
|
3269
|
-
const treeVisible = ref(true);
|
|
3270
|
-
const collapseActiveKey = ref(["1"]);
|
|
3271
|
-
const activeKey = ref("1");
|
|
3272
|
-
const isShowInstanceArea = computed(() => {
|
|
3273
|
-
return !props?.hideInstanceArea && [FormTypeEnum.BASE, FormTypeEnum.PROCESS, FormTypeEnum.FILE].includes(
|
|
3274
|
-
props.selectSelfInfo?.formType
|
|
3275
|
-
);
|
|
3276
|
-
});
|
|
3277
|
-
const computedDocInstancesList = computed(() => {
|
|
3278
|
-
return props.docInstanceList?.filter((item) => item.formType) ?? [];
|
|
3279
|
-
});
|
|
3280
|
-
const computedAppendixList = computed(() => {
|
|
3281
|
-
const seen = /* @__PURE__ */ new Set();
|
|
3282
|
-
return props.appendixList?.filter((item) => item.formType)?.filter((item) => {
|
|
3283
|
-
const key = item.tmplId;
|
|
3284
|
-
if (seen.has(key)) return false;
|
|
3285
|
-
seen.add(key);
|
|
3286
|
-
return true;
|
|
3287
|
-
}) ?? [];
|
|
3288
|
-
});
|
|
3289
|
-
const handleTreeToggle = async () => {
|
|
3290
|
-
await nextTick();
|
|
3291
|
-
setTimeout(() => {
|
|
3292
|
-
treeVisible.value = !treeVisible.value;
|
|
3293
|
-
}, 1);
|
|
3294
|
-
};
|
|
3295
|
-
function onSelect(_2, e2) {
|
|
3296
|
-
const { dataRef } = e2.node || {};
|
|
3297
|
-
if (props.treeSelectDocData && props.treeSelectDocData.id === dataRef.id) {
|
|
3298
|
-
return;
|
|
3299
|
-
}
|
|
3300
|
-
emit("update:treeSelectDocData", dataRef);
|
|
3301
|
-
emit("update:selectSelfInfo", null);
|
|
3302
|
-
}
|
|
3303
|
-
function onSelectAppendix(dataRef) {
|
|
3304
|
-
if (props.treeSelectDocData && props.treeSelectDocData.id === dataRef.id) {
|
|
3305
|
-
return;
|
|
3306
|
-
}
|
|
3307
|
-
emit("update:treeSelectDocData", dataRef);
|
|
3308
|
-
emit("update:selectSelfInfo", null);
|
|
3309
|
-
}
|
|
3310
|
-
function onSelectDoc(data) {
|
|
3311
|
-
emit("selectDoc", data);
|
|
3312
|
-
}
|
|
3313
|
-
function onSelectInstanceItem(data) {
|
|
3314
|
-
if (props.selectSelfInfo?.id === data.id) {
|
|
3315
|
-
return;
|
|
3316
|
-
}
|
|
3317
|
-
emit("update:selectSelfInfo", data);
|
|
3318
|
-
}
|
|
3319
|
-
return (_ctx, _cache) => {
|
|
3320
|
-
const _component_a_tree = resolveComponent("a-tree");
|
|
3321
|
-
const _component_a_tab_pane = resolveComponent("a-tab-pane");
|
|
3322
|
-
const _component_a_empty = resolveComponent("a-empty");
|
|
3323
|
-
const _component_a_tabs = resolveComponent("a-tabs");
|
|
3324
|
-
const _component_UpOutlined = resolveComponent("UpOutlined");
|
|
3325
|
-
const _component_CaretRightOutlined = resolveComponent("CaretRightOutlined");
|
|
3326
|
-
const _component_a_descriptions_item = resolveComponent("a-descriptions-item");
|
|
3327
|
-
const _component_a_descriptions = resolveComponent("a-descriptions");
|
|
3328
|
-
const _component_a_collapse_panel = resolveComponent("a-collapse-panel");
|
|
3329
|
-
const _component_a_collapse = resolveComponent("a-collapse");
|
|
3330
|
-
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
3331
|
-
createElementVNode("div", {
|
|
3332
|
-
class: normalizeClass(["edhr-new-wiki-tree-container", {
|
|
3333
|
-
"edhr-new-wiki-tree--hidden": !treeVisible.value
|
|
3334
|
-
}])
|
|
3335
|
-
}, [
|
|
3336
|
-
createElementVNode("div", {
|
|
3337
|
-
class: "edhr-new-wiki-tree-toggle",
|
|
3338
|
-
onClick: handleTreeToggle
|
|
3339
|
-
}, [..._cache[2] || (_cache[2] = [
|
|
3340
|
-
createElementVNode("i", { class: "iconfont icon-a-Leftarrow" }, null, -1)
|
|
3341
|
-
])]),
|
|
3342
|
-
createElementVNode("div", _hoisted_2$1, [
|
|
3343
|
-
createVNode(_component_a_tabs, {
|
|
3344
|
-
activeKey: activeKey.value,
|
|
3345
|
-
"onUpdate:activeKey": _cache[0] || (_cache[0] = ($event) => activeKey.value = $event),
|
|
3346
|
-
centered: ""
|
|
3347
|
-
}, {
|
|
3348
|
-
default: withCtx(() => [
|
|
3349
|
-
createVNode(_component_a_tab_pane, {
|
|
3350
|
-
key: "1",
|
|
3351
|
-
tab: _ctx.$t("sys.edhr.ebr.category.catalogue")
|
|
3352
|
-
}, {
|
|
3353
|
-
default: withCtx(() => [
|
|
3354
|
-
createVNode(unref(Scrollbar), { class: "px-4px pb-8px" }, {
|
|
3355
|
-
default: withCtx(() => [
|
|
3356
|
-
createVNode(_component_a_tree, {
|
|
3357
|
-
class: "tree-instance",
|
|
3358
|
-
"auto-expand-parent": "",
|
|
3359
|
-
"default-expand-all": "",
|
|
3360
|
-
"block-node": "",
|
|
3361
|
-
showIcon: "",
|
|
3362
|
-
fieldNames: treeSettings,
|
|
3363
|
-
"tree-data": __props.wikiTreeData,
|
|
3364
|
-
selectedKeys: [__props.treeSelectDocData.id],
|
|
3365
|
-
onSelect
|
|
3366
|
-
}, {
|
|
3367
|
-
title: withCtx(({ data }) => [
|
|
3368
|
-
createElementVNode("div", {
|
|
3369
|
-
class: normalizeClass(["tree-node", data.type === "DOC" && "type-doc"])
|
|
3370
|
-
}, [
|
|
3371
|
-
createElementVNode("span", {
|
|
3372
|
-
class: "tree-node__title",
|
|
3373
|
-
title: data[f_title]
|
|
3374
|
-
}, toDisplayString(data[f_title]), 9, _hoisted_3$1)
|
|
3375
|
-
], 2)
|
|
3376
|
-
]),
|
|
3377
|
-
icon: withCtx(({ data }) => [
|
|
3378
|
-
data.type === "DOC" ? (openBlock(), createElementBlock("i", _hoisted_4$1)) : createCommentVNode("", true)
|
|
3379
|
-
]),
|
|
3380
|
-
_: 1
|
|
3381
|
-
}, 8, ["tree-data", "selectedKeys"])
|
|
3382
|
-
]),
|
|
3383
|
-
_: 1
|
|
3384
|
-
})
|
|
3385
|
-
]),
|
|
3386
|
-
_: 1
|
|
3387
|
-
}, 8, ["tab"]),
|
|
3388
|
-
createVNode(_component_a_tab_pane, {
|
|
3389
|
-
key: "2",
|
|
3390
|
-
tab: _ctx.$t("sys.edhr.ebr.subModule.appendix")
|
|
3391
|
-
}, {
|
|
3392
|
-
default: withCtx(() => [
|
|
3393
|
-
computedAppendixList.value?.length ? (openBlock(), createBlock(unref(Scrollbar), {
|
|
3394
|
-
key: 0,
|
|
3395
|
-
class: "px-4px pb-8px"
|
|
3396
|
-
}, {
|
|
3397
|
-
default: withCtx(() => [
|
|
3398
|
-
createElementVNode("div", _hoisted_5$1, [
|
|
3399
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(computedAppendixList.value, (item) => {
|
|
3400
|
-
return openBlock(), createElementBlock("div", {
|
|
3401
|
-
class: normalizeClass(["appendix-item", __props.treeSelectDocData.id === item.id && "appendix-item--selected"]),
|
|
3402
|
-
key: item.id,
|
|
3403
|
-
onClick: ($event) => onSelectAppendix(item)
|
|
3404
|
-
}, [
|
|
3405
|
-
createElementVNode("div", _hoisted_7$1, toDisplayString(item.tmplName), 1)
|
|
3406
|
-
], 10, _hoisted_6$1);
|
|
3407
|
-
}), 128))
|
|
3408
|
-
])
|
|
3409
|
-
]),
|
|
3410
|
-
_: 1
|
|
3411
|
-
})) : (openBlock(), createBlock(_component_a_empty, {
|
|
3412
|
-
key: 1,
|
|
3413
|
-
image: unref(Empty).PRESENTED_IMAGE_SIMPLE
|
|
3414
|
-
}, null, 8, ["image"]))
|
|
3415
|
-
]),
|
|
3416
|
-
_: 1
|
|
3417
|
-
}, 8, ["tab"]),
|
|
3418
|
-
createVNode(_component_a_tab_pane, {
|
|
3419
|
-
key: "3",
|
|
3420
|
-
tab: _ctx.$t("sys.file")
|
|
3421
|
-
}, {
|
|
3422
|
-
default: withCtx(() => [
|
|
3423
|
-
__props.docList?.length ? (openBlock(), createBlock(unref(Scrollbar), {
|
|
3424
|
-
key: 0,
|
|
3425
|
-
class: "px-4px pb-8px"
|
|
3426
|
-
}, {
|
|
3427
|
-
default: withCtx(() => [
|
|
3428
|
-
createElementVNode("div", _hoisted_8$1, [
|
|
3429
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(__props.docList, (item) => {
|
|
3430
|
-
return openBlock(), createElementBlock("div", {
|
|
3431
|
-
class: "appendix-item",
|
|
3432
|
-
key: item.id_,
|
|
3433
|
-
onClick: ($event) => onSelectDoc(item)
|
|
3434
|
-
}, [
|
|
3435
|
-
createElementVNode("div", _hoisted_10$1, toDisplayString(item.name_), 1)
|
|
3436
|
-
], 8, _hoisted_9$1);
|
|
3437
|
-
}), 128))
|
|
3438
|
-
])
|
|
3439
|
-
]),
|
|
3440
|
-
_: 1
|
|
3441
|
-
})) : (openBlock(), createBlock(_component_a_empty, {
|
|
3442
|
-
key: 1,
|
|
3443
|
-
image: unref(Empty).PRESENTED_IMAGE_SIMPLE
|
|
3444
|
-
}, null, 8, ["image"]))
|
|
3445
|
-
]),
|
|
3446
|
-
_: 1
|
|
3447
|
-
}, 8, ["tab"])
|
|
3448
|
-
]),
|
|
3449
|
-
_: 1
|
|
3450
|
-
}, 8, ["activeKey"])
|
|
3451
|
-
]),
|
|
3452
|
-
createElementVNode("div", _hoisted_11$1, [
|
|
3453
|
-
renderSlot(_ctx.$slots, "print", {}, void 0, true)
|
|
3454
|
-
]),
|
|
3455
|
-
isShowInstanceArea.value && computedDocInstancesList.value?.length ? (openBlock(), createBlock(_component_a_collapse, {
|
|
3456
|
-
key: 0,
|
|
3457
|
-
class: "edhr-new-wiki-instance-collapse",
|
|
3458
|
-
activeKey: collapseActiveKey.value,
|
|
3459
|
-
"onUpdate:activeKey": _cache[1] || (_cache[1] = ($event) => collapseActiveKey.value = $event),
|
|
3460
|
-
bordered: false,
|
|
3461
|
-
expandIconPosition: "right",
|
|
3462
|
-
ghost: ""
|
|
3463
|
-
}, {
|
|
3464
|
-
expandIcon: withCtx(({ isActive }) => [
|
|
3465
|
-
createVNode(_component_UpOutlined, {
|
|
3466
|
-
rotate: isActive ? 180 : 0
|
|
3467
|
-
}, null, 8, ["rotate"])
|
|
3468
|
-
]),
|
|
3469
|
-
default: withCtx(() => [
|
|
3470
|
-
createVNode(_component_a_collapse_panel, { key: "1" }, {
|
|
3471
|
-
header: withCtx(() => [
|
|
3472
|
-
createElementVNode("div", _hoisted_12$1, toDisplayString(_ctx.$t("sys.edhr.formInstRecords")), 1)
|
|
3473
|
-
]),
|
|
3474
|
-
default: withCtx(() => [
|
|
3475
|
-
createElementVNode("div", _hoisted_13, [
|
|
3476
|
-
createVNode(unref(Scrollbar), { class: "px-4px py-4px" }, {
|
|
3477
|
-
default: withCtx(() => [
|
|
3478
|
-
createVNode(_component_a_collapse, {
|
|
3479
|
-
bordered: false,
|
|
3480
|
-
ghost: "",
|
|
3481
|
-
class: "edhr-new-wiki-instance-collapse-inner"
|
|
3482
|
-
}, {
|
|
3483
|
-
expandIcon: withCtx(({ isActive }) => [
|
|
3484
|
-
createVNode(_component_CaretRightOutlined, {
|
|
3485
|
-
rotate: isActive ? 90 : 0
|
|
3486
|
-
}, null, 8, ["rotate"])
|
|
3487
|
-
]),
|
|
3488
|
-
default: withCtx(() => [
|
|
3489
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(computedDocInstancesList.value, (item, index) => {
|
|
3490
|
-
return openBlock(), createBlock(_component_a_collapse_panel, {
|
|
3491
|
-
key: item.id,
|
|
3492
|
-
class: normalizeClass({
|
|
3493
|
-
"edhr-new-wiki-instance-item--selected": __props.selectSelfInfo?.id === item.id
|
|
3494
|
-
})
|
|
3495
|
-
}, {
|
|
3496
|
-
header: withCtx(() => [
|
|
3497
|
-
createElementVNode("div", {
|
|
3498
|
-
class: "header-title-content",
|
|
3499
|
-
onClick: withModifiers(($event) => onSelectInstanceItem(item), ["stop"])
|
|
3500
|
-
}, [
|
|
3501
|
-
createElementVNode("span", _hoisted_15, toDisplayString(`#${(computedDocInstancesList.value.length ?? 0) - index}
|
|
3502
|
-
【${item.ext2 ?? item.tmplName}】
|
|
3503
|
-
${index === 0 ? "(" + _ctx.$t("sys.edhr.latest") + ")" : ""}`), 1),
|
|
3504
|
-
createElementVNode("div", _hoisted_16, [
|
|
3505
|
-
renderSlot(_ctx.$slots, "status", { item }, void 0, true)
|
|
3506
|
-
])
|
|
3507
|
-
], 8, _hoisted_14)
|
|
3508
|
-
]),
|
|
3509
|
-
default: withCtx(() => [
|
|
3510
|
-
createElementVNode("div", {
|
|
3511
|
-
class: "content",
|
|
3512
|
-
onClick: withModifiers(($event) => onSelectInstanceItem(item), ["stop"])
|
|
3513
|
-
}, [
|
|
3514
|
-
createVNode(_component_a_descriptions, {
|
|
3515
|
-
column: 1,
|
|
3516
|
-
colon: true,
|
|
3517
|
-
labelStyle: { color: "#666", fontSize: "12px" },
|
|
3518
|
-
contentStyle: { color: "#252525", fontSize: "12px" }
|
|
3519
|
-
}, {
|
|
3520
|
-
default: withCtx(() => [
|
|
3521
|
-
createVNode(_component_a_descriptions_item, {
|
|
3522
|
-
label: _ctx.$t("sys.createTime")
|
|
3523
|
-
}, {
|
|
3524
|
-
default: withCtx(() => [
|
|
3525
|
-
createTextVNode(toDisplayString(item.createTime), 1)
|
|
3526
|
-
]),
|
|
3527
|
-
_: 2
|
|
3528
|
-
}, 1032, ["label"]),
|
|
3529
|
-
createVNode(_component_a_descriptions_item, {
|
|
3530
|
-
label: _ctx.$t("sys.updateTime")
|
|
3531
|
-
}, {
|
|
3532
|
-
default: withCtx(() => [
|
|
3533
|
-
createTextVNode(toDisplayString(item.modifyTime), 1)
|
|
3534
|
-
]),
|
|
3535
|
-
_: 2
|
|
3536
|
-
}, 1032, ["label"]),
|
|
3537
|
-
createVNode(_component_a_descriptions_item, {
|
|
3538
|
-
label: _ctx.$t("sys.updatePerson")
|
|
3539
|
-
}, {
|
|
3540
|
-
default: withCtx(() => [
|
|
3541
|
-
createTextVNode(toDisplayString(item.modifyUserName), 1)
|
|
3542
|
-
]),
|
|
3543
|
-
_: 2
|
|
3544
|
-
}, 1032, ["label"])
|
|
3545
|
-
]),
|
|
3546
|
-
_: 2
|
|
3547
|
-
}, 1024)
|
|
3548
|
-
], 8, _hoisted_17)
|
|
3549
|
-
]),
|
|
3550
|
-
_: 2
|
|
3551
|
-
}, 1032, ["class"]);
|
|
3552
|
-
}), 128))
|
|
3553
|
-
]),
|
|
3554
|
-
_: 3
|
|
3555
|
-
})
|
|
3556
|
-
]),
|
|
3557
|
-
_: 3
|
|
3558
|
-
})
|
|
3559
|
-
])
|
|
3560
|
-
]),
|
|
3561
|
-
_: 3
|
|
3562
|
-
})
|
|
3563
|
-
]),
|
|
3564
|
-
_: 3
|
|
3565
|
-
}, 8, ["activeKey"])) : createCommentVNode("", true)
|
|
3566
|
-
], 2)
|
|
3567
|
-
]);
|
|
3568
|
-
};
|
|
3569
|
-
}
|
|
3570
|
-
});
|
|
3571
|
-
const edhrNewWikiTree = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-3754577e"]]);
|
|
3572
|
-
const _hoisted_1 = { class: "error-group-panel-wrapper" };
|
|
3573
|
-
const _hoisted_2 = { class: "header-title-content" };
|
|
3574
|
-
const _hoisted_3 = { class: "title-area" };
|
|
3575
|
-
const _hoisted_4 = { class: "title" };
|
|
3576
|
-
const _hoisted_5 = { class: "tooltip-content" };
|
|
3577
|
-
const _hoisted_6 = { class: "content" };
|
|
3578
|
-
const _hoisted_7 = { class: "title" };
|
|
3579
|
-
const _hoisted_8 = { class: "tooltip-content" };
|
|
3580
|
-
const _hoisted_9 = { class: "message-title" };
|
|
3581
|
-
const _hoisted_10 = { class: "title" };
|
|
3582
|
-
const _hoisted_11 = { class: "tooltip-content" };
|
|
3583
|
-
const _hoisted_12 = { class: "message-title" };
|
|
3584
|
-
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
3585
|
-
__name: "error-group-panel",
|
|
3586
|
-
props: {
|
|
3587
|
-
errorMap: {},
|
|
3588
|
-
subTableInfo: {}
|
|
3589
|
-
},
|
|
3590
|
-
setup(__props) {
|
|
3591
|
-
const statusMap = {
|
|
3592
|
-
[MobileFillTypeEnum.MAIN_FIELD]: {
|
|
3593
|
-
textColor: "#309C41",
|
|
3594
|
-
background: "rgba(48,156,65,0.2)",
|
|
3595
|
-
placeholder: $t("sys.component.fieldTransfer.subMainModel")
|
|
3596
|
-
},
|
|
3597
|
-
[MobileFillTypeEnum.SUB_TABLE]: {
|
|
3598
|
-
textColor: "#742fb2",
|
|
3599
|
-
background: "rgba(116, 47, 178, 0.2)",
|
|
3600
|
-
placeholder: $t("sys.onlineForm.subTableType.DEFAULT")
|
|
3601
|
-
},
|
|
3602
|
-
[MobileFillTypeEnum.FIXED_TABLE]: {
|
|
3603
|
-
textColor: "#845832",
|
|
3604
|
-
background: "rgba(132,88,50, 0.2)",
|
|
3605
|
-
placeholder: $t("sys.onlineForm.subTableType.FIXED")
|
|
3606
|
-
},
|
|
3607
|
-
[MobileFillTypeEnum.SUB_TABLE_2D]: {
|
|
3608
|
-
textColor: "#6D82B0",
|
|
3609
|
-
background: "#E6EEFF",
|
|
3610
|
-
placeholder: $t("sys.onlineForm.subTableType.2D")
|
|
3611
|
-
},
|
|
3612
|
-
[MobileFillTypeEnum.SUB_TABLE_2D_LINK]: {
|
|
3613
|
-
textColor: "#F77E4A",
|
|
3614
|
-
background: "rgba(247,126,74,0.2)",
|
|
3615
|
-
placeholder: $t("sys.onlineForm.subTable2DLink")
|
|
3616
|
-
},
|
|
3617
|
-
[MobileFillTypeEnum.CHECK_TABLE_2D]: {
|
|
3618
|
-
textColor: "#13C2C2",
|
|
3619
|
-
background: "rgba(19,194,194,0.2)",
|
|
3620
|
-
placeholder: $t("sys.onlineForm.subTableType.CHECK")
|
|
3621
|
-
},
|
|
3622
|
-
[MobileFillTypeEnum.CHECK_TABLE_2D_LINK]: {
|
|
3623
|
-
textColor: "#F77E4A",
|
|
3624
|
-
background: "rgba(247,126,74,0.2)",
|
|
3625
|
-
placeholder: $t("sys.onlineForm.checkTable2DLink")
|
|
3626
|
-
},
|
|
3627
|
-
[MobileFillTypeEnum.MATERIAL_CONSUME_TABLE]: {
|
|
3628
|
-
textColor: "#4C8CAA",
|
|
3629
|
-
background: "rgba(76,140,170,0.12)",
|
|
3630
|
-
placeholder: $t("sys.onlineForm.subTableType.MATERIAL_CONSUMPTION")
|
|
3631
|
-
}
|
|
3632
|
-
};
|
|
3633
|
-
const props = __props;
|
|
3634
|
-
const groupedByModelKey = computed(() => {
|
|
3635
|
-
const result = {};
|
|
3636
|
-
const addToSet = (map, key, val) => {
|
|
3637
|
-
if (!map[key]) map[key] = /* @__PURE__ */ new Set();
|
|
3638
|
-
map[key].add(val);
|
|
3639
|
-
};
|
|
3640
|
-
for (const errorList of Object.values(props.errorMap)) {
|
|
3641
|
-
for (const { field, message: messageJson } of errorList) {
|
|
3642
|
-
const { showModelName, showModelKey, showFieldName, subFieldKey, targetFieldId, message } = JSON.parse(messageJson);
|
|
3643
|
-
if (!result[showModelKey]) {
|
|
3644
|
-
const info = props.subTableInfo.find((item) => item.field === subFieldKey);
|
|
3645
|
-
const themeConfig = statusMap[info?.subType ?? MobileFillTypeEnum.MAIN_FIELD];
|
|
3646
|
-
result[showModelKey] = {
|
|
3647
|
-
showModelName,
|
|
3648
|
-
showModelKey,
|
|
3649
|
-
subFieldKey,
|
|
3650
|
-
themeConfig,
|
|
3651
|
-
fields: {}
|
|
3652
|
-
};
|
|
3653
|
-
}
|
|
3654
|
-
const modelGroup = result[showModelKey];
|
|
3655
|
-
if (!modelGroup.fields[targetFieldId]) {
|
|
3656
|
-
modelGroup.fields[targetFieldId] = {
|
|
3657
|
-
showFieldName,
|
|
3658
|
-
targetFieldId,
|
|
3659
|
-
linkFields: targetFieldId === "value_" ? {} : /* @__PURE__ */ new Set(),
|
|
3660
|
-
messages: targetFieldId === "value_" ? {} : /* @__PURE__ */ new Set()
|
|
3661
|
-
};
|
|
3662
|
-
}
|
|
3663
|
-
const fieldGroup = modelGroup.fields[targetFieldId];
|
|
3664
|
-
if (targetFieldId === "value_") {
|
|
3665
|
-
const m2 = field.match(/^(.*_value_)_(\d+)$/);
|
|
3666
|
-
const groupKey = m2 ? m2[1] : /^.+_\d+_value_$/.test(field) ? field : null;
|
|
3667
|
-
if (!groupKey) continue;
|
|
3668
|
-
addToSet(fieldGroup.linkFields, groupKey, field);
|
|
3669
|
-
addToSet(fieldGroup.messages, groupKey, message);
|
|
3670
|
-
} else {
|
|
3671
|
-
fieldGroup.linkFields.add(field);
|
|
3672
|
-
fieldGroup.messages.add(message);
|
|
3673
|
-
}
|
|
3674
|
-
}
|
|
3675
|
-
}
|
|
3676
|
-
for (const model of Object.values(result)) {
|
|
3677
|
-
for (const field of Object.values(model.fields)) {
|
|
3678
|
-
if (field.targetFieldId === "value_") {
|
|
3679
|
-
for (const key in field.linkFields) {
|
|
3680
|
-
field.linkFields[key] = [...field.linkFields[key]];
|
|
3681
|
-
field.messages[key] = [...field.messages[key]];
|
|
3682
|
-
}
|
|
3683
|
-
} else {
|
|
3684
|
-
field.linkFields = [...field.linkFields];
|
|
3685
|
-
field.messages = [...field.messages];
|
|
3686
|
-
}
|
|
3687
|
-
}
|
|
3688
|
-
}
|
|
3689
|
-
return result;
|
|
3690
|
-
});
|
|
3691
|
-
const activeKeys = ref(Object.keys(groupedByModelKey.value));
|
|
3692
|
-
useModal(async () => {
|
|
3693
|
-
return {
|
|
3694
|
-
// 修改过后返回ok,外面刷新数据
|
|
3695
|
-
ok: true
|
|
3696
|
-
};
|
|
3697
|
-
});
|
|
3698
|
-
return (_ctx, _cache) => {
|
|
3699
|
-
const _component_CaretRightOutlined = resolveComponent("CaretRightOutlined");
|
|
3700
|
-
const _component_a_descriptions_item = resolveComponent("a-descriptions-item");
|
|
3701
|
-
const _component_a_descriptions = resolveComponent("a-descriptions");
|
|
3702
|
-
const _component_a_tooltip = resolveComponent("a-tooltip");
|
|
3703
|
-
const _component_a_collapse_panel = resolveComponent("a-collapse-panel");
|
|
3704
|
-
const _component_a_collapse = resolveComponent("a-collapse");
|
|
3705
|
-
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
3706
|
-
createVNode(_component_a_collapse, {
|
|
3707
|
-
class: "error-group-panel--collapse",
|
|
3708
|
-
activeKey: activeKeys.value,
|
|
3709
|
-
"onUpdate:activeKey": _cache[0] || (_cache[0] = ($event) => activeKeys.value = $event),
|
|
3710
|
-
bordered: false
|
|
3711
|
-
}, {
|
|
3712
|
-
expandIcon: withCtx(({ isActive }) => [
|
|
3713
|
-
createVNode(_component_CaretRightOutlined, {
|
|
3714
|
-
rotate: isActive ? 90 : 0
|
|
3715
|
-
}, null, 8, ["rotate"])
|
|
3716
|
-
]),
|
|
3717
|
-
default: withCtx(() => [
|
|
3718
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(groupedByModelKey.value, (group) => {
|
|
3719
|
-
return openBlock(), createBlock(_component_a_collapse_panel, {
|
|
3720
|
-
key: group.showModelKey
|
|
3721
|
-
}, {
|
|
3722
|
-
header: withCtx(() => [
|
|
3723
|
-
createElementVNode("div", _hoisted_2, [
|
|
3724
|
-
createElementVNode("div", _hoisted_3, [
|
|
3725
|
-
createElementVNode("span", _hoisted_4, toDisplayString(group.showModelName), 1),
|
|
3726
|
-
createVNode(_component_a_tooltip, null, {
|
|
3727
|
-
title: withCtx(() => [
|
|
3728
|
-
createElementVNode("div", _hoisted_5, [
|
|
3729
|
-
createVNode(_component_a_descriptions, {
|
|
3730
|
-
column: 1,
|
|
3731
|
-
colon: true,
|
|
3732
|
-
labelStyle: { color: "#fff", fontSize: "12px" },
|
|
3733
|
-
contentStyle: { color: "#fff", fontSize: "12px" }
|
|
3734
|
-
}, {
|
|
3735
|
-
default: withCtx(() => [
|
|
3736
|
-
createVNode(_component_a_descriptions_item, {
|
|
3737
|
-
label: group.subFieldKey ? _ctx.$t("sys.model.childModelKey") : _ctx.$t("sys.model.modelKey")
|
|
3738
|
-
}, {
|
|
3739
|
-
default: withCtx(() => [
|
|
3740
|
-
createTextVNode(toDisplayString(group.showModelKey), 1)
|
|
3741
|
-
]),
|
|
3742
|
-
_: 2
|
|
3743
|
-
}, 1032, ["label"]),
|
|
3744
|
-
group.subFieldKey ? (openBlock(), createBlock(_component_a_descriptions_item, {
|
|
3745
|
-
key: 0,
|
|
3746
|
-
label: _ctx.$t("sys.model.viewFieldKey")
|
|
3747
|
-
}, {
|
|
3748
|
-
default: withCtx(() => [
|
|
3749
|
-
createTextVNode(toDisplayString(group.subFieldKey), 1)
|
|
3750
|
-
]),
|
|
3751
|
-
_: 2
|
|
3752
|
-
}, 1032, ["label"])) : createCommentVNode("", true)
|
|
3753
|
-
]),
|
|
3754
|
-
_: 2
|
|
3755
|
-
}, 1024)
|
|
3756
|
-
])
|
|
3757
|
-
]),
|
|
3758
|
-
default: withCtx(() => [
|
|
3759
|
-
_cache[1] || (_cache[1] = createElementVNode("i", { class: "iconfont icon-assist" }, null, -1))
|
|
3760
|
-
]),
|
|
3761
|
-
_: 2
|
|
3762
|
-
}, 1024)
|
|
3763
|
-
]),
|
|
3764
|
-
createElementVNode("span", {
|
|
3765
|
-
class: "sub-type-status",
|
|
3766
|
-
style: normalizeStyle({
|
|
3767
|
-
"--nocode-textColor": group.themeConfig?.textColor,
|
|
3768
|
-
"--nocode-bgColor": group.themeConfig?.background
|
|
3769
|
-
})
|
|
3770
|
-
}, toDisplayString(group.themeConfig?.placeholder), 5)
|
|
3771
|
-
])
|
|
3772
|
-
]),
|
|
3773
|
-
default: withCtx(() => [
|
|
3774
|
-
createElementVNode("div", _hoisted_6, [
|
|
3775
|
-
createVNode(_component_a_descriptions, {
|
|
3776
|
-
bordered: "",
|
|
3777
|
-
column: 1,
|
|
3778
|
-
size: "small",
|
|
3779
|
-
labelStyle: { color: "#252525", fontSize: "12px", width: "200px" },
|
|
3780
|
-
contentStyle: { color: "#ff4d4f", fontSize: "12px" }
|
|
3781
|
-
}, {
|
|
3782
|
-
default: withCtx(() => [
|
|
3783
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(group.fields, (field) => {
|
|
3784
|
-
return openBlock(), createElementBlock(Fragment, {
|
|
3785
|
-
key: field.targetFieldId
|
|
3786
|
-
}, [
|
|
3787
|
-
Array.isArray(field.messages) ? (openBlock(), createBlock(_component_a_descriptions_item, { key: 0 }, {
|
|
3788
|
-
label: withCtx(() => [
|
|
3789
|
-
createElementVNode("span", _hoisted_7, toDisplayString(field.showFieldName), 1),
|
|
3790
|
-
createVNode(_component_a_tooltip, null, {
|
|
3791
|
-
title: withCtx(() => [
|
|
3792
|
-
createElementVNode("div", _hoisted_8, [
|
|
3793
|
-
createVNode(_component_a_descriptions, {
|
|
3794
|
-
colon: true,
|
|
3795
|
-
labelStyle: { color: "#fff", fontSize: "12px" },
|
|
3796
|
-
contentStyle: { color: "#fff", fontSize: "12px" }
|
|
3797
|
-
}, {
|
|
3798
|
-
default: withCtx(() => [
|
|
3799
|
-
createVNode(_component_a_descriptions_item, {
|
|
3800
|
-
label: _ctx.$t("sys.model.viewFieldKey")
|
|
3801
|
-
}, {
|
|
3802
|
-
default: withCtx(() => [
|
|
3803
|
-
createTextVNode(toDisplayString(field.targetFieldId), 1)
|
|
3804
|
-
]),
|
|
3805
|
-
_: 2
|
|
3806
|
-
}, 1032, ["label"])
|
|
3807
|
-
]),
|
|
3808
|
-
_: 2
|
|
3809
|
-
}, 1024)
|
|
3810
|
-
])
|
|
3811
|
-
]),
|
|
3812
|
-
default: withCtx(() => [
|
|
3813
|
-
_cache[2] || (_cache[2] = createElementVNode("i", { class: "iconfont icon-assist text-14px! ml-4px" }, null, -1))
|
|
3814
|
-
]),
|
|
3815
|
-
_: 2
|
|
3816
|
-
}, 1024)
|
|
3817
|
-
]),
|
|
3818
|
-
default: withCtx(() => [
|
|
3819
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(field.messages, (message) => {
|
|
3820
|
-
return openBlock(), createElementBlock("span", _hoisted_9, toDisplayString(message), 1);
|
|
3821
|
-
}), 256))
|
|
3822
|
-
]),
|
|
3823
|
-
_: 2
|
|
3824
|
-
}, 1024)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(field.messages, (messages, index) => {
|
|
3825
|
-
return openBlock(), createBlock(_component_a_descriptions_item, null, {
|
|
3826
|
-
label: withCtx(() => [
|
|
3827
|
-
createElementVNode("span", _hoisted_10, toDisplayString(field.showFieldName), 1),
|
|
3828
|
-
createVNode(_component_a_tooltip, null, {
|
|
3829
|
-
title: withCtx(() => [
|
|
3830
|
-
createElementVNode("div", _hoisted_11, [
|
|
3831
|
-
createVNode(_component_a_descriptions, {
|
|
3832
|
-
colon: true,
|
|
3833
|
-
labelStyle: { color: "#fff", fontSize: "12px" },
|
|
3834
|
-
contentStyle: { color: "#fff", fontSize: "12px" }
|
|
3835
|
-
}, {
|
|
3836
|
-
default: withCtx(() => [
|
|
3837
|
-
createVNode(_component_a_descriptions_item, {
|
|
3838
|
-
label: _ctx.$t("sys.model.viewFieldKey")
|
|
3839
|
-
}, {
|
|
3840
|
-
default: withCtx(() => [
|
|
3841
|
-
createTextVNode(toDisplayString(field.targetFieldId), 1)
|
|
3842
|
-
]),
|
|
3843
|
-
_: 2
|
|
3844
|
-
}, 1032, ["label"])
|
|
3845
|
-
]),
|
|
3846
|
-
_: 2
|
|
3847
|
-
}, 1024)
|
|
3848
|
-
])
|
|
3849
|
-
]),
|
|
3850
|
-
default: withCtx(() => [
|
|
3851
|
-
_cache[3] || (_cache[3] = createElementVNode("i", { class: "iconfont icon-assist text-14px! ml-4px" }, null, -1))
|
|
3852
|
-
]),
|
|
3853
|
-
_: 2
|
|
3854
|
-
}, 1024)
|
|
3855
|
-
]),
|
|
3856
|
-
default: withCtx(() => [
|
|
3857
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(messages, (message) => {
|
|
3858
|
-
return openBlock(), createElementBlock("span", _hoisted_12, toDisplayString(message), 1);
|
|
3859
|
-
}), 256))
|
|
3860
|
-
]),
|
|
3861
|
-
_: 2
|
|
3862
|
-
}, 1024);
|
|
3863
|
-
}), 256))
|
|
3864
|
-
], 64);
|
|
3865
|
-
}), 128))
|
|
3866
|
-
]),
|
|
3867
|
-
_: 2
|
|
3868
|
-
}, 1024)
|
|
3869
|
-
])
|
|
3870
|
-
]),
|
|
3871
|
-
_: 2
|
|
3872
|
-
}, 1024);
|
|
3873
|
-
}), 128))
|
|
3874
|
-
]),
|
|
3875
|
-
_: 1
|
|
3876
|
-
}, 8, ["activeKey"])
|
|
3877
|
-
]);
|
|
3878
|
-
};
|
|
3879
|
-
}
|
|
3880
|
-
});
|
|
3881
|
-
const errorGroupPanel = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-570406b0"]]);
|
|
3882
3147
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
3883
3148
|
__name: "document-quick-fillin",
|
|
3884
3149
|
props: {
|
|
@@ -3957,79 +3222,76 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
3957
3222
|
});
|
|
3958
3223
|
const documentQuickFillin = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-a18386ab"]]);
|
|
3959
3224
|
export {
|
|
3960
|
-
|
|
3225
|
+
a6 as AITooltips,
|
|
3961
3226
|
AllocateTableCore,
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3227
|
+
B4 as BaseFormModelFetcher,
|
|
3228
|
+
a8 as BinarizeMethodOptions,
|
|
3229
|
+
al as BindCmpStyleEnum,
|
|
3965
3230
|
w as BooleanShowMode,
|
|
3966
3231
|
B2 as BorderTD,
|
|
3967
3232
|
BpmnNodeTypeEnum,
|
|
3968
|
-
|
|
3233
|
+
aO as BpmnSignatureTypeEnum,
|
|
3969
3234
|
B3 as BuiltinAction,
|
|
3970
|
-
|
|
3235
|
+
aP as ButtonTypeEnum,
|
|
3971
3236
|
B as BwipCodeType,
|
|
3972
|
-
|
|
3237
|
+
aQ as CHECK_TABLE_MEDPRO_PROTOCOL_KEY,
|
|
3973
3238
|
CellType,
|
|
3974
3239
|
J as CellWidgetViewState,
|
|
3975
3240
|
C as ChangeType,
|
|
3976
3241
|
CheckDsTypeEnum,
|
|
3977
|
-
|
|
3242
|
+
aR as CodeRunner,
|
|
3978
3243
|
ComponentTypeEnum,
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3244
|
+
aS as Config_Fields,
|
|
3245
|
+
aT as ControlStatusEnum,
|
|
3246
|
+
ak as DateFormat,
|
|
3247
|
+
am as DecimalDisplayMode,
|
|
3248
|
+
a7 as DenoiseMethodOptions,
|
|
3249
|
+
p as DeviceConnector,
|
|
3250
|
+
a4 as DeviceLink,
|
|
3986
3251
|
D as DeviceLinkTmplUtil,
|
|
3987
|
-
|
|
3252
|
+
a5 as DeviceParamsTypeTitle,
|
|
3988
3253
|
K as DiagonalDirection,
|
|
3989
3254
|
_ as DocumentLayout,
|
|
3990
|
-
DocumentLoading,
|
|
3255
|
+
q as DocumentLoading,
|
|
3991
3256
|
e as DocumentPaper,
|
|
3992
3257
|
documentQuickFillin as DocumentQuickFillin,
|
|
3993
3258
|
f as DocumentSubTableAction,
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
Z as EmptySymbol,
|
|
3999
|
-
errorGroupPanel as ErrorGroupPanel,
|
|
4000
|
-
b0 as FieldSysVarDefaultValueEnum,
|
|
3259
|
+
aU as EBR_PROVIDE_ENUM,
|
|
3260
|
+
au as EFieldBizTypeEnum,
|
|
3261
|
+
Q as EmptySymbol,
|
|
3262
|
+
aV as FieldSysVarDefaultValueEnum,
|
|
4001
3263
|
F2 as FillingTypeEnum,
|
|
4002
3264
|
a3 as FormAnnotationController,
|
|
4003
|
-
|
|
3265
|
+
F3 as FormModelController,
|
|
4004
3266
|
FormTmplBomController,
|
|
4005
3267
|
F as FormTmplConfigController,
|
|
4006
3268
|
FormTypeEnum,
|
|
4007
|
-
|
|
4008
|
-
|
|
4009
|
-
|
|
3269
|
+
a0 as ImageDisplayModeEnum,
|
|
3270
|
+
I as InstanceStatusValues,
|
|
3271
|
+
ab as JoinModelTypeEum,
|
|
4010
3272
|
v as LabelPosition,
|
|
4011
3273
|
M as LineDirection,
|
|
4012
3274
|
L as LineType,
|
|
4013
|
-
|
|
4014
|
-
|
|
4015
|
-
|
|
3275
|
+
M3 as MBRender,
|
|
3276
|
+
r as MCDataUtil,
|
|
3277
|
+
b11 as MCRender,
|
|
4016
3278
|
MaterialConsumeTableController,
|
|
4017
3279
|
MaterialConsumptionPatternEnum,
|
|
4018
3280
|
M2 as MaterialStatusEnum,
|
|
4019
|
-
MobileFillTypeEnum,
|
|
3281
|
+
aW as MobileFillTypeEnum,
|
|
4020
3282
|
NCB_PROVIDE,
|
|
4021
|
-
|
|
3283
|
+
aX as OfficeTypeEnum,
|
|
4022
3284
|
O as Orientation,
|
|
4023
3285
|
b as PageSizeEnum,
|
|
4024
3286
|
P as PaginationFormat,
|
|
4025
|
-
|
|
3287
|
+
a1 as PaperSizeMap,
|
|
4026
3288
|
a as PaperWidgeType,
|
|
4027
3289
|
m as PaperWidgeValueType,
|
|
4028
|
-
|
|
3290
|
+
aa as ParamModelTypeEnum,
|
|
4029
3291
|
PlatformEnum,
|
|
4030
|
-
|
|
3292
|
+
aY as PosEnum,
|
|
4031
3293
|
PretreatmentListTableCore,
|
|
4032
|
-
|
|
3294
|
+
ai as RangeValidateMode,
|
|
4033
3295
|
RenderModeEnum,
|
|
4034
3296
|
z as SignShowTypeEnum,
|
|
4035
3297
|
x as SignatureNumberTypeEnum,
|
|
@@ -4040,57 +3302,57 @@ export {
|
|
|
4040
3302
|
SubTableCore,
|
|
4041
3303
|
SubTableCoreFactory,
|
|
4042
3304
|
SubTableType,
|
|
4043
|
-
|
|
3305
|
+
aZ as SummaryApproveHisTypeEnum,
|
|
4044
3306
|
T as TimeDiffFormat,
|
|
4045
3307
|
V as ViewTypeEnum,
|
|
4046
3308
|
W as WidgetImageSizeMode,
|
|
4047
|
-
|
|
4048
|
-
|
|
3309
|
+
a_ as applyCheckDsDataToRuntime,
|
|
3310
|
+
a$ as applyMedProCheckDsDataToRuntime,
|
|
4049
3311
|
baseDataUtils,
|
|
4050
3312
|
calcFillData,
|
|
4051
3313
|
calcUtils,
|
|
4052
3314
|
clearFormRules,
|
|
4053
3315
|
commonUtils,
|
|
4054
|
-
|
|
3316
|
+
b0 as deleteSubtableRow,
|
|
4055
3317
|
extractKeywordFromQueryData,
|
|
4056
|
-
|
|
4057
|
-
|
|
4058
|
-
|
|
3318
|
+
b1 as fetchCheckDsDataForTable,
|
|
3319
|
+
b2 as fetchCustomCheckDsData,
|
|
3320
|
+
b3 as fetchMedProCheckDsData,
|
|
4059
3321
|
getAppInfo,
|
|
4060
|
-
|
|
3322
|
+
b4 as getParseRuleConfig,
|
|
4061
3323
|
getParseRuleInfo,
|
|
4062
3324
|
getParseRuleValue,
|
|
4063
3325
|
getSubTableQuickFillInfo,
|
|
4064
3326
|
getSuiteKey,
|
|
4065
|
-
|
|
3327
|
+
b5 as handleOldConfig,
|
|
4066
3328
|
isEdhrSuite,
|
|
4067
|
-
|
|
4068
|
-
|
|
4069
|
-
|
|
4070
|
-
|
|
3329
|
+
b6 as isMedProSuite,
|
|
3330
|
+
b7 as jsonSchemaUtils,
|
|
3331
|
+
ao as normalizeRefLoaderResult,
|
|
3332
|
+
ap as refUtils,
|
|
4071
3333
|
renderUtils,
|
|
4072
|
-
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
|
|
4076
|
-
|
|
3334
|
+
b8 as requestNonMedProCheckDsData,
|
|
3335
|
+
af as setSelectAnnotationId,
|
|
3336
|
+
b9 as setSelectMobileTdId,
|
|
3337
|
+
ae as setSelectValidatorId,
|
|
3338
|
+
ac as sqlUtils,
|
|
4077
3339
|
transformUtils,
|
|
4078
3340
|
u as useCalculateFormula,
|
|
4079
|
-
|
|
3341
|
+
ag as useCurrentPageFormState,
|
|
4080
3342
|
d as useDependency,
|
|
4081
3343
|
useEbrWikiFactoryV2,
|
|
4082
|
-
|
|
3344
|
+
u3 as useFormModel,
|
|
4083
3345
|
a2 as useFormTmplConfig,
|
|
4084
3346
|
b10 as useFormulaExpWatcher,
|
|
4085
3347
|
useMaterialBalance,
|
|
4086
3348
|
useMaterialStocktake,
|
|
4087
3349
|
useNocodeEmitter,
|
|
4088
|
-
|
|
4089
|
-
|
|
3350
|
+
ah as useNocodeFormWidget,
|
|
3351
|
+
s as useOnlineFormActionButton,
|
|
4090
3352
|
u2 as useOnlineFormTransformField2Component,
|
|
4091
3353
|
useRenderPageFactory,
|
|
4092
3354
|
c as useStyles,
|
|
4093
|
-
|
|
4094
|
-
|
|
3355
|
+
at as useValidator,
|
|
3356
|
+
ad as useWidgetStaticAttrs,
|
|
4095
3357
|
validate
|
|
4096
3358
|
};
|