fmui-base 2.0.34 → 2.0.35
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 +1 -0
- package/lib/chart/chart.js +0 -4
- package/lib/react_grid/react_grid copy 5.js +1670 -0
- package/lib/react_grid/react_grid copy.js +1173 -671
- package/lib/react_grid/react_grid.js +352 -517
- package/lib/react_grid/react_grid.less +12 -6
- package/package.json +1 -1
|
@@ -83,8 +83,6 @@ var MyGrid = function (_React$Component) {
|
|
|
83
83
|
_inherits(MyGrid, _React$Component);
|
|
84
84
|
|
|
85
85
|
function MyGrid(props) {
|
|
86
|
-
var _this$state;
|
|
87
|
-
|
|
88
86
|
_classCallCheck(this, MyGrid);
|
|
89
87
|
|
|
90
88
|
var _this = _possibleConstructorReturn(this, (MyGrid.__proto__ || Object.getPrototypeOf(MyGrid)).call(this, props));
|
|
@@ -101,92 +99,26 @@ var MyGrid = function (_React$Component) {
|
|
|
101
99
|
});
|
|
102
100
|
res.map(function (item) {
|
|
103
101
|
if (item.portletCode !== 'banner' && item.portletCode !== 'tbgl') {
|
|
104
|
-
var
|
|
102
|
+
var params = {
|
|
105
103
|
code: item.portletCode,
|
|
106
104
|
ppId: item.id
|
|
107
105
|
};
|
|
108
|
-
_db2.default.reactGrid.getComponentInfoListAll(
|
|
106
|
+
_db2.default.reactGrid.getComponentInfoListAll(params).then(function (res) {
|
|
109
107
|
console.log(res, '????????????????????????');
|
|
110
|
-
_this.setState(_defineProperty({}, item.portletCode + '_' + item.id, res)
|
|
111
|
-
console.log(_this.state, '///////////////////////////');
|
|
112
|
-
});
|
|
108
|
+
_this.setState(_defineProperty({}, item.portletCode + '_' + item.id, res));
|
|
113
109
|
});
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
var t = _this;
|
|
119
|
-
var params = {};
|
|
120
|
-
var pageNoticeSet = '';
|
|
121
|
-
//获取提醒配置信息
|
|
122
|
-
_db2.default.reactGrid.getNewHomePageTodoData(params).then(function (content) {
|
|
123
|
-
var openModule = content.hpOpenModule ? content.hpOpenModule : "";
|
|
124
|
-
localStorage.setItem('hpOpenModule', openModule);
|
|
125
|
-
|
|
126
|
-
var bannerPicPath = content.bannerPicPath;
|
|
127
|
-
var todoData = content.todoData != null ? content.todoData.entity : {};
|
|
128
|
-
var pageImage_ = todoData.pageImage; //提醒图标
|
|
129
|
-
pageNoticeSet = todoData.pageNoticeSet; //提醒 toreadFile,todoFile
|
|
130
|
-
var pageTitle = todoData.pageTitle;
|
|
131
|
-
if (!pageTitle || pageTitle == '') {
|
|
132
|
-
pageTitle = '一网通办管理平台';
|
|
133
|
-
}
|
|
134
|
-
setPageTitle(pageTitle);
|
|
135
|
-
var todoList = [];
|
|
136
|
-
|
|
137
|
-
var pageImage = projectMenuUrl.pageImage;
|
|
138
|
-
if (pageImage_ != null && pageImage_ != '' && typeof pageImage_ != 'undefined') {
|
|
139
|
-
pageImage = pageImage_;
|
|
140
|
-
// const context = document.getElementById('context').value;
|
|
141
|
-
// const token = document.getElementById('token').value;
|
|
142
|
-
var pageImageList = pageImage_.split('|');
|
|
143
|
-
if (pageImageList.length > 1) {
|
|
144
|
-
var lunbo = function lunbo() {
|
|
145
|
-
index++;
|
|
146
|
-
if (index >= pageImageList.length) {
|
|
147
|
-
index = 0;
|
|
148
|
-
}
|
|
149
|
-
t.setState({
|
|
150
|
-
showItem: index
|
|
151
|
-
});
|
|
152
|
-
};
|
|
153
|
-
//2.定义定时器,轮播
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
var slide = [];
|
|
157
|
-
var obj = {};
|
|
158
|
-
for (var i in pageImageList) {
|
|
159
|
-
obj = {
|
|
160
|
-
src: context + '/api/m/plugin/attachment/mobile/viewImage?fid=' + pageImageList[i] + '&token=' + getLoginUserInfo().token,
|
|
161
|
-
index: i
|
|
162
|
-
};
|
|
163
|
-
slide.push(obj);
|
|
164
|
-
}
|
|
165
|
-
var index = 0;
|
|
166
|
-
setInterval(lunbo, 3000);
|
|
167
|
-
t.setState({
|
|
168
|
-
showSlide: true,
|
|
169
|
-
bannerList: slide,
|
|
170
|
-
pageImageList: pageImageList
|
|
110
|
+
} else if (item.portletCode == 'banner') {
|
|
111
|
+
_this.setState(_defineProperty({}, item.portletCode + '_' + item.id, JSON.parse(item.personalSetting)), function () {
|
|
112
|
+
console.log(_this.state, '///////////////////////////');
|
|
171
113
|
});
|
|
172
114
|
}
|
|
173
|
-
pageImage = context + '/api/m/plugin/attachment/mobile/viewImage?fid=' + pageImage_ + '&token=' + getLoginUserInfo().token;
|
|
174
|
-
}
|
|
175
|
-
todoList = ["banshi", "zixun", "yingyong", "daiban", "wode"];
|
|
176
|
-
|
|
177
|
-
_this.setState({
|
|
178
|
-
todoList: todoList,
|
|
179
|
-
pageImage: pageImage,
|
|
180
|
-
bannerPicPath: bannerPicPath
|
|
181
115
|
});
|
|
182
|
-
}).catch(function (error) {
|
|
183
|
-
console.error(error);
|
|
184
116
|
});
|
|
185
117
|
_this.getRemindCount();
|
|
186
118
|
_this.getShoucangAppInfo();
|
|
187
119
|
};
|
|
188
120
|
|
|
189
|
-
_this.state =
|
|
121
|
+
_this.state = {
|
|
190
122
|
data: [],
|
|
191
123
|
isDraggable: false,
|
|
192
124
|
//标题样式
|
|
@@ -212,11 +144,52 @@ var MyGrid = function (_React$Component) {
|
|
|
212
144
|
paddingBottom: '',
|
|
213
145
|
|
|
214
146
|
// todoList: [],//移动集成 配置提醒项信息
|
|
215
|
-
todoList: [],
|
|
216
|
-
pageImage: projectMenuUrl.pageImage
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
147
|
+
todoList: ["banshi", "zixun", "yingyong", "daiban", "wode"],
|
|
148
|
+
pageImage: projectMenuUrl.pageImage, //提醒项背景图
|
|
149
|
+
appInfoList: [], //移动集成 配置应用信息
|
|
150
|
+
bannerPicPath: '',
|
|
151
|
+
activeIndex: 2,
|
|
152
|
+
undo: 0, //待办数量
|
|
153
|
+
appOftenList: [], //常用应用
|
|
154
|
+
collectAppInfoList: [], //收藏应用
|
|
155
|
+
bssx: [], // 办事事项
|
|
156
|
+
bssx_per: [], // 办事事项_个人办事
|
|
157
|
+
bssx_org: [], // 办事事项_部门办事
|
|
158
|
+
jxzt: [], // 精选专题
|
|
159
|
+
ttxx: [], // 头条信息
|
|
160
|
+
xwzx: [], // 新闻资讯
|
|
161
|
+
gryj: [], // 个人邮件
|
|
162
|
+
grrc: [], // 个人日程
|
|
163
|
+
grrc_list: [], // 个人日程-日程信息
|
|
164
|
+
grhy: [], // 个人会议
|
|
165
|
+
showbssx: true, // 办事事项
|
|
166
|
+
showjxzt: true, // 精选专题
|
|
167
|
+
showttxx: true, // 头条信息
|
|
168
|
+
showxwzx: true, // 新闻资讯
|
|
169
|
+
showgryj: true, // 个人邮件
|
|
170
|
+
showgrrc: true, // 个人日程
|
|
171
|
+
showgrhy: true, // 个人会议
|
|
172
|
+
showcyyy: true, // 常用应用
|
|
173
|
+
initCleader: false,
|
|
174
|
+
bannerList: [],
|
|
175
|
+
showSlide: false,
|
|
176
|
+
refreshing: false, //下拉刷新
|
|
177
|
+
showMobileComponent: "", // 显示部件显示模块
|
|
178
|
+
componentList: [], // 显示部件显示模块数组
|
|
179
|
+
pageImageList: [],
|
|
180
|
+
showItem: 0,
|
|
181
|
+
searchVal: '', //顶部搜索input值
|
|
182
|
+
filterValue: { //顶部搜索分类值
|
|
183
|
+
sort: [{ text: '全部', value: 'all' }]
|
|
184
|
+
},
|
|
185
|
+
modelCode: 'all',
|
|
186
|
+
bssxPer_show: true, //办事事项_个人_是否显示
|
|
187
|
+
bssxOrg_show: true, //办事事项_个人_是否显示,
|
|
188
|
+
cyyyUsuTab_show: true, //常用应用_是否显示
|
|
189
|
+
cyyyPerTab_show: true //我的收藏_是否显示
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
};
|
|
220
193
|
return _this;
|
|
221
194
|
}
|
|
222
195
|
|
|
@@ -322,19 +295,115 @@ var MyGrid = function (_React$Component) {
|
|
|
322
295
|
this.setState({ grrc_list: [] });
|
|
323
296
|
}
|
|
324
297
|
}
|
|
298
|
+
}, {
|
|
299
|
+
key: 'globalSearchChange',
|
|
300
|
+
value: function globalSearchChange(newValue) {
|
|
301
|
+
// this.setState({
|
|
302
|
+
// searchVal: newValue
|
|
303
|
+
// });
|
|
304
|
+
location.hash = "homepage/home/fullSearch";
|
|
305
|
+
}
|
|
306
|
+
}, {
|
|
307
|
+
key: 'globalSearchClick',
|
|
308
|
+
value: function globalSearchClick() {
|
|
309
|
+
var modelCode = this.state.modelCode;
|
|
310
|
+
var searchCondition = this.state.searchVal;
|
|
311
|
+
location.hash = "homepage/home/fullSearch/" + modelCode + '/' + searchCondition;
|
|
312
|
+
}
|
|
313
|
+
//跳转到语典
|
|
314
|
+
|
|
315
|
+
}, {
|
|
316
|
+
key: 'gotoYd',
|
|
317
|
+
value: function gotoYd() {
|
|
318
|
+
pageSkipDirectly(variables.ydPath);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
// 应用跳转
|
|
322
|
+
|
|
323
|
+
}, {
|
|
324
|
+
key: 'newPageSkip',
|
|
325
|
+
value: function newPageSkip(dingUrl, wxUrl, mhUrl, cocallUrl) {
|
|
326
|
+
var dingVal = "DING";
|
|
327
|
+
var wxVal = "WX";
|
|
328
|
+
var mhVal = "MH";
|
|
329
|
+
|
|
330
|
+
var data = getLoginUserInfo();
|
|
331
|
+
var thirdMenuType = data.thirdMenuType;
|
|
332
|
+
if (thirdMenuType == dingVal) {
|
|
333
|
+
dd.biz.util.openLink({
|
|
334
|
+
url: dingUrl, //要打开链接的地址
|
|
335
|
+
onSuccess: function onSuccess(result) {
|
|
336
|
+
/**/
|
|
337
|
+
},
|
|
338
|
+
onFail: function onFail(err) {}
|
|
339
|
+
});
|
|
340
|
+
} else if (thirdMenuType == wxVal) {
|
|
341
|
+
window.open(wxUrl);
|
|
342
|
+
} else if (thirdMenuType == mhVal) {
|
|
343
|
+
window.location = mhUrl;
|
|
344
|
+
/**
|
|
345
|
+
emp.navigateTo({
|
|
346
|
+
url: mhUrl,//跳转地址
|
|
347
|
+
success: function () {
|
|
348
|
+
}, //跳转成功回调
|
|
349
|
+
error: function () {
|
|
350
|
+
} //跳转失败回调
|
|
351
|
+
}); */
|
|
352
|
+
} else {
|
|
353
|
+
window.location = dingUrl;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
}, {
|
|
357
|
+
key: 'skipPage',
|
|
358
|
+
value: function skipPage(url) {
|
|
359
|
+
var dingVal = "DING";
|
|
360
|
+
var wxVal = "WX";
|
|
361
|
+
var mhVal = "MH";
|
|
362
|
+
var data = getLoginUserInfo();
|
|
363
|
+
var thirdMenuType = data.thirdMenuType;
|
|
364
|
+
var urlComplete = data.contextPageUrl + "/" + url;
|
|
365
|
+
|
|
366
|
+
if (thirdMenuType == dingVal) {
|
|
367
|
+
dd.biz.util.openLink({
|
|
368
|
+
url: urlComplete, //要打开链接的地址
|
|
369
|
+
onSuccess: function onSuccess(result) {
|
|
370
|
+
/**/
|
|
371
|
+
},
|
|
372
|
+
onFail: function onFail(err) {}
|
|
373
|
+
});
|
|
374
|
+
} else if (thirdMenuType == wxVal) {
|
|
375
|
+
window.open(urlComplete);
|
|
376
|
+
} else if (thirdMenuType == mhVal) {
|
|
377
|
+
window.location = urlComplete;
|
|
378
|
+
} else {
|
|
379
|
+
window.location = urlComplete;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}, {
|
|
383
|
+
key: 'jumpPage',
|
|
384
|
+
value: function jumpPage(url) {
|
|
385
|
+
location.hash = url;
|
|
386
|
+
}
|
|
387
|
+
//跳转到应用
|
|
388
|
+
|
|
389
|
+
}, {
|
|
390
|
+
key: 'skip2Project',
|
|
391
|
+
value: function skip2Project(code, pagePath) {
|
|
392
|
+
location.hash = pagePath;
|
|
393
|
+
}
|
|
325
394
|
}, {
|
|
326
395
|
key: 'render',
|
|
327
396
|
value: function render() {
|
|
328
397
|
var _this4 = this;
|
|
329
398
|
|
|
330
399
|
var t = this;
|
|
331
|
-
|
|
332
|
-
if (t.state.bannerPicPath && t.state.bannerPicPath != "") {
|
|
333
|
-
|
|
334
|
-
} else {
|
|
335
|
-
|
|
336
|
-
}
|
|
337
|
-
var context =
|
|
400
|
+
// let pathUrl = "";
|
|
401
|
+
// if (t.state.bannerPicPath && t.state.bannerPicPath != "") {
|
|
402
|
+
// pathUrl = t.state.bannerPicPath;
|
|
403
|
+
// } else {
|
|
404
|
+
// pathUrl = t.state.pageImage;
|
|
405
|
+
// }
|
|
406
|
+
var context = localStorage.getItem('context');
|
|
338
407
|
var userId = getLoginUserInfo().userId;
|
|
339
408
|
var token = getLoginUserInfo().token;
|
|
340
409
|
var layout = this.state.data.map(function (item) {
|
|
@@ -352,187 +421,6 @@ var MyGrid = function (_React$Component) {
|
|
|
352
421
|
// 控制【常用应用】显示列数
|
|
353
422
|
var colNum1 = 4;
|
|
354
423
|
|
|
355
|
-
// const bssxContent_per = t.state.bssx_per.map(function (item) {
|
|
356
|
-
// return (
|
|
357
|
-
// <div className='banshi-item'>
|
|
358
|
-
// <div className='title t-omit'>{item.name}</div>
|
|
359
|
-
// <div className='describe t-omit'>{item.categoryName}</div>
|
|
360
|
-
// <i className={'iconfont-ywtb icon-ywtb-' + item.icon + ' bg'}></i>
|
|
361
|
-
// <i className={'iconfont-ywtb icon-ywtb-' + item.icon + ' ic'}></i>
|
|
362
|
-
// </div>
|
|
363
|
-
// )
|
|
364
|
-
// });
|
|
365
|
-
|
|
366
|
-
// const bssxContent_org = t.state.bssx_org.map(function (item) {
|
|
367
|
-
// return (
|
|
368
|
-
// <div className='banshi-item'>
|
|
369
|
-
// <div className='title t-omit'>{item.name}</div>
|
|
370
|
-
// <div className='describe t-omit'>{item.categoryName}</div>
|
|
371
|
-
// <i className={'iconfont-ywtb icon-ywtb-' + item.icon + ' bg'}></i>
|
|
372
|
-
// <i className={'iconfont-ywtb icon-ywtb-' + item.icon + ' ic'}></i>
|
|
373
|
-
// </div>
|
|
374
|
-
// )
|
|
375
|
-
// });
|
|
376
|
-
|
|
377
|
-
var xwzxContent = t.state.xwzx.map(function (item) {
|
|
378
|
-
var infoList = item.infoList.map(function (infoItem) {
|
|
379
|
-
var imgSrc = "";
|
|
380
|
-
var imgIdList = 0;
|
|
381
|
-
if (infoItem.imgId) {
|
|
382
|
-
imgIdList = infoItem.imgId.split('|');
|
|
383
|
-
}
|
|
384
|
-
if (imgIdList.length >= 3) {
|
|
385
|
-
var imgSrc1 = context + "/api/m/plugin/attachment/mobile/viewImage?fid=" + imgIdList[0] + "&token=" + token;
|
|
386
|
-
var imgSrc2 = context + "/api/m/plugin/attachment/mobile/viewImage?fid=" + imgIdList[1] + "&token=" + token;
|
|
387
|
-
var imgSrc3 = context + "/api/m/plugin/attachment/mobile/viewImage?fid=" + imgIdList[2] + "&token=" + token;
|
|
388
|
-
return _react2.default.createElement(
|
|
389
|
-
'div',
|
|
390
|
-
{ className: 'infoList3' },
|
|
391
|
-
_react2.default.createElement(
|
|
392
|
-
'div',
|
|
393
|
-
{ className: 'infoContent' },
|
|
394
|
-
_react2.default.createElement(
|
|
395
|
-
'p',
|
|
396
|
-
null,
|
|
397
|
-
infoItem.title
|
|
398
|
-
),
|
|
399
|
-
_react2.default.createElement(
|
|
400
|
-
'div',
|
|
401
|
-
{ className: 'infoPics' },
|
|
402
|
-
_react2.default.createElement('img', { src: imgSrc1 }),
|
|
403
|
-
_react2.default.createElement('img', { src: imgSrc2 }),
|
|
404
|
-
_react2.default.createElement('img', { src: imgSrc3 })
|
|
405
|
-
),
|
|
406
|
-
_react2.default.createElement(
|
|
407
|
-
'p',
|
|
408
|
-
{ className: 't-FS14' },
|
|
409
|
-
_react2.default.createElement('i', { className: infoItem.isTop == "1" ? "iconfont icon-istop t-FS14 t-FCddblue t-MR6" : "t-DN" }),
|
|
410
|
-
_react2.default.createElement('img', { className: infoItem.isEssence == "1" ? "" : "t-DN" }),
|
|
411
|
-
_react2.default.createElement(
|
|
412
|
-
'span',
|
|
413
|
-
{ className: 't-FB1 t-omit', style: { maxWidth: "115px" } },
|
|
414
|
-
infoItem.columnName
|
|
415
|
-
),
|
|
416
|
-
_react2.default.createElement(
|
|
417
|
-
'span',
|
|
418
|
-
null,
|
|
419
|
-
infoItem.publishDate
|
|
420
|
-
)
|
|
421
|
-
)
|
|
422
|
-
)
|
|
423
|
-
);
|
|
424
|
-
} else {
|
|
425
|
-
if (infoItem.imgId) {
|
|
426
|
-
imgSrc = context + "/api/m/plugin/attachment/mobile/viewImage?fid=" + imgIdList[0] + "&token=" + token;
|
|
427
|
-
}
|
|
428
|
-
return _react2.default.createElement(
|
|
429
|
-
'div',
|
|
430
|
-
{ className: 'infoList' },
|
|
431
|
-
_react2.default.createElement(
|
|
432
|
-
'div',
|
|
433
|
-
{ className: 'infoContent' },
|
|
434
|
-
_react2.default.createElement(
|
|
435
|
-
'div',
|
|
436
|
-
{ className: imgSrc ? "imgContent" : "t-DN" },
|
|
437
|
-
_react2.default.createElement('img', { src: imgSrc })
|
|
438
|
-
),
|
|
439
|
-
_react2.default.createElement(
|
|
440
|
-
'div',
|
|
441
|
-
{ className: 't-FB1' },
|
|
442
|
-
_react2.default.createElement(
|
|
443
|
-
'p',
|
|
444
|
-
null,
|
|
445
|
-
infoItem.title
|
|
446
|
-
),
|
|
447
|
-
_react2.default.createElement(
|
|
448
|
-
'p',
|
|
449
|
-
{ className: 't-FS14' },
|
|
450
|
-
_react2.default.createElement('i', { className: infoItem.isTop == "1" ? "iconfont icon-istop t-FS14 t-FCddblue t-MR6" : "t-DN" }),
|
|
451
|
-
_react2.default.createElement('img', { className: infoItem.isEssence == "1" ? "" : "t-DN" }),
|
|
452
|
-
_react2.default.createElement(
|
|
453
|
-
'span',
|
|
454
|
-
{ className: 't-FB1 t-omit', style: { maxWidth: "115px" } },
|
|
455
|
-
infoItem.columnName
|
|
456
|
-
),
|
|
457
|
-
_react2.default.createElement(
|
|
458
|
-
'span',
|
|
459
|
-
null,
|
|
460
|
-
infoItem.publishDate
|
|
461
|
-
)
|
|
462
|
-
)
|
|
463
|
-
)
|
|
464
|
-
)
|
|
465
|
-
);
|
|
466
|
-
}
|
|
467
|
-
});
|
|
468
|
-
return _react2.default.createElement(
|
|
469
|
-
_Tab2.default.Item,
|
|
470
|
-
{ title: item.columnName, key: item.columnId },
|
|
471
|
-
item.infoList.length > 0 ? _react2.default.createElement(
|
|
472
|
-
'div',
|
|
473
|
-
null,
|
|
474
|
-
infoList,
|
|
475
|
-
_react2.default.createElement(
|
|
476
|
-
'div',
|
|
477
|
-
{ className: 'info-more-btn' },
|
|
478
|
-
'\u67E5\u770B\u66F4\u591A'
|
|
479
|
-
)
|
|
480
|
-
) : _react2.default.createElement(
|
|
481
|
-
'div',
|
|
482
|
-
null,
|
|
483
|
-
'\u6682\u65E0\u6570\u636E'
|
|
484
|
-
)
|
|
485
|
-
);
|
|
486
|
-
});
|
|
487
|
-
|
|
488
|
-
var tDiv = document.createElement('div');
|
|
489
|
-
var carouselItem = t.state.ttxx.map(function (item) {
|
|
490
|
-
if (item.infoList.length > 0) {
|
|
491
|
-
tDiv.innerHTML = item.infoList[0].content;
|
|
492
|
-
var text = tDiv.innerText;
|
|
493
|
-
return _react2.default.createElement(
|
|
494
|
-
_Carousel2.default.Item,
|
|
495
|
-
null,
|
|
496
|
-
_react2.default.createElement(
|
|
497
|
-
'div',
|
|
498
|
-
{ className: 'notice-card-head' },
|
|
499
|
-
_react2.default.createElement(
|
|
500
|
-
'span',
|
|
501
|
-
null,
|
|
502
|
-
item.infoList[0].columnName
|
|
503
|
-
),
|
|
504
|
-
_react2.default.createElement(
|
|
505
|
-
_Button2.default,
|
|
506
|
-
{ type: 'custom' },
|
|
507
|
-
'\u66F4\u591A'
|
|
508
|
-
)
|
|
509
|
-
),
|
|
510
|
-
_react2.default.createElement(
|
|
511
|
-
'div',
|
|
512
|
-
null,
|
|
513
|
-
_react2.default.createElement(
|
|
514
|
-
'strong',
|
|
515
|
-
{ className: 't-FS14 t-omit2 t-LH1_3 t-MB10' },
|
|
516
|
-
item.infoList[0].title
|
|
517
|
-
),
|
|
518
|
-
_react2.default.createElement(
|
|
519
|
-
'p',
|
|
520
|
-
{ className: 't-FS14 t-FCgrey t-omit2 t-LH1_5 t-MB10' },
|
|
521
|
-
text
|
|
522
|
-
),
|
|
523
|
-
_react2.default.createElement(
|
|
524
|
-
'p',
|
|
525
|
-
{ className: 't-FS12 t-FCgrey' },
|
|
526
|
-
item.infoList[0].createdDate
|
|
527
|
-
)
|
|
528
|
-
)
|
|
529
|
-
);
|
|
530
|
-
}
|
|
531
|
-
});
|
|
532
|
-
var carouselList = carouselItem.filter(function (carouselItem) {
|
|
533
|
-
return typeof carouselItem !== 'undefined';
|
|
534
|
-
});
|
|
535
|
-
|
|
536
424
|
var grrcContent = t.state.grrc_list.map(function (item) {
|
|
537
425
|
var completed = false;
|
|
538
426
|
if (item.startTime) {
|
|
@@ -573,60 +461,6 @@ var MyGrid = function (_React$Component) {
|
|
|
573
461
|
);
|
|
574
462
|
});
|
|
575
463
|
|
|
576
|
-
// const grhyContent = t.state.grhy.map(function (item) {
|
|
577
|
-
// return (
|
|
578
|
-
// <div className='meetingCard'>
|
|
579
|
-
// <div className="lineTop"></div>
|
|
580
|
-
// <div className='meetingBg'>
|
|
581
|
-
// <div className='meetingContent' >
|
|
582
|
-
// <div className='meetingTitle'>
|
|
583
|
-
// <p className="t-omit t-LH1_6">{item.applyRecordName}</p>
|
|
584
|
-
// </div>
|
|
585
|
-
// <div className='meetingTime'>
|
|
586
|
-
// <div className='meetingDate'>
|
|
587
|
-
// <i class="iconfont icon-shijian1 t-FS14"></i>
|
|
588
|
-
// <span className='t-ML6'>{item.week}</span>
|
|
589
|
-
// <span className='t-ML10'>{item.startDate}</span>
|
|
590
|
-
// </div>
|
|
591
|
-
// <div className='timeTitle'>
|
|
592
|
-
// <p>开始时间</p>
|
|
593
|
-
// <p>结束时间</p>
|
|
594
|
-
// </div>
|
|
595
|
-
// <div className='time'>
|
|
596
|
-
// <li>{item.sTime}</li>
|
|
597
|
-
// <li>
|
|
598
|
-
// <p>{item.durationTime}</p>
|
|
599
|
-
// </li>
|
|
600
|
-
// <li>{item.eTime}</li>
|
|
601
|
-
// </div>
|
|
602
|
-
// <div className='location'>
|
|
603
|
-
// <i class="iconfont icon-dizhi t-FS14"></i>
|
|
604
|
-
// <span className='t-ML6'>{item.meetingAddress}</span>
|
|
605
|
-
// </div>
|
|
606
|
-
// </div>
|
|
607
|
-
// </div>
|
|
608
|
-
// {/* <img src="../../../fmui/images/home/start.png" className="startIcon"></img> */}
|
|
609
|
-
// {/* <img src="../../../fmui/images/home/line.png" className="lineTop"></img> */}
|
|
610
|
-
// </div>
|
|
611
|
-
// </div>
|
|
612
|
-
// )
|
|
613
|
-
// });
|
|
614
|
-
|
|
615
|
-
var lcfqContent = _react2.default.createElement(
|
|
616
|
-
'div',
|
|
617
|
-
{ className: 'sxbl_buttons' },
|
|
618
|
-
_react2.default.createElement(
|
|
619
|
-
'button',
|
|
620
|
-
null,
|
|
621
|
-
'\u8BF7\u5047\u7533\u8BF7'
|
|
622
|
-
),
|
|
623
|
-
_react2.default.createElement(
|
|
624
|
-
'button',
|
|
625
|
-
null,
|
|
626
|
-
'\u8C03\u4F11\u7533\u8BF7'
|
|
627
|
-
)
|
|
628
|
-
);
|
|
629
|
-
|
|
630
464
|
return _react2.default.createElement(
|
|
631
465
|
'div',
|
|
632
466
|
{ className: 'react-grid' },
|
|
@@ -647,6 +481,13 @@ var MyGrid = function (_React$Component) {
|
|
|
647
481
|
// 判断AI和menu
|
|
648
482
|
var isShowList = JSON.parse(item.personalSetting).bannerSet.split(',');
|
|
649
483
|
var styleSetting = JSON.parse(item.styleSetting);
|
|
484
|
+
var pathUrl = "";
|
|
485
|
+
if (t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].bannerImg) {
|
|
486
|
+
var pathUrlId = t.state[item.portletCode + '_' + item.id].bannerImg;
|
|
487
|
+
pathUrl = localStorage.getItem('context') + '/api/m/plugin/attachment/mobile/viewImage?token=' + localStorage.getItem('token') + '&fid=' + pathUrlId;
|
|
488
|
+
} else {
|
|
489
|
+
pathUrl = t.state.pageImage;
|
|
490
|
+
}
|
|
650
491
|
return _react2.default.createElement(
|
|
651
492
|
'div',
|
|
652
493
|
{ className: 'react-grid-component', key: item.id, style: {
|
|
@@ -654,11 +495,11 @@ var MyGrid = function (_React$Component) {
|
|
|
654
495
|
borderTopRightRadius: styleSetting.otherSet.radius.topRight,
|
|
655
496
|
borderBottomLeftRadius: styleSetting.otherSet.radius.bottomLeft,
|
|
656
497
|
borderBottomRightRadius: styleSetting.otherSet.radius.bottomRight,
|
|
657
|
-
paddingLeft: styleSetting.pl,
|
|
658
|
-
paddingright: styleSetting.pr,
|
|
659
|
-
paddingTop: styleSetting.pt,
|
|
660
|
-
paddingBottom: styleSetting.pb,
|
|
661
|
-
background: styleSetting.bgColor ? styleSetting.bgColor : ''
|
|
498
|
+
paddingLeft: styleSetting.otherSet.paddingSet.pl,
|
|
499
|
+
paddingright: styleSetting.otherSet.paddingSet.pr,
|
|
500
|
+
paddingTop: styleSetting.otherSet.paddingSet.pt,
|
|
501
|
+
paddingBottom: styleSetting.otherSet.paddingSet.pb,
|
|
502
|
+
background: styleSetting.otherSet.bgColor ? styleSetting.otherSet.bgColor : ''
|
|
662
503
|
} },
|
|
663
504
|
_this4.conponentHeads,
|
|
664
505
|
_react2.default.createElement(
|
|
@@ -723,7 +564,7 @@ var MyGrid = function (_React$Component) {
|
|
|
723
564
|
var todoInfo = projectMenuUrl.todoInfo[item];
|
|
724
565
|
return _react2.default.createElement(
|
|
725
566
|
'div',
|
|
726
|
-
{ className: 'demo' },
|
|
567
|
+
{ className: 'demo', onClick: t.skip2Project.bind(this, todoInfo.moduleCode, todoInfo.url) },
|
|
727
568
|
_react2.default.createElement(
|
|
728
569
|
'div',
|
|
729
570
|
{ className: 'react-grid-banner-item' },
|
|
@@ -748,44 +589,6 @@ var MyGrid = function (_React$Component) {
|
|
|
748
589
|
if (item.portletCode === 'cyyy') {
|
|
749
590
|
var personalSetting = JSON.parse(item.personalSetting);
|
|
750
591
|
var _styleSetting = JSON.parse(item.styleSetting);
|
|
751
|
-
// let valueName = this.state[item.portletCode + '_' + item.id];
|
|
752
|
-
// console.log(this.state[item.portletCode + '_' + item.id]);
|
|
753
|
-
// let componentContent_cyyy = ''
|
|
754
|
-
// var cyyyOftenList = componentContent_cyyy;
|
|
755
|
-
// if (t.state.appOftenList && t.state.appOftenList.length > 0) {
|
|
756
|
-
// console.log('11111111111');
|
|
757
|
-
// cyyyOftenList = <Grid col={personalSetting.cols} className={t.state.showcyyy ? '' : 't-DN'}>
|
|
758
|
-
// {appOftenContent}
|
|
759
|
-
// <div className='systemItem'>
|
|
760
|
-
// <div className='iconblock t-iconBCred'><i className={'iconfont-ywtb' + ' icon-ywtb-gengduo'}></i></div>
|
|
761
|
-
// <p className='text t-omit t-PT2 t-LH2'>更多</p>
|
|
762
|
-
// </div>
|
|
763
|
-
// </Grid>
|
|
764
|
-
|
|
765
|
-
// }
|
|
766
|
-
// var cyyyCollecList = componentContent_cyyy;
|
|
767
|
-
// if (t.state.collectAppInfoList && t.state.collectAppInfoList.length > 0) {
|
|
768
|
-
// console.log('2222222222');
|
|
769
|
-
// cyyyCollecList = <Grid col={personalSetting.cols}>
|
|
770
|
-
// {collectAppContent}
|
|
771
|
-
// <div className='systemItem'>
|
|
772
|
-
// <div className='iconblock t-iconBCred'><i className={'iconfont-ywtb' + ' icon-ywtb-gengduo'}></i></div>
|
|
773
|
-
// <p className='text t-omit t-PT2 t-LH2'>更多</p>
|
|
774
|
-
// </div>
|
|
775
|
-
// </Grid>
|
|
776
|
-
|
|
777
|
-
// }
|
|
778
|
-
// var cyyyOftenTab = <Tab.Item title={<div style={{ color: styleSetting.titleSet.color, fontWeight: styleSetting.titleSet.fontWeight }}>常用应用</div>}>
|
|
779
|
-
// {cyyyOftenList}
|
|
780
|
-
// </Tab.Item>
|
|
781
|
-
// var cyyyCollectTab = <Tab.Item title={<div style={{ color: styleSetting.titleSet.color, fontWeight: styleSetting.titleSet.fontWeight }}>我的收藏</div>}>
|
|
782
|
-
// {cyyyCollecList}
|
|
783
|
-
// </Tab.Item>
|
|
784
|
-
// componentContent_cyyy = <div className='react-app-collect'>
|
|
785
|
-
// <p className="rightMore">更多<i class="iconfont-ywtb icon-ywtb-tiaozhuan"></i></p>
|
|
786
|
-
// <Tab activeKey={cyyyShowList.indexOf('oftenApp') > -1 ? "0" : "1"}>{cyyyOftenTab}{cyyyCollectTab}</Tab>
|
|
787
|
-
// </div>
|
|
788
|
-
|
|
789
592
|
return _react2.default.createElement(
|
|
790
593
|
'div',
|
|
791
594
|
{ key: item.id, style: {
|
|
@@ -793,21 +596,15 @@ var MyGrid = function (_React$Component) {
|
|
|
793
596
|
borderTopRightRadius: _styleSetting.otherSet.radius.topRight,
|
|
794
597
|
borderBottomLeftRadius: _styleSetting.otherSet.radius.bottomLeft,
|
|
795
598
|
borderBottomRightRadius: _styleSetting.otherSet.radius.bottomRight,
|
|
796
|
-
paddingLeft: _styleSetting.pl,
|
|
797
|
-
paddingright: _styleSetting.pr,
|
|
798
|
-
paddingTop: _styleSetting.pt,
|
|
799
|
-
paddingBottom: _styleSetting.pb,
|
|
800
|
-
background: _styleSetting.bgColor ? _styleSetting.bgColor : ''
|
|
599
|
+
paddingLeft: _styleSetting.otherSet.paddingSet.pl,
|
|
600
|
+
paddingright: _styleSetting.otherSet.paddingSet.pr,
|
|
601
|
+
paddingTop: _styleSetting.otherSet.paddingSet.pt,
|
|
602
|
+
paddingBottom: _styleSetting.otherSet.paddingSet.pb,
|
|
603
|
+
background: _styleSetting.otherSet.bgColor ? _styleSetting.otherSet.bgColor : ''
|
|
801
604
|
} },
|
|
802
605
|
_react2.default.createElement(
|
|
803
606
|
'div',
|
|
804
607
|
{ className: 'react-app-collect' },
|
|
805
|
-
_react2.default.createElement(
|
|
806
|
-
'p',
|
|
807
|
-
{ className: 'rightMore' },
|
|
808
|
-
'\u66F4\u591A',
|
|
809
|
-
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-tiaozhuan' })
|
|
810
|
-
),
|
|
811
608
|
_react2.default.createElement(
|
|
812
609
|
_Tab2.default,
|
|
813
610
|
{ activeKey: '0' },
|
|
@@ -820,11 +617,11 @@ var MyGrid = function (_React$Component) {
|
|
|
820
617
|
) },
|
|
821
618
|
_react2.default.createElement(
|
|
822
619
|
_Grid2.default,
|
|
823
|
-
{ col: personalSetting.cols, className: t.state.showcyyy ? '' : 't-DN' },
|
|
620
|
+
{ col: personalSetting.cols * 1, className: t.state.showcyyy ? '' : 't-DN' },
|
|
824
621
|
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) {
|
|
825
622
|
return _react2.default.createElement(
|
|
826
623
|
'div',
|
|
827
|
-
{ className: 'systemItem' },
|
|
624
|
+
{ className: 'systemItem', onClick: t.newPageSkip.bind(t, ele.dingUrl, ele.wxUrl, ele.mhUrl, ele.cocallUrl) },
|
|
828
625
|
_react2.default.createElement(
|
|
829
626
|
'div',
|
|
830
627
|
{ className: ele.iconColor == "" ? "iconblock t-iconBCred" : 'iconblock t-iconBC' + ele.iconColor },
|
|
@@ -839,7 +636,7 @@ var MyGrid = function (_React$Component) {
|
|
|
839
636
|
}) : '',
|
|
840
637
|
_react2.default.createElement(
|
|
841
638
|
'div',
|
|
842
|
-
{ className: 'systemItem' },
|
|
639
|
+
{ className: 'systemItem', onClick: t.jumpPage.bind(_this4, "homepage/home/applistSetting") },
|
|
843
640
|
_react2.default.createElement(
|
|
844
641
|
'div',
|
|
845
642
|
{ className: 'iconblock t-iconBCred' },
|
|
@@ -862,11 +659,11 @@ var MyGrid = function (_React$Component) {
|
|
|
862
659
|
) },
|
|
863
660
|
_react2.default.createElement(
|
|
864
661
|
_Grid2.default,
|
|
865
|
-
{ col: personalSetting.cols },
|
|
662
|
+
{ col: personalSetting.cols * 1 },
|
|
866
663
|
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) {
|
|
867
664
|
return _react2.default.createElement(
|
|
868
665
|
'div',
|
|
869
|
-
{ className: 'systemItem' },
|
|
666
|
+
{ className: 'systemItem', onClick: t.newPageSkip.bind(t, ele.dingUrl, ele.wxUrl, ele.mhUrl, ele.cocallUrl) },
|
|
870
667
|
_react2.default.createElement(
|
|
871
668
|
'div',
|
|
872
669
|
{ className: 'iconblock t-iconBC' + ele.iconColor },
|
|
@@ -881,7 +678,7 @@ var MyGrid = function (_React$Component) {
|
|
|
881
678
|
}) : '',
|
|
882
679
|
_react2.default.createElement(
|
|
883
680
|
'div',
|
|
884
|
-
{ className: 'systemItem' },
|
|
681
|
+
{ className: 'systemItem', onClick: t.jumpPage.bind(_this4, "/appCollect") },
|
|
885
682
|
_react2.default.createElement(
|
|
886
683
|
'div',
|
|
887
684
|
{ className: 'iconblock t-iconBCred' },
|
|
@@ -913,7 +710,9 @@ var MyGrid = function (_React$Component) {
|
|
|
913
710
|
perList = t.state[item.portletCode + '_' + item.id].perList.map(function (item) {
|
|
914
711
|
return _react2.default.createElement(
|
|
915
712
|
'div',
|
|
916
|
-
{ className: 'banshi-item'
|
|
713
|
+
{ className: 'banshi-item', onClick: function onClick() {
|
|
714
|
+
history.push('/officeguid' + ('?id=' + item.id + '&code=' + item.code));
|
|
715
|
+
} },
|
|
917
716
|
_react2.default.createElement(
|
|
918
717
|
'div',
|
|
919
718
|
{ className: 'title t-omit' },
|
|
@@ -936,7 +735,9 @@ var MyGrid = function (_React$Component) {
|
|
|
936
735
|
orgList = t.state[item.portletCode + '_' + item.id].orgList.map(function (item) {
|
|
937
736
|
return _react2.default.createElement(
|
|
938
737
|
'div',
|
|
939
|
-
{ className: 'banshi-item'
|
|
738
|
+
{ className: 'banshi-item', onClick: function onClick() {
|
|
739
|
+
history.push('/officeguid' + ('?id=' + item.id + '&code=' + item.code));
|
|
740
|
+
} },
|
|
940
741
|
_react2.default.createElement(
|
|
941
742
|
'div',
|
|
942
743
|
{ className: 'title t-omit' },
|
|
@@ -990,7 +791,7 @@ var MyGrid = function (_React$Component) {
|
|
|
990
791
|
{ className: 'component-bssx' },
|
|
991
792
|
_react2.default.createElement(
|
|
992
793
|
'p',
|
|
993
|
-
{ className:
|
|
794
|
+
{ className: _styleSetting2.otherSet.toolbarShow == 1 ? "rightMore" : 't-DN' },
|
|
994
795
|
'\u66F4\u591A',
|
|
995
796
|
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-tiaozhuan' })
|
|
996
797
|
),
|
|
@@ -1009,11 +810,11 @@ var MyGrid = function (_React$Component) {
|
|
|
1009
810
|
borderTopRightRadius: _styleSetting2.otherSet.radius.topRight,
|
|
1010
811
|
borderBottomLeftRadius: _styleSetting2.otherSet.radius.bottomLeft,
|
|
1011
812
|
borderBottomRightRadius: _styleSetting2.otherSet.radius.bottomRight,
|
|
1012
|
-
paddingLeft: _styleSetting2.pl,
|
|
1013
|
-
paddingright: _styleSetting2.pr,
|
|
1014
|
-
paddingTop: _styleSetting2.pt,
|
|
1015
|
-
paddingBottom: _styleSetting2.pb,
|
|
1016
|
-
background: _styleSetting2.bgColor ? _styleSetting2.bgColor : ''
|
|
813
|
+
paddingLeft: _styleSetting2.otherSet.paddingSet.pl,
|
|
814
|
+
paddingright: _styleSetting2.otherSet.paddingSet.pr,
|
|
815
|
+
paddingTop: _styleSetting2.otherSet.paddingSet.pt,
|
|
816
|
+
paddingBottom: _styleSetting2.otherSet.paddingSet.pb,
|
|
817
|
+
background: _styleSetting2.otherSet.bgColor ? _styleSetting2.otherSet.bgColor : ''
|
|
1017
818
|
} },
|
|
1018
819
|
componentContent
|
|
1019
820
|
);
|
|
@@ -1025,12 +826,12 @@ var MyGrid = function (_React$Component) {
|
|
|
1025
826
|
var componentContent1 = '';
|
|
1026
827
|
var carouselItem = '';
|
|
1027
828
|
var carouselList = '';
|
|
1028
|
-
if (t.state[item.portletCode + '_' + item.id]) {
|
|
1029
|
-
var
|
|
829
|
+
if (t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0) {
|
|
830
|
+
var tDiv = document.createElement('div');
|
|
1030
831
|
carouselItem = t.state[item.portletCode + '_' + item.id].map(function (item) {
|
|
1031
832
|
if (item.infoList.length > 0) {
|
|
1032
|
-
|
|
1033
|
-
var text =
|
|
833
|
+
tDiv.innerHTML = item.infoList[0].content;
|
|
834
|
+
var text = tDiv.innerText;
|
|
1034
835
|
return _react2.default.createElement(
|
|
1035
836
|
_Carousel2.default.Item,
|
|
1036
837
|
null,
|
|
@@ -1044,13 +845,13 @@ var MyGrid = function (_React$Component) {
|
|
|
1044
845
|
),
|
|
1045
846
|
_react2.default.createElement(
|
|
1046
847
|
_Button2.default,
|
|
1047
|
-
{ type: 'custom' },
|
|
848
|
+
{ type: 'custom', onClick: t.jumpPage.bind(this, "/channelDetail/" + item.channelId + '/' + item.columnId + '/' + item.columnName) },
|
|
1048
849
|
'\u66F4\u591A'
|
|
1049
850
|
)
|
|
1050
851
|
),
|
|
1051
852
|
_react2.default.createElement(
|
|
1052
853
|
'div',
|
|
1053
|
-
|
|
854
|
+
{ onClick: t.jumpPage.bind(this, "/infodetail/" + item.infoList[0].id) },
|
|
1054
855
|
_react2.default.createElement(
|
|
1055
856
|
'strong',
|
|
1056
857
|
{ className: 't-FS14 t-omit2 t-LH1_3 t-MB10' },
|
|
@@ -1074,7 +875,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1074
875
|
return typeof carouselItem !== 'undefined';
|
|
1075
876
|
});
|
|
1076
877
|
}
|
|
1077
|
-
if (t.state[item.portletCode + '_' + item.id]) {
|
|
878
|
+
if (t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0) {
|
|
1078
879
|
|
|
1079
880
|
componentContent1 = _react2.default.createElement(
|
|
1080
881
|
'div',
|
|
@@ -1097,11 +898,11 @@ var MyGrid = function (_React$Component) {
|
|
|
1097
898
|
borderTopRightRadius: _styleSetting3.otherSet.radius.topRight,
|
|
1098
899
|
borderBottomLeftRadius: _styleSetting3.otherSet.radius.bottomLeft,
|
|
1099
900
|
borderBottomRightRadius: _styleSetting3.otherSet.radius.bottomRight,
|
|
1100
|
-
paddingLeft: _styleSetting3.pl,
|
|
1101
|
-
paddingright: _styleSetting3.pr,
|
|
1102
|
-
paddingTop: _styleSetting3.pt,
|
|
1103
|
-
paddingBottom: _styleSetting3.pb,
|
|
1104
|
-
background: _styleSetting3.bgColor ? _styleSetting3.bgColor : ''
|
|
901
|
+
paddingLeft: _styleSetting3.otherSet.paddingSet.pl,
|
|
902
|
+
paddingright: _styleSetting3.otherSet.paddingSet.pr,
|
|
903
|
+
paddingTop: _styleSetting3.otherSet.paddingSet.pt,
|
|
904
|
+
paddingBottom: _styleSetting3.otherSet.paddingSet.pb,
|
|
905
|
+
background: _styleSetting3.otherSet.bgColor ? _styleSetting3.otherSet.bgColor : ''
|
|
1105
906
|
} },
|
|
1106
907
|
componentContent1
|
|
1107
908
|
);
|
|
@@ -1112,7 +913,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1112
913
|
var _styleSetting4 = JSON.parse(item.styleSetting);
|
|
1113
914
|
var componentContent2 = '';
|
|
1114
915
|
var xwzxContent = '';
|
|
1115
|
-
if (t.state[item.portletCode + '_' + item.id]) {
|
|
916
|
+
if (t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length) {
|
|
1116
917
|
xwzxContent = t.state[item.portletCode + '_' + item.id].map(function (item) {
|
|
1117
918
|
var infoList = item.infoList.map(function (infoItem) {
|
|
1118
919
|
var imgSrc = "";
|
|
@@ -1126,7 +927,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1126
927
|
var imgSrc3 = context + "/api/m/plugin/attachment/mobile/viewImage?fid=" + imgIdList[2] + "&token=" + getLoginUserInfo().token;
|
|
1127
928
|
return _react2.default.createElement(
|
|
1128
929
|
'div',
|
|
1129
|
-
{ className: 'infoList3' },
|
|
930
|
+
{ className: 'infoList3', onClick: t.jumpPage.bind(this, "/infodetail/" + infoItem.id) },
|
|
1130
931
|
_react2.default.createElement(
|
|
1131
932
|
'div',
|
|
1132
933
|
{ className: 'infoContent' },
|
|
@@ -1166,7 +967,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1166
967
|
}
|
|
1167
968
|
return _react2.default.createElement(
|
|
1168
969
|
'div',
|
|
1169
|
-
{ className: 'infoList' },
|
|
970
|
+
{ className: 'infoList', onClick: t.jumpPage.bind(this, "/infodetail/" + infoItem.id) },
|
|
1170
971
|
_react2.default.createElement(
|
|
1171
972
|
'div',
|
|
1172
973
|
{ className: 'infoContent' },
|
|
@@ -1213,7 +1014,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1213
1014
|
infoList,
|
|
1214
1015
|
_react2.default.createElement(
|
|
1215
1016
|
'div',
|
|
1216
|
-
{ className: 'info-more-btn' },
|
|
1017
|
+
{ className: 'info-more-btn', onClick: t.jumpPage.bind(this, "/channelDetail/" + item.channelId + '/' + item.columnId + '/' + item.columnName) },
|
|
1217
1018
|
'\u67E5\u770B\u66F4\u591A'
|
|
1218
1019
|
)
|
|
1219
1020
|
) : _react2.default.createElement(
|
|
@@ -1239,11 +1040,11 @@ var MyGrid = function (_React$Component) {
|
|
|
1239
1040
|
borderTopRightRadius: _styleSetting4.otherSet.radius.topRight,
|
|
1240
1041
|
borderBottomLeftRadius: _styleSetting4.otherSet.radius.bottomLeft,
|
|
1241
1042
|
borderBottomRightRadius: _styleSetting4.otherSet.radius.bottomRight,
|
|
1242
|
-
paddingLeft: _styleSetting4.pl,
|
|
1243
|
-
paddingright: _styleSetting4.pr,
|
|
1244
|
-
paddingTop: _styleSetting4.pt,
|
|
1245
|
-
paddingBottom: _styleSetting4.pb,
|
|
1246
|
-
background: _styleSetting4.bgColor ? _styleSetting4.bgColor : ''
|
|
1043
|
+
paddingLeft: _styleSetting4.otherSet.paddingSet.pl,
|
|
1044
|
+
paddingright: _styleSetting4.otherSet.paddingSet.pr,
|
|
1045
|
+
paddingTop: _styleSetting4.otherSet.paddingSet.pt,
|
|
1046
|
+
paddingBottom: _styleSetting4.otherSet.paddingSet.pb,
|
|
1047
|
+
background: _styleSetting4.otherSet.bgColor ? _styleSetting4.otherSet.bgColor : ''
|
|
1247
1048
|
} },
|
|
1248
1049
|
componentContent2
|
|
1249
1050
|
);
|
|
@@ -1252,7 +1053,10 @@ var MyGrid = function (_React$Component) {
|
|
|
1252
1053
|
if (item.portletCode === 'gryj') {
|
|
1253
1054
|
var _personalSetting4 = JSON.parse(item.personalSetting);
|
|
1254
1055
|
var _styleSetting5 = JSON.parse(item.styleSetting);
|
|
1255
|
-
|
|
1056
|
+
console.log('====================================');
|
|
1057
|
+
console.log(_styleSetting5.otherSet.toolbarShow, 'styleSetting.otherSet.toolbarShowstyleSetting.otherSet.toolbarShow');
|
|
1058
|
+
console.log('====================================');
|
|
1059
|
+
var gryjShowList = _personalSetting4.mailMenu;
|
|
1256
1060
|
var _componentContent = '';
|
|
1257
1061
|
var gryjContent = '';
|
|
1258
1062
|
if (t.state[item.portletCode + '_' + item.id]) {
|
|
@@ -1260,7 +1064,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1260
1064
|
gryjContent = t.state[item.portletCode + '_' + item.id].data.personList.map(function (item) {
|
|
1261
1065
|
return _react2.default.createElement(
|
|
1262
1066
|
'div',
|
|
1263
|
-
{ className: 'list-item' },
|
|
1067
|
+
{ className: 'list-item', onClick: t.skipPage.bind(this, 'mobile/modules/mail/dist/index.html?context=' + context + '&contextPath=flex&isPublic=0#/mail/details/' + item.mailId + '/1/0/undefined/undefined/undefined/1') },
|
|
1264
1068
|
_react2.default.createElement(
|
|
1265
1069
|
'div',
|
|
1266
1070
|
{ className: item.isRead == "false" ? "item-label label-special" : "t-DN" },
|
|
@@ -1309,7 +1113,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1309
1113
|
ggyjContent = t.state[item.portletCode + '_' + item.id].data.publicList.map(function (item) {
|
|
1310
1114
|
return _react2.default.createElement(
|
|
1311
1115
|
'div',
|
|
1312
|
-
{ className: 'list-item' },
|
|
1116
|
+
{ className: 'list-item', onClick: t.skipPage.bind(this, 'mobile/modules/mail/dist/index.html?context=' + context + '&contextPath=flex&isPublic=1#/mail/details/' + item.mailId + '/1/0/undefined/undefined/undefined/1') },
|
|
1313
1117
|
_react2.default.createElement(
|
|
1314
1118
|
'div',
|
|
1315
1119
|
{ className: item.isRead == "false" ? "item-label label-special" : "t-DN" },
|
|
@@ -1396,15 +1200,15 @@ var MyGrid = function (_React$Component) {
|
|
|
1396
1200
|
borderTopRightRadius: _styleSetting5.otherSet.radius.topRight,
|
|
1397
1201
|
borderBottomLeftRadius: _styleSetting5.otherSet.radius.bottomLeft,
|
|
1398
1202
|
borderBottomRightRadius: _styleSetting5.otherSet.radius.bottomRight,
|
|
1399
|
-
paddingLeft: _styleSetting5.pl,
|
|
1400
|
-
paddingright: _styleSetting5.pr,
|
|
1401
|
-
paddingTop: _styleSetting5.pt,
|
|
1402
|
-
paddingBottom: _styleSetting5.pb,
|
|
1403
|
-
background: _styleSetting5.bgColor ? _styleSetting5.bgColor : ''
|
|
1203
|
+
paddingLeft: _styleSetting5.otherSet.paddingSet.pl,
|
|
1204
|
+
paddingright: _styleSetting5.otherSet.paddingSet.pr,
|
|
1205
|
+
paddingTop: _styleSetting5.otherSet.paddingSet.pt,
|
|
1206
|
+
paddingBottom: _styleSetting5.otherSet.paddingSet.pb,
|
|
1207
|
+
background: _styleSetting5.otherSet.bgColor ? _styleSetting5.otherSet.bgColor : ''
|
|
1404
1208
|
} },
|
|
1405
1209
|
_react2.default.createElement(
|
|
1406
1210
|
'p',
|
|
1407
|
-
{ className:
|
|
1211
|
+
{ className: _styleSetting5.otherSet.toolbarShow == 1 ? "rightMore" : 't-DN' },
|
|
1408
1212
|
'\u66F4\u591A',
|
|
1409
1213
|
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-tiaozhuan' })
|
|
1410
1214
|
),
|
|
@@ -1454,11 +1258,11 @@ var MyGrid = function (_React$Component) {
|
|
|
1454
1258
|
borderTopRightRadius: _styleSetting6.otherSet.radius.topRight,
|
|
1455
1259
|
borderBottomLeftRadius: _styleSetting6.otherSet.radius.bottomLeft,
|
|
1456
1260
|
borderBottomRightRadius: _styleSetting6.otherSet.radius.bottomRight,
|
|
1457
|
-
paddingLeft: _styleSetting6.pl,
|
|
1458
|
-
paddingright: _styleSetting6.pr,
|
|
1459
|
-
paddingTop: _styleSetting6.pt,
|
|
1460
|
-
paddingBottom: _styleSetting6.pb,
|
|
1461
|
-
background: _styleSetting6.bgColor ? _styleSetting6.bgColor : ''
|
|
1261
|
+
paddingLeft: _styleSetting6.otherSet.paddingSet.pl,
|
|
1262
|
+
paddingright: _styleSetting6.otherSet.paddingSet.pr,
|
|
1263
|
+
paddingTop: _styleSetting6.otherSet.paddingSet.pt,
|
|
1264
|
+
paddingBottom: _styleSetting6.otherSet.paddingSet.pb,
|
|
1265
|
+
background: _styleSetting6.otherSet.bgColor ? _styleSetting6.otherSet.bgColor : ''
|
|
1462
1266
|
} },
|
|
1463
1267
|
componentHead,
|
|
1464
1268
|
componentContent4
|
|
@@ -1480,7 +1284,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1480
1284
|
{ className: 'meetingBg' },
|
|
1481
1285
|
_react2.default.createElement(
|
|
1482
1286
|
'div',
|
|
1483
|
-
{ className: 'meetingContent' },
|
|
1287
|
+
{ className: 'meetingContent', onClick: t.skipPage.bind(this, 'mobile/modules/meeting/dist/index.html?context=' + context + '&hasBottomTab=1#/meeting/myMeetingDetails/' + item.applyRecordid + '/myReceived') },
|
|
1484
1288
|
_react2.default.createElement(
|
|
1485
1289
|
'div',
|
|
1486
1290
|
{ className: 'meetingTitle' },
|
|
@@ -1563,7 +1367,13 @@ var MyGrid = function (_React$Component) {
|
|
|
1563
1367
|
}
|
|
1564
1368
|
var componentHead1 = _react2.default.createElement(
|
|
1565
1369
|
'div',
|
|
1566
|
-
|
|
1370
|
+
{ className: 'component-bssx' },
|
|
1371
|
+
_react2.default.createElement(
|
|
1372
|
+
'p',
|
|
1373
|
+
{ className: _styleSetting7.otherSet.toolbarShow == 1 ? "rightMore" : 't-DN' },
|
|
1374
|
+
'\u66F4\u591A',
|
|
1375
|
+
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-tiaozhuan' })
|
|
1376
|
+
),
|
|
1567
1377
|
_react2.default.createElement(
|
|
1568
1378
|
_Tab2.default,
|
|
1569
1379
|
{ activeKey: '0', className: 't-MB16' },
|
|
@@ -1587,11 +1397,11 @@ var MyGrid = function (_React$Component) {
|
|
|
1587
1397
|
borderTopRightRadius: _styleSetting7.otherSet.radius.topRight,
|
|
1588
1398
|
borderBottomLeftRadius: _styleSetting7.otherSet.radius.bottomLeft,
|
|
1589
1399
|
borderBottomRightRadius: _styleSetting7.otherSet.radius.bottomRight,
|
|
1590
|
-
paddingLeft: _styleSetting7.pl,
|
|
1591
|
-
paddingright: _styleSetting7.pr,
|
|
1592
|
-
paddingTop: _styleSetting7.pt,
|
|
1593
|
-
paddingBottom: _styleSetting7.pb,
|
|
1594
|
-
background: _styleSetting7.bgColor ? _styleSetting7.bgColor : ''
|
|
1400
|
+
paddingLeft: _styleSetting7.otherSet.paddingSet.pl,
|
|
1401
|
+
paddingright: _styleSetting7.otherSet.paddingSet.pr,
|
|
1402
|
+
paddingTop: _styleSetting7.otherSet.paddingSet.pt,
|
|
1403
|
+
paddingBottom: _styleSetting7.otherSet.paddingSet.pb,
|
|
1404
|
+
background: _styleSetting7.otherSet.bgColor ? _styleSetting7.otherSet.bgColor : ''
|
|
1595
1405
|
} },
|
|
1596
1406
|
componentHead1,
|
|
1597
1407
|
componentContent5
|
|
@@ -1615,7 +1425,19 @@ var MyGrid = function (_React$Component) {
|
|
|
1615
1425
|
)
|
|
1616
1426
|
);
|
|
1617
1427
|
var _componentContent2 = '';
|
|
1618
|
-
|
|
1428
|
+
if (t.state[item.portletCode + '_' + item.id]) {
|
|
1429
|
+
_componentContent2 = _react2.default.createElement(
|
|
1430
|
+
'div',
|
|
1431
|
+
{ col: _personalSetting7.cols, className: 'sxbl_buttons' },
|
|
1432
|
+
t.state[item.portletCode + '_' + item.id].map(function (item) {
|
|
1433
|
+
return _react2.default.createElement(
|
|
1434
|
+
'button',
|
|
1435
|
+
null,
|
|
1436
|
+
item.name
|
|
1437
|
+
);
|
|
1438
|
+
})
|
|
1439
|
+
);
|
|
1440
|
+
}
|
|
1619
1441
|
|
|
1620
1442
|
return _react2.default.createElement(
|
|
1621
1443
|
'div',
|
|
@@ -1624,11 +1446,11 @@ var MyGrid = function (_React$Component) {
|
|
|
1624
1446
|
borderTopRightRadius: _styleSetting8.otherSet.radius.topRight,
|
|
1625
1447
|
borderBottomLeftRadius: _styleSetting8.otherSet.radius.bottomLeft,
|
|
1626
1448
|
borderBottomRightRadius: _styleSetting8.otherSet.radius.bottomRight,
|
|
1627
|
-
paddingLeft: _styleSetting8.pl,
|
|
1628
|
-
paddingright: _styleSetting8.pr,
|
|
1629
|
-
paddingTop: _styleSetting8.pt,
|
|
1630
|
-
paddingBottom: _styleSetting8.pb,
|
|
1631
|
-
background: _styleSetting8.bgColor ? _styleSetting8.bgColor : ''
|
|
1449
|
+
paddingLeft: _styleSetting8.otherSet.paddingSet.pl,
|
|
1450
|
+
paddingright: _styleSetting8.otherSet.paddingSet.pr,
|
|
1451
|
+
paddingTop: _styleSetting8.otherSet.paddingSet.pt,
|
|
1452
|
+
paddingBottom: _styleSetting8.otherSet.paddingSet.pb,
|
|
1453
|
+
background: _styleSetting8.otherSet.bgColor ? _styleSetting8.otherSet.bgColor : ''
|
|
1632
1454
|
} },
|
|
1633
1455
|
_react2.default.createElement(
|
|
1634
1456
|
'p',
|
|
@@ -1666,11 +1488,11 @@ var MyGrid = function (_React$Component) {
|
|
|
1666
1488
|
borderTopRightRadius: _styleSetting9.otherSet.radius.topRight,
|
|
1667
1489
|
borderBottomLeftRadius: _styleSetting9.otherSet.radius.bottomLeft,
|
|
1668
1490
|
borderBottomRightRadius: _styleSetting9.otherSet.radius.bottomRight,
|
|
1669
|
-
paddingLeft: _styleSetting9.pl,
|
|
1670
|
-
paddingright: _styleSetting9.pr,
|
|
1671
|
-
paddingTop: _styleSetting9.pt,
|
|
1672
|
-
paddingBottom: _styleSetting9.pb,
|
|
1673
|
-
background: _styleSetting9.bgColor ? _styleSetting9.bgColor : ''
|
|
1491
|
+
paddingLeft: _styleSetting9.otherSet.paddingSet.pl,
|
|
1492
|
+
paddingright: _styleSetting9.otherSet.paddingSet.pr,
|
|
1493
|
+
paddingTop: _styleSetting9.otherSet.paddingSet.pt,
|
|
1494
|
+
paddingBottom: _styleSetting9.otherSet.paddingSet.pb,
|
|
1495
|
+
background: _styleSetting9.otherSet.bgColor ? _styleSetting9.otherSet.bgColor : ''
|
|
1674
1496
|
} },
|
|
1675
1497
|
_componentHead2,
|
|
1676
1498
|
_componentContent3
|
|
@@ -1693,43 +1515,49 @@ var MyGrid = function (_React$Component) {
|
|
|
1693
1515
|
), key: '0' })
|
|
1694
1516
|
)
|
|
1695
1517
|
);
|
|
1696
|
-
var _componentContent4 =
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
'div',
|
|
1701
|
-
{ className: 'item-content' },
|
|
1702
|
-
_react2.default.createElement(
|
|
1703
|
-
'div',
|
|
1704
|
-
{ className: 'item-title' },
|
|
1705
|
-
'\u540D\u5B57\u540D\u5B57'
|
|
1706
|
-
),
|
|
1707
|
-
_react2.default.createElement(
|
|
1518
|
+
var _componentContent4 = '';
|
|
1519
|
+
if (t.state[item.portletCode + '_' + item.id]) {
|
|
1520
|
+
_componentContent4 = t.state[item.portletCode + '_' + item.id].map(function (item) {
|
|
1521
|
+
return _react2.default.createElement(
|
|
1708
1522
|
'div',
|
|
1709
|
-
{ className: '
|
|
1710
|
-
_react2.default.createElement(
|
|
1711
|
-
'span',
|
|
1712
|
-
{ className: 't-MR12' },
|
|
1713
|
-
'\u65F6\u95F4\u65F6\u95F4\u65F6\u95F4'
|
|
1714
|
-
),
|
|
1523
|
+
{ className: 'list-item' },
|
|
1715
1524
|
_react2.default.createElement(
|
|
1716
|
-
'
|
|
1717
|
-
|
|
1718
|
-
|
|
1525
|
+
'div',
|
|
1526
|
+
{ className: 'item-content' },
|
|
1527
|
+
_react2.default.createElement(
|
|
1528
|
+
'div',
|
|
1529
|
+
{ className: 'item-title' },
|
|
1530
|
+
item.title
|
|
1531
|
+
),
|
|
1532
|
+
_react2.default.createElement(
|
|
1533
|
+
'div',
|
|
1534
|
+
{ className: 'content t-FCddfontblue-60 t-FS12' },
|
|
1535
|
+
_react2.default.createElement(
|
|
1536
|
+
'span',
|
|
1537
|
+
{ className: 't-MR12' },
|
|
1538
|
+
item.createTime
|
|
1539
|
+
),
|
|
1540
|
+
_react2.default.createElement(
|
|
1541
|
+
'span',
|
|
1542
|
+
null,
|
|
1543
|
+
'\u7533\u8BF7\u4EBA\uFF1A'
|
|
1544
|
+
),
|
|
1545
|
+
_react2.default.createElement(
|
|
1546
|
+
'span',
|
|
1547
|
+
null,
|
|
1548
|
+
item.startUserName
|
|
1549
|
+
)
|
|
1550
|
+
)
|
|
1719
1551
|
),
|
|
1720
1552
|
_react2.default.createElement(
|
|
1721
|
-
'
|
|
1722
|
-
|
|
1723
|
-
'
|
|
1553
|
+
'a',
|
|
1554
|
+
{ className: 'more' },
|
|
1555
|
+
_react2.default.createElement('i', { className: 'iconfont icon-right-arrow t-FCddfontblue-60' })
|
|
1724
1556
|
)
|
|
1725
|
-
)
|
|
1726
|
-
)
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
{ className: 'more' },
|
|
1730
|
-
_react2.default.createElement('i', { className: 'iconfont icon-right-arrow t-FCddfontblue-60' })
|
|
1731
|
-
)
|
|
1732
|
-
);
|
|
1557
|
+
);
|
|
1558
|
+
});
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1733
1561
|
return _react2.default.createElement(
|
|
1734
1562
|
'div',
|
|
1735
1563
|
{ key: item.id, style: {
|
|
@@ -1737,11 +1565,11 @@ var MyGrid = function (_React$Component) {
|
|
|
1737
1565
|
borderTopRightRadius: _styleSetting10.otherSet.radius.topRight,
|
|
1738
1566
|
borderBottomLeftRadius: _styleSetting10.otherSet.radius.bottomLeft,
|
|
1739
1567
|
borderBottomRightRadius: _styleSetting10.otherSet.radius.bottomRight,
|
|
1740
|
-
paddingLeft: _styleSetting10.pl,
|
|
1741
|
-
paddingright: _styleSetting10.pr,
|
|
1742
|
-
paddingTop: _styleSetting10.pt,
|
|
1743
|
-
paddingBottom: _styleSetting10.pb,
|
|
1744
|
-
background: _styleSetting10.bgColor ? _styleSetting10.bgColor : ''
|
|
1568
|
+
paddingLeft: _styleSetting10.otherSet.paddingSet.pl,
|
|
1569
|
+
paddingright: _styleSetting10.otherSet.paddingSet.pr,
|
|
1570
|
+
paddingTop: _styleSetting10.otherSet.paddingSet.pt,
|
|
1571
|
+
paddingBottom: _styleSetting10.otherSet.paddingSet.pb,
|
|
1572
|
+
background: _styleSetting10.otherSet.bgColor ? _styleSetting10.otherSet.bgColor : ''
|
|
1745
1573
|
} },
|
|
1746
1574
|
_componentHead3,
|
|
1747
1575
|
_react2.default.createElement(
|
|
@@ -1752,42 +1580,49 @@ var MyGrid = function (_React$Component) {
|
|
|
1752
1580
|
);
|
|
1753
1581
|
}
|
|
1754
1582
|
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1583
|
+
if (item.portletCode === 'jxzt') {
|
|
1584
|
+
var componentHead2 = _react2.default.createElement(
|
|
1585
|
+
'div',
|
|
1586
|
+
null,
|
|
1587
|
+
_react2.default.createElement(
|
|
1588
|
+
_Tab2.default,
|
|
1589
|
+
{ activeKey: '0', className: 't-MB16' },
|
|
1590
|
+
_react2.default.createElement(_Tab2.default.Item, { title: '\u7CBE\u9009\u4E13\u9898', key: '0' })
|
|
1591
|
+
)
|
|
1592
|
+
);
|
|
1593
|
+
var _componentContent5 = '';
|
|
1594
|
+
var _carouselItem = '';
|
|
1595
|
+
if (t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0) {
|
|
1596
|
+
|
|
1597
|
+
_carouselItem = t.state[item.portletCode + '_' + item.id].map(function (item) {
|
|
1598
|
+
var imgUrlPath = localStorage.getItem('context') + '/api/m/plugin/attachment/mobile/viewImage?token=' + localStorage.getItem('token') + '&fid=' + item.imgUrl;
|
|
1599
|
+
|
|
1600
|
+
return _react2.default.createElement(
|
|
1601
|
+
_Carousel2.default.Item,
|
|
1602
|
+
{ title: '\u6807\u9898', className: 't-image-slide-item t-R10', style: { backgroundImage: 'url(' + imgUrlPath + ')' } },
|
|
1603
|
+
_react2.default.createElement(
|
|
1604
|
+
'p',
|
|
1605
|
+
{ className: 't-FS20 t-ML20 t-PT20 t-MB10 t-FCf' },
|
|
1606
|
+
item.name
|
|
1607
|
+
)
|
|
1608
|
+
);
|
|
1609
|
+
});
|
|
1610
|
+
}
|
|
1611
|
+
if (t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0) {
|
|
1612
|
+
_componentContent5 = _react2.default.createElement(
|
|
1613
|
+
_Carousel2.default,
|
|
1614
|
+
{ showNav: true, height: '91px', auto: false },
|
|
1615
|
+
_carouselItem
|
|
1616
|
+
);
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
return _react2.default.createElement(
|
|
1620
|
+
'div',
|
|
1621
|
+
{ key: item.id, className: 'jxzt-content' },
|
|
1622
|
+
componentHead2,
|
|
1623
|
+
_componentContent5
|
|
1624
|
+
);
|
|
1625
|
+
}
|
|
1791
1626
|
return null; // 添加一个默认返回值,以避免未指定键的错误
|
|
1792
1627
|
})
|
|
1793
1628
|
)
|