bl-common-vue3 3.7.138 → 3.7.141

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.
@@ -33028,21 +33028,13 @@ module.exports = function (it, Prototype) {
33028
33028
  // ESM COMPAT FLAG
33029
33029
  __webpack_require__.r(__webpack_exports__);
33030
33030
 
33031
- // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js
33032
- var esnext_iterator_constructor = __webpack_require__("0643");
33033
-
33034
- // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.find.js
33035
- var esnext_iterator_find = __webpack_require__("fffc");
33036
-
33037
33031
  // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.map.js
33038
33032
  var esnext_iterator_map = __webpack_require__("a573");
33039
33033
 
33040
33034
  // EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","amd":"vue","root":"vue"}
33041
33035
  var external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_ = __webpack_require__("8bbf");
33042
33036
 
33043
- // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/CustomTable/index.vue?vue&type=template&id=1984c7ae&scoped=true
33044
-
33045
-
33037
+ // CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--13-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/vue-loader-v16/dist/templateLoader.js??ref--6!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader-v16/dist??ref--1-1!./src/components/CustomTable/index.vue?vue&type=template&id=09d9f7a8&scoped=true
33046
33038
 
33047
33039
 
33048
33040
  const _hoisted_1 = {
@@ -33070,29 +33062,27 @@ const _hoisted_5 = {
33070
33062
  const _hoisted_6 = {
33071
33063
  key: 0
33072
33064
  };
33073
- const _hoisted_7 = {
33074
- key: 0
33075
- };
33076
- const _hoisted_8 = ["onClick"];
33077
- const _hoisted_9 = {
33065
+ const _hoisted_7 = ["onClick"];
33066
+ const _hoisted_8 = {
33078
33067
  key: 3
33079
33068
  };
33080
- const _hoisted_10 = {
33069
+ const _hoisted_9 = {
33081
33070
  key: 1
33082
33071
  };
33083
- const _hoisted_11 = {
33084
- key: 1
33072
+ const _hoisted_10 = {
33073
+ key: 0
33085
33074
  };
33075
+ const _hoisted_11 = ["onClick"];
33086
33076
  const _hoisted_12 = {
33087
33077
  key: 0
33088
33078
  };
33089
- const _hoisted_13 = ["onClick"];
33090
- const _hoisted_14 = {
33091
- key: 0
33079
+ const _hoisted_13 = {
33080
+ key: 1
33092
33081
  };
33093
- const _hoisted_15 = {
33082
+ const _hoisted_14 = {
33094
33083
  key: 1
33095
33084
  };
33085
+ const _hoisted_15 = ["onClick"];
33096
33086
  const _hoisted_16 = {
33097
33087
  key: 1
33098
33088
  };
@@ -33104,22 +33094,18 @@ const _hoisted_19 = ["onClick"];
33104
33094
  const _hoisted_20 = {
33105
33095
  key: 1
33106
33096
  };
33107
- const _hoisted_21 = ["onClick"];
33108
- const _hoisted_22 = {
33109
- key: 1
33110
- };
33111
- const _hoisted_23 = {
33097
+ const _hoisted_21 = {
33112
33098
  key: 1
33113
33099
  };
33114
- const _hoisted_24 = {
33100
+ const _hoisted_22 = {
33115
33101
  style: {
33116
33102
  "margin-right": "4px"
33117
33103
  }
33118
33104
  };
33105
+ const _hoisted_23 = ["onMouseenter", "onMouseleave"];
33106
+ const _hoisted_24 = ["onMouseenter", "onMouseleave"];
33119
33107
  const _hoisted_25 = ["onMouseenter", "onMouseleave"];
33120
- const _hoisted_26 = ["onMouseenter", "onMouseleave"];
33121
- const _hoisted_27 = ["onMouseenter", "onMouseleave"];
33122
- const _hoisted_28 = {
33108
+ const _hoisted_26 = {
33123
33109
  class: "beauty-scroller-bar",
33124
33110
  style: {
33125
33111
  "width": "100%",
@@ -33127,28 +33113,28 @@ const _hoisted_28 = {
33127
33113
  "overflow": "auto"
33128
33114
  }
33129
33115
  };
33130
- const _hoisted_29 = {
33116
+ const _hoisted_27 = {
33131
33117
  key: 0,
33132
33118
  style: {
33133
33119
  "position": "relative",
33134
33120
  "padding-left": "35px"
33135
33121
  }
33136
33122
  };
33137
- const _hoisted_30 = {
33123
+ const _hoisted_28 = {
33138
33124
  style: {
33139
33125
  "position": "absolute",
33140
33126
  "left": "0",
33141
33127
  "top": "-4px"
33142
33128
  }
33143
33129
  };
33144
- const _hoisted_31 = ["src"];
33145
- const _hoisted_32 = {
33130
+ const _hoisted_29 = ["src"];
33131
+ const _hoisted_30 = {
33146
33132
  style: {
33147
33133
  "padding-top": "10px",
33148
33134
  "padding-bottom": "10px"
33149
33135
  }
33150
33136
  };
33151
- const _hoisted_33 = {
33137
+ const _hoisted_31 = {
33152
33138
  style: {
33153
33139
  "padding-bottom": "10px",
33154
33140
  "font-size": "12px",
@@ -33684,7 +33670,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
33684
33670
  },
33685
33671
  ..._ctx.$attrs
33686
33672
  }, {
33687
- dataSource: _ctx.dataSource,
33673
+ dataSource: _ctx.newDataSource,
33688
33674
  size: (_ctx$$attrs = _ctx.$attrs) !== null && _ctx$$attrs !== void 0 && _ctx$$attrs.size || _ctx.isInDrawer ? 'small' : (_ctx$tableConfig = _ctx.tableConfig) === null || _ctx$tableConfig === void 0 ? void 0 : _ctx$tableConfig.size,
33689
33675
  bordered: ((_ctx$$attrs2 = _ctx.$attrs) === null || _ctx$$attrs2 === void 0 ? void 0 : _ctx$$attrs2.bordered) || ((_ctx$tableConfig2 = _ctx.tableConfig) === null || _ctx$tableConfig2 === void 0 ? void 0 : _ctx$tableConfig2.isBordered),
33690
33676
  columns: _ctx.realColumns,
@@ -33912,45 +33898,42 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
33912
33898
  index,
33913
33899
  column
33914
33900
  }) => {
33915
- var _ctx$dictionaryInfo$c, _ctx$getValueByDataIn, _ctx$getValueByDataIn3, _ctx$getValueByDataIn4, _column$dataIndex;
33916
- return [_ctx.extraColumns.find(item => item.key == column.key) ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33901
+ var _record$column$key, _record$column$key2, _record$column$key3, _record$column$key4, _ctx$dictionaryInfo$c, _ctx$getValueByDataIn, _ctx$getValueByDataIn3, _ctx$getValueByDataIn4, _column$dataIndex;
33902
+ return [column && column !== null && column !== void 0 && column.key ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33903
+ key: 0
33904
+ }, [column !== null && column !== void 0 && column.type ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33917
33905
  key: 0
33918
- }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["renderList"])(_ctx.extraColumns, extra => {
33919
- var _record$extra_field, _ctx$extraColumns$fin, _record$extra_field2, _ctx$extraColumns$fin2, _record$extra_field3, _ctx$extraColumns$fin3, _record$extra_field4, _record$extra_field5;
33906
+ }, [column.type == 'select_multiple' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33907
+ key: 0
33908
+ }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["renderList"])(((_record$column$key = record[column.key]) === null || _record$column$key === void 0 ? void 0 : _record$column$key.show_value) || [], (tagItem, tagIndex) => {
33909
+ return Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_a_tag, {
33910
+ key: tagIndex
33911
+ }, {
33912
+ default: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(tagItem), 1)]),
33913
+ _: 2
33914
+ }, 1024);
33915
+ }), 128)) : column.type == 'attachment' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33916
+ key: 1
33917
+ }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["renderList"])(((_record$column$key2 = record[column.key]) === null || _record$column$key2 === void 0 ? void 0 : _record$column$key2.value) || [], (fileItem, fileIndex) => {
33920
33918
  return Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33921
- key: extra.key
33922
- }, [extra.key === column.key && record !== null && record !== void 0 && (_record$extra_field = record.extra_field) !== null && _record$extra_field !== void 0 && _record$extra_field[extra.key] ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_6, [((_ctx$extraColumns$fin = _ctx.extraColumns.find(item => item.key == extra.key)) === null || _ctx$extraColumns$fin === void 0 ? void 0 : _ctx$extraColumns$fin.type) == 'select_multiple' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33923
- key: 0
33924
- }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["renderList"])(record === null || record === void 0 || (_record$extra_field2 = record.extra_field) === null || _record$extra_field2 === void 0 || (_record$extra_field2 = _record$extra_field2[extra.key]) === null || _record$extra_field2 === void 0 ? void 0 : _record$extra_field2.show_value, item => {
33925
- return Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_a_tag, {
33926
- key: item
33927
- }, {
33928
- default: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(item), 1)]),
33929
- _: 2
33930
- }, 1024);
33931
- }), 128)) : ((_ctx$extraColumns$fin2 = _ctx.extraColumns.find(item => item.key == extra.key)) === null || _ctx$extraColumns$fin2 === void 0 ? void 0 : _ctx$extraColumns$fin2.type) == 'attachment' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33932
- key: 1
33933
- }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["renderList"])(record === null || record === void 0 || (_record$extra_field3 = record.extra_field) === null || _record$extra_field3 === void 0 || (_record$extra_field3 = _record$extra_field3[extra.key]) === null || _record$extra_field3 === void 0 ? void 0 : _record$extra_field3.value, (item, fileIndex) => {
33934
- return Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33935
- key: item.fileUrl
33936
- }, [fileIndex ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_7, ",")) : Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("span", {
33937
- style: {
33938
- "color": "#1890ff",
33939
- "cursor": "pointer"
33940
- },
33941
- onClick: $event => _ctx.downloadFile(item.fileUrl)
33942
- }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(item.name), 9, _hoisted_8)], 64);
33943
- }), 128)) : ((_ctx$extraColumns$fin3 = _ctx.extraColumns.find(item => item.key == extra.key)) === null || _ctx$extraColumns$fin3 === void 0 ? void 0 : _ctx$extraColumns$fin3.type) == 'image' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33944
- key: 2
33945
- }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["renderList"])(record === null || record === void 0 || (_record$extra_field4 = record.extra_field) === null || _record$extra_field4 === void 0 || (_record$extra_field4 = _record$extra_field4[extra.key]) === null || _record$extra_field4 === void 0 ? void 0 : _record$extra_field4.value, item => {
33946
- return Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_a_image, {
33947
- key: item.url,
33948
- src: item.url,
33949
- width: "30px",
33950
- height: "30px"
33951
- }, null, 8, ["src"]);
33952
- }), 128)) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_9, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])((record === null || record === void 0 || (_record$extra_field5 = record.extra_field) === null || _record$extra_field5 === void 0 || (_record$extra_field5 = _record$extra_field5[extra.key]) === null || _record$extra_field5 === void 0 ? void 0 : _record$extra_field5.show_value) || "--"), 1))])) : extra.key === column.key ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_10, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])("--"))) : Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createCommentVNode"])("", true)], 64);
33953
- }), 128)) : Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createCommentVNode"])("", true), (column === null || column === void 0 ? void 0 : column.columnType) === 'operation' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33919
+ key: (fileItem === null || fileItem === void 0 ? void 0 : fileItem.fileUrl) || fileIndex
33920
+ }, [fileIndex ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_6, ",")) : Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createCommentVNode"])("", true), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("span", {
33921
+ style: {
33922
+ "color": "#1890ff",
33923
+ "cursor": "pointer"
33924
+ },
33925
+ onClick: $event => (fileItem === null || fileItem === void 0 ? void 0 : fileItem.fileUrl) && _ctx.downloadFile(fileItem.fileUrl)
33926
+ }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])((fileItem === null || fileItem === void 0 ? void 0 : fileItem.name) || '未知文件'), 9, _hoisted_7)], 64);
33927
+ }), 128)) : column.type == 'image' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33928
+ key: 2
33929
+ }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["renderList"])(((_record$column$key3 = record[column.key]) === null || _record$column$key3 === void 0 ? void 0 : _record$column$key3.value) || [], (imgItem, imgIndex) => {
33930
+ return Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_a_image, {
33931
+ key: (imgItem === null || imgItem === void 0 ? void 0 : imgItem.url) || imgIndex,
33932
+ src: imgItem === null || imgItem === void 0 ? void 0 : imgItem.url,
33933
+ width: "30px",
33934
+ height: "30px"
33935
+ }, null, 8, ["src"]);
33936
+ }), 128)) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_8, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(((_record$column$key4 = record[column.key]) === null || _record$column$key4 === void 0 ? void 0 : _record$column$key4.show_value) || "--"), 1))], 64)) : (column === null || column === void 0 ? void 0 : column.columnType) === 'operation' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33954
33937
  key: 1
