fmui-base 1.0.7 → 1.0.9
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/lib/form/form.js +1 -1
- package/lib/form/subForm.js +2 -2
- package/lib/form/table.js +1 -1
- package/lib/form_info/formInfo.js +1 -1
- package/lib/process_batch/processBatch.js +1 -1
- package/lib/process_info/RelationProcess.js +2 -2
- package/lib/process_info/processInfo.js +1 -1
- package/lib/process_list/processList.js +2 -2
- package/lib/selectMember/select.js +2 -2
- package/lib/selectMember/select.less +4 -0
- package/package.json +2 -2
package/lib/form/form.js
CHANGED
|
@@ -126,7 +126,7 @@ var PageHome = function (_React$Component) {
|
|
|
126
126
|
/* alert(commentField);*/
|
|
127
127
|
var context = document.getElementById("context").value;
|
|
128
128
|
//alert(props.defaultValue);
|
|
129
|
-
var module = props.module;
|
|
129
|
+
var module = props.module && props.module != "undefined" ? props.module : "approve";
|
|
130
130
|
FlowCommon = require('pages/flow_common/' + module).default ? require('pages/flow_common/' + module).default : require('pages/flow_common/' + module);
|
|
131
131
|
_this.state = {
|
|
132
132
|
module: module,
|
package/lib/form/subForm.js
CHANGED
|
@@ -49,12 +49,12 @@ var PageHome = function (_React$Component) {
|
|
|
49
49
|
var status = props.status;
|
|
50
50
|
var context = document.getElementById("context").value;
|
|
51
51
|
|
|
52
|
-
var module = props.module;
|
|
52
|
+
var module = props.module && props.module != "undefined" ? props.module : "approve";
|
|
53
53
|
FlowCommon = require('pages/flow_common/' + module).default ? require('pages/flow_common/' + module).default : require('pages/flow_common/' + module);
|
|
54
54
|
|
|
55
55
|
// var itemParam =
|
|
56
56
|
_this.state = {
|
|
57
|
-
module:
|
|
57
|
+
module: module,
|
|
58
58
|
status: status,
|
|
59
59
|
fieldControll: props.fieldControll,
|
|
60
60
|
urlPrev: context + '/dingisv/api/common/viewImage?fid=',
|
package/lib/form/table.js
CHANGED
|
@@ -107,7 +107,7 @@ var PageHome = function (_React$Component) {
|
|
|
107
107
|
spyj: defaultValue
|
|
108
108
|
};
|
|
109
109
|
|
|
110
|
-
var module = props.module;
|
|
110
|
+
var module = props.module && props.module != "undefined" ? props.module : "approve";
|
|
111
111
|
FlowCommon = require('pages/flow_common/' + module).default ? require('pages/flow_common/' + module).default : require('pages/flow_common/' + module);
|
|
112
112
|
|
|
113
113
|
return _this;
|
|
@@ -202,7 +202,7 @@ var PageHome = function (_React$Component) {
|
|
|
202
202
|
var keyNum = _this.GenNonDuplicateID(8);
|
|
203
203
|
|
|
204
204
|
// let category = this.props.params.category;//模块
|
|
205
|
-
var module = props.module; //分类
|
|
205
|
+
var module = props.module && props.module != "undefined" ? props.module : "approve"; //分类
|
|
206
206
|
searchVal = props.search;
|
|
207
207
|
if (!module) {
|
|
208
208
|
module = "approve";
|
|
@@ -92,7 +92,7 @@ var PageHome = function (_React$Component) {
|
|
|
92
92
|
|
|
93
93
|
var defaultComment = '';
|
|
94
94
|
var category = props.category; //分类
|
|
95
|
-
var module = props.module; //模块
|
|
95
|
+
var module = props.module && props.module != "undefined" ? props.module : "approve"; //模块
|
|
96
96
|
if (!module) {
|
|
97
97
|
module = "approve";
|
|
98
98
|
}
|
|
@@ -72,9 +72,9 @@ var Page = function (_React$Component) {
|
|
|
72
72
|
key: 'clickDetail',
|
|
73
73
|
value: function clickDetail(item) {
|
|
74
74
|
var processInstanceId = item.processInstanceId;
|
|
75
|
-
var
|
|
75
|
+
var formId = item.formId;
|
|
76
76
|
var module = item.module;
|
|
77
|
-
var url = "process/processDetails/-99/" +
|
|
77
|
+
var url = "process/processDetails/-99/" + formId + "/-99/-99/0/" + processInstanceId + "/" + module;
|
|
78
78
|
decodeURI(url);
|
|
79
79
|
location.hash = url;
|
|
80
80
|
//location.reload();
|
|
@@ -240,7 +240,7 @@ var PageHome = function (_React$Component) {
|
|
|
240
240
|
var keyNum = _this.GenNonDuplicateID(8);
|
|
241
241
|
|
|
242
242
|
// let category = this.props.params.category;//模块
|
|
243
|
-
var module = props.module
|
|
243
|
+
var module = props.module && props.module != "undefined" ? props.module : "approve";; //分类
|
|
244
244
|
searchVal = props.search;
|
|
245
245
|
if (!module) {
|
|
246
246
|
module = "approve";
|
|
@@ -131,9 +131,9 @@ var ListItem = function (_React$Component) {
|
|
|
131
131
|
if (module.indexOf("_") > 0) {
|
|
132
132
|
var category = module.split("_")[0];
|
|
133
133
|
mobilePath = module.substring(module.indexOf("_") + 1);
|
|
134
|
-
fullUrl = fullUrl.replace(/
|
|
134
|
+
fullUrl = fullUrl.replace(/mobileoffice/g, mobilePath).replace("/modules/", "/" + category + "/").split('?_')[0].split('/approval/all')[0];
|
|
135
135
|
} else {
|
|
136
|
-
fullUrl = fullUrl.replace(/
|
|
136
|
+
fullUrl = fullUrl.replace(/mobileoffice/g, mobilePath).split('?_')[0].split('/approval/all')[0];
|
|
137
137
|
}
|
|
138
138
|
//alert(fullUrl);
|
|
139
139
|
var _url = "process/processDetails/" + taskId + "/" + param_formKey + "/" + param_businessKey + "/" + param_list_type + "/0/" + processInstanceId + "/" + module + "/" + loginUserId;
|
|
@@ -6856,7 +6856,7 @@ var Page = function (_React$Component) {
|
|
|
6856
6856
|
{animationType:'slide-left'}
|
|
6857
6857
|
); */
|
|
6858
6858
|
this.instance = {
|
|
6859
|
-
popupSelect: _Popup2.default.show(this.getContent(), { animationType: 'slide-left' }),
|
|
6859
|
+
popupSelect: _Popup2.default.show(this.getContent(), { animationType: 'slide-left', className: "select-member-div-top" }),
|
|
6860
6860
|
update: function update(content, isCheckItem) {
|
|
6861
6861
|
this.popupSelect.update(content);
|
|
6862
6862
|
if (isCheckItem) {
|
|
@@ -6865,7 +6865,7 @@ var Page = function (_React$Component) {
|
|
|
6865
6865
|
$('#anchor').scrollTop(0);
|
|
6866
6866
|
}
|
|
6867
6867
|
};
|
|
6868
|
-
$(".select-member-div-class").parents(".t-popup").css({ "left": "0", "background": "#f7f7f7" });
|
|
6868
|
+
// $(".select-member-div-class").parents(".t-popup").css({ "left": "0", "background": "#f7f7f7" });
|
|
6869
6869
|
var curOrgUserUrl = t.getFetchUrl("curOrgUser", '', '', false, false);
|
|
6870
6870
|
//获取当前组织所有用户
|
|
6871
6871
|
fetch(curOrgUserUrl, {
|