@zgfe/modules-dm 1.0.56-zhongyuan.39 → 1.0.56-zhongyuan.41

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.
@@ -365,6 +365,9 @@ var CreateMeta = function CreateMeta(props) {
365
365
  }, "\u5220\u9664");
366
366
  }
367
367
  }];
368
+ var onChangeEvent = function onChangeEvent(event) {
369
+ console.log(event, 'event');
370
+ };
368
371
  var _useState15 = useState(''),
369
372
  _useState16 = _slicedToArray(_useState15, 2),
370
373
  scrollY = _useState16[0],
@@ -18,7 +18,6 @@ import apis from '../../../constants/api';
18
18
  import { getAppID, getTableScroll } from '../../../utils';
19
19
  import '../styles/index.less';
20
20
  var classPrefix = 'data-manage';
21
- var getPanel = function getPanel() {};
22
21
  var panelList = function panelList(props) {
23
22
  var _useContext = useContext(BizGlobalDataContext),
24
23
  currentApp = _useContext.currentApp,
@@ -33,9 +32,19 @@ var panelList = function panelList(props) {
33
32
  eventId = _useState4[0];
34
33
  // 表格列
35
34
  var columns = [{
35
+ title: '序号',
36
+ dataIndex: 'index',
37
+ key: 'index',
38
+ width: 64,
39
+ sorter: function sorter(a, b) {
40
+ return a.index - b.index;
41
+ },
42
+ render: function render(text) {
43
+ return /*#__PURE__*/React.createElement("span", null, text + 1);
44
+ }
45
+ }, {
36
46
  title: '看板名称',
37
47
  dataIndex: 'name',
38
- fixed: 'left',
39
48
  width: 200,
40
49
  render: function render(text) {
41
50
  return /*#__PURE__*/React.createElement(Tooltip, {
@@ -110,7 +119,8 @@ var panelList = function panelList(props) {
110
119
  bar: '柱形图',
111
120
  pie: '饼图',
112
121
  number: '数值',
113
- grid: '表格'
122
+ grid: '表格',
123
+ funnelBar: '漏斗图'
114
124
  };
115
125
  //查询看板列表
116
126
  var eventCiteEvent = function eventCiteEvent() {
@@ -123,14 +133,15 @@ var panelList = function panelList(props) {
123
133
  }
124
134
  }).then(function (res) {
125
135
  if (res.code == '100000' && res.data) {
126
- var data = res.data.map(function (res) {
136
+ var data = res.data.map(function (res, index) {
127
137
  var list = res.chartType.split(',');
128
138
  var text = '';
129
139
  list.map(function (item) {
130
140
  text += chartTypeName[item] + ',';
131
141
  });
132
142
  return _objectSpread(_objectSpread({}, res), {}, {
133
- chartType: text.slice(0, text.length - 1)
143
+ chartType: text.slice(0, text.length - 1),
144
+ index: index
134
145
  });
135
146
  });
136
147
  setUserAttrData(data || []);
@@ -966,7 +966,7 @@ var TablePlus = function TablePlus(props) {
966
966
  title: '操作',
967
967
  dataIndex: 'set',
968
968
  key: 'set',
969
- width: 110,
969
+ width: 150,
970
970
  fixed: 'right',
971
971
  render: function render(_, record) {
972
972
  if (record.groupId) {
@@ -1266,7 +1266,7 @@ var TablePlus = function TablePlus(props) {
1266
1266
  }
1267
1267
  })), /*#__PURE__*/React.createElement(Drawer, {
1268
1268
  className: "".concat(classPrefix, "-drawer"),
1269
- width: '50%',
1269
+ width: '65%',
1270
1270
  title: /*#__PURE__*/React.createElement("div", null, "\u770B\u677F\u5F15\u7528\u6B21\u6570"),
1271
1271
  placement: "right",
1272
1272
  destroyOnClose: true,