33955
33938
  }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["renderList"])((column.buttons || []).concat((record === null || record === void 0 ? void 0 : record.actionButtons) || []), item => {
33956
33939
  var _item$props, _item$props2, _item$props3;
@@ -33991,38 +33974,38 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
33991
33974
  }, 1040, ["disabled", "type", "style", "onClick"]);
33992
33975
  }), 128)) : (column === null || column === void 0 ? void 0 : column.columnType) === 'dictionary' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33993
33976
  key: 2
33994
- }, [_ctx.dictionaryInfo[column.dictType] && _ctx.i18nMapShow(_ctx.dictionaryInfo[column.dictType][_ctx.getValueByDataIndex(record, column.dataIndex)] || {}, ['label'], ['label']) ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_a_tag, {
33977
+ }, [_ctx.dictionaryInfo[column.dictType] && _ctx.dictionaryInfo[column.dictType][_ctx.getValueByDataIndex(record, column.dataIndex)] && _ctx.i18nMapShow(_ctx.dictionaryInfo[column.dictType][_ctx.getValueByDataIndex(record, column.dataIndex)] || {}, ['label'], ['label']) ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_a_tag, {
33995
33978
  key: 0,
33996
33979
  color: _ctx.getDictionaryColor((_ctx$dictionaryInfo$c = _ctx.dictionaryInfo[column.dictType][_ctx.getValueByDataIndex(record, column.dataIndex)]) === null || _ctx$dictionaryInfo$c === void 0 ? void 0 : _ctx$dictionaryInfo$c.color_type)
33997
33980
  }, {
33998
- default: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.i18nMapShow(_ctx.dictionaryInfo[column.dictType][_ctx.getValueByDataIndex(record, column.dataIndex)] || {}, ["label"], ["label"])), 1)]),
33981
+ default: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.i18nMapShow(_ctx.dictionaryInfo[column.dictType][_ctx.getValueByDataIndex(record, column.dataIndex)], ["label"], ["label"])), 1)]),
33999
33982
  _: 2
