eoss-mobiles 0.2.81 → 0.2.82

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eoss-mobiles",
3
- "version": "0.2.81",
3
+ "version": "0.2.82",
4
4
  "description": "eoss内部移动端业务组件",
5
5
  "main": "lib/eoss-mobile.common.js",
6
6
  "files": [
@@ -70,6 +70,15 @@
70
70
  v-model="addSignUserSelectList"
71
71
  @change="disposeAppUser($event, 'addSignUserSelectList')"
72
72
  />
73
+ <em-input v-if="isCanPreAddSign" label="加签模式">
74
+ <template slot="input">
75
+ <em-radio-group
76
+ v-model="form.addSignMode"
77
+ direction="horizontal"
78
+ :data="AddSignList"
79
+ />
80
+ </template>
81
+ </em-input>
73
82
  </div>
74
83
  <!-- 减签 -->
75
84
  <div
@@ -496,7 +505,12 @@ export default {
496
505
  },
497
506
  data() {
498
507
  return {
508
+ AddSignList: [
509
+ { name: '前置加签', value: 'preAddSign' },
510
+ { name: '后置加签', value: 'postAddSign' }
511
+ ],
499
512
  nextNodeDefault: 0,
513
+ isCanPreAddSign: false,
500
514
  showAppUnit: false, // 弹窗单位
501
515
  handleFlow: true,
502
516
  isReject: false,
@@ -516,6 +530,7 @@ export default {
516
530
  isHiddenOftenOpinion: undefined, //是否隐藏常用意见
517
531
  isAddSignList: [{ name: '是', value: '1' }, { name: '否', value: '2' }],
518
532
  form: {
533
+ addSignMode: 'postAddSign',
519
534
  opinion: undefined, // 审批意见
520
535
  isImageOpinion: 0,
521
536
  isAddSign: undefined, //是否加签
@@ -808,10 +823,10 @@ export default {
808
823
  this.$toast('请选择办理人');
809
824
  return;
810
825
  }
811
- if (this.form.isAddSign == '1' && !this.form.addSignUserId) {
812
- this.$toast('请选择办理人');
813
- return;
814
- }
826
+ // if (this.form.isAddSign == '1' && !this.form.addSignUserId) {
827
+ // this.$toast('请选择办理人');
828
+ // return;
829
+ // }
815
830
  if (
816
831
  !this.form.nextNodeId &&
817
832
  this.nodeList &&
@@ -911,6 +926,9 @@ export default {
911
926
  _that.form.nextOperate == 0 || _that.form.nextOperate == 1
912
927
  ? _that.form.nextNodeId || nodeInfoMapInfo.nodeExtAttr.defaultNextNode
913
928
  : '';
929
+ if (!_that.isCanPreAddSign) {
930
+ delete _that.form.addSignMode;
931
+ }
914
932
  let formData = new FormData();
915
933
  if (_that.form.isImageOpinion == 1) {
916
934
  formData.append('file', _that.file);
@@ -1201,10 +1219,12 @@ export default {
1201
1219
  currentOrgName,
1202
1220
  otherOrgName,
1203
1221
  defaultNotificationMessage,
1204
- defaultNotificationType
1222
+ defaultNotificationType,
1223
+ isCanPreAddSign
1205
1224
  }
1206
1225
  } = res;
1207
1226
  that.currentOrgName = currentOrgName;
1227
+ that.isCanPreAddSign = isCanPreAddSign;
1208
1228
  that.otherOrgName = otherOrgName;
1209
1229
  that.taskExamineInfo = taskExamine;
1210
1230
  that.form.isReturnSubmitter = taskExamine.isReturnSubmitter;
@@ -1 +1 @@
1
- .em-form,.em-form-content{-webkit-box-direction:normal;height:0}.em-form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.em-form-content{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column}.em-form .van-tab__pane{height:calc(100% - 10px)}.em-form .van-tab__pane>div{height:100%}
1
+ .em-form,.em-form-content{-webkit-box-direction:normal}.em-form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;height:auto}.em-form-content{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-ms-flex-direction:column;flex-direction:column;height:0}.em-form .van-tab__pane{height:calc(100% - 10px)}.em-form .van-tab__pane>div{height:100%}