sun-biz 0.0.3-beta.25 → 0.0.3-beta.26

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.
@@ -19,7 +19,7 @@ export declare const queryDictDataListByExample: (params: {
19
19
  codeSystemNo?: string;
20
20
  keyWord?: string;
21
21
  hospitalId: string;
22
- sysMenuId: string;
22
+ menuId: string;
23
23
  pageNumber: number;
24
24
  pageSize: number;
25
25
  }) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<ReqDictDataListByExample> | undefined]>;
@@ -3413,7 +3413,7 @@ const patient_accessvue_type_script_setup_true_lang_ts_hoisted_1 = {
3413
3413
  */ const getComponentConfig = async ()=>{
3414
3414
  loading.value = true;
3415
3415
  const [, res] = await queryPatientAccessConfig({
3416
- sysMenuId: __props.menuId,
3416
+ menuId: __props.menuId,
3417
3417
  componentCode: __props.code,
3418
3418
  enabledFlag: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES
3419
3419
  });
@@ -4576,7 +4576,7 @@ const createPrint = ()=>{
4576
4576
  };
4577
4577
  /** 校验参数是否都传了 */ const validateParams = (params)=>{
4578
4578
  if (!validateRequired(params?.designFlag, "设计时标志不能为空")) return;
4579
- if (!validateRequired(params?.sysMenuId, "系统菜单标识不能为空")) return;
4579
+ if (!validateRequired(params?.menuId, "系统菜单标识不能为空")) return;
4580
4580
  if (!validateRequired(params?.receiptId, "单据标识不能为空")) return;
4581
4581
  if (!validateRequired(params?.bizIdTypeCode, "业务标识类型代码不能为空")) return;
4582
4582
  if (!validateRequired(params?.bizIds, "业务标识集合不能为空")) return;
@@ -4643,7 +4643,7 @@ const createPrint = ()=>{
4643
4643
  if (!receiptPrintRuleCode) return;
4644
4644
  let code = receiptPrintCategCode;
4645
4645
  if (receiptPrintRuleCode === constant_RECEIPT_PRINT_RULE_CODE.MENU) {
4646
- const menuReceiptInfo = menuXReceiptList?.find((item)=>item.sysXMenuId === defaultContext.printParams?.sysMenuId);
4646
+ const menuReceiptInfo = menuXReceiptList?.find((item)=>item.menuId === defaultContext.printParams?.menuId);
4647
4647
  code = menuReceiptInfo?.receiptPrintCategCode || receiptPrintCategCode;
4648
4648
  }
4649
4649
  const isConfirmed = await messageBoxAskJudge(code, receiptNameDisplay);
@@ -4743,7 +4743,7 @@ const createPrint = ()=>{
4743
4743
  }
4744
4744
  const [err, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.interfaceInvoke)({
4745
4745
  interfaceId: defaultContext?.printParams?.invoiceInfo?.invoiceInterfaceId ?? defaultContext?.receiptInfo?.invoiceInterfaceId,
4746
- menuId: defaultContext?.printParams?.sysMenuId,
4746
+ menuId: defaultContext?.printParams?.menuId,
4747
4747
  tradeCode: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.INVOICE_CODE.INV001,
4748
4748
  params: {
4749
4749
  receiptId: defaultContext?.printParams?.receiptId,
@@ -4779,7 +4779,7 @@ const createPrint = ()=>{
4779
4779
  }));
4780
4780
  const [err, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.interfaceInvoke)({
4781
4781
  interfaceId: defaultContext?.printParams?.invoiceInfo?.invoiceInterfaceId ?? defaultContext?.receiptInfo?.invoiceInterfaceId,
4782
- menuId: defaultContext?.printParams?.sysMenuId,
4782
+ menuId: defaultContext?.printParams?.menuId,
4783
4783
  tradeCode: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.INVOICE_CODE.INV101,
4784
4784
  params: {
4785
4785
  invoiceAllotId: defaultContext?.printParams?.invoiceInfo?.invoiceAllotId ?? void 0,
@@ -4801,7 +4801,7 @@ const createPrint = ()=>{
4801
4801
  if (defaultContext?.printParams?.invoiceInfo?.invOperateTypeCode === constant_INV_OPERATE_TYPE_CODE.REOPEN) {
4802
4802
  const [error, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.interfaceInvoke)({
4803
4803
  interfaceId: defaultContext?.printParams?.invoiceInfo?.invoiceInterfaceId ?? defaultContext?.receiptInfo?.invoiceInterfaceId,
4804
- menuId: defaultContext?.printParams?.sysMenuId,
4804
+ menuId: defaultContext?.printParams?.menuId,
4805
4805
  tradeCode: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.INVOICE_CODE.INV104,
4806
4806
  params: {
4807
4807
  invoiceAllotId: defaultContext?.printParams?.invoiceInfo?.invoiceAllotId,
@@ -4818,7 +4818,7 @@ const createPrint = ()=>{
4818
4818
  if (defaultContext?.printParams?.invoiceInfo?.invOperateTypeCode === constant_INV_OPERATE_TYPE_CODE.CHANGE) {
4819
4819
  const [err, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.interfaceInvoke)({
4820
4820
  interfaceId: defaultContext?.printParams?.invoiceInfo?.invoiceInterfaceId ?? defaultContext?.receiptInfo?.invoiceInterfaceId,
4821
- menuId: defaultContext?.printParams?.sysMenuId,
4821
+ menuId: defaultContext?.printParams?.menuId,
4822
4822
  tradeCode: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.INVOICE_CODE.INV103,
4823
4823
  params: {
4824
4824
  invoiceAllotId: defaultContext?.printParams?.invoiceInfo?.invoiceAllotId,
@@ -4835,7 +4835,7 @@ const createPrint = ()=>{
4835
4835
  if (defaultContext?.printParams?.invoiceInfo?.invOperateTypeCode === constant_INV_OPERATE_TYPE_CODE.RED) {
4836
4836
  const [err, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.interfaceInvoke)({
4837
4837
  interfaceId: defaultContext?.printParams?.invoiceInfo?.invoiceInterfaceId ?? defaultContext?.receiptInfo?.invoiceInterfaceId,
4838
- menuId: defaultContext?.printParams?.sysMenuId,
4838
+ menuId: defaultContext?.printParams?.menuId,
4839
4839
  tradeCode: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.INVOICE_CODE.INV102,
4840
4840
  params: {
4841
4841
  invoiceAllotId: defaultContext?.printParams?.invoiceInfo?.invoiceAllotId,
@@ -5078,7 +5078,7 @@ const Title_exports_ = Titlevue_type_script_setup_true_lang_ts_name_sunTitle;
5078
5078
  * [1-10098-1]根据条件查询表单设计内容
5079
5079
  * @param params
5080
5080
  * @returns
5081
- */ const queryDictDataListByExample = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/dictCommon/queryDictDataListByExample', params);
5081
+ */ const queryDictDataListByExample = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)("/dictCommon/queryDictDataListByExample", params);
5082
5082
  /* ESM default export */ const dict_selectvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
5083
5083
  __name: 'index',
5084
5084
  props: {
@@ -5098,7 +5098,7 @@ const Title_exports_ = Titlevue_type_script_setup_true_lang_ts_name_sunTitle;
5098
5098
  }
5099
5099
  },
5100
5100
  emits: [
5101
- 'change'
5101
+ "change"
5102
5102
  ],
5103
5103
  setup (__props, { emit: __emit }) {
5104
5104
  const { menuId, currentOrg } = use_app_config([
@@ -5126,12 +5126,12 @@ const Title_exports_ = Titlevue_type_script_setup_true_lang_ts_name_sunTitle;
5126
5126
  if (props.codeSystemNo) params.codeSystemNo = props.codeSystemNo;
5127
5127
  if (props.dataDictionaryId) params.dataDictionaryId = props.dataDictionaryId;
5128
5128
  let [, result] = await queryDictDataListByExample({
5129
- dataSearchBizIdTypeCode: props.dataSearchBizIdTypeCode || '',
5129
+ dataSearchBizIdTypeCode: props.dataSearchBizIdTypeCode || "",
5130
5130
  keyWord: value,
5131
- sysMenuId: menuId || '',
5131
+ menuId: menuId || "",
5132
5132
  pageNumber: 1,
5133
5133
  pageSize: 100,
5134
- hospitalId: currentOrg?.orgId || '',
5134
+ hospitalId: currentOrg?.orgId || "",
5135
5135
  ...params
5136
5136
  });
5137
5137
  loading.value = false;
@@ -5144,11 +5144,11 @@ const Title_exports_ = Titlevue_type_script_setup_true_lang_ts_name_sunTitle;
5144
5144
  }
5145
5145
  }
5146
5146
  /**
5147
- *
5148
- * @param value 下拉框选择
5149
- */ function change(value) {
5150
- let name = (tableData.value.find((item)=>item.value === value) || {})['label'];
5151
- emit('change', value, name);
5147
+ *
5148
+ * @param value 下拉框选择
5149
+ */ function change(value) {
5150
+ let name = (tableData.value.find((item)=>item.value === value) || {})["label"];
5151
+ emit("change", value, name);
5152
5152
  }
5153
5153
  return (_ctx, _cache)=>{
5154
5154
  const _component_el_option = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-option");
@@ -5190,7 +5190,7 @@ const Title_exports_ = Titlevue_type_script_setup_true_lang_ts_name_sunTitle;
5190
5190
  const dict_select_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(dict_selectvue_type_script_setup_true_lang_ts, [
5191
5191
  [
5192
5192
  '__scopeId',
5193
- "data-v-04804e6c"
5193
+ "data-v-10687e3e"
5194
5194
  ]
5195
5195
  ]);
5196
5196
  /* ESM default export */ const dict_select = dict_select_exports_;
@@ -462,7 +462,7 @@ function useFetchDataset(codeSystemCodes, enabledFlag) {
462
462
  /**
463
463
  * 表格编辑功能
464
464
  */ function useEditableTable(options) {
465
- const { tableRef, data, rowKey = 'key', cancelToDelete = true, id } = options;
465
+ const { tableRef, data, rowKey = "key", cancelToDelete = true, id } = options;
466
466
  const tableData = data ? data : (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)([]);
467
467
  const cachedEditData = {};
468
468
  const getRowKey = (row)=>row?.[rowKey] ? rowKey : id;
@@ -503,7 +503,19 @@ function useFetchDataset(codeSystemCodes, enabledFlag) {
503
503
  * 取消编辑
504
504
  * @param row
505
505
  */ const cancelEdit = (row, index, deleteWithoutId = true)=>{
506
+ console.log({
507
+ ...row
508
+ }, "row");
509
+ console.log(cachedEditData, "cachedEditData");
506
510
  const targetData = cachedEditData[row[getRowKey(row)]];
511
+ console.log(getRowKey(row), "ccccc");
512
+ console.log(row[getRowKey(row)], "ddddd");
513
+ console.log(row?.[id], "row?.[id]");
514
+ console.log(cancelToDelete, "cancelToDelete");
515
+ console.log(deleteWithoutId, "deleteWithoutId");
516
+ console.log((row?.[id] || cancelToDelete || !deleteWithoutId) && targetData, "xxxxx");
517
+ console.log(row?.[id] || cancelToDelete || !deleteWithoutId, "aaaa");
518
+ console.log(targetData, "targetData");
507
519
  if ((row?.[id] || cancelToDelete || !deleteWithoutId) && targetData) Object.keys(row).forEach((key)=>{
508
520
  row[key] = targetData[key];
509
521
  });
@@ -1,5 +1,5 @@
1
- import { Ref } from 'vue';
2
- import type { FormInstance } from 'element-sun';
1
+ import { Ref } from "vue";
2
+ import type { FormInstance } from "element-sun";
3
3
  export type TableRef = {
4
4
  formRef: FormInstance;
5
5
  validateRow: (index: number, cb?: (isValid: boolean) => void) => Promise<boolean>;
package/dist/index.js CHANGED
@@ -3315,7 +3315,7 @@ function useSelectByDirectionEvent(options) {
3315
3315
  /**
3316
3316
  * 表格编辑功能
3317
3317
  */ function useEditableTable(options) {
3318
- const { tableRef, data, rowKey = 'key', cancelToDelete = true, id } = options;
3318
+ const { tableRef, data, rowKey = "key", cancelToDelete = true, id } = options;
3319
3319
  const tableData = data ? data : (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)([]);
3320
3320
  const cachedEditData = {};
3321
3321
  const getRowKey = (row)=>row?.[rowKey] ? rowKey : id;
@@ -3356,7 +3356,19 @@ function useSelectByDirectionEvent(options) {
3356
3356
  * 取消编辑
3357
3357
  * @param row
3358
3358
  */ const cancelEdit = (row, index, deleteWithoutId = true)=>{
3359
+ console.log({
3360
+ ...row
3361
+ }, "row");
3362
+ console.log(cachedEditData, "cachedEditData");
3359
3363
  const targetData = cachedEditData[row[getRowKey(row)]];
3364
+ console.log(getRowKey(row), "ccccc");
3365
+ console.log(row[getRowKey(row)], "ddddd");
3366
+ console.log(row?.[id], "row?.[id]");
3367
+ console.log(cancelToDelete, "cancelToDelete");
3368
+ console.log(deleteWithoutId, "deleteWithoutId");
3369
+ console.log((row?.[id] || cancelToDelete || !deleteWithoutId) && targetData, "xxxxx");
3370
+ console.log(row?.[id] || cancelToDelete || !deleteWithoutId, "aaaa");
3371
+ console.log(targetData, "targetData");
3360
3372
  if ((row?.[id] || cancelToDelete || !deleteWithoutId) && targetData) Object.keys(row).forEach((key)=>{
3361
3373
  row[key] = targetData[key];
3362
3374
  });
@@ -3811,7 +3823,7 @@ const patient_accessvue_type_script_setup_true_lang_ts_hoisted_1 = {
3811
3823
  */ const getComponentConfig = async ()=>{
3812
3824
  loading.value = true;
3813
3825
  const [, res] = await queryPatientAccessConfig({
3814
- sysMenuId: __props.menuId,
3826
+ menuId: __props.menuId,
3815
3827
  componentCode: __props.code,
3816
3828
  enabledFlag: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.FLAG.YES
3817
3829
  });
@@ -4974,7 +4986,7 @@ const createPrint = ()=>{
4974
4986
  };
4975
4987
  /** 校验参数是否都传了 */ const validateParams = (params)=>{
4976
4988
  if (!validateRequired(params?.designFlag, "设计时标志不能为空")) return;
4977
- if (!validateRequired(params?.sysMenuId, "系统菜单标识不能为空")) return;
4989
+ if (!validateRequired(params?.menuId, "系统菜单标识不能为空")) return;
4978
4990
  if (!validateRequired(params?.receiptId, "单据标识不能为空")) return;
4979
4991
  if (!validateRequired(params?.bizIdTypeCode, "业务标识类型代码不能为空")) return;
4980
4992
  if (!validateRequired(params?.bizIds, "业务标识集合不能为空")) return;
@@ -5041,7 +5053,7 @@ const createPrint = ()=>{
5041
5053
  if (!receiptPrintRuleCode) return;
5042
5054
  let code = receiptPrintCategCode;
5043
5055
  if (receiptPrintRuleCode === constant_RECEIPT_PRINT_RULE_CODE.MENU) {
5044
- const menuReceiptInfo = menuXReceiptList?.find((item)=>item.sysXMenuId === defaultContext.printParams?.sysMenuId);
5056
+ const menuReceiptInfo = menuXReceiptList?.find((item)=>item.menuId === defaultContext.printParams?.menuId);
5045
5057
  code = menuReceiptInfo?.receiptPrintCategCode || receiptPrintCategCode;
5046
5058
  }
5047
5059
  const isConfirmed = await messageBoxAskJudge(code, receiptNameDisplay);
@@ -5141,7 +5153,7 @@ const createPrint = ()=>{
5141
5153
  }
5142
5154
  const [err, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.interfaceInvoke)({
5143
5155
  interfaceId: defaultContext?.printParams?.invoiceInfo?.invoiceInterfaceId ?? defaultContext?.receiptInfo?.invoiceInterfaceId,
5144
- menuId: defaultContext?.printParams?.sysMenuId,
5156
+ menuId: defaultContext?.printParams?.menuId,
5145
5157
  tradeCode: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.INVOICE_CODE.INV001,
5146
5158
  params: {
5147
5159
  receiptId: defaultContext?.printParams?.receiptId,
@@ -5177,7 +5189,7 @@ const createPrint = ()=>{
5177
5189
  }));
5178
5190
  const [err, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.interfaceInvoke)({
5179
5191
  interfaceId: defaultContext?.printParams?.invoiceInfo?.invoiceInterfaceId ?? defaultContext?.receiptInfo?.invoiceInterfaceId,
5180
- menuId: defaultContext?.printParams?.sysMenuId,
5192
+ menuId: defaultContext?.printParams?.menuId,
5181
5193
  tradeCode: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.INVOICE_CODE.INV101,
5182
5194
  params: {
5183
5195
  invoiceAllotId: defaultContext?.printParams?.invoiceInfo?.invoiceAllotId ?? void 0,
@@ -5199,7 +5211,7 @@ const createPrint = ()=>{
5199
5211
  if (defaultContext?.printParams?.invoiceInfo?.invOperateTypeCode === constant_INV_OPERATE_TYPE_CODE.REOPEN) {
5200
5212
  const [error, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.interfaceInvoke)({
5201
5213
  interfaceId: defaultContext?.printParams?.invoiceInfo?.invoiceInterfaceId ?? defaultContext?.receiptInfo?.invoiceInterfaceId,
5202
- menuId: defaultContext?.printParams?.sysMenuId,
5214
+ menuId: defaultContext?.printParams?.menuId,
5203
5215
  tradeCode: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.INVOICE_CODE.INV104,
5204
5216
  params: {
5205
5217
  invoiceAllotId: defaultContext?.printParams?.invoiceInfo?.invoiceAllotId,
@@ -5216,7 +5228,7 @@ const createPrint = ()=>{
5216
5228
  if (defaultContext?.printParams?.invoiceInfo?.invOperateTypeCode === constant_INV_OPERATE_TYPE_CODE.CHANGE) {
5217
5229
  const [err, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.interfaceInvoke)({
5218
5230
  interfaceId: defaultContext?.printParams?.invoiceInfo?.invoiceInterfaceId ?? defaultContext?.receiptInfo?.invoiceInterfaceId,
5219
- menuId: defaultContext?.printParams?.sysMenuId,
5231
+ menuId: defaultContext?.printParams?.menuId,
5220
5232
  tradeCode: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.INVOICE_CODE.INV103,
5221
5233
  params: {
5222
5234
  invoiceAllotId: defaultContext?.printParams?.invoiceInfo?.invoiceAllotId,
@@ -5233,7 +5245,7 @@ const createPrint = ()=>{
5233
5245
  if (defaultContext?.printParams?.invoiceInfo?.invOperateTypeCode === constant_INV_OPERATE_TYPE_CODE.RED) {
5234
5246
  const [err, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.interfaceInvoke)({
5235
5247
  interfaceId: defaultContext?.printParams?.invoiceInfo?.invoiceInterfaceId ?? defaultContext?.receiptInfo?.invoiceInterfaceId,
5236
- menuId: defaultContext?.printParams?.sysMenuId,
5248
+ menuId: defaultContext?.printParams?.menuId,
5237
5249
  tradeCode: __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__.INVOICE_CODE.INV102,
5238
5250
  params: {
5239
5251
  invoiceAllotId: defaultContext?.printParams?.invoiceInfo?.invoiceAllotId,
@@ -5692,7 +5704,7 @@ const Title_exports_ = Titlevue_type_script_setup_true_lang_ts_name_sunTitle;
5692
5704
  * [1-10098-1]根据条件查询表单设计内容
5693
5705
  * @param params
5694
5706
  * @returns
5695
- */ const queryDictDataListByExample = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/dictCommon/queryDictDataListByExample', params);
5707
+ */ const queryDictDataListByExample = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)("/dictCommon/queryDictDataListByExample", params);
5696
5708
  /* ESM default export */ const dict_selectvue_type_script_setup_true_lang_ts = /*@__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_vue__.defineComponent)({
5697
5709
  __name: 'index',
5698
5710
  props: {
@@ -5712,7 +5724,7 @@ const Title_exports_ = Titlevue_type_script_setup_true_lang_ts_name_sunTitle;
5712
5724
  }
5713
5725
  },
5714
5726
  emits: [
5715
- 'change'
5727
+ "change"
5716
5728
  ],
5717
5729
  setup (__props, { emit: __emit }) {
5718
5730
  const { menuId, currentOrg } = use_app_config([
@@ -5740,12 +5752,12 @@ const Title_exports_ = Titlevue_type_script_setup_true_lang_ts_name_sunTitle;
5740
5752
  if (props.codeSystemNo) params.codeSystemNo = props.codeSystemNo;
5741
5753
  if (props.dataDictionaryId) params.dataDictionaryId = props.dataDictionaryId;
5742
5754
  let [, result] = await queryDictDataListByExample({
5743
- dataSearchBizIdTypeCode: props.dataSearchBizIdTypeCode || '',
5755
+ dataSearchBizIdTypeCode: props.dataSearchBizIdTypeCode || "",
5744
5756
  keyWord: value,
5745
- sysMenuId: menuId || '',
5757
+ menuId: menuId || "",
5746
5758
  pageNumber: 1,
5747
5759
  pageSize: 100,
5748
- hospitalId: currentOrg?.orgId || '',
5760
+ hospitalId: currentOrg?.orgId || "",
5749
5761
  ...params
5750
5762
  });
5751
5763
  loading.value = false;
@@ -5758,11 +5770,11 @@ const Title_exports_ = Titlevue_type_script_setup_true_lang_ts_name_sunTitle;
5758
5770
  }
5759
5771
  }
5760
5772
  /**
5761
- *
5762
- * @param value 下拉框选择
5763
- */ function change(value) {
5764
- let name = (tableData.value.find((item)=>item.value === value) || {})['label'];
5765
- emit('change', value, name);
5773
+ *
5774
+ * @param value 下拉框选择
5775
+ */ function change(value) {
5776
+ let name = (tableData.value.find((item)=>item.value === value) || {})["label"];
5777
+ emit("change", value, name);
5766
5778
  }
5767
5779
  return (_ctx, _cache)=>{
5768
5780
  const _component_el_option = (0, __WEBPACK_EXTERNAL_MODULE_vue__.resolveComponent)("el-option");
@@ -5804,7 +5816,7 @@ const Title_exports_ = Titlevue_type_script_setup_true_lang_ts_name_sunTitle;
5804
5816
  const dict_select_exports_ = /*#__PURE__*/ (0, exportHelper["default"])(dict_selectvue_type_script_setup_true_lang_ts, [
5805
5817
  [
5806
5818
  '__scopeId',
5807
- "data-v-04804e6c"
5819
+ "data-v-10687e3e"
5808
5820
  ]
5809
5821
  ]);
5810
5822
  /* ESM default export */ const dict_select = dict_select_exports_;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sun-biz",
3
- "version": "0.0.3-beta.25",
3
+ "version": "0.0.3-beta.26",
4
4
  "type": "module",
5
5
  "workspaces": [
6
6
  "src/*",