34000
- }, 1032, ["color"])) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_11, "--"))], 64)) : (column === null || column === void 0 ? void 0 : column.columnType) === 'roomInfo' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33983
+ }, 1032, ["color"])) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_9, "--"))], 64)) : (column === null || column === void 0 ? void 0 : column.columnType) === 'roomInfo' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
34001
33984
  key: 3
34002
- }, [_ctx.getValueByDataIndex(record, column.dataIndex) && ((_ctx$getValueByDataIn = _ctx.getValueByDataIndex(record, column.dataIndex)) === null || _ctx$getValueByDataIn === void 0 || (_ctx$getValueByDataIn = _ctx$getValueByDataIn.room) === null || _ctx$getValueByDataIn === void 0 ? void 0 : _ctx$getValueByDataIn.length) > 0 ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_12, [(Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["renderList"])(_ctx.getValueByDataIndex(record, column.dataIndex).room, (room, roomIndex) => {
33985
+ }, [_ctx.getValueByDataIndex(record, column.dataIndex) && ((_ctx$getValueByDataIn = _ctx.getValueByDataIndex(record, column.dataIndex)) === null || _ctx$getValueByDataIn === void 0 || (_ctx$getValueByDataIn = _ctx$getValueByDataIn.room) === null || _ctx$getValueByDataIn === void 0 ? void 0 : _ctx$getValueByDataIn.length) > 0 ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_10, [(Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(true), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], null, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["renderList"])(_ctx.getValueByDataIndex(record, column.dataIndex).room, (room, roomIndex) => {
34003
33986
  return Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("a", {
34004
33987
  key: roomIndex,
34005
33988
  onClick: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withModifiers"])($event => {
34006
33989
  var _ctx$getValueByDataIn2;
34007
33990
  return _ctx.roomClick(room, _ctx.getValueByDataIndex(record, column.dataIndex).room, (_ctx$getValueByDataIn2 = _ctx.getValueByDataIndex(record, column.dataIndex)) === null || _ctx$getValueByDataIn2 === void 0 || (_ctx$getValueByDataIn2 = _ctx$getValueByDataIn2.village) === null || _ctx$getValueByDataIn2 === void 0 ? void 0 : _ctx$getValueByDataIn2.id);
34008
33991
  }, ["stop"])
34009
- }, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(room.layer_name + "-" + room.room_name) + " ", 1), room.custom_brand_id ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_14, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(`(${room.custom_name})`), 1)) : Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createCommentVNode"])("", true), _ctx.getValueByDataIndex(record, column.dataIndex).room.length > 1 && roomIndex + 1 !== _ctx.getValueByDataIndex(record, column.dataIndex).room.length ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("text", _hoisted_15, ", ")) : Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createCommentVNode"])("", true)], 8, _hoisted_13);
34010
- }), 128))])) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_16, "--"))], 64)) : (column === null || column === void 0 ? void 0 : column.columnType) === 'ownerInfo' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33992
+ }, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(room.layer_name + "-" + room.room_name) + " ", 1), room.custom_brand_id ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_12, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(`(${room.custom_name})`), 1)) : Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createCommentVNode"])("", true), _ctx.getValueByDataIndex(record, column.dataIndex).room.length > 1 && roomIndex + 1 !== _ctx.getValueByDataIndex(record, column.dataIndex).room.length ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("text", _hoisted_13, ", ")) : Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createCommentVNode"])("", true)], 8, _hoisted_11);
33993
+ }), 128))])) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_14, "--"))], 64)) : (column === null || column === void 0 ? void 0 : column.columnType) === 'ownerInfo' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
34011
33994
  key: 4
34012
33995
  }, [_ctx.getValueByDataIndex(record, column === null || column === void 0 ? void 0 : column.idFields) || record !== null && record !== void 0 && record.owner_id ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("a", {
34013
33996
  key: 0,
34014
33997
  onClick: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withModifiers"])($event => _ctx.toOwnerDetail(_ctx.getValueByDataIndex(record, column === null || column === void 0 ? void 0 : column.idFields) || (record === null || record === void 0 ? void 0 : record.owner_id)), ["stop"])
34015
- }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex)), 9, _hoisted_17)) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_18, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex) || "--"), 1))], 64)) : (column === null || column === void 0 ? void 0 : column.columnType) === 'contractInfo' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
33998
+ }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex)), 9, _hoisted_15)) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_16, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex) || "--"), 1))], 64)) : (column === null || column === void 0 ? void 0 : column.columnType) === 'contractInfo' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
34016
33999
  key: 5
