fmui-base 2.1.65 → 2.1.67
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/README.md +2 -0
- package/lib/process_info/FlowChart.js +6 -0
- package/lib/selectMember/select.js +1 -1
- package/package.json +1 -1
- package/lib/css/processList.css +0 -8
- package/lib/css/react_grid.css +0 -1013
- package/lib/react_grid/react_grid copy 1.js +0 -1670
- package/lib/react_grid/react_grid copy 2.js +0 -722
- package/lib/react_grid/react_grid copy 3.js +0 -1502
- package/lib/react_grid/react_grid copy 4.js +0 -1421
- package/lib/react_grid/react_grid copy 5.js +0 -1670
- package/lib/react_grid/react_grid copy.js +0 -1811
|
@@ -1,1502 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = undefined;
|
|
7
|
-
|
|
8
|
-
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
9
|
-
|
|
10
|
-
var _react = require('react');
|
|
11
|
-
|
|
12
|
-
var _react2 = _interopRequireDefault(_react);
|
|
13
|
-
|
|
14
|
-
var _reactGridLayout = require('react-grid-layout');
|
|
15
|
-
|
|
16
|
-
var _reactGridLayout2 = _interopRequireDefault(_reactGridLayout);
|
|
17
|
-
|
|
18
|
-
var _Badge = require('saltui/lib/Badge');
|
|
19
|
-
|
|
20
|
-
var _Badge2 = _interopRequireDefault(_Badge);
|
|
21
|
-
|
|
22
|
-
var _Grid = require('saltui/lib/Grid');
|
|
23
|
-
|
|
24
|
-
var _Grid2 = _interopRequireDefault(_Grid);
|
|
25
|
-
|
|
26
|
-
var _Boxs = require('saltui/lib/Boxs');
|
|
27
|
-
|
|
28
|
-
var _Boxs2 = _interopRequireDefault(_Boxs);
|
|
29
|
-
|
|
30
|
-
var _TextField = require('saltui/lib/TextField');
|
|
31
|
-
|
|
32
|
-
var _TextField2 = _interopRequireDefault(_TextField);
|
|
33
|
-
|
|
34
|
-
var _Tab = require('saltui/lib/Tab');
|
|
35
|
-
|
|
36
|
-
var _Tab2 = _interopRequireDefault(_Tab);
|
|
37
|
-
|
|
38
|
-
var _Carousel = require('saltui/lib/Carousel');
|
|
39
|
-
|
|
40
|
-
var _Carousel2 = _interopRequireDefault(_Carousel);
|
|
41
|
-
|
|
42
|
-
var _Button = require('saltui/lib/Button');
|
|
43
|
-
|
|
44
|
-
var _Button2 = _interopRequireDefault(_Button);
|
|
45
|
-
|
|
46
|
-
require('react-grid-layout/css/styles.css');
|
|
47
|
-
|
|
48
|
-
require('react-resizable/css/styles.css');
|
|
49
|
-
|
|
50
|
-
require('./react_grid.less');
|
|
51
|
-
|
|
52
|
-
var _db = require('../db/db');
|
|
53
|
-
|
|
54
|
-
var _db2 = _interopRequireDefault(_db);
|
|
55
|
-
|
|
56
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
57
|
-
|
|
58
|
-
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
59
|
-
|
|
60
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
61
|
-
|
|
62
|
-
function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
63
|
-
|
|
64
|
-
function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
65
|
-
|
|
66
|
-
// import variables from '@/utils/variables.js';
|
|
67
|
-
// const projectMenuUrl = variables.projectMenuUrl;
|
|
68
|
-
var HBox = _Boxs2.default.HBox,
|
|
69
|
-
Box = _Boxs2.default.Box,
|
|
70
|
-
VBox = _Boxs2.default.VBox;
|
|
71
|
-
var RightAddon = _TextField2.default.RightAddon;
|
|
72
|
-
|
|
73
|
-
var MyGrid = function (_React$Component) {
|
|
74
|
-
_inherits(MyGrid, _React$Component);
|
|
75
|
-
|
|
76
|
-
function MyGrid(props) {
|
|
77
|
-
_classCallCheck(this, MyGrid);
|
|
78
|
-
|
|
79
|
-
var _this = _possibleConstructorReturn(this, (MyGrid.__proto__ || Object.getPrototypeOf(MyGrid)).call(this, props));
|
|
80
|
-
|
|
81
|
-
_this.initPage = function () {
|
|
82
|
-
// 部件的初始化信息
|
|
83
|
-
_db2.default.reactGrid.getPortalPage({ id: '' }).then(function (res) {
|
|
84
|
-
console.log('====================================');
|
|
85
|
-
console.log(res, 'resresresresres');
|
|
86
|
-
console.log('====================================');
|
|
87
|
-
|
|
88
|
-
_this.setState({
|
|
89
|
-
data: res
|
|
90
|
-
});
|
|
91
|
-
res.map(function (item) {
|
|
92
|
-
if (item.portletCode !== 'banner') {
|
|
93
|
-
var params = {
|
|
94
|
-
code: item.portletCode,
|
|
95
|
-
ppId: item.id
|
|
96
|
-
// params.id = item.id;
|
|
97
|
-
// params.code = item.portletCode;
|
|
98
|
-
};_db2.default.reactGrid.getComponentInfoListAll(params).then(function (res) {
|
|
99
|
-
console.log(res, '????????????????????????');
|
|
100
|
-
_this.setState(_defineProperty({}, item.portletCode + '_' + item.id, res), function () {
|
|
101
|
-
console.log(_this.state, '///////////////////////////');
|
|
102
|
-
});
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
});
|
|
107
|
-
// DB.reactGrid.getComponentInfoListAll({code:'cyyy',id:'4028858d8def6a18018def7309170016'}).then((res) => {
|
|
108
|
-
// console.log(res,'????????????????????????');
|
|
109
|
-
// })
|
|
110
|
-
|
|
111
|
-
// DB.reactGrid.getNewHomePageTodoData().then((res1) => {
|
|
112
|
-
// console.log('====================================');
|
|
113
|
-
// console.log(res1, 'resresresresres111111111111111111111111');
|
|
114
|
-
// console.log('====================================');
|
|
115
|
-
// let bannerPicPath = res1.bannerPicPath;
|
|
116
|
-
// let showMobileComponent = res1.showMobileComponent;
|
|
117
|
-
// // 是否显示常用应用
|
|
118
|
-
// if (showMobileComponent.indexOf("cyyy") > -1) {
|
|
119
|
-
// // 获取常用应用
|
|
120
|
-
// this.getAppOftenList();
|
|
121
|
-
// this.setState({ showcyyy: true });
|
|
122
|
-
// // 部件list无需常用应用
|
|
123
|
-
// componentList = componentList.filter(item => {
|
|
124
|
-
// return item != "cyyy";
|
|
125
|
-
// })
|
|
126
|
-
// }
|
|
127
|
-
// this.setState({ componentList: componentList });
|
|
128
|
-
// let todoList = [];
|
|
129
|
-
// todoList = ["banshi", "zixun", "yingyong", "daiban", "wode"];
|
|
130
|
-
// this.setState({
|
|
131
|
-
// todoList: todoList,
|
|
132
|
-
// // pageImage: pageImage,
|
|
133
|
-
// bannerPicPath: bannerPicPath
|
|
134
|
-
// });
|
|
135
|
-
// })
|
|
136
|
-
|
|
137
|
-
// DB.reactGrid.getNewHomePageRemindCount().then((res3) => {
|
|
138
|
-
// console.log('====================================');
|
|
139
|
-
// console.log(res3, 'resresresresres333333333333333333333');
|
|
140
|
-
// console.log('====================================');
|
|
141
|
-
// if (res3.undo) {
|
|
142
|
-
// this.setState({
|
|
143
|
-
// undo: content.undo
|
|
144
|
-
// });
|
|
145
|
-
// }
|
|
146
|
-
// })
|
|
147
|
-
|
|
148
|
-
// DB.reactGrid.getNewHomePageCollectAppInfoList().then((result) => {
|
|
149
|
-
// this.setState({
|
|
150
|
-
// collectAppInfoList: result.data
|
|
151
|
-
// });
|
|
152
|
-
// })
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
// DB.reactGrid.getComponentInfoList_cyyy().then((result) => {
|
|
156
|
-
// console.log('====================================');
|
|
157
|
-
// console.log(result, 'resresresresres55555555555555555');
|
|
158
|
-
// console.log('====================================');
|
|
159
|
-
// this.setState({
|
|
160
|
-
// appOftenList: result.data
|
|
161
|
-
// });
|
|
162
|
-
// })
|
|
163
|
-
|
|
164
|
-
// DB.reactGrid.getComponentInfoList_bssx().then((result) => {
|
|
165
|
-
// console.log('====================================');
|
|
166
|
-
// console.log(result, 'resresresresres55555555555555555');
|
|
167
|
-
// console.log('====================================');
|
|
168
|
-
// this.setState({
|
|
169
|
-
// bssx_per: result.perList ? result.perList : [],
|
|
170
|
-
// bssx_org: result.orgList ? result.orgList : []
|
|
171
|
-
// });
|
|
172
|
-
// })
|
|
173
|
-
|
|
174
|
-
// DB.reactGrid.getComponentInfoList_jxzt().then((result) => {
|
|
175
|
-
// console.log('====================================');
|
|
176
|
-
// console.log(result, 'resresresresres666666666666666666');
|
|
177
|
-
// console.log('====================================');
|
|
178
|
-
// this.setState({
|
|
179
|
-
// jxzt: result.data
|
|
180
|
-
// });
|
|
181
|
-
// })
|
|
182
|
-
|
|
183
|
-
// DB.reactGrid.getComponentInfoList_ttxx().then((res7) => {
|
|
184
|
-
// console.log('====================================');
|
|
185
|
-
// console.log(res7, 'resresresresres77777777777777777');
|
|
186
|
-
// console.log('====================================');
|
|
187
|
-
// this.setState({
|
|
188
|
-
// ttxx: res7
|
|
189
|
-
// });
|
|
190
|
-
// })
|
|
191
|
-
|
|
192
|
-
// DB.reactGrid.getComponentInfoList_xwzx().then((res8) => {
|
|
193
|
-
// console.log('====================================');
|
|
194
|
-
// console.log(res8, 'resresresresres8888888888888888');
|
|
195
|
-
// console.log('====================================');
|
|
196
|
-
// this.setState({
|
|
197
|
-
// xwzx: res8
|
|
198
|
-
// });
|
|
199
|
-
// })
|
|
200
|
-
|
|
201
|
-
// DB.reactGrid.getComponentInfoList_gryj().then((res9) => {
|
|
202
|
-
// console.log('====================================');
|
|
203
|
-
// console.log(res9, 'resresresresres99999999999999999');
|
|
204
|
-
// console.log('====================================');
|
|
205
|
-
// this.setState({
|
|
206
|
-
// gryj: res9.data
|
|
207
|
-
// });
|
|
208
|
-
// })
|
|
209
|
-
|
|
210
|
-
// DB.reactGrid.getComponentInfoList_grrc().then((res10) => {
|
|
211
|
-
// console.log('====================================');
|
|
212
|
-
// console.log(res10, 'resresresresres101010101010101');
|
|
213
|
-
// console.log('====================================');
|
|
214
|
-
// this.setState({
|
|
215
|
-
// grrc: res10
|
|
216
|
-
// });
|
|
217
|
-
// })
|
|
218
|
-
|
|
219
|
-
// DB.reactGrid.getComponentInfoList_grhy().then((res11) => {
|
|
220
|
-
// console.log('====================================');
|
|
221
|
-
// console.log(res11, 'resresresresres11111111111111');
|
|
222
|
-
// console.log('====================================');
|
|
223
|
-
// this.setState({
|
|
224
|
-
// grhy: res11.data
|
|
225
|
-
// });
|
|
226
|
-
// })
|
|
227
|
-
};
|
|
228
|
-
|
|
229
|
-
_this.state = {
|
|
230
|
-
data: [
|
|
231
|
-
// { id: 'a', width: 12, height: 6, x: 0, y: 0 },
|
|
232
|
-
// { id: 'b', width: 12, height: 8, x: 0, y: 6 },
|
|
233
|
-
// { id: 'c', width: 12, height: 8, x: 0, y: 14 },
|
|
234
|
-
// { id: 'd', width: 12, height: 8, x: 0, y: 22 },
|
|
235
|
-
// { id: 'e', width: 12, height: 8, x: 0, y: 30 },
|
|
236
|
-
// { id: 'f', width: 12, height: 8, x: 0, y: 38 },
|
|
237
|
-
// { id: 'g', width: 12, height: 8, x: 0, y: 46 },
|
|
238
|
-
// { id: 'h', width: 12, height: 8, x: 0, y: 54 },
|
|
239
|
-
// { id: 'i', width: 12, height: 8, x: 0, y: 62 },
|
|
240
|
-
// 其他项...
|
|
241
|
-
],
|
|
242
|
-
isDraggable: false,
|
|
243
|
-
//标题样式
|
|
244
|
-
titleStatus: true,
|
|
245
|
-
titleFontFamily: '',
|
|
246
|
-
titleFontWeight: 400,
|
|
247
|
-
titleColor: '',
|
|
248
|
-
titleFontSize: '',
|
|
249
|
-
titleFontStyle: '',
|
|
250
|
-
titleBgColor: '',
|
|
251
|
-
// 部件圆角
|
|
252
|
-
borderTopLeftRadius: '10px',
|
|
253
|
-
borderTopRightRadius: '10px',
|
|
254
|
-
borderBottomLeftRadius: '10px',
|
|
255
|
-
borderBottomRightRadius: '10px',
|
|
256
|
-
// 部件边框样式
|
|
257
|
-
borderColor: '',
|
|
258
|
-
borderWidth: '',
|
|
259
|
-
// 部件内边距
|
|
260
|
-
paddingLeft: '',
|
|
261
|
-
paddingright: '',
|
|
262
|
-
paddingTop: '',
|
|
263
|
-
paddingBottom: '',
|
|
264
|
-
|
|
265
|
-
// todoList: [],//移动集成 配置提醒项信息
|
|
266
|
-
todoList: [{ name: '办事', icon: 'portal' }, { name: '资讯', icon: 'portal' }, { name: '应用', icon: 'portal' }, { name: '待办', icon: 'portal' }, { name: '我的', icon: 'portal' }],
|
|
267
|
-
// pageImage: projectMenuUrl.pageImage,
|
|
268
|
-
pageImage: '', //提醒项背景图
|
|
269
|
-
appInfoList: [], //移动集成 配置应用信息
|
|
270
|
-
bannerPicPath: '',
|
|
271
|
-
activeIndex: 2,
|
|
272
|
-
undo: 0, //待办数量
|
|
273
|
-
appOftenList: [], //常用应用
|
|
274
|
-
collectAppInfoList: [], //收藏应用
|
|
275
|
-
bssx: [], // 办事事项
|
|
276
|
-
bssx_per: [], // 办事事项_个人办事
|
|
277
|
-
bssx_org: [], // 办事事项_部门办事
|
|
278
|
-
jxzt: [], // 精选专题
|
|
279
|
-
ttxx: [], // 头条信息
|
|
280
|
-
xwzx: [], // 新闻资讯
|
|
281
|
-
gryj: [], // 个人邮件
|
|
282
|
-
grrc: [], // 个人日程
|
|
283
|
-
grrc_list: [], // 个人日程-日程信息
|
|
284
|
-
grhy: [], // 个人会议
|
|
285
|
-
showbssx: true, // 办事事项
|
|
286
|
-
showjxzt: true, // 精选专题
|
|
287
|
-
showttxx: true, // 头条信息
|
|
288
|
-
showxwzx: true, // 新闻资讯
|
|
289
|
-
showgryj: true, // 个人邮件
|
|
290
|
-
showgrrc: true, // 个人日程
|
|
291
|
-
showgrhy: true, // 个人会议
|
|
292
|
-
showcyyy: true, // 常用应用
|
|
293
|
-
initCleader: false,
|
|
294
|
-
bannerList: [],
|
|
295
|
-
showSlide: false,
|
|
296
|
-
refreshing: false, //下拉刷新
|
|
297
|
-
showMobileComponent: "", // 显示部件显示模块
|
|
298
|
-
componentList: [], // 显示部件显示模块数组
|
|
299
|
-
pageImageList: [],
|
|
300
|
-
showItem: 0,
|
|
301
|
-
searchVal: '', //顶部搜索input值
|
|
302
|
-
filterValue: { //顶部搜索分类值
|
|
303
|
-
sort: [{ text: '全部', value: 'all' }]
|
|
304
|
-
},
|
|
305
|
-
modelCode: 'all',
|
|
306
|
-
bssxPer_show: true, //办事事项_个人_是否显示
|
|
307
|
-
bssxOrg_show: true, //办事事项_个人_是否显示,
|
|
308
|
-
cyyyUsuTab_show: true, //常用应用_是否显示
|
|
309
|
-
cyyyPerTab_show: true //我的收藏_是否显示
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
};
|
|
313
|
-
return _this;
|
|
314
|
-
}
|
|
315
|
-
|
|
316
|
-
_createClass(MyGrid, [{
|
|
317
|
-
key: 'componentDidMount',
|
|
318
|
-
value: function componentDidMount() {
|
|
319
|
-
this.initPage();
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
// 遍历初始化得到的data,奖id给请求部件的内容的接口
|
|
323
|
-
// 如果有两个相同的部件,将会用id请求部件内容,接口返回的数据需要 this.setState({【id】:result.data});这样存值
|
|
324
|
-
// 取值的时候根据id取值
|
|
325
|
-
|
|
326
|
-
}, {
|
|
327
|
-
key: 'initCleader',
|
|
328
|
-
value: function initCleader(event) {
|
|
329
|
-
console.log(event, '[[[[[[[[[[[[[[[[[[[[[[[');
|
|
330
|
-
if (this.state.initCleader == false) {
|
|
331
|
-
var t = this;
|
|
332
|
-
var calendar = document.getElementById("calendar");
|
|
333
|
-
if (calendar) {
|
|
334
|
-
var cld = new CalendarMobile({
|
|
335
|
-
el: 'box',
|
|
336
|
-
value: '', // 默认为new Date();
|
|
337
|
-
type: 1,
|
|
338
|
-
parentNode: calendar,
|
|
339
|
-
// fold: false,
|
|
340
|
-
fn: function fn(obj) {
|
|
341
|
-
// 日期选择后回调
|
|
342
|
-
var YY = obj.year;
|
|
343
|
-
var MM = obj.month >= 10 ? obj.month : "0" + obj.month;
|
|
344
|
-
var DD = obj.day >= 10 ? obj.day : "0" + obj.day;
|
|
345
|
-
var Date = YY + "-" + MM + "-" + DD;
|
|
346
|
-
t.showCalendarList(Date);
|
|
347
|
-
},
|
|
348
|
-
//点击上一个月
|
|
349
|
-
prevMonth: function prevMonth(obj) {},
|
|
350
|
-
//点击下一个月
|
|
351
|
-
nextMonth: function nextMonth(obj) {},
|
|
352
|
-
calendarInit: function calendarInit(obj) {
|
|
353
|
-
var YY = obj.year;
|
|
354
|
-
var MM = obj.month >= 10 ? obj.month : "0" + obj.month;
|
|
355
|
-
var DD = obj.day >= 10 ? obj.day : "0" + obj.day;
|
|
356
|
-
var Date = YY + "-" + MM + "-" + DD;
|
|
357
|
-
t.showCalendarEvent();
|
|
358
|
-
t.showCalendarList(Date);
|
|
359
|
-
}
|
|
360
|
-
});
|
|
361
|
-
this.setState({ initCleader: true });
|
|
362
|
-
}
|
|
363
|
-
}
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
//在日历上显示日程事件(显示点)
|
|
367
|
-
|
|
368
|
-
}, {
|
|
369
|
-
key: 'showCalendarEvent',
|
|
370
|
-
value: function showCalendarEvent(dates, obj, t) {
|
|
371
|
-
var $span = $(".canChoose").find('span');
|
|
372
|
-
$span.removeClass('hasEvent');
|
|
373
|
-
var dates = this.state.grrc.dateList;
|
|
374
|
-
if (dates) {
|
|
375
|
-
for (var i = 0; i < dates.length; i++) {
|
|
376
|
-
var date = new Date(dates[i]);
|
|
377
|
-
var day = date.getDate();
|
|
378
|
-
$span.eq(parseInt(day) - 1).addClass('hasEvent');
|
|
379
|
-
}
|
|
380
|
-
}
|
|
381
|
-
}
|
|
382
|
-
//显示日程信息
|
|
383
|
-
|
|
384
|
-
}, {
|
|
385
|
-
key: 'showCalendarList',
|
|
386
|
-
value: function showCalendarList(Date) {
|
|
387
|
-
if (this.state.grrc.dataMap && this.state.grrc.dataMap[Date]) {
|
|
388
|
-
this.setState({ grrc_list: this.state.grrc.dataMap[Date] });
|
|
389
|
-
} else {
|
|
390
|
-
this.setState({ grrc_list: [] });
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
}, {
|
|
394
|
-
key: 'render',
|
|
395
|
-
value: function render() {
|
|
396
|
-
var _this2 = this;
|
|
397
|
-
|
|
398
|
-
var t = this;
|
|
399
|
-
var layout = this.state.data.map(function (item) {
|
|
400
|
-
return {
|
|
401
|
-
i: item.id,
|
|
402
|
-
x: item.positionX,
|
|
403
|
-
y: item.positionY,
|
|
404
|
-
w: item.portletWidth,
|
|
405
|
-
h: item.portletHeight,
|
|
406
|
-
static: true //禁止修改部件大小
|
|
407
|
-
};
|
|
408
|
-
});
|
|
409
|
-
|
|
410
|
-
var colNum = t.state.todoList.length > 0 ? t.state.todoList.length : 5;
|
|
411
|
-
// 控制【常用应用】显示列数
|
|
412
|
-
var colNum1 = 4;
|
|
413
|
-
|
|
414
|
-
var bssxContent_per = t.state.bssx_per.map(function (item) {
|
|
415
|
-
return _react2.default.createElement(
|
|
416
|
-
'div',
|
|
417
|
-
{ className: 'banshi-item' },
|
|
418
|
-
_react2.default.createElement(
|
|
419
|
-
'div',
|
|
420
|
-
{ className: 'title t-omit' },
|
|
421
|
-
item.name
|
|
422
|
-
),
|
|
423
|
-
_react2.default.createElement(
|
|
424
|
-
'div',
|
|
425
|
-
{ className: 'describe t-omit' },
|
|
426
|
-
item.categoryName
|
|
427
|
-
),
|
|
428
|
-
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + item.icon + ' bg' }),
|
|
429
|
-
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + item.icon + ' ic' })
|
|
430
|
-
);
|
|
431
|
-
});
|
|
432
|
-
var bssxContent_org = t.state.bssx_org.map(function (item) {
|
|
433
|
-
return _react2.default.createElement(
|
|
434
|
-
'div',
|
|
435
|
-
{ className: 'banshi-item' },
|
|
436
|
-
_react2.default.createElement(
|
|
437
|
-
'div',
|
|
438
|
-
{ className: 'title t-omit' },
|
|
439
|
-
item.name
|
|
440
|
-
),
|
|
441
|
-
_react2.default.createElement(
|
|
442
|
-
'div',
|
|
443
|
-
{ className: 'describe t-omit' },
|
|
444
|
-
item.categoryName
|
|
445
|
-
),
|
|
446
|
-
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + item.icon + ' bg' }),
|
|
447
|
-
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + item.icon + ' ic' })
|
|
448
|
-
);
|
|
449
|
-
});
|
|
450
|
-
|
|
451
|
-
var xwzxContent = t.state.xwzx.map(function (item) {
|
|
452
|
-
var infoList = item.infoList.map(function (infoItem) {
|
|
453
|
-
var imgSrc = "";
|
|
454
|
-
var imgIdList = 0;
|
|
455
|
-
if (infoItem.imgId) {
|
|
456
|
-
imgIdList = infoItem.imgId.split('|');
|
|
457
|
-
}
|
|
458
|
-
if (imgIdList.length >= 3) {
|
|
459
|
-
var imgSrc1 = context + "/api/m/plugin/attachment/mobile/viewImage?fid=" + imgIdList[0] + "&token=" + token;
|
|
460
|
-
var imgSrc2 = context + "/api/m/plugin/attachment/mobile/viewImage?fid=" + imgIdList[1] + "&token=" + token;
|
|
461
|
-
var imgSrc3 = context + "/api/m/plugin/attachment/mobile/viewImage?fid=" + imgIdList[2] + "&token=" + token;
|
|
462
|
-
return _react2.default.createElement(
|
|
463
|
-
'div',
|
|
464
|
-
{ className: 'infoList3' },
|
|
465
|
-
_react2.default.createElement(
|
|
466
|
-
'div',
|
|
467
|
-
{ className: 'infoContent' },
|
|
468
|
-
_react2.default.createElement(
|
|
469
|
-
'p',
|
|
470
|
-
null,
|
|
471
|
-
infoItem.title
|
|
472
|
-
),
|
|
473
|
-
_react2.default.createElement(
|
|
474
|
-
'div',
|
|
475
|
-
{ className: 'infoPics' },
|
|
476
|
-
_react2.default.createElement('img', { src: imgSrc1 }),
|
|
477
|
-
_react2.default.createElement('img', { src: imgSrc2 }),
|
|
478
|
-
_react2.default.createElement('img', { src: imgSrc3 })
|
|
479
|
-
),
|
|
480
|
-
_react2.default.createElement(
|
|
481
|
-
'p',
|
|
482
|
-
{ className: 't-FS14' },
|
|
483
|
-
_react2.default.createElement('i', { className: infoItem.isTop == "1" ? "iconfont icon-istop t-FS14 t-FCddblue t-MR6" : "t-DN" }),
|
|
484
|
-
_react2.default.createElement('img', { className: infoItem.isEssence == "1" ? "" : "t-DN" }),
|
|
485
|
-
_react2.default.createElement(
|
|
486
|
-
'span',
|
|
487
|
-
{ className: 't-FB1 t-omit', style: { maxWidth: "115px" } },
|
|
488
|
-
infoItem.columnName
|
|
489
|
-
),
|
|
490
|
-
_react2.default.createElement(
|
|
491
|
-
'span',
|
|
492
|
-
null,
|
|
493
|
-
infoItem.publishDate
|
|
494
|
-
)
|
|
495
|
-
)
|
|
496
|
-
)
|
|
497
|
-
);
|
|
498
|
-
} else {
|
|
499
|
-
if (infoItem.imgId) {
|
|
500
|
-
imgSrc = context + "/api/m/plugin/attachment/mobile/viewImage?fid=" + imgIdList[0] + "&token=" + token;
|
|
501
|
-
}
|
|
502
|
-
return _react2.default.createElement(
|
|
503
|
-
'div',
|
|
504
|
-
{ className: 'infoList' },
|
|
505
|
-
_react2.default.createElement(
|
|
506
|
-
'div',
|
|
507
|
-
{ className: 'infoContent' },
|
|
508
|
-
_react2.default.createElement(
|
|
509
|
-
'div',
|
|
510
|
-
{ className: imgSrc ? "imgContent" : "t-DN" },
|
|
511
|
-
_react2.default.createElement('img', { src: imgSrc })
|
|
512
|
-
),
|
|
513
|
-
_react2.default.createElement(
|
|
514
|
-
'div',
|
|
515
|
-
{ className: 't-FB1' },
|
|
516
|
-
_react2.default.createElement(
|
|
517
|
-
'p',
|
|
518
|
-
null,
|
|
519
|
-
infoItem.title
|
|
520
|
-
),
|
|
521
|
-
_react2.default.createElement(
|
|
522
|
-
'p',
|
|
523
|
-
{ className: 't-FS14' },
|
|
524
|
-
_react2.default.createElement('i', { className: infoItem.isTop == "1" ? "iconfont icon-istop t-FS14 t-FCddblue t-MR6" : "t-DN" }),
|
|
525
|
-
_react2.default.createElement('img', { className: infoItem.isEssence == "1" ? "" : "t-DN" }),
|
|
526
|
-
_react2.default.createElement(
|
|
527
|
-
'span',
|
|
528
|
-
{ className: 't-FB1 t-omit', style: { maxWidth: "115px" } },
|
|
529
|
-
infoItem.columnName
|
|
530
|
-
),
|
|
531
|
-
_react2.default.createElement(
|
|
532
|
-
'span',
|
|
533
|
-
null,
|
|
534
|
-
infoItem.publishDate
|
|
535
|
-
)
|
|
536
|
-
)
|
|
537
|
-
)
|
|
538
|
-
)
|
|
539
|
-
);
|
|
540
|
-
}
|
|
541
|
-
});
|
|
542
|
-
return _react2.default.createElement(
|
|
543
|
-
_Tab2.default.Item,
|
|
544
|
-
{ title: item.columnName, key: item.columnId },
|
|
545
|
-
item.infoList.length > 0 ? _react2.default.createElement(
|
|
546
|
-
'div',
|
|
547
|
-
null,
|
|
548
|
-
infoList,
|
|
549
|
-
_react2.default.createElement(
|
|
550
|
-
'div',
|
|
551
|
-
{ className: 'info-more-btn' },
|
|
552
|
-
'\u67E5\u770B\u66F4\u591A'
|
|
553
|
-
)
|
|
554
|
-
) : _react2.default.createElement(
|
|
555
|
-
'div',
|
|
556
|
-
null,
|
|
557
|
-
'\u6682\u65E0\u6570\u636E'
|
|
558
|
-
)
|
|
559
|
-
);
|
|
560
|
-
});
|
|
561
|
-
|
|
562
|
-
var tDiv = document.createElement('div');
|
|
563
|
-
var carouselItem = t.state.ttxx.map(function (item) {
|
|
564
|
-
if (item.infoList.length > 0) {
|
|
565
|
-
tDiv.innerHTML = item.infoList[0].content;
|
|
566
|
-
var text = tDiv.innerText;
|
|
567
|
-
return _react2.default.createElement(
|
|
568
|
-
_Carousel2.default.Item,
|
|
569
|
-
null,
|
|
570
|
-
_react2.default.createElement(
|
|
571
|
-
'div',
|
|
572
|
-
{ className: 'notice-card-head' },
|
|
573
|
-
_react2.default.createElement(
|
|
574
|
-
'span',
|
|
575
|
-
null,
|
|
576
|
-
item.infoList[0].columnName
|
|
577
|
-
),
|
|
578
|
-
_react2.default.createElement(
|
|
579
|
-
_Button2.default,
|
|
580
|
-
{ type: 'custom' },
|
|
581
|
-
'\u66F4\u591A'
|
|
582
|
-
)
|
|
583
|
-
),
|
|
584
|
-
_react2.default.createElement(
|
|
585
|
-
'div',
|
|
586
|
-
null,
|
|
587
|
-
_react2.default.createElement(
|
|
588
|
-
'strong',
|
|
589
|
-
{ className: 't-FS14 t-omit2 t-LH1_3 t-MB10' },
|
|
590
|
-
item.infoList[0].title
|
|
591
|
-
),
|
|
592
|
-
_react2.default.createElement(
|
|
593
|
-
'p',
|
|
594
|
-
{ className: 't-FS14 t-FCgrey t-omit2 t-LH1_5 t-MB10' },
|
|
595
|
-
text
|
|
596
|
-
),
|
|
597
|
-
_react2.default.createElement(
|
|
598
|
-
'p',
|
|
599
|
-
{ className: 't-FS12 t-FCgrey' },
|
|
600
|
-
item.infoList[0].createdDate
|
|
601
|
-
)
|
|
602
|
-
)
|
|
603
|
-
);
|
|
604
|
-
}
|
|
605
|
-
});
|
|
606
|
-
var carouselList = carouselItem.filter(function (carouselItem) {
|
|
607
|
-
return typeof carouselItem !== 'undefined';
|
|
608
|
-
});
|
|
609
|
-
|
|
610
|
-
var gryjContent = t.state.gryj.personList && t.state.gryj.personList.length > 0 ? t.state.gryj.personList.map(function (item) {
|
|
611
|
-
return _react2.default.createElement(
|
|
612
|
-
'div',
|
|
613
|
-
{ className: 'list-item' },
|
|
614
|
-
_react2.default.createElement(
|
|
615
|
-
'div',
|
|
616
|
-
{ className: item.isRead == "false" ? "item-label label-special" : "t-DN" },
|
|
617
|
-
'\u672A\u8BFB'
|
|
618
|
-
),
|
|
619
|
-
_react2.default.createElement(
|
|
620
|
-
'div',
|
|
621
|
-
{ className: 'item-title' },
|
|
622
|
-
item.theme
|
|
623
|
-
),
|
|
624
|
-
_react2.default.createElement(
|
|
625
|
-
'div',
|
|
626
|
-
{ className: 'item-content' },
|
|
627
|
-
_react2.default.createElement(
|
|
628
|
-
'div',
|
|
629
|
-
{ className: 'content t-FCddfontblue-60 t-FS12' },
|
|
630
|
-
_react2.default.createElement(
|
|
631
|
-
'span',
|
|
632
|
-
{ className: 't-MR12' },
|
|
633
|
-
item.sendTime
|
|
634
|
-
),
|
|
635
|
-
_react2.default.createElement(
|
|
636
|
-
'span',
|
|
637
|
-
null,
|
|
638
|
-
'\u7533\u8BF7\u4EBA\uFF1A'
|
|
639
|
-
),
|
|
640
|
-
_react2.default.createElement(
|
|
641
|
-
'span',
|
|
642
|
-
null,
|
|
643
|
-
item.sendUserName
|
|
644
|
-
)
|
|
645
|
-
),
|
|
646
|
-
_react2.default.createElement(
|
|
647
|
-
'a',
|
|
648
|
-
{ className: 'more' },
|
|
649
|
-
_react2.default.createElement('i', { className: 'iconfont icon-right-arrow t-FCddfontblue-60' })
|
|
650
|
-
)
|
|
651
|
-
)
|
|
652
|
-
);
|
|
653
|
-
}) : '';
|
|
654
|
-
var ggyjContent = t.state.gryj.publicList && t.state.gryj.publicList.length > 0 ? t.state.gryj.publicList.map(function (item) {
|
|
655
|
-
return _react2.default.createElement(
|
|
656
|
-
'div',
|
|
657
|
-
{ className: 'list-item' },
|
|
658
|
-
_react2.default.createElement(
|
|
659
|
-
'div',
|
|
660
|
-
{ className: item.isRead == "false" ? "item-label label-special" : "t-DN" },
|
|
661
|
-
'\u672A\u8BFB'
|
|
662
|
-
),
|
|
663
|
-
_react2.default.createElement(
|
|
664
|
-
'div',
|
|
665
|
-
{ className: 'item-title' },
|
|
666
|
-
item.theme
|
|
667
|
-
),
|
|
668
|
-
_react2.default.createElement(
|
|
669
|
-
'div',
|
|
670
|
-
{ className: 'item-content' },
|
|
671
|
-
_react2.default.createElement(
|
|
672
|
-
'div',
|
|
673
|
-
{ className: 'content t-FCddfontblue-60 t-FS12' },
|
|
674
|
-
_react2.default.createElement(
|
|
675
|
-
'span',
|
|
676
|
-
{ className: 't-MR12' },
|
|
677
|
-
item.sendTime
|
|
678
|
-
),
|
|
679
|
-
_react2.default.createElement(
|
|
680
|
-
'span',
|
|
681
|
-
null,
|
|
682
|
-
'\u7533\u8BF7\u4EBA\uFF1A'
|
|
683
|
-
),
|
|
684
|
-
_react2.default.createElement(
|
|
685
|
-
'span',
|
|
686
|
-
null,
|
|
687
|
-
item.sendUserName
|
|
688
|
-
)
|
|
689
|
-
),
|
|
690
|
-
_react2.default.createElement(
|
|
691
|
-
'a',
|
|
692
|
-
{ className: 'more' },
|
|
693
|
-
_react2.default.createElement('i', { className: 'iconfont icon-right-arrow t-FCddfontblue-60' })
|
|
694
|
-
)
|
|
695
|
-
)
|
|
696
|
-
);
|
|
697
|
-
}) : '';
|
|
698
|
-
var grrcContent = t.state.grrc_list.map(function (item) {
|
|
699
|
-
var completed = false;
|
|
700
|
-
if (item.startTime) {
|
|
701
|
-
var date = new Date(item.startTime.replace(/-/g, '/'));
|
|
702
|
-
var H = date.getHours();
|
|
703
|
-
var M = date.getMinutes();
|
|
704
|
-
if (H < 10) {
|
|
705
|
-
H = "0" + H;
|
|
706
|
-
}
|
|
707
|
-
if (M < 10) {
|
|
708
|
-
M = "0" + M;
|
|
709
|
-
}
|
|
710
|
-
var time = H + ":" + M;
|
|
711
|
-
var now = new Date();
|
|
712
|
-
if (date < now) {
|
|
713
|
-
//过去时
|
|
714
|
-
completed = true;
|
|
715
|
-
}
|
|
716
|
-
}
|
|
717
|
-
return _react2.default.createElement(
|
|
718
|
-
HBox,
|
|
719
|
-
{ className: completed ? 'rc-item t-PR rc-completed' : 'rc-item t-PR', vAlign: 'center' },
|
|
720
|
-
_react2.default.createElement(
|
|
721
|
-
Box,
|
|
722
|
-
{ className: 'rc-item-time' },
|
|
723
|
-
time
|
|
724
|
-
),
|
|
725
|
-
_react2.default.createElement(
|
|
726
|
-
Box,
|
|
727
|
-
{ className: 'rc-item-time-line' },
|
|
728
|
-
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-fuhao' })
|
|
729
|
-
),
|
|
730
|
-
_react2.default.createElement(
|
|
731
|
-
Box,
|
|
732
|
-
{ flex: 1, className: 'rc-item-title t-omit' },
|
|
733
|
-
item.title
|
|
734
|
-
)
|
|
735
|
-
);
|
|
736
|
-
});
|
|
737
|
-
|
|
738
|
-
var grhyContent = t.state.grhy.map(function (item) {
|
|
739
|
-
return _react2.default.createElement(
|
|
740
|
-
'div',
|
|
741
|
-
{ className: 'meetingCard' },
|
|
742
|
-
_react2.default.createElement('div', { className: 'lineTop' }),
|
|
743
|
-
_react2.default.createElement(
|
|
744
|
-
'div',
|
|
745
|
-
{ className: 'meetingBg' },
|
|
746
|
-
_react2.default.createElement(
|
|
747
|
-
'div',
|
|
748
|
-
{ className: 'meetingContent' },
|
|
749
|
-
_react2.default.createElement(
|
|
750
|
-
'div',
|
|
751
|
-
{ className: 'meetingTitle' },
|
|
752
|
-
_react2.default.createElement(
|
|
753
|
-
'p',
|
|
754
|
-
{ className: 't-omit t-LH1_6' },
|
|
755
|
-
item.applyRecordName
|
|
756
|
-
)
|
|
757
|
-
),
|
|
758
|
-
_react2.default.createElement(
|
|
759
|
-
'div',
|
|
760
|
-
{ className: 'meetingTime' },
|
|
761
|
-
_react2.default.createElement(
|
|
762
|
-
'div',
|
|
763
|
-
{ className: 'meetingDate' },
|
|
764
|
-
_react2.default.createElement('i', { 'class': 'iconfont icon-shijian1 t-FS14' }),
|
|
765
|
-
_react2.default.createElement(
|
|
766
|
-
'span',
|
|
767
|
-
{ className: 't-ML6' },
|
|
768
|
-
item.week
|
|
769
|
-
),
|
|
770
|
-
_react2.default.createElement(
|
|
771
|
-
'span',
|
|
772
|
-
{ className: 't-ML10' },
|
|
773
|
-
item.startDate
|
|
774
|
-
)
|
|
775
|
-
),
|
|
776
|
-
_react2.default.createElement(
|
|
777
|
-
'div',
|
|
778
|
-
{ className: 'timeTitle' },
|
|
779
|
-
_react2.default.createElement(
|
|
780
|
-
'p',
|
|
781
|
-
null,
|
|
782
|
-
'\u5F00\u59CB\u65F6\u95F4'
|
|
783
|
-
),
|
|
784
|
-
_react2.default.createElement(
|
|
785
|
-
'p',
|
|
786
|
-
null,
|
|
787
|
-
'\u7ED3\u675F\u65F6\u95F4'
|
|
788
|
-
)
|
|
789
|
-
),
|
|
790
|
-
_react2.default.createElement(
|
|
791
|
-
'div',
|
|
792
|
-
{ className: 'time' },
|
|
793
|
-
_react2.default.createElement(
|
|
794
|
-
'li',
|
|
795
|
-
null,
|
|
796
|
-
item.sTime
|
|
797
|
-
),
|
|
798
|
-
_react2.default.createElement(
|
|
799
|
-
'li',
|
|
800
|
-
null,
|
|
801
|
-
_react2.default.createElement(
|
|
802
|
-
'p',
|
|
803
|
-
null,
|
|
804
|
-
item.durationTime
|
|
805
|
-
)
|
|
806
|
-
),
|
|
807
|
-
_react2.default.createElement(
|
|
808
|
-
'li',
|
|
809
|
-
null,
|
|
810
|
-
item.eTime
|
|
811
|
-
)
|
|
812
|
-
),
|
|
813
|
-
_react2.default.createElement(
|
|
814
|
-
'div',
|
|
815
|
-
{ className: 'location' },
|
|
816
|
-
_react2.default.createElement('i', { 'class': 'iconfont icon-dizhi t-FS14' }),
|
|
817
|
-
_react2.default.createElement(
|
|
818
|
-
'span',
|
|
819
|
-
{ className: 't-ML6' },
|
|
820
|
-
item.meetingAddress
|
|
821
|
-
)
|
|
822
|
-
)
|
|
823
|
-
)
|
|
824
|
-
)
|
|
825
|
-
)
|
|
826
|
-
);
|
|
827
|
-
});
|
|
828
|
-
var sxblContent = _react2.default.createElement(
|
|
829
|
-
'div',
|
|
830
|
-
{ className: 'sxbl_buttons' },
|
|
831
|
-
_react2.default.createElement(
|
|
832
|
-
'button',
|
|
833
|
-
null,
|
|
834
|
-
'\u8BF7\u5047\u7533\u8BF7'
|
|
835
|
-
),
|
|
836
|
-
_react2.default.createElement(
|
|
837
|
-
'button',
|
|
838
|
-
null,
|
|
839
|
-
'\u8C03\u4F11\u7533\u8BF7'
|
|
840
|
-
)
|
|
841
|
-
);
|
|
842
|
-
|
|
843
|
-
var appOftenContent = t.state.appOftenList.map(function (ele) {
|
|
844
|
-
return _react2.default.createElement(
|
|
845
|
-
'div',
|
|
846
|
-
{ className: 'systemItem' },
|
|
847
|
-
_react2.default.createElement(
|
|
848
|
-
'div',
|
|
849
|
-
{ className: 'iconblock t-iconBC' + ele.iconColor },
|
|
850
|
-
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + ele.icon })
|
|
851
|
-
),
|
|
852
|
-
_react2.default.createElement(
|
|
853
|
-
'p',
|
|
854
|
-
{ className: 'text t-omit t-PT2 t-LH2' },
|
|
855
|
-
ele.name
|
|
856
|
-
)
|
|
857
|
-
);
|
|
858
|
-
});
|
|
859
|
-
var collectAppContent = t.state.collectAppInfoList.map(function (ele) {
|
|
860
|
-
return _react2.default.createElement(
|
|
861
|
-
'div',
|
|
862
|
-
{ className: 'systemItem' },
|
|
863
|
-
_react2.default.createElement(
|
|
864
|
-
'div',
|
|
865
|
-
{ className: 'iconblock t-iconBC' + ele.iconColor },
|
|
866
|
-
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + ele.icon })
|
|
867
|
-
),
|
|
868
|
-
_react2.default.createElement(
|
|
869
|
-
'p',
|
|
870
|
-
{ className: 'text t-omit t-PT2 t-LH2' },
|
|
871
|
-
ele.name
|
|
872
|
-
)
|
|
873
|
-
);
|
|
874
|
-
});
|
|
875
|
-
|
|
876
|
-
return _react2.default.createElement(
|
|
877
|
-
'div',
|
|
878
|
-
{ className: 'react-grid' },
|
|
879
|
-
_react2.default.createElement(
|
|
880
|
-
_reactGridLayout2.default,
|
|
881
|
-
{
|
|
882
|
-
className: 'layout',
|
|
883
|
-
layout: layout,
|
|
884
|
-
cols: 12,
|
|
885
|
-
rowHeight: 20,
|
|
886
|
-
width: window.innerWidth,
|
|
887
|
-
isDraggable: this.state.isDraggable,
|
|
888
|
-
margin: [0, 10]
|
|
889
|
-
},
|
|
890
|
-
this.state.data.map(function (item) {
|
|
891
|
-
{/* banner */}
|
|
892
|
-
if (item.portletCode === 'banner') {
|
|
893
|
-
// 判断AI和menu
|
|
894
|
-
var isShowList = JSON.parse(item.personalSetting).bannerSet.split(',');
|
|
895
|
-
console.log(isShowList, 'isShowListisShowListisShowList');
|
|
896
|
-
var styleSetting = JSON.parse(item.styleSetting);
|
|
897
|
-
return _react2.default.createElement(
|
|
898
|
-
'div',
|
|
899
|
-
{ className: 'react-grid-component', key: item.id, style: {
|
|
900
|
-
borderTopLeftRadius: styleSetting.otherSet.radius.topLeft,
|
|
901
|
-
borderTopRightRadius: styleSetting.otherSet.radius.topRight,
|
|
902
|
-
borderBottomLeftRadius: styleSetting.otherSet.radius.bottomLeft,
|
|
903
|
-
borderBottomRightRadius: styleSetting.otherSet.radius.bottomRight,
|
|
904
|
-
borderColor: _this2.state.borderColor,
|
|
905
|
-
borderWidth: _this2.state.borderWidth,
|
|
906
|
-
paddingLeft: _this2.state.paddingLeft,
|
|
907
|
-
paddingright: _this2.state.paddingright,
|
|
908
|
-
paddingTop: _this2.state.paddingTop,
|
|
909
|
-
paddingBottom: _this2.state.paddingBottom
|
|
910
|
-
} },
|
|
911
|
-
_this2.conponentHeads,
|
|
912
|
-
_react2.default.createElement(
|
|
913
|
-
'div',
|
|
914
|
-
{ className: 'react-grid-banner' },
|
|
915
|
-
_react2.default.createElement(
|
|
916
|
-
'div',
|
|
917
|
-
{ className: 'banner' },
|
|
918
|
-
_react2.default.createElement(
|
|
919
|
-
'div',
|
|
920
|
-
{ className: t.state.showSlide == true ? "t-PR" : "t-DN" },
|
|
921
|
-
_this2.state.bannerList.map(function (item) {
|
|
922
|
-
return _react2.default.createElement(
|
|
923
|
-
'div',
|
|
924
|
-
{ className: 'banner-gallery', index: item.index },
|
|
925
|
-
_react2.default.createElement('img', { className: t.state.showItem == item.index ? "bannerimg" : "t-DN", src: item.src })
|
|
926
|
-
);
|
|
927
|
-
}),
|
|
928
|
-
_react2.default.createElement(
|
|
929
|
-
'div',
|
|
930
|
-
{ className: 'gallery-list' },
|
|
931
|
-
_this2.state.bannerList.map(function (item) {
|
|
932
|
-
return _react2.default.createElement('span', { className: t.state.showItem == item.index ? "gallery-dot active" : "gallery-dot" });
|
|
933
|
-
})
|
|
934
|
-
)
|
|
935
|
-
),
|
|
936
|
-
_react2.default.createElement('img', { className: t.state.showSlide == false ? "bannerimg" : "t-DN", src: '/mobile/fmui/images/home-banner.png', onerror: 'this.src=\'../../fmui/images/defaultHome.png\';this.onerror=null' })
|
|
937
|
-
),
|
|
938
|
-
_react2.default.createElement(
|
|
939
|
-
'div',
|
|
940
|
-
{ className: 'global-search' },
|
|
941
|
-
_react2.default.createElement(
|
|
942
|
-
_TextField2.default,
|
|
943
|
-
{ placeholder: '\u8BF7\u8F93\u5165\u5173\u952E\u8BCD\u8FDB\u884C\u641C\u7D22', value: t.state.searchVal, allowClear: false, onClick: function onClick(value) {
|
|
944
|
-
t.globalSearchChange(value);
|
|
945
|
-
} },
|
|
946
|
-
_react2.default.createElement(
|
|
947
|
-
RightAddon,
|
|
948
|
-
null,
|
|
949
|
-
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-sousuo1 t-P10', onClick: function onClick() {
|
|
950
|
-
t.globalSearchClick();
|
|
951
|
-
} })
|
|
952
|
-
)
|
|
953
|
-
),
|
|
954
|
-
_react2.default.createElement(
|
|
955
|
-
'div',
|
|
956
|
-
{ className: isShowList.indexOf('AI') > -1 ? 't-FAC' : 't-DN', onClick: function onClick() {
|
|
957
|
-
t.gotoYd();
|
|
958
|
-
} },
|
|
959
|
-
_react2.default.createElement('i', { className: 'iconfont icon-zhineng' }),
|
|
960
|
-
_react2.default.createElement(
|
|
961
|
-
'div',
|
|
962
|
-
{ className: 't-FS12 t-MT4' },
|
|
963
|
-
'\u667A\u80FD\u5BA2\u670D'
|
|
964
|
-
)
|
|
965
|
-
)
|
|
966
|
-
),
|
|
967
|
-
_react2.default.createElement(
|
|
968
|
-
_Grid2.default,
|
|
969
|
-
{ col: colNum, className: 'dd-applist' },
|
|
970
|
-
t.state.todoList.length > 0 && isShowList.indexOf('menu') > -1 ? t.state.todoList.map(function (item) {
|
|
971
|
-
// let todoInfo = projectMenuUrl.todoInfo[item];
|
|
972
|
-
return _react2.default.createElement(
|
|
973
|
-
'div',
|
|
974
|
-
{ className: 'demo' },
|
|
975
|
-
_react2.default.createElement(
|
|
976
|
-
'div',
|
|
977
|
-
{ className: 'react-grid-banner-item' },
|
|
978
|
-
_react2.default.createElement(
|
|
979
|
-
_Badge2.default,
|
|
980
|
-
{ count: '2' },
|
|
981
|
-
_react2.default.createElement('i', { className: 'theme-color iconfont icon-' + item.icon })
|
|
982
|
-
)
|
|
983
|
-
),
|
|
984
|
-
_react2.default.createElement(
|
|
985
|
-
'div',
|
|
986
|
-
{ className: 'menu-title t-FS14' },
|
|
987
|
-
item.name
|
|
988
|
-
)
|
|
989
|
-
);
|
|
990
|
-
}.bind(_this2)) : ''
|
|
991
|
-
)
|
|
992
|
-
)
|
|
993
|
-
);
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
if (item.portletCode === 'cyyy') {
|
|
997
|
-
var personalSetting = JSON.parse(item.personalSetting);
|
|
998
|
-
var _styleSetting = JSON.parse(item.styleSetting);
|
|
999
|
-
// let valueName = this.state[item.portletCode + '_' + item.id];
|
|
1000
|
-
console.log(t.state[item.portletCode + '_' + item.id], 'qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq');
|
|
1001
|
-
// console.log(this.state[item.portletCode + '_' + item.id]);
|
|
1002
|
-
// let componentContent_cyyy = ''
|
|
1003
|
-
// var cyyyOftenList = componentContent_cyyy;
|
|
1004
|
-
// if (t.state.appOftenList && t.state.appOftenList.length > 0) {
|
|
1005
|
-
// console.log('11111111111');
|
|
1006
|
-
// cyyyOftenList = <Grid col={personalSetting.cols} className={t.state.showcyyy ? '' : 't-DN'}>
|
|
1007
|
-
// {appOftenContent}
|
|
1008
|
-
// <div className='systemItem'>
|
|
1009
|
-
// <div className='iconblock t-iconBCred'><i className={'iconfont-ywtb' + ' icon-ywtb-gengduo'}></i></div>
|
|
1010
|
-
// <p className='text t-omit t-PT2 t-LH2'>更多</p>
|
|
1011
|
-
// </div>
|
|
1012
|
-
// </Grid>
|
|
1013
|
-
|
|
1014
|
-
// }
|
|
1015
|
-
// var cyyyCollecList = componentContent_cyyy;
|
|
1016
|
-
// if (t.state.collectAppInfoList && t.state.collectAppInfoList.length > 0) {
|
|
1017
|
-
// console.log('2222222222');
|
|
1018
|
-
// cyyyCollecList = <Grid col={personalSetting.cols}>
|
|
1019
|
-
// {collectAppContent}
|
|
1020
|
-
// <div className='systemItem'>
|
|
1021
|
-
// <div className='iconblock t-iconBCred'><i className={'iconfont-ywtb' + ' icon-ywtb-gengduo'}></i></div>
|
|
1022
|
-
// <p className='text t-omit t-PT2 t-LH2'>更多</p>
|
|
1023
|
-
// </div>
|
|
1024
|
-
// </Grid>
|
|
1025
|
-
|
|
1026
|
-
// }
|
|
1027
|
-
// var cyyyOftenTab = <Tab.Item title={<div style={{ color: styleSetting.titleSet.color, fontWeight: styleSetting.titleSet.fontWeight }}>常用应用</div>}>
|
|
1028
|
-
// {cyyyOftenList}
|
|
1029
|
-
// </Tab.Item>
|
|
1030
|
-
// var cyyyCollectTab = <Tab.Item title={<div style={{ color: styleSetting.titleSet.color, fontWeight: styleSetting.titleSet.fontWeight }}>我的收藏</div>}>
|
|
1031
|
-
// {cyyyCollecList}
|
|
1032
|
-
// </Tab.Item>
|
|
1033
|
-
// componentContent_cyyy = <div className='react-app-collect'>
|
|
1034
|
-
// <p className="rightMore">更多<i class="iconfont-ywtb icon-ywtb-tiaozhuan"></i></p>
|
|
1035
|
-
// <Tab activeKey={cyyyShowList.indexOf('oftenApp') > -1 ? "0" : "1"}>{cyyyOftenTab}{cyyyCollectTab}</Tab>
|
|
1036
|
-
// </div>
|
|
1037
|
-
|
|
1038
|
-
return _react2.default.createElement(
|
|
1039
|
-
'div',
|
|
1040
|
-
{ key: item.id, style: {
|
|
1041
|
-
borderTopLeftRadius: _styleSetting.otherSet.radius.topLeft,
|
|
1042
|
-
borderTopRightRadius: _styleSetting.otherSet.radius.topRight,
|
|
1043
|
-
borderBottomLeftRadius: _styleSetting.otherSet.radius.bottomLeft,
|
|
1044
|
-
borderBottomRightRadius: _styleSetting.otherSet.radius.bottomRight
|
|
1045
|
-
} },
|
|
1046
|
-
_react2.default.createElement(
|
|
1047
|
-
'div',
|
|
1048
|
-
{ className: 'react-app-collect' },
|
|
1049
|
-
_react2.default.createElement(
|
|
1050
|
-
'p',
|
|
1051
|
-
{ className: 'rightMore' },
|
|
1052
|
-
'\u66F4\u591A',
|
|
1053
|
-
_react2.default.createElement('i', { 'class': 'iconfont-ywtb icon-ywtb-tiaozhuan' })
|
|
1054
|
-
),
|
|
1055
|
-
_react2.default.createElement(
|
|
1056
|
-
_Tab2.default,
|
|
1057
|
-
{ activeKey: '0' },
|
|
1058
|
-
_react2.default.createElement(
|
|
1059
|
-
_Tab2.default.Item,
|
|
1060
|
-
{ title: _react2.default.createElement(
|
|
1061
|
-
'div',
|
|
1062
|
-
{ style: { color: _styleSetting.titleSet.color, fontWeight: _styleSetting.titleSet.fontWeight } },
|
|
1063
|
-
'\u5E38\u7528\u5E94\u7528'
|
|
1064
|
-
) },
|
|
1065
|
-
_react2.default.createElement(
|
|
1066
|
-
_Grid2.default,
|
|
1067
|
-
{ col: personalSetting.cols, className: t.state.showcyyy ? '' : 't-DN' },
|
|
1068
|
-
t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].data.length > 0 ? t.state[item.portletCode + '_' + item.id].data.map(function (ele) {
|
|
1069
|
-
return _react2.default.createElement(
|
|
1070
|
-
'div',
|
|
1071
|
-
{ className: 'systemItem' },
|
|
1072
|
-
_react2.default.createElement(
|
|
1073
|
-
'div',
|
|
1074
|
-
{ className: ele.iconColor == "" ? "iconblock t-iconBCred" : 'iconblock t-iconBC' + ele.iconColor },
|
|
1075
|
-
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + ele.icon })
|
|
1076
|
-
),
|
|
1077
|
-
_react2.default.createElement(
|
|
1078
|
-
'p',
|
|
1079
|
-
{ className: 'text t-omit t-PT2 t-LH2' },
|
|
1080
|
-
ele.name
|
|
1081
|
-
)
|
|
1082
|
-
);
|
|
1083
|
-
}) : '',
|
|
1084
|
-
_react2.default.createElement(
|
|
1085
|
-
'div',
|
|
1086
|
-
{ className: 'systemItem' },
|
|
1087
|
-
_react2.default.createElement(
|
|
1088
|
-
'div',
|
|
1089
|
-
{ className: 'iconblock t-iconBCred' },
|
|
1090
|
-
_react2.default.createElement('i', { className: 'iconfont-ywtb' + ' icon-ywtb-gengduo' })
|
|
1091
|
-
),
|
|
1092
|
-
_react2.default.createElement(
|
|
1093
|
-
'p',
|
|
1094
|
-
{ className: 'text t-omit t-PT2 t-LH2' },
|
|
1095
|
-
'\u66F4\u591A'
|
|
1096
|
-
)
|
|
1097
|
-
)
|
|
1098
|
-
)
|
|
1099
|
-
),
|
|
1100
|
-
_react2.default.createElement(
|
|
1101
|
-
_Tab2.default.Item,
|
|
1102
|
-
{ title: _react2.default.createElement(
|
|
1103
|
-
'div',
|
|
1104
|
-
{ style: { color: _styleSetting.titleSet.color, fontWeight: _styleSetting.titleSet.fontWeight } },
|
|
1105
|
-
'\u6211\u7684\u6536\u85CF'
|
|
1106
|
-
) },
|
|
1107
|
-
_react2.default.createElement(
|
|
1108
|
-
_Grid2.default,
|
|
1109
|
-
{ col: personalSetting.cols },
|
|
1110
|
-
t.state.collectAppInfoList.length > 0 ? t.state.collectAppInfoList.map(function (ele) {
|
|
1111
|
-
return _react2.default.createElement(
|
|
1112
|
-
'div',
|
|
1113
|
-
{ className: 'systemItem' },
|
|
1114
|
-
_react2.default.createElement(
|
|
1115
|
-
'div',
|
|
1116
|
-
{ className: 'iconblock t-iconBC' + ele.iconColor },
|
|
1117
|
-
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + ele.icon })
|
|
1118
|
-
),
|
|
1119
|
-
_react2.default.createElement(
|
|
1120
|
-
'p',
|
|
1121
|
-
{ className: 'text t-omit t-PT2 t-LH2' },
|
|
1122
|
-
ele.name
|
|
1123
|
-
)
|
|
1124
|
-
);
|
|
1125
|
-
}) : '',
|
|
1126
|
-
_react2.default.createElement(
|
|
1127
|
-
'div',
|
|
1128
|
-
{ className: 'systemItem' },
|
|
1129
|
-
_react2.default.createElement(
|
|
1130
|
-
'div',
|
|
1131
|
-
{ className: 'iconblock t-iconBCred' },
|
|
1132
|
-
_react2.default.createElement('i', { className: 'iconfont-ywtb' + ' icon-ywtb-gengduo' })
|
|
1133
|
-
),
|
|
1134
|
-
_react2.default.createElement(
|
|
1135
|
-
'p',
|
|
1136
|
-
{ className: 'text t-omit t-PT2 t-LH2' },
|
|
1137
|
-
'\u66F4\u591A'
|
|
1138
|
-
)
|
|
1139
|
-
)
|
|
1140
|
-
)
|
|
1141
|
-
)
|
|
1142
|
-
)
|
|
1143
|
-
)
|
|
1144
|
-
);
|
|
1145
|
-
}
|
|
1146
|
-
|
|
1147
|
-
if (item.portletCode === 'bssx') {
|
|
1148
|
-
{/* 办事 */}
|
|
1149
|
-
var bssxShowList = JSON.parse(item.personalSetting).showModule;
|
|
1150
|
-
if (bssxShowList == "undefined") {
|
|
1151
|
-
bssxShowList = ['personWork', 'personWork'];
|
|
1152
|
-
} else {
|
|
1153
|
-
bssxShowList = bssxShowList.split(',');
|
|
1154
|
-
}
|
|
1155
|
-
console.log(bssxShowList, 'bssxShowListbssxShowListbssxShowListbssxShowListbssxShowList');
|
|
1156
|
-
var _styleSetting2 = JSON.parse(item.styleSetting);
|
|
1157
|
-
var componentContent = '';
|
|
1158
|
-
var perList = componentContent;
|
|
1159
|
-
if (t.state.bssx_per && t.state.bssx_per.length > 0) {
|
|
1160
|
-
perList = bssxContent_per;
|
|
1161
|
-
}
|
|
1162
|
-
var orgList = componentContent;
|
|
1163
|
-
if (t.state.bssx_org && t.state.bssx_org.length > 0) {
|
|
1164
|
-
orgList = bssxContent_org;
|
|
1165
|
-
}
|
|
1166
|
-
var bssxPerTab = '';
|
|
1167
|
-
if (t.state.bssxPer_show && bssxShowList.indexOf('personWork') > -1) {
|
|
1168
|
-
bssxPerTab = _react2.default.createElement(
|
|
1169
|
-
_Tab2.default.Item,
|
|
1170
|
-
{ title: _react2.default.createElement(
|
|
1171
|
-
'div',
|
|
1172
|
-
{ className: '', style: { color: _styleSetting2.titleSet.color, fontWeight: _styleSetting2.titleSet.fontWeight } },
|
|
1173
|
-
'\u4E2A\u4EBA\u529E\u4E8B'
|
|
1174
|
-
), key: 0 },
|
|
1175
|
-
_react2.default.createElement(
|
|
1176
|
-
'div',
|
|
1177
|
-
{ className: 'banshi-list' },
|
|
1178
|
-
perList
|
|
1179
|
-
)
|
|
1180
|
-
);
|
|
1181
|
-
}
|
|
1182
|
-
var bssxOrgTab = '';
|
|
1183
|
-
if (t.state.bssxOrg_show && bssxShowList.indexOf('deptWork') > -1) {
|
|
1184
|
-
bssxOrgTab = _react2.default.createElement(
|
|
1185
|
-
_Tab2.default.Item,
|
|
1186
|
-
{ key: 1, title: _react2.default.createElement(
|
|
1187
|
-
'div',
|
|
1188
|
-
{ className: '', style: { color: _styleSetting2.titleSet.color, fontWeight: _styleSetting2.titleSet.fontWeight } },
|
|
1189
|
-
'\u90E8\u95E8\u529E\u4E8B'
|
|
1190
|
-
) },
|
|
1191
|
-
_react2.default.createElement(
|
|
1192
|
-
'div',
|
|
1193
|
-
{ className: 'banshi-list' },
|
|
1194
|
-
orgList
|
|
1195
|
-
)
|
|
1196
|
-
);
|
|
1197
|
-
}
|
|
1198
|
-
componentContent = _react2.default.createElement(
|
|
1199
|
-
'div',
|
|
1200
|
-
{ className: 'component-bssx' },
|
|
1201
|
-
_react2.default.createElement(
|
|
1202
|
-
'p',
|
|
1203
|
-
{ className: t.state.bssxPer_show || t.state.bssxOrg_show ? "rightMore" : "t-DN" },
|
|
1204
|
-
'\u66F4\u591A',
|
|
1205
|
-
_react2.default.createElement('i', { 'class': 'iconfont-ywtb icon-ywtb-tiaozhuan' })
|
|
1206
|
-
),
|
|
1207
|
-
_react2.default.createElement(
|
|
1208
|
-
_Tab2.default,
|
|
1209
|
-
{ activeKey: bssxShowList.indexOf('personWork') > -1 ? "0" : "1" },
|
|
1210
|
-
bssxPerTab,
|
|
1211
|
-
bssxOrgTab
|
|
1212
|
-
)
|
|
1213
|
-
);
|
|
1214
|
-
|
|
1215
|
-
return _react2.default.createElement(
|
|
1216
|
-
'div',
|
|
1217
|
-
{ key: item.id, style: {
|
|
1218
|
-
borderTopLeftRadius: _styleSetting2.otherSet.radius.topLeft,
|
|
1219
|
-
borderTopRightRadius: _styleSetting2.otherSet.radius.topRight,
|
|
1220
|
-
borderBottomLeftRadius: _styleSetting2.otherSet.radius.bottomLeft,
|
|
1221
|
-
borderBottomRightRadius: _styleSetting2.otherSet.radius.bottomRight
|
|
1222
|
-
} },
|
|
1223
|
-
componentContent
|
|
1224
|
-
);
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
if (item.portletCode === 'ttxx') {
|
|
1228
|
-
var _personalSetting = JSON.parse(item.personalSetting);
|
|
1229
|
-
var _styleSetting3 = JSON.parse(item.styleSetting);
|
|
1230
|
-
var componentContent1 = '';
|
|
1231
|
-
if (t.state.xwzx.length > 0) {
|
|
1232
|
-
|
|
1233
|
-
componentContent1 = _react2.default.createElement(
|
|
1234
|
-
'div',
|
|
1235
|
-
{ className: 'componentBox' },
|
|
1236
|
-
_react2.default.createElement(
|
|
1237
|
-
'div',
|
|
1238
|
-
{ className: 'notice-card' },
|
|
1239
|
-
_react2.default.createElement(
|
|
1240
|
-
_Carousel2.default,
|
|
1241
|
-
{ showNav: true, auto: true, height: '180px', className: 'carousel-notice' },
|
|
1242
|
-
carouselList
|
|
1243
|
-
)
|
|
1244
|
-
)
|
|
1245
|
-
);
|
|
1246
|
-
}
|
|
1247
|
-
return _react2.default.createElement(
|
|
1248
|
-
'div',
|
|
1249
|
-
{ key: item.id, style: {
|
|
1250
|
-
borderTopLeftRadius: _styleSetting3.otherSet.radius.topLeft,
|
|
1251
|
-
borderTopRightRadius: _styleSetting3.otherSet.radius.topRight,
|
|
1252
|
-
borderBottomLeftRadius: _styleSetting3.otherSet.radius.bottomLeft,
|
|
1253
|
-
borderBottomRightRadius: _styleSetting3.otherSet.radius.bottomRight
|
|
1254
|
-
} },
|
|
1255
|
-
componentContent1
|
|
1256
|
-
);
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
if (item.portletCode === 'xwzx') {
|
|
1260
|
-
var _personalSetting2 = JSON.parse(item.personalSetting);
|
|
1261
|
-
var _styleSetting4 = JSON.parse(item.styleSetting);
|
|
1262
|
-
var componentContent2 = '';
|
|
1263
|
-
if (t.state.xwzx.length > 0) {
|
|
1264
|
-
componentContent2 = _react2.default.createElement(
|
|
1265
|
-
_Tab2.default,
|
|
1266
|
-
{ activeKey: t.state.xwzx[0].columnId, pageSize: 4, showExpandAll: false, speed: 2 },
|
|
1267
|
-
xwzxContent
|
|
1268
|
-
);
|
|
1269
|
-
}
|
|
1270
|
-
return _react2.default.createElement(
|
|
1271
|
-
'div',
|
|
1272
|
-
{ key: item.id, style: {
|
|
1273
|
-
borderTopLeftRadius: _styleSetting4.otherSet.radius.topLeft,
|
|
1274
|
-
borderTopRightRadius: _styleSetting4.otherSet.radius.topRight,
|
|
1275
|
-
borderBottomLeftRadius: _styleSetting4.otherSet.radius.bottomLeft,
|
|
1276
|
-
borderBottomRightRadius: _styleSetting4.otherSet.radius.bottomRight
|
|
1277
|
-
} },
|
|
1278
|
-
componentContent2
|
|
1279
|
-
);
|
|
1280
|
-
}
|
|
1281
|
-
|
|
1282
|
-
if (item.portletCode === 'gryj') {
|
|
1283
|
-
var _personalSetting3 = JSON.parse(item.personalSetting);
|
|
1284
|
-
var _styleSetting5 = JSON.parse(item.styleSetting);
|
|
1285
|
-
var _componentContent = '';
|
|
1286
|
-
var gryjList = '';
|
|
1287
|
-
if (t.state.gryj.personList && t.state.gryj.personList.length > 0) {
|
|
1288
|
-
gryjList = gryjContent;
|
|
1289
|
-
}
|
|
1290
|
-
var ggyjList = '';
|
|
1291
|
-
if (t.state.gryj.publicList && t.state.gryj.publicList.length > 0) {
|
|
1292
|
-
ggyjList = ggyjContent;
|
|
1293
|
-
}
|
|
1294
|
-
_componentContent = _react2.default.createElement(
|
|
1295
|
-
_Tab2.default,
|
|
1296
|
-
{ activeKey: '0' },
|
|
1297
|
-
_react2.default.createElement(
|
|
1298
|
-
_Tab2.default.Item,
|
|
1299
|
-
{ title: _react2.default.createElement(
|
|
1300
|
-
'div',
|
|
1301
|
-
{ className: '', style: { color: _styleSetting5.titleSet.color, fontWeight: _styleSetting5.titleSet.fontWeight } },
|
|
1302
|
-
'\u4E2A\u4EBA\u90AE\u7BB1'
|
|
1303
|
-
), key: '0' },
|
|
1304
|
-
_react2.default.createElement(
|
|
1305
|
-
'div',
|
|
1306
|
-
{ className: 'list-RT-label' },
|
|
1307
|
-
gryjList
|
|
1308
|
-
)
|
|
1309
|
-
),
|
|
1310
|
-
_react2.default.createElement(
|
|
1311
|
-
_Tab2.default.Item,
|
|
1312
|
-
{ title: _react2.default.createElement(
|
|
1313
|
-
'div',
|
|
1314
|
-
{ className: '', style: { color: _styleSetting5.titleSet.color, fontWeight: _styleSetting5.titleSet.fontWeight } },
|
|
1315
|
-
'\u516C\u5171\u90AE\u7BB1'
|
|
1316
|
-
), key: '1' },
|
|
1317
|
-
_react2.default.createElement(
|
|
1318
|
-
'div',
|
|
1319
|
-
{ className: 'list-RT-label' },
|
|
1320
|
-
ggyjList
|
|
1321
|
-
)
|
|
1322
|
-
)
|
|
1323
|
-
);
|
|
1324
|
-
return _react2.default.createElement(
|
|
1325
|
-
'div',
|
|
1326
|
-
{ className: 'ggyjContent', key: item.id, style: {
|
|
1327
|
-
borderTopLeftRadius: _styleSetting5.otherSet.radius.topLeft,
|
|
1328
|
-
borderTopRightRadius: _styleSetting5.otherSet.radius.topRight,
|
|
1329
|
-
borderBottomLeftRadius: _styleSetting5.otherSet.radius.bottomLeft,
|
|
1330
|
-
borderBottomRightRadius: _styleSetting5.otherSet.radius.bottomRight
|
|
1331
|
-
} },
|
|
1332
|
-
_react2.default.createElement(
|
|
1333
|
-
'p',
|
|
1334
|
-
{ className: 'rightMore' },
|
|
1335
|
-
'\u66F4\u591A',
|
|
1336
|
-
_react2.default.createElement('i', { 'class': 'iconfont-ywtb icon-ywtb-tiaozhuan' })
|
|
1337
|
-
),
|
|
1338
|
-
_componentContent
|
|
1339
|
-
);
|
|
1340
|
-
}
|
|
1341
|
-
|
|
1342
|
-
if (item.portletCode === 'grrc') {
|
|
1343
|
-
var _personalSetting4 = JSON.parse(item.personalSetting);
|
|
1344
|
-
var _styleSetting6 = JSON.parse(item.styleSetting);
|
|
1345
|
-
var componentHead = _react2.default.createElement(
|
|
1346
|
-
'div',
|
|
1347
|
-
null,
|
|
1348
|
-
_react2.default.createElement(
|
|
1349
|
-
_Tab2.default,
|
|
1350
|
-
{ activeKey: '0', className: 't-MB16' },
|
|
1351
|
-
_react2.default.createElement(_Tab2.default.Item, { title: _react2.default.createElement(
|
|
1352
|
-
'div',
|
|
1353
|
-
{ className: '', style: { color: _styleSetting6.titleSet.color, fontWeight: _styleSetting6.titleSet.fontWeight } },
|
|
1354
|
-
'\u6211\u7684\u65E5\u7A0B'
|
|
1355
|
-
), key: '0' })
|
|
1356
|
-
)
|
|
1357
|
-
);
|
|
1358
|
-
var calendarDom = _react2.default.createElement('div', { id: 'calendar' });
|
|
1359
|
-
var grrcList = '';
|
|
1360
|
-
var componentContent4 = '';
|
|
1361
|
-
if (t.state.grrc_list.length > 0) {
|
|
1362
|
-
grrcList = _react2.default.createElement(
|
|
1363
|
-
'div',
|
|
1364
|
-
{ className: 'rc-list' },
|
|
1365
|
-
grrcContent
|
|
1366
|
-
);
|
|
1367
|
-
}
|
|
1368
|
-
componentContent4 = _react2.default.createElement(
|
|
1369
|
-
'div',
|
|
1370
|
-
null,
|
|
1371
|
-
calendarDom,
|
|
1372
|
-
grrcList
|
|
1373
|
-
);
|
|
1374
|
-
setTimeout(function () {
|
|
1375
|
-
t.initCleader('aaa');
|
|
1376
|
-
}, 600);
|
|
1377
|
-
return _react2.default.createElement(
|
|
1378
|
-
'div',
|
|
1379
|
-
{ key: item.id, style: {
|
|
1380
|
-
borderTopLeftRadius: _styleSetting6.otherSet.radius.topLeft,
|
|
1381
|
-
borderTopRightRadius: _styleSetting6.otherSet.radius.topRight,
|
|
1382
|
-
borderBottomLeftRadius: _styleSetting6.otherSet.radius.bottomLeft,
|
|
1383
|
-
borderBottomRightRadius: _styleSetting6.otherSet.radius.bottomRight
|
|
1384
|
-
} },
|
|
1385
|
-
componentHead,
|
|
1386
|
-
componentContent4
|
|
1387
|
-
);
|
|
1388
|
-
}
|
|
1389
|
-
|
|
1390
|
-
if (item.portletCode === 'grhy') {
|
|
1391
|
-
var _personalSetting5 = JSON.parse(item.personalSetting);
|
|
1392
|
-
var _styleSetting7 = JSON.parse(item.styleSetting);
|
|
1393
|
-
var componentHead1 = _react2.default.createElement(
|
|
1394
|
-
'div',
|
|
1395
|
-
null,
|
|
1396
|
-
_react2.default.createElement(
|
|
1397
|
-
_Tab2.default,
|
|
1398
|
-
{ activeKey: '0', className: 't-MB16' },
|
|
1399
|
-
_react2.default.createElement(_Tab2.default.Item, { title: _react2.default.createElement(
|
|
1400
|
-
'div',
|
|
1401
|
-
{ className: '', style: { color: _styleSetting7.titleSet.color, fontWeight: _styleSetting7.titleSet.fontWeight } },
|
|
1402
|
-
'\u6211\u7684\u4F1A\u8BAE'
|
|
1403
|
-
), key: '0' })
|
|
1404
|
-
)
|
|
1405
|
-
);
|
|
1406
|
-
var componentContent5 = '';
|
|
1407
|
-
if (t.state.grhy.length > 0) {
|
|
1408
|
-
componentContent5 = grhyContent;
|
|
1409
|
-
}
|
|
1410
|
-
return _react2.default.createElement(
|
|
1411
|
-
'div',
|
|
1412
|
-
{ key: item.id, style: {
|
|
1413
|
-
borderTopLeftRadius: _styleSetting7.otherSet.radius.topLeft,
|
|
1414
|
-
borderTopRightRadius: _styleSetting7.otherSet.radius.topRight,
|
|
1415
|
-
borderBottomLeftRadius: _styleSetting7.otherSet.radius.bottomLeft,
|
|
1416
|
-
borderBottomRightRadius: _styleSetting7.otherSet.radius.bottomRight
|
|
1417
|
-
} },
|
|
1418
|
-
componentHead1,
|
|
1419
|
-
componentContent5
|
|
1420
|
-
);
|
|
1421
|
-
}
|
|
1422
|
-
|
|
1423
|
-
if (item.portletCode === 'jxzt') {
|
|
1424
|
-
var _personalSetting6 = JSON.parse(item.personalSetting);
|
|
1425
|
-
var _styleSetting8 = JSON.parse(item.styleSetting);
|
|
1426
|
-
var _componentHead = _react2.default.createElement(
|
|
1427
|
-
'div',
|
|
1428
|
-
null,
|
|
1429
|
-
_react2.default.createElement(
|
|
1430
|
-
_Tab2.default,
|
|
1431
|
-
{ activeKey: '0', className: 't-MB16' },
|
|
1432
|
-
_react2.default.createElement(_Tab2.default.Item, { title: _react2.default.createElement(
|
|
1433
|
-
'div',
|
|
1434
|
-
{ className: '', style: { color: _styleSetting8.titleSet.color, fontWeight: _styleSetting8.titleSet.fontWeight } },
|
|
1435
|
-
'\u4E8B\u9879\u53D1\u8D77'
|
|
1436
|
-
), key: '0' })
|
|
1437
|
-
)
|
|
1438
|
-
);
|
|
1439
|
-
var _componentContent2 = '';
|
|
1440
|
-
_componentContent2 = sxblContent;
|
|
1441
|
-
|
|
1442
|
-
return _react2.default.createElement(
|
|
1443
|
-
'div',
|
|
1444
|
-
{ key: item.id },
|
|
1445
|
-
_react2.default.createElement(
|
|
1446
|
-
'p',
|
|
1447
|
-
{ className: 'rightMore' },
|
|
1448
|
-
'\u66F4\u591A',
|
|
1449
|
-
_react2.default.createElement('i', { 'class': 'iconfont-ywtb icon-ywtb-tiaozhuan' })
|
|
1450
|
-
),
|
|
1451
|
-
_componentHead,
|
|
1452
|
-
_componentContent2
|
|
1453
|
-
);
|
|
1454
|
-
}
|
|
1455
|
-
|
|
1456
|
-
// if (item.portletCode === 'i') {
|
|
1457
|
-
// let componentHead2 = <div>
|
|
1458
|
-
// <Tab activeKey={'0'} className="t-MB16">
|
|
1459
|
-
// <Tab.Item title="精选专题" key="0"></Tab.Item>
|
|
1460
|
-
// </Tab>
|
|
1461
|
-
// </div>
|
|
1462
|
-
// return <div key={item.id}>
|
|
1463
|
-
// {componentHead2}
|
|
1464
|
-
// <Carousel
|
|
1465
|
-
// showNav
|
|
1466
|
-
// auto
|
|
1467
|
-
// active={1}
|
|
1468
|
-
// >
|
|
1469
|
-
// <Carousel.Item title="标题" className="t-image-slide-item t-R10" >
|
|
1470
|
-
// <p className="t-FS20 t-ML20 t-PT20 t-MB10">专题服务</p>
|
|
1471
|
-
// <span className="t-FCf t-MT10 t-FS16 t-ML20">随便写点东西</span>
|
|
1472
|
-
// </Carousel.Item>
|
|
1473
|
-
// <Carousel.Item className="t-image-slide-item t-R10">
|
|
1474
|
-
// <p className="t-FS20 t-ML20 t-PT20 t-MB10">专题服务</p>
|
|
1475
|
-
// <span className="t-FCf t-MT10 t-FS16 t-ML20">随便写点东西</span>
|
|
1476
|
-
// </Carousel.Item>
|
|
1477
|
-
// <Carousel.Item className="t-image-slide-item t-R10" >
|
|
1478
|
-
// <p className="t-FS20 t-ML20 t-PT20 t-MB10">专题服务</p>
|
|
1479
|
-
// <span className="t-FCf t-MT10 t-FS16 t-ML20">随便写点东西</span>
|
|
1480
|
-
// </Carousel.Item>
|
|
1481
|
-
// <Carousel.Item className="t-image-slide-item t-R10" >
|
|
1482
|
-
// <p className="t-FS20 t-ML20 t-PT20 t-MB10">专题服务</p>
|
|
1483
|
-
// <span className="t-FCf t-MT10 t-FS16 t-ML20">随便写点东西</span>
|
|
1484
|
-
// </Carousel.Item>
|
|
1485
|
-
// <Carousel.Item className="t-image-slide-item t-R10">
|
|
1486
|
-
// <p className="t-FS20 t-ML20 t-PT20 t-MB10">专题服务</p>
|
|
1487
|
-
// <span className="t-FCf t-MT10 t-FS16 t-ML20">随便写点东西</span>
|
|
1488
|
-
// </Carousel.Item>
|
|
1489
|
-
// </Carousel>
|
|
1490
|
-
// </div>
|
|
1491
|
-
// }
|
|
1492
|
-
return null; // 添加一个默认返回值,以避免未指定键的错误
|
|
1493
|
-
})
|
|
1494
|
-
)
|
|
1495
|
-
);
|
|
1496
|
-
}
|
|
1497
|
-
}]);
|
|
1498
|
-
|
|
1499
|
-
return MyGrid;
|
|
1500
|
-
}(_react2.default.Component);
|
|
1501
|
-
|
|
1502
|
-
exports.default = MyGrid;
|