@zgfe/modules-dm 1.0.56-zhongyuan.13 → 1.0.56-zhongyuan.15

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.
@@ -749,30 +749,22 @@ var TablePlus = function TablePlus(props) {
749
749
  key: 'platformStr',
750
750
  width: 260,
751
751
  render: function render(text, record) {
752
- if (text) {
753
- return /*#__PURE__*/React.createElement("div", {
754
- className: "event_attrs"
755
- }, text.split(',').map(function (item, index) {
756
- return /*#__PURE__*/React.createElement(Tag, {
757
- key: index
758
- }, maidianList.filter(function (obj) {
759
- return obj.value == item;
760
- })[0].label);
761
- }), /*#__PURE__*/React.createElement(IconFont, {
762
- type: "bianji1",
763
- onClick: function onClick() {
764
- if (!authority[1000003]) {
765
- message.error('无修改权限');
766
- return;
767
- }
768
- setIsMaidianModal(true);
769
- setCurrentMaidian(text.split(','));
770
- setCurrentRow(record);
771
- }
772
- }));
773
- } else {
774
- return text;
775
- }
752
+ return /*#__PURE__*/React.createElement("div", {
753
+ className: "event_attrs"
754
+ }, text && text.split(',').map(function (item, index) {
755
+ return /*#__PURE__*/React.createElement(Tag, {
756
+ key: index
757
+ }, maidianList.filter(function (obj) {
758
+ return obj.value == item;
759
+ })[0].label);
760
+ }), /*#__PURE__*/React.createElement(IconFont, {
761
+ type: "bianji1",
762
+ onClick: function onClick() {
763
+ setIsMaidianModal(true);
764
+ text && setCurrentMaidian(text.split(','));
765
+ setCurrentRow(record);
766
+ }
767
+ }));
776
768
  }
777
769
  }, {
778
770
  title: '末次上报时间',
@@ -178,16 +178,19 @@
178
178
  .mapSetting .ant-dropdown-trigger.biz-select-handle.biz-condition-item-single-select {
179
179
  position: relative;
180
180
  background-color: transparent;
181
+ pointer-events: none;
181
182
  }
182
183
  .mapSetting .ant-dropdown-trigger.biz-select-handle.biz-condition-item-single-select::after {
183
184
  position: absolute;
184
185
  top: 0px;
185
- left: 0;
186
+ left: -10px;
186
187
  display: inline-block;
187
- width: 100%;
188
+ width: 120%;
189
+ height: 112%;
188
190
  padding-top: 8px;
189
191
  text-align: center;
190
192
  vertical-align: middle;
191
193
  background-color: white;
192
194
  content: '是';
195
+ border-radius: 4px;
193
196
  }
@@ -1,210 +1,213 @@
1
- .maidianMapIndex {
2
- height: 100%;
3
- .info-upload-tip {
4
- color: var(--io-N4-, #9aa1a9);
5
- }
6
- }
7
- .mapSetting {
8
- .ant-input[disabled] {
9
- background-color: #fafafb !important;
10
- }
11
- &_search {
12
- display: grid;
13
- grid-template-columns: 1fr 100px;
14
- justify-content: space-between;
15
- margin-bottom: 16px;
16
- &_input {
17
- width: 320px;
18
- margin: 0px 10px 0px 0px;
19
- }
20
- }
21
- .ant-page-header {
22
- padding-top: 0px;
23
- padding-left: 0px;
24
- }
25
- &_addMap {
26
- &_tip {
27
- padding: 0px 0px 0px 16px;
28
- color: #67727f;
29
- line-height: 44px;
30
- background: #f2f3f4;
31
- }
32
- &_propTitle {
33
- padding: 0px 0px 0px 16px;
34
- color: #67727f;
35
- color: #354354;
36
- font-size: 14px;
37
- line-height: 32px;
38
- background: #f2f3f4;
39
- }
40
- &_propTitleLeft {
41
- display: inline-block;
42
- width: 58%;
43
- text-align: left;
44
- }
45
- &_propTitleRight {
46
- display: inline-block;
47
- width: 42%;
48
- text-align: left;
49
- }
50
- &_propContent {
51
- padding: 0px 0px 0px 0px;
52
- color: #67727f;
53
- color: #354354;
54
- font-size: 14px;
55
- line-height: 32px;
56
- }
57
- &_propContentLeft {
58
- display: inline-block;
59
- width: 50%;
60
- text-align: left;
61
- }
62
- &_propContentRight {
63
- display: inline-block;
64
- width: 40%;
65
- text-align: left;
66
- }
67
- &_propContentC {
68
- display: inline-block;
69
- width: 10%;
70
- text-align: center;
71
- }
72
- &_propValueList {
73
- display: flex;
74
- align-items: center;
75
- width: 100%;
76
- margin-top: 8px;
77
- .ant-form-item {
78
- margin: 0px;
79
- }
80
- }
81
- &_propValueflag {
82
- display: inline-block;
83
- margin: 0px 8px;
84
- }
85
- &_content {
86
- display: grid;
87
- grid-template-columns: 1fr 30px 1fr;
88
- }
89
- }
90
- &_footer {
91
- display: flex;
92
- align-items: center;
93
- justify-content: flex-end;
94
- }
95
- &_closeIco {
96
- margin: '0px 8px ';
97
- color: '#9aa1a9';
98
- vertical-align: 'middle';
99
- &:hover {
100
- color: red;
101
- }
102
- }
103
- }
104
-
105
- .leftTreePage {
106
- display: flex;
107
- flex-direction: column;
108
- background-color: white;
109
- &-top {
110
- flex: 1;
111
- }
112
- &-tree {
113
- // max-height: 100%;
114
- }
115
- &_selectMap {
116
- display: grid;
117
- grid-gap: 10px;
118
- grid-template-columns: 75px 1fr 60px;
119
- align-items: center;
120
- margin: 0px 0px 24px;
121
- }
122
- &_selectMap_setting {
123
- margin-left: 10px;
124
- color: #165dff;
125
- cursor: pointer;
126
- }
127
- &_searchBtn {
128
- width: 100%;
129
- padding: 6px 0px;
130
- background-color: transparent;
131
- border: 1px solid #ddd;
132
- cursor: pointer;
133
- }
134
- &_searchBtn:hover {
135
- color: #165dff;
136
- border: 1px solid #165dff;
137
- }
138
- }
139
-
140
- .dataMapDetail_echartDiv {
141
- display: grid;
142
- flex-wrap: wrap;
143
- grid-gap: 20px;
144
- grid-template-columns: repeat(2, 1fr);
145
- align-items: center;
146
- margin-top: 24px;
147
- &_item {
148
- display: grid;
149
- grid-template-columns: 1fr 60px;
150
- align-items: center;
151
- padding: 20px;
152
- background-color: #fafafb;
153
- border: 1px solid #eee;
154
- }
155
- &_leftText {
156
- display: inline-block;
157
- margin-left: 8px;
158
- color: #354354;
159
- }
160
- &_view {
161
- color: #165dff;
162
- }
163
- }
164
- .biz-attr-select-handle {
165
- width: 100%;
166
- max-width: 100%;
167
- margin-bottom: 2px;
168
- padding: 0;
169
- }
170
- .empty {
171
- height: 100%;
172
- color: #67727f;
173
- text-align: center;
174
- .empty-img {
175
- display: block;
176
- width: 200px;
177
- margin: 0px auto;
178
- }
179
- }
180
-
181
- .mapSetting_addMap_form {
182
- .biz-attr-condition-group-handle {
183
- display: none;
184
- }
185
- }
186
- .ziBackground {
187
- .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
188
- padding: 2px 3px;
189
- background-color: #bad8ff7d;
190
- }
191
- }
192
-
193
- .mapSetting {
194
- .ant-dropdown-trigger.biz-select-handle.biz-condition-item-single-select {
195
- position: relative;
196
- background-color: transparent;
197
- &::after {
198
- position: absolute;
199
- top: 0px;
200
- left: 0;
201
- display: inline-block;
202
- width: 100%;
203
- padding-top: 8px;
204
- text-align: center;
205
- vertical-align: middle;
206
- background-color: white;
207
- content: '是';
208
- }
209
- }
210
- }
1
+ .maidianMapIndex {
2
+ height: 100%;
3
+ .info-upload-tip {
4
+ color: var(--io-N4-, #9aa1a9);
5
+ }
6
+ }
7
+ .mapSetting {
8
+ .ant-input[disabled] {
9
+ background-color: #fafafb !important;
10
+ }
11
+ &_search {
12
+ display: grid;
13
+ grid-template-columns: 1fr 100px;
14
+ justify-content: space-between;
15
+ margin-bottom: 16px;
16
+ &_input {
17
+ width: 320px;
18
+ margin: 0px 10px 0px 0px;
19
+ }
20
+ }
21
+ .ant-page-header {
22
+ padding-top: 0px;
23
+ padding-left: 0px;
24
+ }
25
+ &_addMap {
26
+ &_tip {
27
+ padding: 0px 0px 0px 16px;
28
+ color: #67727f;
29
+ line-height: 44px;
30
+ background: #f2f3f4;
31
+ }
32
+ &_propTitle {
33
+ padding: 0px 0px 0px 16px;
34
+ color: #67727f;
35
+ color: #354354;
36
+ font-size: 14px;
37
+ line-height: 32px;
38
+ background: #f2f3f4;
39
+ }
40
+ &_propTitleLeft {
41
+ display: inline-block;
42
+ width: 58%;
43
+ text-align: left;
44
+ }
45
+ &_propTitleRight {
46
+ display: inline-block;
47
+ width: 42%;
48
+ text-align: left;
49
+ }
50
+ &_propContent {
51
+ padding: 0px 0px 0px 0px;
52
+ color: #67727f;
53
+ color: #354354;
54
+ font-size: 14px;
55
+ line-height: 32px;
56
+ }
57
+ &_propContentLeft {
58
+ display: inline-block;
59
+ width: 50%;
60
+ text-align: left;
61
+ }
62
+ &_propContentRight {
63
+ display: inline-block;
64
+ width: 40%;
65
+ text-align: left;
66
+ }
67
+ &_propContentC {
68
+ display: inline-block;
69
+ width: 10%;
70
+ text-align: center;
71
+ }
72
+ &_propValueList {
73
+ display: flex;
74
+ align-items: center;
75
+ width: 100%;
76
+ margin-top: 8px;
77
+ .ant-form-item {
78
+ margin: 0px;
79
+ }
80
+ }
81
+ &_propValueflag {
82
+ display: inline-block;
83
+ margin: 0px 8px;
84
+ }
85
+ &_content {
86
+ display: grid;
87
+ grid-template-columns: 1fr 30px 1fr;
88
+ }
89
+ }
90
+ &_footer {
91
+ display: flex;
92
+ align-items: center;
93
+ justify-content: flex-end;
94
+ }
95
+ &_closeIco {
96
+ margin: '0px 8px ';
97
+ color: '#9aa1a9';
98
+ vertical-align: 'middle';
99
+ &:hover {
100
+ color: red;
101
+ }
102
+ }
103
+ }
104
+
105
+ .leftTreePage {
106
+ display: flex;
107
+ flex-direction: column;
108
+ background-color: white;
109
+ &-top {
110
+ flex: 1;
111
+ }
112
+ &-tree {
113
+ // max-height: 100%;
114
+ }
115
+ &_selectMap {
116
+ display: grid;
117
+ grid-gap: 10px;
118
+ grid-template-columns: 75px 1fr 60px;
119
+ align-items: center;
120
+ margin: 0px 0px 24px;
121
+ }
122
+ &_selectMap_setting {
123
+ margin-left: 10px;
124
+ color: #165dff;
125
+ cursor: pointer;
126
+ }
127
+ &_searchBtn {
128
+ width: 100%;
129
+ padding: 6px 0px;
130
+ background-color: transparent;
131
+ border: 1px solid #ddd;
132
+ cursor: pointer;
133
+ }
134
+ &_searchBtn:hover {
135
+ color: #165dff;
136
+ border: 1px solid #165dff;
137
+ }
138
+ }
139
+
140
+ .dataMapDetail_echartDiv {
141
+ display: grid;
142
+ flex-wrap: wrap;
143
+ grid-gap: 20px;
144
+ grid-template-columns: repeat(2, 1fr);
145
+ align-items: center;
146
+ margin-top: 24px;
147
+ &_item {
148
+ display: grid;
149
+ grid-template-columns: 1fr 60px;
150
+ align-items: center;
151
+ padding: 20px;
152
+ background-color: #fafafb;
153
+ border: 1px solid #eee;
154
+ }
155
+ &_leftText {
156
+ display: inline-block;
157
+ margin-left: 8px;
158
+ color: #354354;
159
+ }
160
+ &_view {
161
+ color: #165dff;
162
+ }
163
+ }
164
+ .biz-attr-select-handle {
165
+ width: 100%;
166
+ max-width: 100%;
167
+ margin-bottom: 2px;
168
+ padding: 0;
169
+ }
170
+ .empty {
171
+ height: 100%;
172
+ color: #67727f;
173
+ text-align: center;
174
+ .empty-img {
175
+ display: block;
176
+ width: 200px;
177
+ margin: 0px auto;
178
+ }
179
+ }
180
+
181
+ .mapSetting_addMap_form {
182
+ .biz-attr-condition-group-handle {
183
+ display: none;
184
+ }
185
+ }
186
+ .ziBackground {
187
+ .ant-tree .ant-tree-node-content-wrapper.ant-tree-node-selected {
188
+ padding: 2px 3px;
189
+ background-color: #bad8ff7d;
190
+ }
191
+ }
192
+
193
+ .mapSetting {
194
+ .ant-dropdown-trigger.biz-select-handle.biz-condition-item-single-select {
195
+ position: relative;
196
+ background-color: transparent;
197
+ pointer-events: none;
198
+ &::after {
199
+ position: absolute;
200
+ top: 0px;
201
+ left: -10px;
202
+ display: inline-block;
203
+ width: 120%;
204
+ height: 112%;
205
+ padding-top: 8px;
206
+ text-align: center;
207
+ vertical-align: middle;
208
+ background-color: white;
209
+ border-radius: 4px;
210
+ content: '是';
211
+ }
212
+ }
213
+ }
@@ -73,6 +73,11 @@ var MapSetting = function MapSetting(props) {
73
73
  return /*#__PURE__*/React.createElement(Space, {
74
74
  size: "middle"
75
75
  }, /*#__PURE__*/React.createElement("a", {
76
+ onClick: function onClick() {
77
+ currentMap.current = record;
78
+ setOpenMapView(true);
79
+ }
80
+ }, "\u67E5\u770B"), /*#__PURE__*/React.createElement("a", {
76
81
  onClick: function onClick() {
77
82
  currentMap.current = record;
78
83
  UseModal({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.56-zhongyuan.13",
3
+ "version": "1.0.56-zhongyuan.15",
4
4
  "license": "ISC",
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",
@@ -57,7 +57,7 @@
57
57
  "umi-request": "^1.4.0",
58
58
  "yorkie": "^2.0.0"
59
59
  },
60
- "gitHead": "d2dfa3c7a8f86fea47c792a28e9597a5801e4551",
60
+ "gitHead": "ad148dbfe4f04a198584fcde6056119e5196cdf4",
61
61
  "gitHooks": {
62
62
  "pre-commit": "lint-staged"
63
63
  }