34017
34000
  }, [_ctx.getValueByDataIndex(record, column === null || column === void 0 ? void 0 : column.idFields) || record !== null && record !== void 0 && record.contract_id ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("a", {
34018
34001
  key: 0,
34019
34002
  onClick: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withModifiers"])($event => _ctx.toContractDetail(_ctx.getValueByDataIndex(record, column === null || column === void 0 ? void 0 : column.idFields) || (record === null || record === void 0 ? void 0 : record.contract_id)), ["stop"])
34020
- }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex)), 9, _hoisted_19)) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_20, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex) || "--"), 1))], 64)) : (column === null || column === void 0 ? void 0 : column.columnType) === 'billInfo' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
34003
+ }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex)), 9, _hoisted_17)) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_18, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex) || "--"), 1))], 64)) : (column === null || column === void 0 ? void 0 : column.columnType) === 'billInfo' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
34021
34004
  key: 6
34022
34005
  }, [_ctx.getValueByDataIndex(record, column === null || column === void 0 ? void 0 : column.idFields) || record !== null && record !== void 0 && record.bill_id ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("a", {
34023
34006
  key: 0,
34024
34007
  onClick: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withModifiers"])($event => _ctx.toBillDetail(_ctx.getValueByDataIndex(record, column === null || column === void 0 ? void 0 : column.idFields) || (record === null || record === void 0 ? void 0 : record.bill_id)), ["stop"])
34025
- }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex)), 9, _hoisted_21)) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_22, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex) || "--"), 1))], 64)) : (column === null || column === void 0 ? void 0 : column.columnType) === 'image' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
34008
+ }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex)), 9, _hoisted_19)) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_20, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex) || "--"), 1))], 64)) : (column === null || column === void 0 ? void 0 : column.columnType) === 'image' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
34026
34009
  key: 7
34027
34010
  }, [_ctx.getValueByDataIndex(record, column.dataIndex) ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_a_image, {
34028
34011
  key: 0,
@@ -34032,7 +34015,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
34032
34015
  }, {
34033
34016
  previewMask: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createVNode"])(_component_EyeOutlined)]),
34034
34017
  _: 2
34035
- }, 1032, ["src"])) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_23, "--"))], 64)) : (column === null || column === void 0 ? void 0 : column.columnType) === 'link' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_a_button, {
34018
+ }, 1032, ["src"])) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("span", _hoisted_21, "--"))], 64)) : (column === null || column === void 0 ? void 0 : column.columnType) === 'link' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_a_button, {
34036
34019
  key: 8,
34037
34020
  type: "link",
34038
34021
  disabled: !_ctx.getValueByDataIndex(record, column.dataIndex),
@@ -34047,7 +34030,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
34047
34030
  _: 2
34048
34031
  }, 1032, ["disabled", "onClick"])) : (column === null || column === void 0 ? void 0 : column.columnType) === 'txtAndTag' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["Fragment"], {
34049
34032
  key: 9
34050
- }, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("span", _hoisted_24, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex)), 1), (_ctx$getValueByDataIn3 = _ctx.getValueByDataIndex(record, column.tagIndex)) !== null && _ctx$getValueByDataIn3 !== void 0 && _ctx$getValueByDataIn3.txt ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_a_tag, {
34033
+ }, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("span", _hoisted_22, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex)), 1), (_ctx$getValueByDataIn3 = _ctx.getValueByDataIndex(record, column.tagIndex)) !== null && _ctx$getValueByDataIn3 !== void 0 && _ctx$getValueByDataIn3.txt ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_a_tag, {
34051
34034
  key: 0,
34052
34035
  color: (_ctx$getValueByDataIn4 = _ctx.getValueByDataIndex(record, column.tagIndex)) === null || _ctx$getValueByDataIn4 === void 0 ? void 0 : _ctx$getValueByDataIn4.color
34053
34036
  }, {
@@ -34056,7 +34039,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
34056
34039
  return [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])((_ctx$getValueByDataIn5 = _ctx.getValueByDataIndex(record, column.tagIndex)) === null || _ctx$getValueByDataIn5 === void 0 ? void 0 : _ctx$getValueByDataIn5.txt), 1)];
34057
34040
  }),
34058
34041
  _: 2
34059
- }, 1032, ["color"])) : Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createCommentVNode"])("", true)], 64)) : _ctx.columnSlots.indexOf(`${column.key}`) > -1 ? Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["renderSlot"])(_ctx.$slots, `column-${column.key}`, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["normalizeProps"])(Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["mergeProps"])({
34042
+ }, 1032, ["color"])) : Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createCommentVNode"])("", true)], 64)) : _ctx.columnSlots.indexOf(`${column === null || column === void 0 ? void 0 : column.key}`) > -1 ? Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["renderSlot"])(_ctx.$slots, `column-${column.key}`, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["normalizeProps"])(Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["mergeProps"])({
34060
34043
  key: 10
34061
34044
  }, {
34062
34045
  text,
@@ -34079,9 +34062,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
34079
34062
  class: "ellipsisClamp",
34080
34063
  onMouseenter: e => _ctx.mouseenter(e, record, column),
34081
34064
  onMouseleave: $event => _ctx.mouseleave(record, column)
34082
- }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getUnitText(_ctx.getValueByDataIndex(record, column.dataIndex) || "--", column.unitInfo)), 41, _hoisted_25)]),
34065
+ }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getUnitText(_ctx.getValueByDataIndex(record, column.dataIndex) || "--", column.unitInfo)), 41, _hoisted_23)]),
34083
34066
  _: 2
34084
- }, 1032, ["visible"])) : column.unitInfo ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_Tooltip, {
34067
+ }, 1032, ["visible"])) : column !== null && column !== void 0 && column.unitInfo ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_Tooltip, {
34085
34068
  key: 13,
34086
34069
  visible: record === null || record === void 0 ? void 0 : record[`ellipsVisible_local_${column.dataIndex}`]
34087
34070
  }, {
@@ -34090,7 +34073,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
34090
34073
  class: "ellipsisClamp",
34091
34074
  onMouseenter: e => _ctx.mouseenter(e, record, column),
34092
34075
  onMouseleave: $event => _ctx.mouseleave(record, column)
34093
- }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getUnitText(text, column.unitInfo)), 41, _hoisted_26)]),
34076
+ }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getUnitText(text, column.unitInfo)), 41, _hoisted_24)]),
34094
34077
  _: 2
34095
34078
  }, 1032, ["visible"])) : (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_Tooltip, {
34096
34079
  key: 14,
@@ -34101,9 +34084,9 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
34101
34084
  class: "ellipsisClamp",
34102
34085
  onMouseenter: e => _ctx.mouseenter(e, record, column),
34103
34086
  onMouseleave: $event => _ctx.mouseleave(record, column)
34104
- }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex)), 41, _hoisted_27)]),
34087
+ }, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.getValueByDataIndex(record, column.dataIndex)), 41, _hoisted_25)]),
34105
34088
  _: 2
