@bit-sun/business-component 4.2.0-alpha.6.5 → 4.2.0-alpha.6.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -11458,6 +11458,14 @@ function commonFun(type, prefixUrl, parentProps) {
11458
11458
  render: function render(text) {
11459
11459
  return getDictionaryTextByValue$1('SC00004', text);
11460
11460
  }
11461
+ }, {
11462
+ title: '运营组名称',
11463
+ dataIndex: 'groupCode',
11464
+ defaultSort: 7,
11465
+ render: function render(text, record) {
11466
+ return (record === null || record === void 0 ? void 0 : record.groupName) ? "\u3010".concat(text, "\u3011").concat(record === null || record === void 0 ? void 0 : record.groupName) : "";
11467
+ },
11468
+ width: 100
11461
11469
  }, {
11462
11470
  title: '所属销售渠道',
11463
11471
  dataIndex: 'channelName',
@@ -11479,7 +11487,7 @@ function commonFun(type, prefixUrl, parentProps) {
11479
11487
  }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
11480
11488
  title: '状态',
11481
11489
  dataIndex: 'isEnable',
11482
- defaultSort: 7,
11490
+ defaultSort: 8,
11483
11491
  render: function render(text) {
11484
11492
  return getDictionaryTextByValue$1('SC00001', text);
11485
11493
  }
package/dist/index.js CHANGED
@@ -11481,6 +11481,14 @@ function commonFun(type, prefixUrl, parentProps) {
11481
11481
  render: function render(text) {
11482
11482
  return getDictionaryTextByValue$1('SC00004', text);
11483
11483
  }
11484
+ }, {
11485
+ title: '运营组名称',
11486
+ dataIndex: 'groupCode',
11487
+ defaultSort: 7,
11488
+ render: function render(text, record) {
11489
+ return (record === null || record === void 0 ? void 0 : record.groupName) ? "\u3010".concat(text, "\u3011").concat(record === null || record === void 0 ? void 0 : record.groupName) : "";
11490
+ },
11491
+ width: 100
11484
11492
  }, {
11485
11493
  title: '所属销售渠道',
11486
11494
  dataIndex: 'channelName',
@@ -11502,7 +11510,7 @@ function commonFun(type, prefixUrl, parentProps) {
11502
11510
  }].concat(_toConsumableArray((modalTableBusProps === null || modalTableBusProps === void 0 ? void 0 : modalTableBusProps.needStatusSearch) ? [{
11503
11511
  title: '状态',
11504
11512
  dataIndex: 'isEnable',
11505
- defaultSort: 7,
11513
+ defaultSort: 8,
11506
11514
  render: function render(text) {
11507
11515
  return getDictionaryTextByValue$1('SC00001', text);
11508
11516
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bit-sun/business-component",
3
- "version": "4.2.0-alpha.6.5",
3
+ "version": "4.2.0-alpha.6.7",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -1302,6 +1302,13 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1302
1302
  defaultSort: 3,
1303
1303
  render: (text: number) => getDictionaryTextByValue('SC00004', text),
1304
1304
  },
1305
+ {
1306
+ title: '运营组名称',
1307
+ dataIndex: 'groupCode',
1308
+ defaultSort: 7,
1309
+ render: (text: any, record) => record?.groupName ? `【${text}】${record?.groupName}` : "",
1310
+ width: 100,
1311
+ },
1305
1312
  {
1306
1313
  title: '所属销售渠道',
1307
1314
  dataIndex: 'channelName',
@@ -1324,7 +1331,7 @@ export function commonFun (type?: string, prefixUrl: any, parentProps?:any) {
1324
1331
  ...(modalTableBusProps?.needStatusSearch?[{
1325
1332
  title: '状态',
1326
1333
  dataIndex: 'isEnable',
1327
- defaultSort: 7,
1334
+ defaultSort: 8,
1328
1335
  render: (text: number) => getDictionaryTextByValue('SC00001', text),
1329
1336
  }]:[]),
1330
1337
  ],