fmui-base 2.2.20 → 2.2.22
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/form/form.js +61 -0
- package/lib/form/table.js +67 -6
- package/lib/process_info/processInfo.js +11 -4
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/form/form.js
CHANGED
|
@@ -153,6 +153,7 @@ var PageHome = function (_React$Component) {
|
|
|
153
153
|
_this.state = {
|
|
154
154
|
module: module,
|
|
155
155
|
fold: true,
|
|
156
|
+
atfold: true,
|
|
156
157
|
status: status,
|
|
157
158
|
fieldControll: props.fieldControll,
|
|
158
159
|
commentField: props.commentField,
|
|
@@ -174,6 +175,7 @@ var PageHome = function (_React$Component) {
|
|
|
174
175
|
loaded: false,
|
|
175
176
|
commentList: [],
|
|
176
177
|
phraseListNew: [],
|
|
178
|
+
attitudeList: [], //态度列表
|
|
177
179
|
savePhraseList: [{
|
|
178
180
|
value: "1",
|
|
179
181
|
checked: false,
|
|
@@ -2971,6 +2973,7 @@ var PageHome = function (_React$Component) {
|
|
|
2971
2973
|
// t.refs.slotCommonwords.show();
|
|
2972
2974
|
// } else {
|
|
2973
2975
|
if (this.state.fold) {
|
|
2976
|
+
t.setState({ atfold: true });
|
|
2974
2977
|
//获取常用语列表
|
|
2975
2978
|
_db2.default.FlowModuleAPI.getPersonalPhrase({}).then(function (content) {
|
|
2976
2979
|
if (content.length > 0) {
|
|
@@ -3002,6 +3005,42 @@ var PageHome = function (_React$Component) {
|
|
|
3002
3005
|
|
|
3003
3006
|
}
|
|
3004
3007
|
|
|
3008
|
+
//选择态度
|
|
3009
|
+
|
|
3010
|
+
}, {
|
|
3011
|
+
key: 'selectAttitude',
|
|
3012
|
+
value: function selectAttitude() {
|
|
3013
|
+
var t = this;
|
|
3014
|
+
t.setState({ atfold: !this.state.atfold });
|
|
3015
|
+
// let phraseListNow = t.state.phraseList;
|
|
3016
|
+
// if (phraseListNow.length > 0) {
|
|
3017
|
+
// t.refs.slotCommonwords.show();
|
|
3018
|
+
// } else {
|
|
3019
|
+
if (this.state.atfold) {
|
|
3020
|
+
t.setState({ fold: true });
|
|
3021
|
+
var commentAttitude = this.props.commentAttitude;
|
|
3022
|
+
var attitudeList = [];
|
|
3023
|
+
|
|
3024
|
+
if (commentAttitude == '1') {
|
|
3025
|
+
attitudeList.push({ text: '同意', value: '同意' });
|
|
3026
|
+
attitudeList.push({ text: '不同意', value: '不同意' });
|
|
3027
|
+
} else if (commentAttitude == '2') {
|
|
3028
|
+
attitudeList.push({ text: '已阅', value: '已阅' });
|
|
3029
|
+
attitudeList.push({ text: '同意', value: '同意' });
|
|
3030
|
+
attitudeList.push({ text: '不同意', value: '不同意' });
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3033
|
+
t.setState({
|
|
3034
|
+
// phraseList: phraseList2,
|
|
3035
|
+
attitudeList: attitudeList
|
|
3036
|
+
}, function () {
|
|
3037
|
+
// t.refs.slotCommonwords.show();
|
|
3038
|
+
});
|
|
3039
|
+
}
|
|
3040
|
+
// }
|
|
3041
|
+
|
|
3042
|
+
}
|
|
3043
|
+
|
|
3005
3044
|
//常用语设置跳转
|
|
3006
3045
|
|
|
3007
3046
|
}, {
|
|
@@ -3587,6 +3626,13 @@ var PageHome = function (_React$Component) {
|
|
|
3587
3626
|
{ onClick: this.selectCommonwords.bind(this) },
|
|
3588
3627
|
'\u5E38\u7528\u8BED'
|
|
3589
3628
|
),
|
|
3629
|
+
' ',
|
|
3630
|
+
_react2.default.createElement(
|
|
3631
|
+
'div',
|
|
3632
|
+
{ className: t.props.commentAttitude == '1' || t.props.commentAttitude == '2' ? "" : "t-DN", onClick: this.selectAttitude.bind(this) },
|
|
3633
|
+
'\u6001\u5EA6'
|
|
3634
|
+
),
|
|
3635
|
+
' ',
|
|
3590
3636
|
_react2.default.createElement(
|
|
3591
3637
|
'div',
|
|
3592
3638
|
{ onClick: this.skipToCommonwordsSet.bind(this) },
|
|
@@ -3637,6 +3683,21 @@ var PageHome = function (_React$Component) {
|
|
|
3637
3683
|
);
|
|
3638
3684
|
}.bind(this)) : ''
|
|
3639
3685
|
)
|
|
3686
|
+
),
|
|
3687
|
+
_react2.default.createElement(
|
|
3688
|
+
_FoldablePane2.default,
|
|
3689
|
+
{ foldHeight: 0, isFold: this.state.atfold },
|
|
3690
|
+
_react2.default.createElement(
|
|
3691
|
+
'div',
|
|
3692
|
+
{ className: 'phrase-list' },
|
|
3693
|
+
this.state.attitudeList.length > 0 ? this.state.attitudeList.map(function (item, i) {
|
|
3694
|
+
return _react2.default.createElement(
|
|
3695
|
+
'div',
|
|
3696
|
+
{ className: 'phrase-item', onClick: this.phraseItemClick.bind(this, item.value) },
|
|
3697
|
+
item.value
|
|
3698
|
+
);
|
|
3699
|
+
}.bind(this)) : ''
|
|
3700
|
+
)
|
|
3640
3701
|
)
|
|
3641
3702
|
)
|
|
3642
3703
|
)
|
package/lib/form/table.js
CHANGED
|
@@ -229,8 +229,10 @@ var PageHome = function (_React$Component) {
|
|
|
229
229
|
}],
|
|
230
230
|
savePhrase: [],
|
|
231
231
|
fold: true,
|
|
232
|
+
atfold: true,
|
|
232
233
|
phraseListNew: [],
|
|
233
234
|
phraseList: [], //常用语列表
|
|
235
|
+
attitudeList: [], //态度列表
|
|
234
236
|
spyj: defaultValue,
|
|
235
237
|
formRelaFieldMaps: formRelaFieldMapsNew,
|
|
236
238
|
linkFields: linkFieldsNew,
|
|
@@ -1661,6 +1663,7 @@ var PageHome = function (_React$Component) {
|
|
|
1661
1663
|
// t.refs.slotCommonwords.show();
|
|
1662
1664
|
// } else {
|
|
1663
1665
|
if (this.state.fold) {
|
|
1666
|
+
t.setState({ atfold: true });
|
|
1664
1667
|
//获取常用语列表
|
|
1665
1668
|
_db2.default.FlowModuleAPI.getPersonalPhrase({}).then(function (content) {
|
|
1666
1669
|
if (content.length > 0) {
|
|
@@ -1692,6 +1695,42 @@ var PageHome = function (_React$Component) {
|
|
|
1692
1695
|
|
|
1693
1696
|
}
|
|
1694
1697
|
|
|
1698
|
+
//选择态度
|
|
1699
|
+
|
|
1700
|
+
}, {
|
|
1701
|
+
key: 'selectAttitude',
|
|
1702
|
+
value: function selectAttitude() {
|
|
1703
|
+
var t = this;
|
|
1704
|
+
t.setState({ atfold: !this.state.atfold });
|
|
1705
|
+
// let phraseListNow = t.state.phraseList;
|
|
1706
|
+
// if (phraseListNow.length > 0) {
|
|
1707
|
+
// t.refs.slotCommonwords.show();
|
|
1708
|
+
// } else {
|
|
1709
|
+
if (this.state.atfold) {
|
|
1710
|
+
t.setState({ fold: true });
|
|
1711
|
+
var commentAttitude = this.props.commentAttitude;
|
|
1712
|
+
var attitudeList = [];
|
|
1713
|
+
|
|
1714
|
+
if (commentAttitude == '1') {
|
|
1715
|
+
attitudeList.push({ text: '同意', value: '同意' });
|
|
1716
|
+
attitudeList.push({ text: '不同意', value: '不同意' });
|
|
1717
|
+
} else if (commentAttitude == '2') {
|
|
1718
|
+
attitudeList.push({ text: '已阅', value: '已阅' });
|
|
1719
|
+
attitudeList.push({ text: '同意', value: '同意' });
|
|
1720
|
+
attitudeList.push({ text: '不同意', value: '不同意' });
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
t.setState({
|
|
1724
|
+
// phraseList: phraseList2,
|
|
1725
|
+
attitudeList: attitudeList
|
|
1726
|
+
}, function () {
|
|
1727
|
+
// t.refs.slotCommonwords.show();
|
|
1728
|
+
});
|
|
1729
|
+
}
|
|
1730
|
+
// }
|
|
1731
|
+
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1695
1734
|
//常用语设置跳转
|
|
1696
1735
|
|
|
1697
1736
|
}, {
|
|
@@ -1764,16 +1803,16 @@ var PageHome = function (_React$Component) {
|
|
|
1764
1803
|
return _react2.default.createElement(
|
|
1765
1804
|
'div',
|
|
1766
1805
|
{ className: "form_" + item2.uniqueName },
|
|
1767
|
-
_react2.default.createElement(_form2.default, { keyNo: j, ref: item2.uniqueName, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item2, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, defaultValue: t.props.defaultValue, data: t.props.data, fieldControll: t.props.fieldControll, caIsPrd: t.props.caIsPrd, preCaFields: t.props.preCaFields, formRelaFieldMaps: t.state.formRelaFieldMaps, linkFields: t.state.linkFields, isRemoveCommentFormHtml: t.props.isRemoveCommentFormHtml, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1806
|
+
_react2.default.createElement(_form2.default, { keyNo: j, ref: item2.uniqueName, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentField: t.props.commentField, commentAttitude: t.props.commentAttitude, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item2, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, defaultValue: t.props.defaultValue, data: t.props.data, fieldControll: t.props.fieldControll, caIsPrd: t.props.caIsPrd, preCaFields: t.props.preCaFields, formRelaFieldMaps: t.state.formRelaFieldMaps, linkFields: t.state.linkFields, isRemoveCommentFormHtml: t.props.isRemoveCommentFormHtml, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1768
1807
|
);
|
|
1769
1808
|
}.bind(this)) : item.itemType == 'detail' ? _react2.default.createElement(
|
|
1770
1809
|
'div',
|
|
1771
1810
|
{ className: "subform_" + item.itemCode },
|
|
1772
|
-
_react2.default.createElement(_subForm2.default, { keyNo: i, ref: 'sub_' + item.itemCode, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, defaultValue: t.props.defaultValue, data: t.props.data, fieldControll: t.props.fieldControll, caIsPrd: t.props.caIsPrd, preCaFields: t.props.preCaFields, formRelaFieldMaps: t.state.formRelaFieldMaps, linkFields: t.state.linkFields, isRemoveCommentFormHtml: t.props.isRemoveCommentFormHtml, onChange: this.change.bind(this) })
|
|
1811
|
+
_react2.default.createElement(_subForm2.default, { keyNo: i, ref: 'sub_' + item.itemCode, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentField: t.props.commentField, commentAttitude: t.props.commentAttitude, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, defaultValue: t.props.defaultValue, data: t.props.data, fieldControll: t.props.fieldControll, caIsPrd: t.props.caIsPrd, preCaFields: t.props.preCaFields, formRelaFieldMaps: t.state.formRelaFieldMaps, linkFields: t.state.linkFields, isRemoveCommentFormHtml: t.props.isRemoveCommentFormHtml, onChange: this.change.bind(this) })
|
|
1773
1812
|
) : _react2.default.createElement(
|
|
1774
1813
|
'div',
|
|
1775
1814
|
{ className: "form_" + item.uniqueName },
|
|
1776
|
-
_react2.default.createElement(_form2.default, { ref: item.uniqueName, keyNo: i, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, defaultValue: t.props.defaultValue, data: t.props.data, fieldControll: t.props.fieldControll, caIsPrd: t.props.caIsPrd, preCaFields: t.props.preCaFields, formRelaFieldMaps: t.state.formRelaFieldMaps, linkFields: t.state.linkFields, isRemoveCommentFormHtml: t.props.isRemoveCommentFormHtml, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1815
|
+
_react2.default.createElement(_form2.default, { ref: item.uniqueName, keyNo: i, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentField: t.props.commentField, commentAttitude: t.props.commentAttitude, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, defaultValue: t.props.defaultValue, data: t.props.data, fieldControll: t.props.fieldControll, caIsPrd: t.props.caIsPrd, preCaFields: t.props.preCaFields, formRelaFieldMaps: t.state.formRelaFieldMaps, linkFields: t.state.linkFields, isRemoveCommentFormHtml: t.props.isRemoveCommentFormHtml, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1777
1816
|
);
|
|
1778
1817
|
}.bind(this)) : "" : _react2.default.createElement(
|
|
1779
1818
|
'div',
|
|
@@ -1800,16 +1839,16 @@ var PageHome = function (_React$Component) {
|
|
|
1800
1839
|
return _react2.default.createElement(
|
|
1801
1840
|
'div',
|
|
1802
1841
|
{ className: t.state.active == item.tabCode ? "" : "t-DN" },
|
|
1803
|
-
_react2.default.createElement(_form2.default, { className: "form_" + item.uniqueName, keyNo: j, ref: item.uniqueName, operate: t.props.operate, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, newspyj: t.props.newspyj, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item2, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1842
|
+
_react2.default.createElement(_form2.default, { className: "form_" + item.uniqueName, keyNo: j, ref: item.uniqueName, operate: t.props.operate, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentAttitude: t.props.commentAttitude, newspyj: t.props.newspyj, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item2, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1804
1843
|
);
|
|
1805
1844
|
}.bind(this)) : item.itemType == 'detail' ? _react2.default.createElement(
|
|
1806
1845
|
'div',
|
|
1807
1846
|
{ className: t.state.active == item.tabCode ? "" : "t-DN" },
|
|
1808
|
-
_react2.default.createElement(_subForm2.default, { className: "subform_" + item.itemCode, keyNo: i, ref: 'sub_' + item.itemCode, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this) })
|
|
1847
|
+
_react2.default.createElement(_subForm2.default, { className: "subform_" + item.itemCode, keyNo: i, ref: 'sub_' + item.itemCode, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentAttitude: t.props.commentAttitude, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this) })
|
|
1809
1848
|
) : _react2.default.createElement(
|
|
1810
1849
|
'div',
|
|
1811
1850
|
{ className: t.state.active == item.tabCode ? "" : "t-DN" },
|
|
1812
|
-
_react2.default.createElement(_form2.default, { className: "form_" + item.uniqueName, ref: item.uniqueName, keyNo: i, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1851
|
+
_react2.default.createElement(_form2.default, { className: "form_" + item.uniqueName, ref: item.uniqueName, keyNo: i, operate: t.props.operate, newspyj: t.props.newspyj, hasCommentField: t.props.hasCommentField, commentUpload: t.props.commentUpload, commentAttitude: t.props.commentAttitude, commentField: t.props.commentField, module: t.props.module, formKey: t.props.allForm.formcode, status: t.props.status, form: item, allForm: t.props.allForm, formStyle: t.props.formStyleObj, commentList: t.props.commentFieldList, data: t.props.data, fieldControll: t.props.fieldControll, onChange: this.change.bind(this), reloadItemParam: this.reloadItemParam.bind(this) })
|
|
1813
1852
|
);
|
|
1814
1853
|
}.bind(this))
|
|
1815
1854
|
)
|
|
@@ -1865,6 +1904,13 @@ var PageHome = function (_React$Component) {
|
|
|
1865
1904
|
{ onClick: this.selectCommonwords.bind(this) },
|
|
1866
1905
|
'\u5E38\u7528\u8BED'
|
|
1867
1906
|
),
|
|
1907
|
+
' ',
|
|
1908
|
+
_react2.default.createElement(
|
|
1909
|
+
'div',
|
|
1910
|
+
{ className: t.props.commentAttitude == '1' || t.props.commentAttitude == '2' ? "" : "t-DN", onClick: this.selectAttitude.bind(this) },
|
|
1911
|
+
'\u6001\u5EA6'
|
|
1912
|
+
),
|
|
1913
|
+
' ',
|
|
1868
1914
|
_react2.default.createElement(
|
|
1869
1915
|
'div',
|
|
1870
1916
|
{ onClick: this.skipToCommonwordsSet.bind(this) },
|
|
@@ -1917,6 +1963,21 @@ var PageHome = function (_React$Component) {
|
|
|
1917
1963
|
);
|
|
1918
1964
|
}.bind(this)) : ''
|
|
1919
1965
|
)
|
|
1966
|
+
),
|
|
1967
|
+
_react2.default.createElement(
|
|
1968
|
+
_FoldablePane2.default,
|
|
1969
|
+
{ foldHeight: 0, isFold: this.state.atfold },
|
|
1970
|
+
_react2.default.createElement(
|
|
1971
|
+
'div',
|
|
1972
|
+
{ className: 'phrase-list' },
|
|
1973
|
+
this.state.attitudeList.length > 0 ? this.state.attitudeList.map(function (item, i) {
|
|
1974
|
+
return _react2.default.createElement(
|
|
1975
|
+
'div',
|
|
1976
|
+
{ className: 'phrase-item', onClick: this.phraseItemClick.bind(this, item.value) },
|
|
1977
|
+
item.value
|
|
1978
|
+
);
|
|
1979
|
+
}.bind(this)) : ''
|
|
1980
|
+
)
|
|
1920
1981
|
)
|
|
1921
1982
|
)
|
|
1922
1983
|
)
|
|
@@ -367,6 +367,7 @@ var PageHome = function (_React$Component) {
|
|
|
367
367
|
defaultValue: "",
|
|
368
368
|
commentId: "",
|
|
369
369
|
commentField: "", //批示意见字段
|
|
370
|
+
commentAttitude: "0", //批示意见态度
|
|
370
371
|
hasCommentField: '0', //是否有审批意见
|
|
371
372
|
commentIsNull: '0', //审批意见是否可为空,0是,1否
|
|
372
373
|
commentIsNotNull: '0', //审批意见是否可为空,0是,1否
|
|
@@ -989,13 +990,18 @@ var PageHome = function (_React$Component) {
|
|
|
989
990
|
if (!commentField) {
|
|
990
991
|
commentField = "";
|
|
991
992
|
}
|
|
993
|
+
var commentAttitude = content['commentAttitude'];
|
|
994
|
+
if (!commentAttitude) {
|
|
995
|
+
commentAttitude = "0";
|
|
996
|
+
}
|
|
992
997
|
t.setState({
|
|
993
998
|
shortMessageList: shortMessageList,
|
|
994
999
|
readShortMessageList: readShortMessageList,
|
|
995
1000
|
sysSMSsetting: sysSMSsetting,
|
|
996
1001
|
sysImType: '0',
|
|
997
1002
|
evoRemind: evoRemind,
|
|
998
|
-
commentField: commentField
|
|
1003
|
+
commentField: commentField,
|
|
1004
|
+
commentAttitude: commentAttitude
|
|
999
1005
|
});
|
|
1000
1006
|
if (t.state.listType == '4') {
|
|
1001
1007
|
var details = content['details'];
|
|
@@ -7410,8 +7416,9 @@ var PageHome = function (_React$Component) {
|
|
|
7410
7416
|
console.log('oauthWindowURL', oauthWindowURL);
|
|
7411
7417
|
if (oauthWindowURL && oauthWindowURL != null && oauthWindowURL != 'null' && typeof oauthWindowURL != 'undefined' && oauthWindowURL != '') {
|
|
7412
7418
|
localStorage.setItem('oauthWindowURL', oauthWindowURL);
|
|
7413
|
-
console.log(getLoginUserInfo().contextPageUrl
|
|
7414
|
-
window.open(getLoginUserInfo().contextPageUrl
|
|
7419
|
+
// console.log(getLoginUserInfo().contextPageUrl+'/mobile/shenzhengCA.html');
|
|
7420
|
+
// window.open(getLoginUserInfo().contextPageUrl+'/mobile/shenzhengCA.html');
|
|
7421
|
+
location.href = getLoginUserInfo().contextPageUrl + '/mobile/shenzhengCA.html';
|
|
7415
7422
|
}
|
|
7416
7423
|
}, 100);
|
|
7417
7424
|
}
|
|
@@ -7502,7 +7509,7 @@ var PageHome = function (_React$Component) {
|
|
|
7502
7509
|
_react2.default.createElement(
|
|
7503
7510
|
_Group2.default.List,
|
|
7504
7511
|
null,
|
|
7505
|
-
this.state.tableStatus == '0' ? "" : _react2.default.createElement(_table2.default, { module: this.state.module, operate: this.state.operate, editType: this.state.editType, dataId: this.state.dataId, hasCommentField: t.state.hasCommentField, newspyj: t.state.newspyj, commentField: t.state.commentField, status: t.state.status, form: t.state.formItem, formStyleObj: t.state.formStyleObj, allForm: t.state.form, data: t.state.editFormData, commentFieldList: t.state.commentFieldList, defaultValue: t.state.defaultValue, commentDefaultList: t.state.commentDefaultList, commentBackList: t.state.commentBackList, fieldControll: t.state.fieldControll, caIsPrd: t.state.caIsPrd, preCaFields: t.state.preCaFields, formRelaField: t.state.formRelaField, isRemoveCommentFormHtml: t.state.isRemoveCommentFormHtml, commentUpload: t.state.commentUpload, onChange: this.change.bind(this) })
|
|
7512
|
+
this.state.tableStatus == '0' ? "" : _react2.default.createElement(_table2.default, { module: this.state.module, operate: this.state.operate, editType: this.state.editType, dataId: this.state.dataId, hasCommentField: t.state.hasCommentField, newspyj: t.state.newspyj, commentField: t.state.commentField, commentAttitude: t.state.commentAttitude, status: t.state.status, form: t.state.formItem, formStyleObj: t.state.formStyleObj, allForm: t.state.form, data: t.state.editFormData, commentFieldList: t.state.commentFieldList, defaultValue: t.state.defaultValue, commentDefaultList: t.state.commentDefaultList, commentBackList: t.state.commentBackList, fieldControll: t.state.fieldControll, caIsPrd: t.state.caIsPrd, preCaFields: t.state.preCaFields, formRelaField: t.state.formRelaField, isRemoveCommentFormHtml: t.state.isRemoveCommentFormHtml, commentUpload: t.state.commentUpload, onChange: this.change.bind(this) })
|
|
7506
7513
|
)
|
|
7507
7514
|
)
|
|
7508
7515
|
)
|