fmui-base 2.2.73 → 2.2.75

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 CHANGED
@@ -3,6 +3,8 @@
3
3
  ---npm publish
4
4
 
5
5
  ## 更新日志
6
+ - 2.2.75: 批示意见落款盖章适配移动端
7
+ - 2.2.74: 统一待办移动端跳转
6
8
  - 2.2.73: 非空字段隐藏后校验不通过问题修复
7
9
  - 2.2.72: 移动端支持单选、多选、下单单选和下拉多选设置空置进行联动
8
10
  - 2.2.71: 单选多选可输入关联不生效问题修复
@@ -302,6 +302,7 @@ var PageHome = function (_React$Component) {
302
302
  { className: 't-PR5' },
303
303
  item.taskName
304
304
  );
305
+ var sealHtml = item.sealFileId && item.sealFileId !== "" ? _react2.default.createElement('img', { className: 't-PR5', src: t.state.loadImg + item.sealFileId, style: { 'position': 'absolute', 'top': '15px', 'right': '10px', 'height': '100px', 'opacity': 0.8 } }) : "";
305
306
  var inscriptionShowArray = item.inscriptionShow.split(",");
306
307
  var _returnHtml = inscriptionShowArray.map(function (inscriptionItem) {
307
308
  if (inscriptionItem) {
@@ -317,13 +318,15 @@ var PageHome = function (_React$Component) {
317
318
  return signPicHtml;
318
319
  } else if (inscriptionItem == "taskName") {
319
320
  return taskNameHtml;
321
+ } else if (inscriptionItem == "seal") {
322
+ return sealHtml;
320
323
  }
321
324
  }
322
325
  });
323
326
  var replaceHtml = item.replacename && item.replacename != "" ? "(代" + userName + "办理)" : "";
324
327
  return _react2.default.createElement(
325
328
  Box,
326
- { className: 'comment-html', style: { marginLeft: "auto", "text-align": "right", width: '100%' } },
329
+ { className: 'comment-html', style: { marginLeft: "auto", "text-align": "right", width: '100%', 'position': 'relative' } },
327
330
  _returnHtml,
328
331
  replaceHtml
329
332
  );
package/lib/form/table.js CHANGED
@@ -991,6 +991,8 @@ var PageHome = function (_React$Component) {
991
991
  relaFieldMap["value"] = true;
992
992
  hideFlag = true;
993
993
  hideFields.push(relaFieldTblNameArrayItem);
994
+ } else if (triggerFieldVal == '') {
995
+ relaFieldMap["value"] = true;
994
996
  } else if (!hideFlag && defaulthideFields.indexOf(relaFieldTblNameArrayItem) != -1) {
995
997
  relaFieldMap["value"] = true;
996
998
  } else if (!hideFlag && hideFields.indexOf(relaFieldTblNameArrayItem) == -1) {
@@ -1126,7 +1128,10 @@ var PageHome = function (_React$Component) {
1126
1128
  }
1127
1129
  }
1128
1130
  if (isSubField) {} else if (t.refs[relaFieldTblNameArrayItem]) {
1129
-
1131
+ if (relaFieldMap.key == "required" && relaFieldMap.value) {
1132
+ console.log('[{"key":"isHidden","value":true}]');
1133
+ t.refs[relaFieldTblNameArrayItem].reloadItemParam([{ "key": "isHidden", "value": false }]);
1134
+ }
1130
1135
  t.refs[relaFieldTblNameArrayItem].reloadItemParam([relaFieldMap]);
1131
1136
  }
1132
1137
  }
@@ -322,21 +322,21 @@ var ListItem = function (_React$Component) {
322
322
  //projectPath = modules/mobileoffice
323
323
  // 预算模块跳转特殊处理
324
324
  if (module == 'bud_cost') {
325
- fullUrl = fullUrl.replace("/" + projectPath + "/", "/budget/budgetcost/").split('?_')[0].split('/approval/all')[0];
325
+ fullUrl = fullUrl.replace("/" + projectPath + "/", "/budget/budgetcost/").split('?_')[0].split('#/')[0];
326
326
  } else if (module == 'bud_project') {
327
- fullUrl = fullUrl.replace("/" + projectPath + "/", "/budget/budgetproject/").split('?_')[0].split('/approval/all')[0];
327
+ fullUrl = fullUrl.replace("/" + projectPath + "/", "/budget/budgetproject/").split('?_')[0].split('#/')[0];
328
328
  } else if (module == 'hoa_topic' || module == 'hoa_funds' || module == 'hoa_achievements') {
329
- fullUrl = fullUrl.replace("/" + projectPath + "/", "/ky/ky/").split('?_')[0].split('/approval/all')[0];
329
+ fullUrl = fullUrl.replace("/" + projectPath + "/", "/ky/ky/").split('?_')[0].split('#/')[0];
330
330
  } else if (module == 'contract_sign' || module == 'contract_exmanage') {
331
331
  fullUrl = fullUrl.replace("/" + projectPath + "/", "/contract/contract/").split('?_')[0].split('#/')[0];
332
332
  } else if (module.indexOf("dj_") != '-1' || module.indexOf("jj_") != '-1' || module.indexOf("zdh_") != '-1' || module.indexOf("gh_") != '-1') {
333
- fullUrl = fullUrl.split('?_')[0].split('/approval/all')[0];
333
+ fullUrl = fullUrl.split('?_')[0].split('#/')[0];
334
334
  } else if (module.indexOf("hoa_") != '-1') {
335
335
  var category = module.split("_")[0];
336
336
  mobilePath = module.substring(module.indexOf("_") + 1);
337
- fullUrl = fullUrl.replace("/" + projectPath + "/", "/" + category + "/" + mobilePath + "/").split('?_')[0].split('/approval/all')[0];
337
+ fullUrl = fullUrl.replace("/" + projectPath + "/", "/" + category + "/" + mobilePath + "/").split('?_')[0].split('#/')[0];
338
338
  } else {
339
- fullUrl = fullUrl.replace("/" + projectPath + "/", "/modules/" + mobilePath + "/").split('?_')[0].split('/approval/all')[0];
339
+ fullUrl = fullUrl.replace("/" + projectPath + "/", "/modules/" + mobilePath + "/").split('?_')[0].split('#/')[0];
340
340
  }
341
341
  var _url3 = "process/processDetails/" + taskId + "/" + param_formKey + "/" + param_businessKey + "/" + param_list_type + "/0/" + processInstanceId + "/" + module + "/" + loginUserId;
342
342
  _url3 = fullUrl + '#/' + _url3;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.2.73",
3
+ "version": "2.2.75",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",