34106
- }, 1032, ["visible"]))];
34089
+ }, 1032, ["visible"]))], 64)) : Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createCommentVNode"])("", true)];
34107
34090
  }),
34108
34091
  _: 2
34109
34092
  }, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["renderList"])(_ctx.$slots, (value, name) => {
@@ -34121,7 +34104,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
34121
34104
  footer: null,
34122
34105
  onCancel: _cache[2] || (_cache[2] = $event => _ctx.getApprovalProcess = false)
34123
34106
  }, {
34124
- default: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("div", _hoisted_28, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createVNode"])(_component_a_table, {
34107
+ default: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("div", _hoisted_26, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createVNode"])(_component_a_table, {
34125
34108
  columns: _ctx.columnsProcess,
34126
34109
  "data-source": _ctx.approvalList,
34127
34110
  pagination: false
@@ -34129,14 +34112,14 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
34129
34112
  bodyCell: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withCtx"])(({
34130
34113
  column,
34131
34114
  record
34132
- }) => [column.key == 'name' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("div", _hoisted_29, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("div", _hoisted_30, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("img", {
34115
+ }) => [column.key == 'name' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementBlock"])("div", _hoisted_27, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("div", _hoisted_28, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("img", {
34133
34116
  style: {
34134
34117
  "width": "25px",
34135
34118
  "height": "25px",
34136
34119
  "border-radius": "20px"
34137
34120
  },
34138
34121
  src: record.icon
34139
- }, null, 8, _hoisted_31)]), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.i18nMapShow(record, ["name"], ["name"])), 1)])) : Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createCommentVNode"])("", true), column.key == 'id' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_a_button, {
34122
+ }, null, 8, _hoisted_29)]), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createTextVNode"])(" " + Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.i18nMapShow(record, ["name"], ["name"])), 1)])) : Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createCommentVNode"])("", true), column.key == 'id' ? (Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["openBlock"])(), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createBlock"])(_component_a_button, {
34140
34123
  key: 1,
34141
34124
  onClick: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withModifiers"])($event => _ctx.handleApprovalClick(record === null || record === void 0 ? void 0 : record[_ctx.approvalProcessType]), ["stop"]),
34142
34125
  type: "link"
@@ -34178,7 +34161,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
34178
34161
  default: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createTextVNode"])(Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.t("common.button.ok")), 1)]),
34179
34162
  _: 1
34180
34163
  }, 8, ["loading", "onClick"])]),
34181
- default: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("div", _hoisted_32, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("div", _hoisted_33, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.t("village.translate.292926-1")), 1), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createVNode"])(_component_a_select, {
34164
+ default: Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["withCtx"])(() => [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("div", _hoisted_30, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("div", _hoisted_31, Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toDisplayString"])(_ctx.t("village.translate.292926-1")), 1), Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createElementVNode"])("div", null, [Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["createVNode"])(_component_a_select, {
34182
34165
  style: {
34183
34166
  "width": "100%"
34184
34167
  },
@@ -34268,7 +34251,7 @@ function render(_ctx, _cache, $props, $setup, $data, $options) {
34268
34251
  onSuccess: _ctx.handleAddMemberSuccess
34269
34252
  }, null, 8, ["onRequest", "visible", "checkedList", "onClose", "onSuccess"])]);
34270
34253
  }
34271
- // CONCATENATED MODULE: ./src/components/CustomTable/index.vue?vue&type=template&id=1984c7ae&scoped=true
34254
+ // CONCATENATED MODULE: ./src/components/CustomTable/index.vue?vue&type=template&id=09d9f7a8&scoped=true
34272
34255
 
34273
34256
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.push.js
34274
34257
  var es_array_push = __webpack_require__("14d9");
@@ -34276,12 +34259,18 @@ var es_array_push = __webpack_require__("14d9");
34276
34259
  // EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.reduce.js
34277
34260
  var es_array_reduce = __webpack_require__("13d5");
34278
34261
 
34262
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.constructor.js
34263
+ var esnext_iterator_constructor = __webpack_require__("0643");
34264
+
34279
34265
  // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.every.js
34280
34266
  var esnext_iterator_every = __webpack_require__("76d6");
34281
34267
 
34282
34268
  // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.filter.js
34283
34269
  var esnext_iterator_filter = __webpack_require__("2382");
34284
34270
 
34271
+ // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.find.js
34272
+ var esnext_iterator_find = __webpack_require__("fffc");
34273
+
34285
34274
  // EXTERNAL MODULE: ./node_modules/core-js/modules/esnext.iterator.for-each.js
34286
34275
  var esnext_iterator_for_each = __webpack_require__("4e3e");
34287
34276
 
@@ -36443,15 +36432,14 @@ external_commonjs_dayjs_commonjs2_dayjs_amd_dayjs_root_dayjs_default.a.extend(we
36443
36432
  };
36444
36433
  }
36445
36434
  },
36446
- hasExtraField: {
36435
+ showExtraField: {
36447
36436
  type: Boolean,
36448
- default: false
36437
+ default: true
36449
36438
  },
36450
- defaultColumns: {
36451
- type: Array,
36452
- default: () => {
36453
- return [];
36454
- }
36439
+ // 刷新的时候清除列表(滚动条会滚动到顶部)
36440
+ ClearList: {
36441
+ type: Boolean,
36442
+ default: true
36455
36443
  }
36456
36444
  },
36457
36445
  components: {
@@ -36544,7 +36532,8 @@ external_commonjs_dayjs_commonjs2_dayjs_amd_dayjs_root_dayjs_default.a.extend(we
36544
36532
  extra_alias: "",
36545
36533
  field_column: "",
36546
36534
  extraColumns: [],
36547
- initSuccess: false
36535
+ initSuccess: false,
36536
+ defaultColumns: (attrs === null || attrs === void 0 ? void 0 : attrs.columns) || []
36548
36537
  });
36549
36538
  const importTempLinkReal = Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["computed"])(() => {
36550
36539
  return state.requestImportDemoFile || props.importTempLink;
@@ -36678,7 +36667,7 @@ external_commonjs_dayjs_commonjs2_dayjs_amd_dayjs_root_dayjs_default.a.extend(we
36678
36667
  column: typeItem.column
36679
36668
  });
36680
36669
  } else {
36681
- item[dataIndex] = getUnitText(getValueByDataIndex(item, typeItem.dataIndex) || "", typeItem.unitInfo);
36670
+ item[dataIndex] = getUnitText(getValueByDataIndex(item, typeItem.dataIndex) || "", typeItem === null || typeItem === void 0 ? void 0 : typeItem.unitInfo);
36682
36671
  }
36683
36672
  });
36684
36673
  };
