@zgfe/modules-settings 2.0.0-zhongyuan.8 → 2.1.0-zhongyuan.0

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.
Files changed (37) hide show
  1. package/es/constants/api.d.ts +9 -0
  2. package/es/constants/api.js +15 -0
  3. package/es/modules/companySetting/application/index.d.ts +13 -0
  4. package/es/modules/companySetting/application/index.js +271 -98
  5. package/es/modules/companySetting/application/index.less +144 -126
  6. package/es/modules/companySetting/user/index.js +7 -0
  7. package/es/modules/companySetting/user/index.less +363 -363
  8. package/es/modules/companySetting/user/invite.js +19 -0
  9. package/es/modules/createDemand/constants.d.ts +15 -2
  10. package/es/modules/createDemand/constants.js +57 -4
  11. package/es/modules/createDemand/index.d.ts +0 -1
  12. package/es/modules/createDemand/index.js +790 -177
  13. package/es/modules/createDemand/styles/index.less +403 -277
  14. package/es/modules/demandManage/index.js +175 -163
  15. package/es/modules/demandManage/styles/index.less +155 -210
  16. package/es/modules/messageList/index.d.ts +1 -1
  17. package/es/modules/messageList/index.js +6 -6
  18. package/es/modules/personalSetting/demo/index.d.ts +3 -0
  19. package/es/modules/personalSetting/demo/index.js +12 -0
  20. package/es/modules/personalSetting/index.js +11 -1
  21. package/es/modules/personalSetting/info/index.js +23 -5
  22. package/es/modules/pointMap/createMetaDrawer.d.ts +5 -0
  23. package/es/modules/pointMap/createMetaDrawer.js +656 -0
  24. package/es/modules/pointMap/pageInfo.js +358 -172
  25. package/es/modules/pointMap/record.d.ts +7 -0
  26. package/es/modules/pointMap/record.js +521 -0
  27. package/es/modules/pointMap/styles/index.less +152 -38
  28. package/es/modules/pointMap/styles/pageInfo.less +426 -244
  29. package/es/modules/pointMap/styles/tree.css +145 -145
  30. package/es/modules/pointMap/styles/tree.less +149 -149
  31. package/es/modules/pointMap/tree.js +1 -0
  32. package/es/modules/pointMap/types.d.ts +88 -0
  33. package/es/modules/pointMap/types.js +1 -0
  34. package/es/modules/systemSetting/index.css +161 -161
  35. package/es/modules/systemSetting/index.less +169 -169
  36. package/es/types/personal.d.ts +1 -0
  37. package/package.json +2 -2
@@ -315,6 +315,25 @@ var UserGroup = function UserGroup(props) {
315
315
  },
316
316
  maxLength: 10,
317
317
  placeholder: '请输入姓名'
