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.
@@ -10590,8 +10590,8 @@ var StartFlow_component = normalizeComponent(
10590
10590
  )
10591
10591
 
10592
10592
  /* harmony default export */ var StartFlow = (StartFlow_component.exports);
10593
- // 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&
10594
- var Handlevue_type_template_id_5a5dba5b_render = function () {
10593
+ // 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&
10594
+ var Handlevue_type_template_id_414da780_render = function () {
10595
10595
  var _vm = this
10596
10596
  var _h = _vm.$createElement
10597
10597
  var _c = _vm._self._c || _h
@@ -10813,28 +10813,30 @@ var Handlevue_type_template_id_5a5dba5b_render = function () {
10813
10813
  _vm.form.isAddSign !== "1" &&
10814
10814
  !_vm.isHiddenNextStepInfo
10815
10815
  ? _c("div", [
10816
- _c(
10817
- "div",
10818
- {
10819
- staticClass: "shrink-btn",
10820
- on: {
10821
- click: function ($event) {
10822
- _vm.isNextBox = !_vm.isNextBox
10816
+ !_vm.isReject
10817
+ ? _c(
10818
+ "div",
10819
+ {
10820
+ staticClass: "shrink-btn",
10821
+ on: {
10822
+ click: function ($event) {
10823
+ _vm.isNextBox = !_vm.isNextBox
10824
+ },
10825
+ },
10823
10826
  },
10824
- },
10825
- },
10826
- [
10827
- _vm._v(
10828
- "\n " +
10829
- _vm._s(
10830
- _vm.isNextBox
10831
- ? "收起下一步操作和节点"
10832
- : "展开下一步操作和节点"
10833
- ) +
10834
- "\n "
10835
- ),
10836
- ]
10837
- ),
10827
+ [
10828
+ _vm._v(
10829
+ "\n " +
10830
+ _vm._s(
10831
+ _vm.isNextBox
10832
+ ? "收起下一步操作和节点"
10833
+ : "展开下一步操作和节点"
10834
+ ) +
10835
+ "\n "
10836
+ ),
10837
+ ]
10838
+ )
10839
+ : _vm._e(),
10838
10840
  _c(
10839
10841
  "div",
10840
10842
  {
@@ -10842,8 +10844,8 @@ var Handlevue_type_template_id_5a5dba5b_render = function () {
10842
10844
  {
10843
10845
  name: "show",
10844
10846
  rawName: "v-show",
10845
- value: _vm.isNextBox,
10846
- expression: "isNextBox",
10847
+ value: _vm.isNextBox || _vm.isReject,
10848
+ expression: "isNextBox || isReject",
10847
10849
  },
10848
10850
  ],
10849
10851
  staticClass: "next-box",
@@ -10886,7 +10888,9 @@ var Handlevue_type_template_id_5a5dba5b_render = function () {
10886
10888
  1
10887
10889
  )
10888
10890
  : _vm._e(),
10889
- _vm.nodeList && _vm.nodeList.length > 0
10891
+ _vm.nodeList &&
10892
+ _vm.nodeList.length > 0 &&
10893
+ !_vm.isReject
10890
10894
  ? _c(
10891
10895
  "div",
10892
10896
  { staticClass: "item" },
@@ -11533,11 +11537,11 @@ var Handlevue_type_template_id_5a5dba5b_render = function () {
11533
11537
  1
11534
11538
  )
11535
11539
  }
11536
- var Handlevue_type_template_id_5a5dba5b_staticRenderFns = []
11537
- Handlevue_type_template_id_5a5dba5b_render._withStripped = true
11540
+ var Handlevue_type_template_id_414da780_staticRenderFns = []
11541
+ Handlevue_type_template_id_414da780_render._withStripped = true
11538
11542
 
11539
11543
 
11540
- // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=5a5dba5b&
11544
+ // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=414da780&
11541
11545
 
11542
11546
  // 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&
11543
11547
  var Rejectvue_type_template_id_7bebd8d0_render = function () {
@@ -12508,6 +12512,13 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
12508
12512
  //
12509
12513
  //
12510
12514
  //
12515
+ //
12516
+ //
12517
+ //
12518
+ //
12519
+ //
12520
+ //
12521
+ //
12511
12522
 
12512
12523
 
12513
12524
 
@@ -12534,10 +12545,13 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
12534
12545
  baseUrl: String
12535
12546
  },
12536
12547
  data: function data() {
12537
- return {
12548
+ var _ref;
12549
+
12550
+ return _ref = {
12538
12551
  nextNodeDefault: 0,
12539
12552
  showAppUnit: false, // 弹窗单位
12540
12553
  handleFlow: true,
12554
+ isReject: false,
12541
12555
  isChooseNextNode: 1, //是否展示下步操作
12542
12556
  pid: 'root', //树选中pid
12543
12557
  objType: 'enterprise', //树点击对象
@@ -12587,72 +12601,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
12587
12601
  advanceNoticeDay: undefined, //限时办理 天
12588
12602
  advanceNoticeHour: undefined, //限时办理 时
12589
12603
  advanceNoticeType: [] //催办通知方式
12590
- },
12591
- isOpinionRequired: 0, // 意见是否必填
12592
- isBanInputOpinion: 0, //意见是否禁用
12593
- showTimeList: false, //选择限时办理弹出层
12594
- timeList: [], // 选择限时办理时间数组
12595
- nextUserList: [], //下步办理人数组
12596
- nextCurrentOrgObjSelect: [], // 选中本单位
12597
- nextOtherOrgObjSelect: [], //选中外单位
12598
- nextReadUserSelectList: [], //分阅选择数组
12599
- addSignUserSelectList: [], //增加办理人选择数组
12600
- removeSignUserSelectList: [], //减少办理人选择数组
12601
- nextUserSelectList: [], //下步办理人选择数组
12602
- showAppUser: false, // 办理人遮罩层
12603
- showNextOperate: false, // 下一步操作遮罩层
12604
- showNextNodeList: false, // 下一步流程节点遮罩层
12605
- nodeList: [], // 流程节点列表
12606
- selectList: [], // 当前选中办理人
12607
- opinionList: [], // 意见列表
12608
- processObj: { taskExamine: { nodeName: undefined } }, //流程信息
12609
- peopleObj: {}, //办理人信息
12610
- userInfo: {}, // 用户信息
12611
- isCanAddSign: false, //是否显示加签
12612
- isCanRemoveSign: false, //是否显示减签
12613
- isSpecial: true, //判断审核内容是否显示(是否是正常的办理页面)
12614
- taskOperations: [], //下一步操作
12615
- countersignaturetypeCode: false, //用来判断处理方式是否显示
12616
- countersignaturetypeText: undefined, // 处理方式
12617
- isCustomPreset: true, // 是否允许预设节点
12618
- isHideCurrentOrg: false, //是否隐藏本单位(承办)
12619
- isHideOtherOrg: false, //是否隐藏外单位(承办)
12620
- isHandleExplain: false, // 是否允许办理说明
12621
- isTaskread: false, //是否分阅
12622
- defaultNotificationType: undefined, ///默认选中通知类型
12623
- selectUnitType: 'department', //单位树选择类型
12624
- isHiddenNextStepInfo: false, //是否隐藏下一步节点信息和接收人信息
12625
- presetEdit: true, //预设是否允许编辑
12626
- isLimitedTimeHandling: false, //是否支持发起子流程限时办理
12627
- userSelectionType: undefined, //处理人选择方式
12628
- orgSelectionType: undefined, //办理机构选择方式
12629
- notificationType: undefined, // 通知方式
12630
- nodeType: undefined, // 节点类型(普通节点0,承办节点1,会签节点2,阅办节点3)
12631
- deptRoleCode: undefined, //本单位角色
12632
- orgRoleCode: undefined, //外单位角色
12633
- appointNotUserIds: undefined, //业务指定非处理人
12634
- handleRoleId: undefined, //办理角色(一般选择范围是部门/单位使用)
12635
- nextRole: undefined, //下步节点默认角色
12636
- filterCandinateIds: undefined, //节点过滤办理人
12637
- selectorDefShowDeptId: undefined, //选择器默认展示部门
12638
- isRadio: true, //下步办理人是否单选
12639
- otherOrgName: undefined, //外单位名字
12640
- currentOrgName: undefined, //本单位名字
12641
- isMainSubProcess: false, // 判断是否子-主流程
12642
- isNextUser: false, // 判断是否显示下步办理人
12643
- isDealObject: false, //判断是否显示办理对象
12644
- isDealRole: false, //判断是否显示办理角色
12645
- nextUserflag: false,
12646
- isSubmitButtonShowAgreeAndDisagree: 0, //是否展示同意和不同意按钮
12647
- isCustomUserClick: false, //下步办理人选择是否可以点击
12648
- timeListLable: undefined, //用来判断是哪里点开的时间遮罩层
12649
- nodeDefaultSubmitOpinion: undefined, //默认提交意见
12650
- isCustomUser: 0, //是否可选中办理人
12651
- choiceOrgId: '',
12652
- choiceDeptId: '',
12653
- taskExamineInfo: {},
12654
- pOrgId: ''
12655
- };
12604
+ }
12605
+ }, _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;
12656
12606
  },
12657
12607
  created: function created() {
12658
12608
  var _this2 = this;
@@ -12721,11 +12671,11 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
12721
12671
  idStr = idStr + r.showid + (i === _this3.nextUserSelectList.length - 1 ? '' : ',');
12722
12672
  });
12723
12673
  this.form.nextUserId = idStr;
12724
- if (this.isSpecial && this.isNextUser && !this.form.nextUserId && idStr === '') {
12674
+ if (this.isSpecial && this.isNextUser && !this.form.nextUserId && idStr === '' && !this.isReject) {
12725
12675
  this.$toast('请选择办理人');
12726
12676
  return;
12727
12677
  }
12728
- if (!this.form.nextNodeId && this.nodeList.length > 0 && this.isSpecial) {
12678
+ if (!this.form.nextNodeId && this.nodeList.length > 0 && this.isSpecial && !this.isReject) {
12729
12679
  this.$toast('请选择流程节点');
12730
12680
  return;
12731
12681
  }
@@ -12787,7 +12737,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
12787
12737
  choiceOrgId = this.choiceOrgId,
12788
12738
  choiceDeptId = this.choiceDeptId,
12789
12739
  pOrgId = this.pOrgId,
12790
- taskExamineInfo = this.taskExamineInfo;
12740
+ taskExamineInfo = this.taskExamineInfo,
12741
+ nodeInfoMapInfo = this.nodeInfoMapInfo;
12791
12742
 
12792
12743
  _that.form.isEndUserTask = isEndUserTask;
12793
12744
  _that.form.choiceOrgId = choiceOrgId;
@@ -12799,6 +12750,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
12799
12750
  _that.form.processDefinitionId = taskExamineInfo.processDefinitionId;
12800
12751
  _that.form.isSubFlow = taskExamineInfo.isSubFlow;
12801
12752
  _that.form.nodeId = taskExamineInfo.nodeId;
12753
+ _that.form.nextNodeId = _that.form.nextNodeId || nodeInfoMapInfo.nodeExtAttr.defaultNextNode;
12802
12754
  utils_http({
12803
12755
  url: _that.baseUrl ? _that.baseUrl + taskHandleHtml : taskHandleHtml,
12804
12756
  params: Handlevue_type_script_lang_js_extends({
@@ -12853,7 +12805,14 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
12853
12805
 
12854
12806
  // 切换下一步操作
12855
12807
  changeNextOperate: function changeNextOperate(val) {
12856
- 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) {}
12808
+ 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 {}
12809
+ if (val == 9) {
12810
+ this.isNextUser = false;
12811
+ this.isReject = true;
12812
+ } else {
12813
+ this.isNextUser = true;
12814
+ this.isReject = false;
12815
+ }
12857
12816
  this.form.nextOperate = val.key;
12858
12817
  this.form.nextOperateName = val.value;
12859
12818
  this.nodeList = val.taskNodeList;
@@ -12953,6 +12912,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
12953
12912
  that.taskExamineInfo = taskExamine;
12954
12913
  that.form.notificationMsg = defaultNotificationMessage;
12955
12914
  that.defaultNotificationType = defaultNotificationType.split(',');
12915
+ that.nodeInfoMapInfo = nodeInfoMap;
12916
+ // that.defaultNextNode = nodeInfoMap.nodeExtAttr.defaultNextNode;
12956
12917
  that.isCanAddSign = res.data.isCanAddSign;
12957
12918
  if (that.isCanAddSign) {
12958
12919
  that.form.isAddSign = '2';
@@ -12975,6 +12936,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
12975
12936
  if (!that.taskOperations[0].taskNodeList || that.taskOperations[0].taskNodeList.length === 0) {
12976
12937
  that.form.nextNodeId = undefined;
12977
12938
  that.form.nextNodeName = undefined;
12939
+ console.log(that.form.nextNodeId, 'that.form.nextNodeId');
12978
12940
  } else {
12979
12941
  that.nodeList = that.taskOperations[0].taskNodeList;
12980
12942
  var info = [];
@@ -12984,6 +12946,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
12984
12946
  that.nextNodeDefault = y;
12985
12947
  }
12986
12948
  });
12949
+ if (info.length == 0 && that.nodeList.length != 0) info = [that.nodeList[0]];
12987
12950
  if (info.length > 0) {
12988
12951
  that.form.nextNodeId = info[0].nodeId;
12989
12952
  that.form.nextNodeName = info[0].nodeName;
@@ -13006,6 +12969,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
13006
12969
  that.nextNodeDefault = y;
13007
12970
  }
13008
12971
  });
12972
+ if (_info.length == 0 && that.nodeList.length != 0) _info = [that.nodeList[0]];
12973
+ console.log(_info, 'infoinfo');
13009
12974
  if (_info.length > 0) {
13010
12975
  that.form.nextNodeId = _info[0].nodeId;
13011
12976
  that.form.nextNodeName = _info[0].nodeName;
@@ -13014,13 +12979,14 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
13014
12979
  // that.form.nextNodeName = that.nodeList[0].nodeName;
13015
12980
  }
13016
12981
  }
13017
-
13018
- // if (item.key == 9) {
13019
- // that.isHiddenNextStepInfo = true;
13020
- // }
12982
+ console.log(that.taskOperations, that.form, 'asdsdsa');
12983
+ if (item.key == 9) {
12984
+ that.isReject = true;
12985
+ }
13021
12986
  }
12987
+ console.log(that.form, 'that.form');
13022
12988
  });
13023
- if (isSelected) {
12989
+ if (!isSelected) {
13024
12990
  that.form.nextOperate = that.taskOperations[0].key;
13025
12991
  that.form.nextOperateName = that.taskOperations[0].value;
13026
12992
  that.nodeList = that.taskOperations[0].taskNodeList || [];
@@ -13035,7 +13001,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
13035
13001
  that.nodeDefaultSubmitOpinion = nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
13036
13002
  that.isSubmitButtonShowAgreeAndDisagree = nodeInfoMap.nodeExtAttr.isSubmitButtonShowAgreeAndDisagree;
13037
13003
  that.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
13038
- that.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
13004
+ // that.isChooseNextNode = nodeInfoMap.nodeExtAttr.isChooseNextNode;
13039
13005
  that.isBanInputOpinion = nodeInfoMap.nodeExtAttr.isBanInputOpinion;
13040
13006
  }
13041
13007
  that.choiceOrgId = choiceOrgId;
@@ -13222,8 +13188,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
13222
13188
 
13223
13189
  var Handle_component = normalizeComponent(
13224
13190
  components_Handlevue_type_script_lang_js_,
13225
- Handlevue_type_template_id_5a5dba5b_render,
13226
- Handlevue_type_template_id_5a5dba5b_staticRenderFns,
13191
+ Handlevue_type_template_id_414da780_render,
13192
+ Handlevue_type_template_id_414da780_staticRenderFns,
13227
13193
  false,
13228
13194
  null,
13229
13195
  null,
@@ -15833,7 +15799,7 @@ if (typeof window !== 'undefined' && window.Vue) {
15833
15799
  }
15834
15800
 
15835
15801
  /* harmony default export */ var src = __webpack_exports__["default"] = ({
15836
- version: '0.1.20',
15802
+ version: '0.1.21',
15837
15803
  install: install,
15838
15804
  Button: packages_button,
15839
15805
  ButtonGroup: button_group,