@@ -36782,7 +36771,10 @@ external_commonjs_dayjs_commonjs2_dayjs_amd_dayjs_root_dayjs_default.a.extend(we
36782
36771
  Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["nextTick"])(() => {
36783
36772
  if (external_commonjs_lodash_commonjs2_lodash_amd_lodash_root_lodash_default.a.isEmpty(props.requestInfo)) return;
36784
36773
  state.localLoading = true;
36785
- state.dataSource = [];
36774
+ // 刷新的时候清除列表(滚动条会滚动到顶部)
36775
+ if (props.ClearList) {
36776
+ state.dataSource = [];
36777
+ }
36786
36778
  Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["nextTick"])(() => {
36787
36779
  var _props$requestInfo3, _state$tableSort, _props$extraParams;
36788
36780
  if (isInit) {
@@ -36890,18 +36882,20 @@ external_commonjs_dayjs_commonjs2_dayjs_amd_dayjs_root_dayjs_default.a.extend(we
36890
36882
  params.filters = [...filters, ...filList].filter(item => item.value);
36891
36883
  let extraInfo = external_commonjs_lodash_commonjs2_lodash_amd_lodash_root_lodash_default.a.cloneDeep(state.extraColumns);
36892
36884
  params.filters.forEach(item => {
36893
- let tempIt = extraInfo.find(it => it.key == item.field);
36894
- if (tempIt && state.field_column) {
36895
- item.field = `${state.field_column}.${item.field}.value`;
36896
- if (["single_text", "multiple_text", "number", "select_single", "number"].includes(tempIt.type)) {
36897
- item.type = "equal";
36898
- } else if (tempIt.type == "select_multiple") {
36899
- item.type = "in";
36900
- } else if (tempIt.type == "number") {
36901
- item.type = "equal";
36902
- } else if (tempIt.type == "date") {
36903
- const dateType = tempIt.date_type == 1 ? "date_between" : tempIt.date_type == 2 ? "datetime_between" : "time_between";
36904
- item.type = dateType;
36885
+ if (extraInfo.length) {
36886
+ let tempIt = extraInfo.find(it => (it === null || it === void 0 ? void 0 : it.key) == item.field);
36887
+ if (tempIt && state.field_column) {
36888
+ item.field = `${state.field_column}.${item.field}.value`;
36889
+ if (["single_text", "multiple_text", "number", "select_single", "number"].includes(tempIt.type)) {
36890
+ item.type = "equal";
36891
+ } else if (tempIt.type == "select_multiple") {
36892
+ item.type = "in";
36893
+ } else if (tempIt.type == "number") {
36894
+ item.type = "equal";
36895
+ } else if (tempIt.type == "date") {
36896
+ const dateType = tempIt.date_type == 1 ? "date_between" : tempIt.date_type == 2 ? "datetime_between" : "time_between";
36897
+ item.type = dateType;
36898
+ }
36905
36899
  }
36906
36900
  }
36907
36901
  });
@@ -36938,9 +36932,10 @@ external_commonjs_dayjs_commonjs2_dayjs_amd_dayjs_root_dayjs_default.a.extend(we
36938
36932
  state.field_column = (res === null || res === void 0 ? void 0 : res.extra_fields_name) || 'extra_field';
36939
36933
  getExtraFieldList();
36940
36934
  }
36941
- if (!(res !== null && res !== void 0 && res.extra_fields_alias) && props.defaultColumns.length) {
36935
+ if (!(res !== null && res !== void 0 && res.extra_fields_alias)) {
36942
36936
  state.initSuccess = true;
36943
- state.initColumns = external_commonjs_lodash_commonjs2_lodash_amd_lodash_root_lodash_default.a.cloneDeep(props.defaultColumns);
36937
+ state.initColumns = external_commonjs_lodash_commonjs2_lodash_amd_lodash_root_lodash_default.a.cloneDeep(state.defaultColumns);
36938
+ state.extraColumns = [];
36944
36939
  refreshColumns();
36945
36940
  }
36946
36941
  getDictionaryMap();
@@ -37645,7 +37640,7 @@ external_commonjs_dayjs_commonjs2_dayjs_amd_dayjs_root_dayjs_default.a.extend(we
37645
37640
  await getLocalColumns();
37646
37641
  await getFilterList();
37647
37642
  emit("initLoad");
37648
- if (props.loadDataAtInit && !props.hasExtraField) {
37643
+ if (props.loadDataAtInit) {
37649
37644
  loadData();
37650
37645
  }
37651
37646
  };
@@ -37706,6 +37701,7 @@ external_commonjs_dayjs_commonjs2_dayjs_amd_dayjs_root_dayjs_default.a.extend(we
37706
37701
  return;
37707
37702
  }
37708
37703
  state.isProcessingExtraFields = true;
37704
+ state.localLoading = true;
37709
37705
  emit("request", {
37710
37706
  params: {
37711
37707
  method: ((_props$ExtraData = props.ExtraData) === null || _props$ExtraData === void 0 || (_props$ExtraData = _props$ExtraData.initialization) === null || _props$ExtraData === void 0 ? void 0 : _props$ExtraData.method) || 'get',
@@ -37719,16 +37715,17 @@ external_commonjs_dayjs_commonjs2_dayjs_amd_dayjs_root_dayjs_default.a.extend(we
37719
37715
  var _state$extraColumns;
37720
37716
  const newList = res.list || [];
37721
37717
  state.initSuccess = true;
37718
+ state.localLoading = false;
37722
37719
  if (newList.length == 0) {
37723
37720
  state.extraColumns = [];
37724
- state.initColumns = external_commonjs_lodash_commonjs2_lodash_amd_lodash_root_lodash_default.a.cloneDeep(props.defaultColumns);
37721
+ state.initColumns = external_commonjs_lodash_commonjs2_lodash_amd_lodash_root_lodash_default.a.cloneDeep(state.defaultColumns);
37725
37722
  refreshColumns();
37726
37723
  return;
37727
37724
  }
37728
37725
 
37729
37726
  // 判断返回的数据和当前的是否有相同的 key
37730
- const currentKeys = state.extraColumns.map(item => item.key);
37731
- const newKeys = newList.map(item => item.key);
37727
+ const currentKeys = state.extraColumns.map(item => item === null || item === void 0 ? void 0 : item.key);
37728
+ const newKeys = newList.map(item => item === null || item === void 0 ? void 0 : item.key);
37732
37729
 
37733
37730
  // 如果 key 完全相同(长度相同且每个 key 都相同),则不重复处理
37734
37731
  const isSameKeys = currentKeys.length === newKeys.length && currentKeys.every(key => newKeys.includes(key));
@@ -37782,13 +37779,14 @@ external_commonjs_dayjs_commonjs2_dayjs_amd_dayjs_root_dayjs_default.a.extend(we
37782
37779
  });
37783
37780
  let tempColumns = [];
37784
37781
  if ((_state$extraColumns = state.extraColumns) !== null && _state$extraColumns !== void 0 && _state$extraColumns.length) {
37785
- if (props.defaultColumns[props.defaultColumns.length - 1].key == "action") {
37782
+ var _state$defaultColumns;
37783
+ if (((_state$defaultColumns = state.defaultColumns[state.defaultColumns.length - 1]) === null || _state$defaultColumns === void 0 ? void 0 : _state$defaultColumns.key) == "action") {
37786
37784
  // 将 extraColumns 插入到 action 列之前
37787
- const actionColumn = props.defaultColumns[props.defaultColumns.length - 1];
37788
- const otherColumns = props.defaultColumns.slice(0, props.defaultColumns.length - 1);
37785
+ const actionColumn = state.defaultColumns[state.defaultColumns.length - 1];
37786
+ const otherColumns = state.defaultColumns.slice(0, state.defaultColumns.length - 1);
37789
37787
  tempColumns = [...otherColumns, ...state.extraColumns, actionColumn];
37790
37788
  } else {
37791
- tempColumns = [...props.defaultColumns, ...state.extraColumns];
37789
+ tempColumns = [...state.defaultColumns, ...state.extraColumns];
37792
37790
  }
37793
37791
  }
37794
37792
  state.initColumns = tempColumns;
@@ -37797,6 +37795,7 @@ external_commonjs_dayjs_commonjs2_dayjs_amd_dayjs_root_dayjs_default.a.extend(we
37797
37795
  fail: () => {
37798
37796
  // 失败时也要重置标志位
37799
37797
  state.isProcessingExtraFields = false;
37798
+ state.localLoading = false;
37800
37799
  }
37801
37800
  });
37802
37801
  };
@@ -37868,25 +37867,13 @@ external_commonjs_dayjs_commonjs2_dayjs_amd_dayjs_root_dayjs_default.a.extend(we
37868
37867
  window.removeEventListener("resize", handleResize);
37869
37868
  });
37870
37869
  const initColumns = () => {
37871
- if (props.hasExtraField) {
37870
+ if (props.showExtraField && props.loadDataAtInit) {
37872
37871
  loadData(true);
37873
37872
  } else {
37874
37873
  getInitData();
37875
37874
  }
37876
37875
  };
37877
37876
  initColumns();
37878
- Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["watch"])(() => attrs === null || attrs === void 0 ? void 0 : attrs.columns, newColumns => {
37879
- if (newColumns && newColumns.length > 0) {
37880
- // 重新获取列配置
37881
- getLocalColumns().then(async () => {
37882
- if (props.isCustomSearchColumn) {
37883
- await getFilterList();
37884
- }
37885
- });
37886
- }
37887
- }, {
37888
- deep: true
37889
- });
37890
37877
 
37891
37878
  // 暴露一些方法 和 属性
37892
37879
  expose({
@@ -38045,6 +38032,28 @@ external_commonjs_dayjs_commonjs2_dayjs_amd_dayjs_root_dayjs_default.a.extend(we
38045
38032
  }
38046
38033
  window.open(url);
38047
38034
  };
38035
+ const newDataSource = Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["computed"])(() => {
38036
+ if (props.showExtraField && !state.initSuccess) {
38037
+ return [];
38038
+ }
38039
+ let temDataSource = external_commonjs_lodash_commonjs2_lodash_amd_lodash_root_lodash_default.a.cloneDeep(state.dataSource);
38040
+ if (state.extraColumns.length > 0) {
38041
+ temDataSource = temDataSource.map(item => {
38042
+ let newItem = {
38043
+ ...item
38044
+ };
38045
+ state.extraColumns.forEach(column => {
38046
+ var _newItem$extra_field;
38047
+ if (newItem !== null && newItem !== void 0 && (_newItem$extra_field = newItem.extra_field) !== null && _newItem$extra_field !== void 0 && _newItem$extra_field[column.key]) {
38048
+ var _newItem$extra_field2;
38049
+ newItem[column.key] = newItem === null || newItem === void 0 || (_newItem$extra_field2 = newItem.extra_field) === null || _newItem$extra_field2 === void 0 ? void 0 : _newItem$extra_field2[column.key];
38050
+ }
38051
+ });
38052
+ return newItem;
38053
+ });
38054
+ }
38055
+ return temDataSource;
38056
+ });
38048
38057
  return {
38049
38058
  ...Object(external_commonjs_vue_commonjs2_vue_amd_vue_root_vue_["toRefs"])(state),
38050
38059
  localPagination,
@@ -38119,14 +38128,15 @@ external_commonjs_dayjs_commonjs2_dayjs_amd_dayjs_root_dayjs_default.a.extend(we
38119
38128
  countsColumns,
38120
38129
  dataCountsStr,
38121
38130
  selectUserChange,
38122
- downloadFile
38131
+ downloadFile,
38132
+ newDataSource
38123
38133
  };
38124
38134
  }
38125
38135
  }));
38126
38136
  // CONCATENATED MODULE: ./src/components/CustomTable/index.vue?vue&type=script&lang=js
38127
38137
 
38128
- // EXTERNAL MODULE: ./src/components/CustomTable/index.vue?vue&type=style&index=0&id=1984c7ae&lang=less&scoped=true
38129
- var CustomTablevue_type_style_index_0_id_1984c7ae_lang_less_scoped_true = __webpack_require__("ebee");
38138
+ // EXTERNAL MODULE: ./src/components/CustomTable/index.vue?vue&type=style&index=0&id=09d9f7a8&lang=less&scoped=true
38139
+ var CustomTablevue_type_style_index_0_id_09d9f7a8_lang_less_scoped_true = __webpack_require__("1dbe");
38130
38140
 
38131
38141
  // CONCATENATED MODULE: ./src/components/CustomTable/index.vue
38132
38142
 
@@ -38136,7 +38146,7 @@ var CustomTablevue_type_style_index_0_id_1984c7ae_lang_less_scoped_true = __webp
38136
38146
 
38137
38147
 
38138
38148
 
38139
- const CustomTable_exports_ = /*#__PURE__*/exportHelper_default()(CustomTablevue_type_script_lang_js, [['render',render],['__scopeId',"data-v-1984c7ae"]])
38149
+ const CustomTable_exports_ = /*#__PURE__*/exportHelper_default()(CustomTablevue_type_script_lang_js, [['render',render],['__scopeId',"data-v-09d9f7a8"]])
38140
38150
 
38141
38151
  /* harmony default export */ var components_CustomTable = __webpack_exports__["default"] = (CustomTable_exports_);
38142
38152
 
@@ -38290,6 +38300,17 @@ module.exports = function (it) {
38290
38300
  };
38291
38301
 
38292
38302
 
38303
+ /***/ }),
38304
+
38305
+ /***/ "1dbe":
38306
+ /***/ (function(module, __webpack_exports__, __webpack_require__) {
38307
+
38308
+ "use strict";
38309
+ /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_09d9f7a8_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("afee");
38310
+ /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_09d9f7a8_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_09d9f7a8_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
38311
+ /* unused harmony reexport * */
38312
+
38313
+
38293
38314
  /***/ }),
38294
38315
 
38295
38316
  /***/ "1e36":
@@ -41780,20 +41801,6 @@ exportTypedArrayMethod('toSorted', function toSorted(compareFn) {
41780
41801
  });
41781
41802
 
41782
41803
 
41783
- /***/ }),
41784
-
41785
- /***/ "295a":
41786
- /***/ (function(module, exports, __webpack_require__) {
41787
-
41788
- // Imports
41789
- var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
41790
- exports = ___CSS_LOADER_API_IMPORT___(false);
41791
- // Module
41792
- exports.push([module.i, ".primary-color-text[data-v-1984c7ae]{color:#2681f3}[data-v-1984c7ae] .ant-table-title{padding:8px}.left-title[data-v-1984c7ae]{font-size:16px;font-weight:700}[data-v-1984c7ae] .more-btn>span+.anticon{margin-left:2px}.filter-warp[data-v-1984c7ae]{margin-bottom:10px;background:#fff;padding:10px}.filter-warp[data-v-1984c7ae] .ant-input,.filter-warp[data-v-1984c7ae] .ant-input-number,.filter-warp[data-v-1984c7ae] .ant-select{font-size:var(--secondary-menu-fontSize)}.ellipsisClamp[data-v-1984c7ae]{max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.data-counts-str[data-v-1984c7ae]{font-size:14px;cursor:pointer;line-height:26px}", ""]);
41793
- // Exports
41794
- module.exports = exports;
41795
-
41796
-
41797
41804
  /***/ }),
41798
41805
 
41799
41806
  /***/ "2a07":
@@ -45782,22 +45789,6 @@ exportTypedArrayMethod('findLast', function findLast(predicate /* , thisArg */)
45782
45789
  /* unused harmony reexport * */
45783
45790
 
45784
45791
 
45785
- /***/ }),
45786
-
45787
- /***/ "9928":
45788
- /***/ (function(module, exports, __webpack_require__) {
45789
-
45790
- // style-loader: Adds some css to the DOM by adding a <style> tag
45791
-
45792
- // load the styles
45793
- var content = __webpack_require__("295a");
45794
- if(content.__esModule) content = content.default;
45795
- if(typeof content === 'string') content = [[module.i, content, '']];
45796
- if(content.locals) module.exports = content.locals;
45797
- // add the styles to the DOM
45798
- var add = __webpack_require__("499e").default
45799
- var update = add("7acae0aa", content, true, {"sourceMap":false,"shadowMode":false});
45800
-
45801
45792
  /***/ }),
45802
45793
 
45803
45794
  /***/ "9961":
@@ -51192,6 +51183,22 @@ module.exports = DESCRIPTORS && fails(function () {
51192
51183
  /* unused harmony reexport * */
51193
51184
 
51194
51185
 
51186
+ /***/ }),
51187
+
51188
+ /***/ "afee":
51189
+ /***/ (function(module, exports, __webpack_require__) {
51190
+
51191
+ // style-loader: Adds some css to the DOM by adding a <style> tag
51192
+
51193
+ // load the styles
51194
+ var content = __webpack_require__("f38a");
51195
+ if(content.__esModule) content = content.default;
51196
+ if(typeof content === 'string') content = [[module.i, content, '']];
51197
+ if(content.locals) module.exports = content.locals;
51198
+ // add the styles to the DOM
51199
+ var add = __webpack_require__("499e").default
51200
+ var update = add("053d6d00", content, true, {"sourceMap":false,"shadowMode":false});
51201
+
51195
51202
  /***/ }),
51196
51203
 
51197
51204
  /***/ "b002":
@@ -62776,17 +62783,6 @@ module.exports = {
62776
62783
  };
62777
62784
 
62778
62785
 
62779
- /***/ }),
62780
-
62781
- /***/ "ebee":
62782
- /***/ (function(module, __webpack_exports__, __webpack_require__) {
62783
-
62784
- "use strict";
62785
- /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_1984c7ae_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9928");
62786
- /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_1984c7ae_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_11_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_node_modules_vue_loader_v16_dist_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_node_modules_less_loader_dist_cjs_js_ref_11_oneOf_1_4_node_modules_style_resources_loader_lib_index_js_ref_11_oneOf_1_5_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_v16_dist_index_js_ref_1_1_index_vue_vue_type_style_index_0_id_1984c7ae_lang_less_scoped_true__WEBPACK_IMPORTED_MODULE_0__);
62787
- /* unused harmony reexport * */
62788
-
62789
-
62790
62786
  /***/ }),
