fmui-base 2.2.62 → 2.2.64

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.64: 移动端提醒支持强制选中,移动端必提醒
7
+ - 2.2.63: 再次发起回调参数
6
8
  - 2.2.62: 单选和多选支持选项后允许填空
7
9
  - 2.2.61: 我的流程支持再次发起
8
10
  - 2.2.60: 数据表字段关联值支持关联日期字段带出星期几,数据表字段关联值可以关联其他字段,进行赋值,批量办理支持CA批示意见的加签和验签
@@ -926,6 +926,8 @@ var PageHome = function (_React$Component) {
926
926
 
927
927
  var markValue = getSysMarkConfigValue('approve');
928
928
  var markValueJson = JSON.parse(markValue);
929
+ var forceSelect = getSystemInfo().forceSelect;
930
+
929
931
  messageType = content.message;
930
932
  t.setState({
931
933
  messageType: messageType
@@ -946,7 +948,10 @@ var PageHome = function (_React$Component) {
946
948
  readShortMessageList.push({ value: "1", checked: false, content: '短信提醒', disable: false });
947
949
  }
948
950
  }
949
- if (evoRemind && (evoRemind == '1' || evoRemind == '2')) {
951
+ if (forceSelect && forceSelect == '1') {
952
+ shortMessageList.push({ value: "2", checked: true, content: '移动端提醒', disable: true });
953
+ readShortMessageList.push({ value: "2", checked: true, content: '移动端提醒', disable: true });
954
+ } else if (evoRemind && (evoRemind == '1' || evoRemind == '2')) {
950
955
 
951
956
  if (evoRemind == '2') {
952
957
  //中联
@@ -966,7 +971,7 @@ var PageHome = function (_React$Component) {
966
971
  readShortMessageList.push({ value: "2", checked: false, content: '移动端提醒', disable: false });
967
972
  }
968
973
  }
969
- if (sysSMSsetting && sysSMSsetting == '2' && evoRemind && evoRemind == '2') {
974
+ if (sysSMSsetting && sysSMSsetting == '2' && (evoRemind && evoRemind == '2' || forceSelect && forceSelect == '1')) {
970
975
  t.setState({
971
976
  sendShortMessage: '1,2',
972
977
  circulateShortMessage: '1,2',
@@ -986,7 +991,7 @@ var PageHome = function (_React$Component) {
986
991
  handleInvalidShortMessage: '1',
987
992
  endShortMessage: '1'
988
993
  });
989
- } else if (evoRemind && evoRemind == '2') {
994
+ } else if (evoRemind && evoRemind == '2' || forceSelect && forceSelect == '1') {
990
995
  t.setState({
991
996
  sendShortMessage: '2',
992
997
  circulateShortMessage: '2',
@@ -4970,8 +4975,8 @@ var PageHome = function (_React$Component) {
4970
4975
 
4971
4976
  //操作回调
4972
4977
  var type = 6;
4973
- if (t.state.isStart && t.state.dataId == '') {
4974
- //是不是起始节点
4978
+ if (t.state.isStart && (t.state.dataId == '' || t.state.isSub == '2')) {
4979
+ //是不是起始节点 或再次发起
4975
4980
  type = 4;
4976
4981
  }
4977
4982
  if (t.state.isEnd) {
@@ -4979,7 +4984,7 @@ var PageHome = function (_React$Component) {
4979
4984
  type = 1;
4980
4985
  }
4981
4986
  var dataId = t.state.dataId;
4982
- if (dataId == "") {
4987
+ if (dataId == "" || t.state.isSub == '2') {
4983
4988
  dataId = content.dataId;
4984
4989
  t.setState({ dataId: dataId });
4985
4990
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.2.62",
3
+ "version": "2.2.64",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",