fmui-base 2.2.50 → 2.2.52
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 +7 -0
- package/lib/process_info/processInfo.js +10 -3
- package/package.json +1 -1
package/README.md
CHANGED
package/lib/form/form.js
CHANGED
|
@@ -919,6 +919,10 @@ var PageHome = function (_React$Component) {
|
|
|
919
919
|
}
|
|
920
920
|
} else if (itemType == 'datetime') {
|
|
921
921
|
//时间
|
|
922
|
+
if (fuzhiFields && fuzhiFields.split(",").indexOf(itemParam.uniqueName) != -1 && form.defaultValue && form.defaultValue != null) {
|
|
923
|
+
value = form.defaultValue;
|
|
924
|
+
}
|
|
925
|
+
|
|
922
926
|
if (value) {
|
|
923
927
|
if (value.length == 10) {
|
|
924
928
|
isVerifySingValue = value + " 00:00:00";
|
|
@@ -1122,10 +1126,13 @@ var PageHome = function (_React$Component) {
|
|
|
1122
1126
|
var uploadFileNumLimit = "";
|
|
1123
1127
|
var uploadFileLimit = "";
|
|
1124
1128
|
var canDownload = "";
|
|
1129
|
+
var imagetype = ""; // 0 图片上传 1 手写签名
|
|
1130
|
+
|
|
1125
1131
|
if (formDataAttr) {
|
|
1126
1132
|
uploadFileNumLimit = formDataAttr.uploadFileNumLimit; //上传个数限制
|
|
1127
1133
|
uploadFileLimit = formDataAttr.uploadFileLimit; //上传类型限制
|
|
1128
1134
|
canDownload = formDataAttr.canDownload; //是否下载
|
|
1135
|
+
imagetype = formDataAttr.imagetype; // 0 图片上传 1 手写签名
|
|
1129
1136
|
}
|
|
1130
1137
|
if (value) {
|
|
1131
1138
|
value = value.replace(/\|/g, ",");
|
|
@@ -475,7 +475,7 @@ var PageHome = function (_React$Component) {
|
|
|
475
475
|
selectProcessCode: '', //选中的子流程
|
|
476
476
|
subProcessType: '', //子流程类型 0串行 1并行
|
|
477
477
|
urgencyList: [], //紧急程度列表
|
|
478
|
-
urgency: '' }, _defineProperty(_param, 'urgent', ''), _defineProperty(_param, 'backInitiatorEndFlow', '0'), _defineProperty(_param, 'oauthWindowURL', ''), _defineProperty(_param, 'isCaUser', '0'), _defineProperty(_param, 'caFirm', ''), _defineProperty(_param, 'addlotsReturn', ''), _param);
|
|
478
|
+
urgency: '' }, _defineProperty(_param, 'urgent', ''), _defineProperty(_param, 'backInitiatorEndFlow', '0'), _defineProperty(_param, 'oauthWindowURL', ''), _defineProperty(_param, 'signDataId', ''), _defineProperty(_param, 'isCaUser', '0'), _defineProperty(_param, 'caFirm', ''), _defineProperty(_param, 'addlotsReturn', ''), _param);
|
|
479
479
|
FlowCommon = require('pages/flow_common/' + module).default ? require('pages/flow_common/' + module).default : require('pages/flow_common/' + module);
|
|
480
480
|
|
|
481
481
|
//处理特有参数
|
|
@@ -1217,9 +1217,14 @@ var PageHome = function (_React$Component) {
|
|
|
1217
1217
|
//是否是产品CA 1是 0否
|
|
1218
1218
|
var caIsPrd = "";
|
|
1219
1219
|
var oauthWindowURL = "";
|
|
1220
|
+
var signDataId = "";
|
|
1221
|
+
if (content.signDataId && content.signDataId != null && content.signDataId != 'null' && typeof content.signDataId != 'undefined' && content.signDataId != '') {
|
|
1222
|
+
signDataId = content.signDataId;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1220
1225
|
if (content.oauthWindowURL && content.oauthWindowURL != null && content.oauthWindowURL != 'null' && typeof content.oauthWindowURL != 'undefined' && content.oauthWindowURL != '') {
|
|
1221
1226
|
oauthWindowURL = content.oauthWindowURL;
|
|
1222
|
-
t.openCaPage(oauthWindowURL, content.caFirm);
|
|
1227
|
+
t.openCaPage(oauthWindowURL, content.caFirm, signDataId);
|
|
1223
1228
|
}
|
|
1224
1229
|
var isCaUser = "0";
|
|
1225
1230
|
if (content.isCaUser && content.isCaUser != null && content.isCaUser != 'null' && typeof content.isCaUser != 'undefined' && content.isCaUser != '') {
|
|
@@ -1476,6 +1481,7 @@ var PageHome = function (_React$Component) {
|
|
|
1476
1481
|
urgentSelectList: urgentSelectList,
|
|
1477
1482
|
backInitiatorEndFlow: backInitiatorEndFlow,
|
|
1478
1483
|
oauthWindowURL: oauthWindowURL,
|
|
1484
|
+
signDataId: signDataId,
|
|
1479
1485
|
isCaUser: isCaUser,
|
|
1480
1486
|
caFirm: caFirm,
|
|
1481
1487
|
addlotsReturn: addlotsReturn
|
|
@@ -7630,12 +7636,13 @@ var PageHome = function (_React$Component) {
|
|
|
7630
7636
|
|
|
7631
7637
|
}, {
|
|
7632
7638
|
key: 'openCaPage',
|
|
7633
|
-
value: function openCaPage(oauthWindowURL, caFirm) {
|
|
7639
|
+
value: function openCaPage(oauthWindowURL, caFirm, signDataId) {
|
|
7634
7640
|
setTimeout(function () {
|
|
7635
7641
|
console.log('oauthWindowURL', oauthWindowURL);
|
|
7636
7642
|
if (oauthWindowURL && oauthWindowURL != null && oauthWindowURL != 'null' && typeof oauthWindowURL != 'undefined' && oauthWindowURL != '' && caFirm && caFirm != null && caFirm != 'null' && typeof caFirm != 'undefined' && caFirm != '') {
|
|
7637
7643
|
localStorage.setItem('oauthWindowURL', oauthWindowURL);
|
|
7638
7644
|
localStorage.setItem('caFirm', caFirm);
|
|
7645
|
+
localStorage.setItem('signDataId', signDataId);
|
|
7639
7646
|
// console.log(getLoginUserInfo().contextPageUrl+'/mobile/shenzhengCA.html');
|
|
7640
7647
|
// window.open(getLoginUserInfo().contextPageUrl+'/mobile/shenzhengCA.html');
|
|
7641
7648
|
location.href = getLoginUserInfo().contextPageUrl + '/mobile/shenzhengCA.html';
|