62791
62787
 
62792
62788
  /***/ "eca3":
@@ -63510,6 +63506,20 @@ const utils = {
63510
63506
  };
63511
63507
  /* harmony default export */ __webpack_exports__["a"] = (utils);
63512
63508
 
63509
+ /***/ }),
63510
+
63511
+ /***/ "f38a":
63512
+ /***/ (function(module, exports, __webpack_require__) {
63513
+
63514
+ // Imports
63515
+ var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
63516
+ exports = ___CSS_LOADER_API_IMPORT___(false);
63517
+ // Module
63518
+ exports.push([module.i, ".primary-color-text[data-v-09d9f7a8]{color:#2681f3}[data-v-09d9f7a8] .ant-table-title{padding:8px}.left-title[data-v-09d9f7a8]{font-size:16px;font-weight:700}[data-v-09d9f7a8] .more-btn>span+.anticon{margin-left:2px}.filter-warp[data-v-09d9f7a8]{margin-bottom:10px;background:#fff;padding:10px}.filter-warp[data-v-09d9f7a8] .ant-input,.filter-warp[data-v-09d9f7a8] .ant-input-number,.filter-warp[data-v-09d9f7a8] .ant-select{font-size:var(--secondary-menu-fontSize)}.ellipsisClamp[data-v-09d9f7a8]{max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.data-counts-str[data-v-09d9f7a8]{font-size:14px;cursor:pointer;line-height:26px}", ""]);
63519
+ // Exports
63520
+ module.exports = exports;
63521
+
63522
+
63513
63523
  /***/ }),
63514
63524
 
63515
63525
  /***/ "f3e2":