eoss-mobiles 0.1.20 → 0.1.21

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/flow.js CHANGED
@@ -3094,8 +3094,8 @@ var StartFlow_component = Object(componentNormalizer["a" /* default */])(
3094
3094
  )
3095
3095
 
3096
3096
  /* harmony default export */ var StartFlow = (StartFlow_component.exports);
3097
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=5a5dba5b&
3098
- var Handlevue_type_template_id_5a5dba5b_render = function () {
3097
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Handle.vue?vue&type=template&id=414da780&
3098
+ var Handlevue_type_template_id_414da780_render = function () {
3099
3099
  var _vm = this
3100
3100
  var _h = _vm.$createElement
3101
3101
  var _c = _vm._self._c || _h
@@ -3317,28 +3317,30 @@ var Handlevue_type_template_id_5a5dba5b_render = function () {
3317
3317
  _vm.form.isAddSign !== "1" &&
3318
3318
  !_vm.isHiddenNextStepInfo
3319
3319
  ? _c("div", [
3320
- _c(
3321
- "div",
3322
- {
3323
- staticClass: "shrink-btn",
3324
- on: {
3325
- click: function ($event) {
3326
- _vm.isNextBox = !_vm.isNextBox
3320
+ !_vm.isReject
3321
+ ? _c(
3322
+ "div",
3323
+ {
3324
+ staticClass: "shrink-btn",
3325
+ on: {
3326
+ click: function ($event) {
3327
+ _vm.isNextBox = !_vm.isNextBox
3328
+ },
3329
+ },
3327
3330
  },
3328
- },
3329
- },
3330
- [
3331
- _vm._v(
3332
- "\n " +
3333
- _vm._s(
3334
- _vm.isNextBox
3335
- ? "收起下一步操作和节点"
3336
- : "展开下一步操作和节点"
3337
- ) +
3338
- "\n "
3339
- ),
3340
- ]
3341
- ),
3331
+ [
3332
+ _vm._v(
3333
+ "\n " +
3334
+ _vm._s(
3335
+ _vm.isNextBox
3336
+ ? "收起下一步操作和节点"
3337
+ : "展开下一步操作和节点"
3338
+ ) +
3339
+ "\n "
3340
+ ),
3341
+ ]
3342
+ )
3343
+ : _vm._e(),
3342
3344
  _c(
3343
3345
  "div",
3344
3346
  {
@@ -3346,8 +3348,8 @@ var Handlevue_type_template_id_5a5dba5b_render = function () {
3346
3348
  {
3347
3349
  name: "show",
3348
3350
  rawName: "v-show",
3349
- value: _vm.isNextBox,
3350
- expression: "isNextBox",
3351
+ value: _vm.isNextBox || _vm.isReject,
3352
+ expression: "isNextBox || isReject",
3351
3353
  },
3352
3354
  ],
3353
3355
  staticClass: "next-box",
@@ -3390,7 +3392,9 @@ var Handlevue_type_template_id_5a5dba5b_render = function () {
3390
3392
  1
3391
3393
  )
3392
3394
  : _vm._e(),
3393
- _vm.nodeList && _vm.nodeList.length > 0
3395
+ _vm.nodeList &&
3396
+ _vm.nodeList.length > 0 &&
3397
+ !_vm.isReject
3394
3398
  ? _c(
3395
3399
  "div",
3396
3400
  { staticClass: "item" },
@@ -4037,11 +4041,11 @@ var Handlevue_type_template_id_5a5dba5b_render = function () {
4037
4041
  1
4038
4042
  )
4039
4043
  }
4040
- var Handlevue_type_template_id_5a5dba5b_staticRenderFns = []
4041
- Handlevue_type_template_id_5a5dba5b_render._withStripped = true
4044
+ var Handlevue_type_template_id_414da780_staticRenderFns = []
4045
+ Handlevue_type_template_id_414da780_render._withStripped = true
4042
4046
 
4043
4047
 
4044
- // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=5a5dba5b&
4048
+ // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=414da780&
4045
4049
 
4046
4050
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/Reject.vue?vue&type=template&id=7bebd8d0&
4047
4051
  var Rejectvue_type_template_id_7bebd8d0_render = function () {
@@ -5015,6 +5019,13 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5015
5019
  //
5016
5020
  //
5017
5021
  //
5022
+ //
5023
+ //
5024
+ //
5025
+ //
5026
+ //
5027
+ //
5028
+ //
5018
5029
 
5019
5030
 
5020
5031
 
@@ -5041,10 +5052,13 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5041
5052
  baseUrl: String
5042
5053
  },
5043
5054
  data: function data() {
5044
- return {
5055
+ var _ref;
5056
+
5057
+ return _ref = {
5045
5058
  nextNodeDefault: 0,
5046
5059
  showAppUnit: false, // 弹窗单位
5047
5060
  handleFlow: true,
5061
+ isReject: false,
5048
5062
  isChooseNextNode: 1, //是否展示下步操作
5049
5063
  pid: 'root', //树选中pid
5050
5064
  objType: 'enterprise', //树点击对象
@@ -5094,72 +5108,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5094
5108
  advanceNoticeDay: undefined, //限时办理 天
5095
5109
  advanceNoticeHour: undefined, //限时办理 时
5096
5110
  advanceNoticeType: [] //催办通知方式
5097
- },
5098
- isOpinionRequired: 0, // 意见是否必填
5099
- isBanInputOpinion: 0, //意见是否禁用
5100
- showTimeList: false, //选择限时办理弹出层
5101
- timeList: [], // 选择限时办理时间数组
5102
- nextUserList: [], //下步办理人数组
5103
- nextCurrentOrgObjSelect: [], // 选中本单位
5104
- nextOtherOrgObjSelect: [], //选中外单位
5105
- nextReadUserSelectList: [], //分阅选择数组
5106
- addSignUserSelectList: [], //增加办理人选择数组
5107
- removeSignUserSelectList: [], //减少办理人选择数组
5108
- nextUserSelectList: [], //下步办理人选择数组
5109
- showAppUser: false, // 办理人遮罩层
5110
- showNextOperate: false, // 下一步操作遮罩层
5111
- showNextNodeList: false, // 下一步流程节点遮罩层
5112
- nodeList: [], // 流程节点列表
5113
- selectList: [], // 当前选中办理人
5114
- opinionList: [], // 意见列表
5115
- processObj: { taskExamine: { nodeName: undefined } }, //流程信息
5116
- peopleObj: {}, //办理人信息
5117
- userInfo: {}, // 用户信息
5118
- isCanAddSign: false, //是否显示加签
5119
- isCanRemoveSign: false, //是否显示减签
5120
- isSpecial: true, //判断审核内容是否显示(是否是正常的办理页面)
5121
- taskOperations: [], //下一步操作
5122
- countersignaturetypeCode: false, //用来判断处理方式是否显示
5123
- countersignaturetypeText: undefined, // 处理方式
5124
- isCustomPreset: true, // 是否允许预设节点
5125
- isHideCurrentOrg: false, //是否隐藏本单位(承办)
5126
- isHideOtherOrg: false, //是否隐藏外单位(承办)
5127
- isHandleExplain: false, // 是否允许办理说明
5128
- isTaskread: false, //是否分阅
5129
- defaultNotificationType: undefined, ///默认选中通知类型
5130
- selectUnitType: 'department', //单位树选择类型
5131
- isHiddenNextStepInfo: false, //是否隐藏下一步节点信息和接收人信息
5132
- presetEdit: true, //预设是否允许编辑
5133
- isLimitedTimeHandling: false, //是否支持发起子流程限时办理
5134
- userSelectionType: undefined, //处理人选择方式
5135
- orgSelectionType: undefined, //办理机构选择方式
5136
- notificationType: undefined, // 通知方式
5137
- nodeType: undefined, // 节点类型(普通节点0,承办节点1,会签节点2,阅办节点3)
5138
- deptRoleCode: undefined, //本单位角色
5139
- orgRoleCode: undefined, //外单位角色
5140
- appointNotUserIds: undefined, //业务指定非处理人
5141
- handleRoleId: undefined, //办理角色(一般选择范围是部门/单位使用)
5142
- nextRole: undefined, //下步节点默认角色
5143
- filterCandinateIds: undefined, //节点过滤办理人
5144
- selectorDefShowDeptId: undefined, //选择器默认展示部门
5145
- isRadio: true, //下步办理人是否单选
5146
- otherOrgName: undefined, //外单位名字
5147
- currentOrgName: undefined, //本单位名字
5148
- isMainSubProcess: false, // 判断是否子-主流程
5149
- isNextUser: false, // 判断是否显示下步办理人
5150
- isDealObject: false, //判断是否显示办理对象
5151
- isDealRole: false, //判断是否显示办理角色
5152
- nextUserflag: false,
5153
- isSubmitButtonShowAgreeAndDisagree: 0, //是否展示同意和不同意按钮
5154
- isCustomUserClick: false, //下步办理人选择是否可以点击
5155
- timeListLable: undefined, //用来判断是哪里点开的时间遮罩层
5156
- nodeDefaultSubmitOpinion: undefined, //默认提交意见
5157
- isCustomUser: 0, //是否可选中办理人
5158
- choiceOrgId: '',
5159
- choiceDeptId: '',
5160
- taskExamineInfo: {},
5161
- pOrgId: ''
5162
- };
5111
+ }
5112
+ }, _ref['isChooseNextNode'] = 1, _ref.isOpinionRequired = 0, _ref.isBanInputOpinion = 0, _ref.showTimeList = false, _ref.timeList = [], _ref.nextUserList = [], _ref.nextCurrentOrgObjSelect = [], _ref.nextOtherOrgObjSelect = [], _ref.nextReadUserSelectList = [], _ref.addSignUserSelectList = [], _ref.removeSignUserSelectList = [], _ref.nextUserSelectList = [], _ref.showAppUser = false, _ref.showNextOperate = false, _ref.showNextNodeList = false, _ref.nodeList = [], _ref.selectList = [], _ref.opinionList = [], _ref.processObj = { taskExamine: { nodeName: undefined } }, _ref.peopleObj = {}, _ref.userInfo = {}, _ref.isCanAddSign = false, _ref.isCanRemoveSign = false, _ref.isSpecial = true, _ref.taskOperations = [], _ref.countersignaturetypeCode = false, _ref.countersignaturetypeText = undefined, _ref.isCustomPreset = true, _ref.isHideCurrentOrg = false, _ref.isHideOtherOrg = false, _ref.isHandleExplain = false, _ref.isTaskread = false, _ref.defaultNotificationType = undefined, _ref.selectUnitType = 'department', _ref.isHiddenNextStepInfo = false, _ref.presetEdit = true, _ref.isLimitedTimeHandling = false, _ref.userSelectionType = undefined, _ref.orgSelectionType = undefined, _ref.notificationType = undefined, _ref.nodeType = undefined, _ref.deptRoleCode = undefined, _ref.orgRoleCode = undefined, _ref.appointNotUserIds = undefined, _ref.handleRoleId = undefined, _ref.nextRole = undefined, _ref.filterCandinateIds = undefined, _ref.selectorDefShowDeptId = undefined, _ref.isRadio = true, _ref.otherOrgName = undefined, _ref.currentOrgName = undefined, _ref.isMainSubProcess = false, _ref.isNextUser = false, _ref.isDealObject = false, _ref.isDealRole = false, _ref.nextUserflag = false, _ref.isSubmitButtonShowAgreeAndDisagree = 0, _ref.isCustomUserClick = false, _ref.timeListLable = undefined, _ref.nodeDefaultSubmitOpinion = undefined, _ref.isCustomUser = 0, _ref.choiceOrgId = '', _ref.choiceDeptId = '', _ref.taskExamineInfo = {}, _ref.nodeInfoMapInfo = {}, _ref.pOrgId = '', _ref;
5163
5113
  },
5164
5114
  created: function created() {
5165
5115
  var _this2 = this;
@@ -5228,11 +5178,11 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5228
5178
  idStr = idStr + r.showid + (i === _this3.nextUserSelectList.length - 1 ? '' : ',');
5229
5179
  });
5230
5180
  this.form.nextUserId = idStr;
5231
- if (this.isSpecial && this.isNextUser && !this.form.nextUserId && idStr === '') {
5181
+ if (this.isSpecial && this.isNextUser && !this.form.nextUserId && idStr === '' && !this.isReject) {
5232
5182
  this.$toast('请选择办理人');
5233
5183
  return;
5234
5184
  }
5235
- if (!this.form.nextNodeId && this.nodeList.length > 0 && this.isSpecial) {
5185
+ if (!this.form.nextNodeId && this.nodeList.length > 0 && this.isSpecial && !this.isReject) {
5236
5186
  this.$toast('请选择流程节点');
5237
5187
  return;
5238
5188
  }
@@ -5294,7 +5244,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5294
5244
  choiceOrgId = this.choiceOrgId,
5295
5245
  choiceDeptId = this.choiceDeptId,
5296
5246
  pOrgId = this.pOrgId,
5297
- taskExamineInfo = this.taskExamineInfo;
5247
+ taskExamineInfo = this.taskExamineInfo,
5248
+ nodeInfoMapInfo = this.nodeInfoMapInfo;
5298
5249
 
5299
5250
  _that.form.isEndUserTask = isEndUserTask;
5300
5251
  _that.form.choiceOrgId = choiceOrgId;
@@ -5306,6 +5257,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5306
5257
  _that.form.processDefinitionId = taskExamineInfo.processDefinitionId;
5307
5258
  _that.form.isSubFlow = taskExamineInfo.isSubFlow;
5308
5259
  _that.form.nodeId = taskExamineInfo.nodeId;
5260
+ _that.form.nextNodeId = _that.form.nextNodeId || nodeInfoMapInfo.nodeExtAttr.defaultNextNode;
5309
5261
  Object(http["a" /* default */])({
5310
5262
  url: _that.baseUrl ? _that.baseUrl + api["j" /* taskHandleHtml */] : api["j" /* taskHandleHtml */],
5311
5263
  params: Handlevue_type_script_lang_js_extends({
@@ -5360,7 +5312,14 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5360
5312
 
5361
5313
  // 切换下一步操作
5362
5314
  changeNextOperate: function changeNextOperate(val) {
5363
- if (val == -1) {} else if (val == 0) {} else if (val == 1) {} else if (val == 2) {} else if (val == 3) {} else if (val == 4) {} else if (val == 5) {} else if (val == 6) {} else if (val == 7) {} else if (val == 8) {} else if (val == 9) {}
5315
+ if (val == -1) {} else if (val == 0) {} else if (val == 1) {} else if (val == 2) {} else if (val == 3) {} else if (val == 4) {} else if (val == 5) {} else if (val == 6) {} else if (val == 7) {} else if (val == 8) {} else if (val == 9) {} else {}
5316
+ if (val == 9) {
5317
+ this.isNextUser = false;
5318
+ this.isReject = true;
5319
+ } else {
5320
+ this.isNextUser = true;
5321
+ this.isReject = false;
5322
+ }
5364
5323
  this.form.nextOperate = val.key;
5365
5324
  this.form.nextOperateName = val.value;
5366
5325
  this.nodeList = val.taskNodeList;
@@ -5460,6 +5419,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5460
5419
  that.taskExamineInfo = taskExamine;
5461
5420
  that.form.notificationMsg = defaultNotificationMessage;
5462
5421
  that.defaultNotificationType = defaultNotificationType.split(',');
5422
+ that.nodeInfoMapInfo = nodeInfoMap;
5423
+ // that.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
5463
5424
  that.isCanAddSign = res.data.isCanAddSign;
5464
5425
  if (that.isCanAddSign) {
5465
5426
  that.form.isAddSign = '2';
@@ -5482,6 +5443,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5482
5443
  if (!that.taskOperations[0].taskNodeList || that.taskOperations[0].taskNodeList.length === 0) {
5483
5444
  that.form.nextNodeId = undefined;
5484
5445
  that.form.nextNodeName = undefined;
5446
+ console.log(that.form.nextNodeId, 'that.form.nextNodeId');
5485
5447
  } else {
5486
5448
  that.nodeList = that.taskOperations[0].taskNodeList;
5487
5449
  var info = [];
@@ -5491,6 +5453,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5491
5453
  that.nextNodeDefault = y;
5492
5454
  }
5493
5455
  });
5456
+ if (info.length == 0 && that.nodeList.length != 0) info = [that.nodeList[0]];
5494
5457
  if (info.length > 0) {
5495
5458
  that.form.nextNodeId = info[0].nodeId;
5496
5459
  that.form.nextNodeName = info[0].nodeName;
@@ -5513,6 +5476,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5513
5476
  that.nextNodeDefault = y;
5514
5477
  }
5515
5478
  });
5479
+ if (_info.length == 0 && that.nodeList.length != 0) _info = [that.nodeList[0]];
5480
+ console.log(_info, 'infoinfo');
5516
5481
  if (_info.length > 0) {
5517
5482
  that.form.nextNodeId = _info[0].nodeId;
5518
5483
  that.form.nextNodeName = _info[0].nodeName;
@@ -5521,13 +5486,14 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5521
5486
  // that.form.nextNodeName = that.nodeList[0].nodeName;
5522
5487
  }
5523
5488
  }
5524
-
5525
- // if (item.key == 9) {
5526
- // that.isHiddenNextStepInfo = true;
5527
- // }
5489
+ console.log(that.taskOperations, that.form, 'asdsdsa');
5490
+ if (item.key == 9) {
5491
+ that.isReject = true;
5492
+ }
5528
5493
  }
5494
+ console.log(that.form, 'that.form');
5529
5495
  });
5530
- if (isSelected) {
5496
+ if (!isSelected) {
5531
5497
  that.form.nextOperate = that.taskOperations[0].key;
5532
5498
  that.form.nextOperateName = that.taskOperations[0].value;
5533
5499
  that.nodeList = that.taskOperations[0].taskNodeList || [];
@@ -5542,7 +5508,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5542
5508
  that.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
5543
5509
  that.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
5544
5510
  that.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
5545
- that.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
5511
+ // that.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
5546
5512
  that.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
5547
5513
  }
5548
5514
  that.choiceOrgId = choiceOrgId;
@@ -5729,8 +5695,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
5729
5695
 
5730
5696
  var Handle_component = Object(componentNormalizer["a" /* default */])(
5731
5697
  components_Handlevue_type_script_lang_js_,
5732
- Handlevue_type_template_id_5a5dba5b_render,
5733
- Handlevue_type_template_id_5a5dba5b_staticRenderFns,
5698
+ Handlevue_type_template_id_414da780_render,
5699
+ Handlevue_type_template_id_414da780_staticRenderFns,
5734
5700
  false,
5735
5701
  null,
5736
5702
  null,