318
+ })), /*#__PURE__*/React.createElement(Form.Item, {
319
+ name: 'telphone',
320
+ label: "\u624B\u673A\u53F7",
321
+ rules: [{
322
+ required: true,
323
+ message: '请输入手机号'
324
+ }, {
325
+ pattern: /^[0-9]{11}$/,
326
+ message: '请输入正确的手机号'
327
+ }]
328
+ }, /*#__PURE__*/React.createElement(Input, {
329
+ onBlur: function onBlur(event) {
330
+ var _event$target2;
331
+ form.setFieldsValue({
332
+ telphone: event === null || event === void 0 ? void 0 : (_event$target2 = event.target) === null || _event$target2 === void 0 ? void 0 : _event$target2.value
333
+ });
334
+ },
335
+ maxLength: 11,
336
+ placeholder: '请输入手机号'
318
337
  })), /*#__PURE__*/React.createElement(Form.Item, {
319
338
  name: 'roleIds',
320
339
  label: "\u89D2\u8272",
@@ -1,5 +1,18 @@
1
1
  import { ColumnsType } from 'antd/es/table/interface';
2
- declare const columnsEvent: (gotoPage?: Function, isControl?: boolean) => ColumnsType<{
2
+ declare const columnsEvent: (gotoPage?: Function, isControl?: boolean, getPointMap?: Function) => ColumnsType<{
3
3
  pageId: number;
4
4
  }>;
5
- export { columnsEvent };
5
+ declare const demandTabList: ({
6
+ label: string;
7
+ value: number;
8
+ key: string;
9
+ color: string;
10
+ buttonName: string;
11
+ } | {
12
+ label: string;
13
+ value: number;
14
+ key: string;
15
+ color: string;
16
+ buttonName?: undefined;
17
+ })[];
18
+ export { columnsEvent, demandTabList };
@@ -8,7 +8,7 @@ import { IconFont } from '@zgfe/business-lib';
8
8
  import { Image } from 'antd';
9
9
  import React from 'react';
10
10
  var classPrefix = 'system-setting-create-demand';
11
- var columnsEvent = function columnsEvent(gotoPage, isControl) {
11
+ var columnsEvent = function columnsEvent(gotoPage, isControl, getPointMap) {
12
12
  return [{
13
13
  title: '页面名称',
14
14
  dataIndex: 'pageName',
@@ -51,10 +51,10 @@ var columnsEvent = function columnsEvent(gotoPage, isControl) {
51
51
  dataIndex: 'eventName',
52
52
  width: 153,
53
53
  ellipsis: true,
54
- render: function render(eventName) {
54
+ render: function render(eventName, data) {
55
55
  return /*#__PURE__*/React.createElement("a", {
56
56
  onClick: function onClick() {
57
- return gotoPage && gotoPage('event', eventName);
57
+ return getPointMap && getPointMap(data);
58
58
  }
59
59
  }, eventName);
60
60
  }
@@ -97,4 +97,57 @@ var columnsEvent = function columnsEvent(gotoPage, isControl) {
97
97
  }
98
98
  }]);
99
99
  };
100
- export { columnsEvent };
100
+ var demandTabList = [{
101
+ label: '待设计',
102
+ value: 1,
103
+ key: 'nodename1',
104
+ color: '#fda145',
105
+ buttonName: '开始设计'
106
+ }, {
107
+ label: '设计',
108
+ value: 2,
109
+ key: 'nodename2',
110
+ color: '#fda145',
111
+ buttonName: '设计完成'
112
+ }, {
113
+ label: '审核1',
114
+ value: 3,
115
+ key: 'nodename3',
116
+ color: '#fb5547',
117
+ buttonName: '审核通过'
118
+ }, {
119
+ label: '审核2',
120
+ value: 4,
121
+ key: 'nodename4',
122
+ color: '#fb5547',
123
+ buttonName: '审核通过'
124
+ }, {
125
+ label: '开发',
126
+ value: 5,
127
+ key: 'nodename5',
128
+ color: '#165dff',
129
+ buttonName: '开发完成'
130
+ }, {
131
+ label: '测试',
132
+ value: 6,
133
+ key: 'nodename6',
134
+ color: '#165dff',
135
+ buttonName: '测试完成'
136
+ }, {
137
+ label: '已完成',
138
+ value: 101,
139
+ key: 'finishedSum',
140
+ color: '#2cbe54',
141
+ buttonName: '批量上线'
142
+ }, {
143
+ label: '已关闭',
144
+ value: 102,
145
+ key: 'closedSum',
146
+ color: '#cccfd5'
147
+ }, {
148
+ label: '已超时',
149
+ value: 103,
150
+ key: 'overTimeSum',
151
+ color: '#fda145'
152
+ }];
153
+ export { columnsEvent, demandTabList };
@@ -3,7 +3,6 @@ import './styles/index.less';
3
3
  declare const CreateDemand: React.FC<{
4
4
  demandId?: number;
5
5
  data?: any;
6
- isRead?: boolean;
7
6
  saveObj?: any;
8
7
  setSaveObj?: Function;
9
8
  setIsShowSelectList?: Function;