eoss-mobiles 0.1.52 → 0.1.53

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/checkbox.js CHANGED
@@ -1663,7 +1663,7 @@ http.interceptors.request.use(function (config) {
1663
1663
  Object.assign(data, config.data);
1664
1664
  config.data = external_qs_default.a.stringify(data);
1665
1665
  } else {
1666
- config.headers['Content-Type'] = 'application/x-www-form-urlencoded';
1666
+ config.headers['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
1667
1667
  Object.assign(data, config.data);
1668
1668
  config.data = external_qs_default.a.stringify(data);
1669
1669
  }
@@ -649,8 +649,8 @@ mainvue_type_template_id_783f9266_render._withStripped = true
649
649
 
650
650
  // CONCATENATED MODULE: ./packages/selector/src/main.vue?vue&type=template&id=783f9266&
651
651
 
652
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=4014ab8d&
653
- var selector_treevue_type_template_id_4014ab8d_render = function () {
652
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/selector-tree.vue?vue&type=template&id=66df92c9&
653
+ var selector_treevue_type_template_id_66df92c9_render = function () {
654
654
  var _vm = this
655
655
  var _h = _vm.$createElement
656
656
  var _c = _vm._self._c || _h
@@ -786,11 +786,11 @@ var selector_treevue_type_template_id_4014ab8d_render = function () {
786
786
  1
787
787
  )
788
788
  }
789
- var selector_treevue_type_template_id_4014ab8d_staticRenderFns = []
790
- selector_treevue_type_template_id_4014ab8d_render._withStripped = true
789
+ var selector_treevue_type_template_id_66df92c9_staticRenderFns = []
790
+ selector_treevue_type_template_id_66df92c9_render._withStripped = true
791
791
 
792
792
 
793
- // CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=4014ab8d&
793
+ // CONCATENATED MODULE: ./packages/selector/src/selector-tree.vue?vue&type=template&id=66df92c9&
794
794
 
795
795
  // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/selector/src/tree.vue?vue&type=template&id=3abadfb0&
796
796
  var treevue_type_template_id_3abadfb0_render = function () {
@@ -2636,7 +2636,7 @@ http.interceptors.request.use(function (config) {
2636
2636
  Object.assign(data, config.data);
2637
2637
  config.data = external_qs_default.a.stringify(data);
2638
2638
  } else {
2639
- config.headers['Content-Type'] = 'application/x-www-form-urlencoded';
2639
+ config.headers['Content-Type'] = 'application/x-www-form-urlencoded;charset=UTF-8';
2640
2640
  Object.assign(data, config.data);
2641
2641
  config.data = external_qs_default.a.stringify(data);
2642
2642
  }
@@ -3144,7 +3144,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3144
3144
  value: [],
3145
3145
  param: {
3146
3146
  objType: this.objType,
3147
- selecttype: 'myemployee',
3147
+ selecttype: 'employee',
3148
3148
  pid: 'all'
3149
3149
  }
3150
3150
  },
@@ -3354,6 +3354,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3354
3354
  mounted: function mounted() {
3355
3355
  var _this2 = this;
3356
3356
 
3357
+ this.list = util.deepClone(this.selectList);
3357
3358
  this.newParam = this.param;
3358
3359
  this.$nextTick(function () {
3359
3360
  if (_this2.nodeList) {
@@ -3486,7 +3487,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3486
3487
  if (name) {
3487
3488
  this.label = name;
3488
3489
  }
3489
- this.list = util.deepClone(this.selectList);
3490
+ // this.list = $.deepClone(this.selectList);
3490
3491
  this.$toast.loading({
3491
3492
  message: '加载中...',
3492
3493
  forbidClick: true,
@@ -3494,7 +3495,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3494
3495
  overlay: true,
3495
3496
  duration: 0
3496
3497
  });
3497
- this.newParam.selecttype = this.newTabs[this.selectIndex].name;
3498
+ this.newParam.selecttype = this.newTabs[this.selectIndex].param.selecttype;
3499
+ console.log(this.list, 'this.newTabs');
3498
3500
  utils_http({
3499
3501
  url: selectObject,
3500
3502
  params: _extends({
@@ -3512,7 +3514,7 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3512
3514
  if (rCode == 0) {
3513
3515
  _this6.personnel = res.results;
3514
3516
  var _this = _this6;
3515
- _this6.selectList.filter(function (r) {
3517
+ _this6.list.filter(function (r) {
3516
3518
  _this.personnel.find(function (i) {
3517
3519
  if (i[_this.valueKey] === r[_this.valueKey]) {
3518
3520
  _this.$set(i, 'checked', true);
@@ -3682,8 +3684,8 @@ var _extends = Object.assign || function (target) { for (var i = 1; i < argument
3682
3684
 
3683
3685
  var selector_tree_component = normalizeComponent(
3684
3686
  src_selector_treevue_type_script_lang_js_,
3685
- selector_treevue_type_template_id_4014ab8d_render,
3686
- selector_treevue_type_template_id_4014ab8d_staticRenderFns,
3687
+ selector_treevue_type_template_id_66df92c9_render,
3688
+ selector_treevue_type_template_id_66df92c9_staticRenderFns,
3687
3689
  false,
3688
3690
  null,
3689
3691
  null,
@@ -11153,8 +11155,8 @@ var StartFlow_component = normalizeComponent(
11153
11155
  )
11154
11156
 
11155
11157
  /* harmony default export */ var StartFlow = (StartFlow_component.exports);
11156
- // 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=a6e9dff2&
11157
- var Handlevue_type_template_id_a6e9dff2_render = function () {
11158
+ // 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=2b3202a8&
11159
+ var Handlevue_type_template_id_2b3202a8_render = function () {
11158
11160
  var _vm = this
11159
11161
  var _h = _vm.$createElement
11160
11162
  var _c = _vm._self._c || _h
@@ -11607,7 +11609,7 @@ var Handlevue_type_template_id_a6e9dff2_render = function () {
11607
11609
  multiple: "",
11608
11610
  paddingTop: _vm.paddingTop,
11609
11611
  objType: "enterprise",
11610
- tabs: "department,employee",
11612
+ tabs: "department,myemployee",
11611
11613
  param: {
11612
11614
  pid: _vm.orgId,
11613
11615
  },
@@ -12121,11 +12123,11 @@ var Handlevue_type_template_id_a6e9dff2_render = function () {
12121
12123
  1
12122
12124
  )
12123
12125
  }
12124
- var Handlevue_type_template_id_a6e9dff2_staticRenderFns = []
12125
- Handlevue_type_template_id_a6e9dff2_render._withStripped = true
12126
+ var Handlevue_type_template_id_2b3202a8_staticRenderFns = []
12127
+ Handlevue_type_template_id_2b3202a8_render._withStripped = true
12126
12128
 
12127
12129
 
12128
- // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=a6e9dff2&
12130
+ // CONCATENATED MODULE: ./packages/flow/src/components/Handle.vue?vue&type=template&id=2b3202a8&
12129
12131
 
12130
12132
  // 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=873f59d2&
12131
12133
  var Rejectvue_type_template_id_873f59d2_render = function () {
@@ -13556,11 +13558,10 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
13556
13558
 
13557
13559
  // 单位选择完回调
13558
13560
  disposeAppUnit: function disposeAppUnit(res, type) {
13559
- var _this4 = this;
13560
-
13561
13561
  var label = type.substring(0, type.lastIndexOf('Select'));
13562
13562
  var idStr = '';
13563
13563
  var types = '';
13564
+ var SerialId = [];
13564
13565
  this.form[label + 'Name'] = '';
13565
13566
  var obj = {};
13566
13567
  console.log(res, 'ddd');
@@ -13571,13 +13572,12 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
13571
13572
  } else {
13572
13573
  idStr = idStr + r.showid + (i === res.list.length - 1 ? '' : ',');
13573
13574
  }
13574
- _this4.form[label + 'SerialId'] = r.showid + (i === res.list.length - 1 ? '' : ',');
13575
+ SerialId.push(r.showid);
13575
13576
  if (obj[r.objType]) {
13576
13577
  obj[r.objType].push(r.showname);
13577
13578
  } else {
13578
13579
  obj[r.objType] = [r.showname];
13579
13580
  }
13580
- console.log(obj, 'objobj');
13581
13581
  });
13582
13582
  this.form[label] = idStr;
13583
13583
  for (var key in obj) {
@@ -13592,6 +13592,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
13592
13592
  }
13593
13593
  }
13594
13594
  // this.form[label + 'Name'] = obj.enterprise?;
13595
+ this.form[label + 'SerialId'] = SerialId.join(',');
13595
13596
  this.form[label + 'Json'] = JSON.stringify(res.list);
13596
13597
  },
13597
13598
 
@@ -13738,7 +13739,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
13738
13739
  that.countersignaturetypeText = res.data.taskExamine.nodeName;
13739
13740
  }
13740
13741
  that.countersignaturetypeCode = res.data.countersignaturetypeCode !== 0 && res.data.countersignaturetypeCode != undefined ? true : false;
13741
- that.isMainSubProcess = res.data.isMainSubProcess == 'true';
13742
+ // that.isMainSubProcess = res.data.isMainSubProcess == 'true';
13742
13743
  that.isCustomPreset = res.data.isCustomPreset;
13743
13744
  // form.isRemoveSign !== '1' &&
13744
13745
  // form.isAddSign !== '1' &&
@@ -13759,7 +13760,7 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
13759
13760
 
13760
13761
  // 获取节点信息(获取节点属性及办理人)
13761
13762
  getNodeObj: function getNodeObj(res) {
13762
- var _this5 = this;
13763
+ var _this4 = this;
13763
13764
 
13764
13765
  var _that = this;
13765
13766
  utils_http({
@@ -13772,83 +13773,83 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
13772
13773
  businessId: this.taskExamineInfo.businessId
13773
13774
  }
13774
13775
  }).then(function (res) {
13775
- _this5.$toast.clear();
13776
+ _this4.$toast.clear();
13776
13777
  if (res.status == 'success') {
13777
- _this5.appointNotUserIds = res.data.appointNotUserIds;
13778
- _this5.handleRoleId = res.data.handleRoleId;
13779
- _this5.nextRole = res.data.nextRole;
13780
- _this5.filterCandinateIds = res.data.nodeExtAttr.filterCandinateIds;
13781
- _this5.selectorDefShowDeptId = res.data.nodeExtAttr.selectorDefShowDeptId;
13782
- _this5.userSelectionType = res.data.nodeExtAttr.userSelectionType;
13778
+ _this4.appointNotUserIds = res.data.appointNotUserIds;
13779
+ _this4.handleRoleId = res.data.handleRoleId;
13780
+ _this4.nextRole = res.data.nextRole;
13781
+ _this4.filterCandinateIds = res.data.nodeExtAttr.filterCandinateIds;
13782
+ _this4.selectorDefShowDeptId = res.data.nodeExtAttr.selectorDefShowDeptId;
13783
+ _this4.userSelectionType = res.data.nodeExtAttr.userSelectionType;
13783
13784
  // this.changePidObjtype();
13784
- _this5.orgSelectionType = res.data.nodeExtAttr.orgSelectionType;
13785
- _this5.notificationType = res.data.nodeExtAttr.notificationType;
13786
- _this5.nodeType = res.data.nodeExtAttr.nodeType;
13787
- _this5.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
13788
- _this5.orgRoleCode = res.data.nodeExtAttr.orgRoleCode;
13789
- _this5.isCustomUser = res.data.nodeExtAttr.isCustomUser;
13790
- _this5.presetEdit = res.data.nodeExtAttr.presetEdit;
13791
- _this5.isLimitedTimeHandling = res.data.nodeExtAttr.isLimitedTimeHandling;
13792
- _this5.peopleObj = res.data.nodeExtAttr;
13793
- _this5.nextUserList = res.data.nextUserList.filter(function (x) {
13785
+ _this4.orgSelectionType = res.data.nodeExtAttr.orgSelectionType;
13786
+ _this4.notificationType = res.data.nodeExtAttr.notificationType;
13787
+ _this4.nodeType = res.data.nodeExtAttr.nodeType;
13788
+ _this4.deptRoleCode = res.data.nodeExtAttr.deptRoleCode;
13789
+ _this4.orgRoleCode = res.data.nodeExtAttr.orgRoleCode;
13790
+ _this4.isCustomUser = res.data.nodeExtAttr.isCustomUser;
13791
+ _this4.presetEdit = res.data.nodeExtAttr.presetEdit;
13792
+ _this4.isLimitedTimeHandling = res.data.nodeExtAttr.isLimitedTimeHandling;
13793
+ _this4.peopleObj = res.data.nodeExtAttr;
13794
+ _this4.nextUserList = res.data.nextUserList.filter(function (x) {
13794
13795
  return x.userId && x.username;
13795
13796
  });
13796
- var _this = _this5;
13797
- _this5.nextUserList.map(function (r) {
13797
+ var _this = _this4;
13798
+ _this4.nextUserList.map(function (r) {
13798
13799
  _this.$set(r, 'checked', false);
13799
13800
  });
13800
13801
 
13801
- _this5.isHandleExplain = res.data.nodeExtAttr.isHandleExplain == 1 ? true : false; //判断是否隐藏办理说明
13802
- _this5.isCustomUserClick = res.data.nodeExtAttr.isCustomUser == 1 ? true : false; // 判断办理人是否可点击显示弹框
13803
- _this5.isTaskread = res.data.nodeExtAttr.isTaskread == 1 ? true : false; // 判断是否显示分阅
13804
- _this5.countersignaturetypeCode = res.data.countersignaturetypeCode !== 0 ? true : false; //判断是否隐藏处理方式
13805
- _this5.countersignaturetypeText = res.data.countersignaturetypeText;
13802
+ _this4.isHandleExplain = res.data.nodeExtAttr.isHandleExplain == 1 ? true : false; //判断是否隐藏办理说明
13803
+ _this4.isCustomUserClick = res.data.nodeExtAttr.isCustomUser == 1 ? true : false; // 判断办理人是否可点击显示弹框
13804
+ _this4.isTaskread = res.data.nodeExtAttr.isTaskread == 1 ? true : false; // 判断是否显示分阅
13805
+ _this4.countersignaturetypeCode = res.data.countersignaturetypeCode !== 0 ? true : false; //判断是否隐藏处理方式
13806
+ _this4.countersignaturetypeText = res.data.countersignaturetypeText;
13806
13807
  //如果当前为承办节点/会签节点,则展示本单位外单位办理人选择
13807
- if (_this5.nodeType === 1 || _this5.nodeType === 2) {
13808
- _this5.isMainSubProcess === true ? _this5.isMainSubProcess = true : _this5.isMainSubProcess = false;
13809
- _this5.isNextUser = false;
13810
- _this5.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
13811
- _this5.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
13808
+ if (_this4.nodeType === 1 || _this4.nodeType === 2) {
13809
+ _this4.isMainSubProcess === true ? _this4.isMainSubProcess = true : _this4.isMainSubProcess = false;
13810
+ _this4.isNextUser = false;
13811
+ _this4.isHideCurrentOrg = res.data.nodeExtAttr.isHideCurrentOrg == 1 ? false : true; //判断是否隐藏本单位
13812
+ _this4.isHideOtherOrg = res.data.nodeExtAttr.isHideOtherOrg == 1 ? false : true; //判断是否隐藏外单位
13812
13813
  } else {
13813
- _this5.isHideCurrentOrg = false;
13814
- _this5.isHideOtherOrg = false;
13815
- _this5.isMainSubProcess = false;
13816
- _this5.isNextUser = true;
13814
+ _this4.isHideCurrentOrg = false;
13815
+ _this4.isHideOtherOrg = false;
13816
+ _this4.isMainSubProcess = false;
13817
+ _this4.isNextUser = true;
13817
13818
  // this.isMainSubProcess === true
13818
13819
  // ? (this.isMainSubProcess = true)
13819
13820
  // : (this.isMainSubProcess = false);
13820
13821
  }
13821
13822
  // userSelectionType 机构内单选人1,机构内多选人2,所有机构单选人3,所有部门多选人4,本部门单选人5,本部门多选人6,本单位单选部门7,本单位多选部门8,单选单位9,多选单位10,单选机构11,多选机构12,本部门角色13,本单位角色14
13822
- _this5.userSelectionType == 2 || _this5.userSelectionType == 4 || _this5.userSelectionType == 6 || _this5.userSelectionType == 8 || _this5.userSelectionType == 10 || _this5.userSelectionType == 11 || _this5.userSelectionType == 12 ? _this5.isRadio = false : _this5.isRadio = true; //判断办理人单选多选
13823
+ _this4.userSelectionType == 2 || _this4.userSelectionType == 4 || _this4.userSelectionType == 6 || _this4.userSelectionType == 8 || _this4.userSelectionType == 10 || _this4.userSelectionType == 11 || _this4.userSelectionType == 12 ? _this4.isRadio = false : _this4.isRadio = true; //判断办理人单选多选
13823
13824
 
13824
- if (_this5.userSelectionType == 7 || _this5.userSelectionType == 8 || _this5.userSelectionType == 9 || _this5.userSelectionType == 10 || _this5.userSelectionType == 11 || _this5.userSelectionType == 12) {
13825
- _this5.isDealObject = true;
13826
- _this5.isNextUser = false;
13825
+ if (_this4.userSelectionType == 7 || _this4.userSelectionType == 8 || _this4.userSelectionType == 9 || _this4.userSelectionType == 10 || _this4.userSelectionType == 11 || _this4.userSelectionType == 12) {
13826
+ _this4.isDealObject = true;
13827
+ _this4.isNextUser = false;
13827
13828
  }
13828
- if (_this5.userSelectionType == 13 || _this5.userSelectionType == 14) {
13829
- _this5.isNextUser = false;
13830
- _this5.isDealObject = false;
13831
- _this5.isDealRole = true;
13832
- _this5.nextUserflag = true;
13829
+ if (_this4.userSelectionType == 13 || _this4.userSelectionType == 14) {
13830
+ _this4.isNextUser = false;
13831
+ _this4.isDealObject = false;
13832
+ _this4.isDealRole = true;
13833
+ _this4.nextUserflag = true;
13833
13834
  }
13834
- _this5.isHiddenNextStepInfo = res.data.nodeExtAttr.isHiddenNextStepInfo == 1 && _this5.nextUserflag ? true : false; // 判断是否隐藏下一步节点信息和接收人信息
13835
+ _this4.isHiddenNextStepInfo = res.data.nodeExtAttr.isHiddenNextStepInfo == 1 && _this4.nextUserflag ? true : false; // 判断是否隐藏下一步节点信息和接收人信息
13835
13836
  if (res.data.globalNodeType === 'endEvent') {
13836
- _this5.isNextUser = false;
13837
- _this5.form.nextUserId = '流程办结';
13837
+ _this4.isNextUser = false;
13838
+ _this4.form.nextUserId = '流程办结';
13838
13839
  } else {
13839
- _this5.nodeType != 1 && _this5.nodeType != 2 && (_this5.isNextUser = true); //判断是否是流程办结 办结下步办理人不显示
13840
+ _this4.nodeType != 1 && _this4.nodeType != 2 && (_this4.isNextUser = true); //判断是否是流程办结 办结下步办理人不显示
13840
13841
  }
13841
- _this5.changeDefPeople(res.data.nodeExtAttr.isDefSelectedObj, res.data.nodeExtAttr.isSelectedAllObj);
13842
- _this5.changePidObjtype(res.data.nodeExtAttr.userSelectionType, _this5.choiceOrgId, _this5.choiceDeptId, _this5.pOrgId);
13842
+ _this4.changeDefPeople(res.data.nodeExtAttr.isDefSelectedObj, res.data.nodeExtAttr.isSelectedAllObj);
13843
+ _this4.changePidObjtype(res.data.nodeExtAttr.userSelectionType, _this4.choiceOrgId, _this4.choiceDeptId, _this4.pOrgId);
13843
13844
  } else {
13844
- _this5.$toast(res.message);
13845
+ _this4.$toast(res.message);
13845
13846
  }
13846
13847
  });
13847
13848
  },
13848
13849
 
13849
13850
  // 修改默认办理人
13850
13851
  changeDefPeople: function changeDefPeople(def, all) {
13851
- var _this6 = this;
13852
+ var _this5 = this;
13852
13853
 
13853
13854
  this.nextUserSelectList = [];
13854
13855
  if (def == 1 && all == 1 || def == 0 && all == 1) {
@@ -13856,9 +13857,9 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
13856
13857
  this.nextUserList.map(function (r, i) {
13857
13858
  r.showid = r.userId;
13858
13859
  r.showname = r.username;
13859
- _this6.$set(r, 'checked', true);
13860
- _this6.nextUserSelectList.push(r);
13861
- ids += r.userId + (i === _this6.nextUserList.length - 1 ? '' : ',');
13860
+ _this5.$set(r, 'checked', true);
13861
+ _this5.nextUserSelectList.push(r);
13862
+ ids += r.userId + (i === _this5.nextUserList.length - 1 ? '' : ',');
13862
13863
  });
13863
13864
  this.form.nextUserId = ids;
13864
13865
  } else if (def == 1 && (!all || all == 0) && this.nextUserList.length > 0) {
@@ -13910,8 +13911,8 @@ var Handlevue_type_script_lang_js_extends = Object.assign || function (target) {
13910
13911
 
13911
13912
  var Handle_component = normalizeComponent(
13912
13913
  components_Handlevue_type_script_lang_js_,
13913
- Handlevue_type_template_id_a6e9dff2_render,
13914
- Handlevue_type_template_id_a6e9dff2_staticRenderFns,
13914
+ Handlevue_type_template_id_2b3202a8_render,
13915
+ Handlevue_type_template_id_2b3202a8_staticRenderFns,
13915
13916
  false,
13916
13917
  null,
13917
13918
  null,
@@ -13920,8 +13921,8 @@ var Handle_component = normalizeComponent(
13920
13921
  )
13921
13922
 
13922
13923
  /* harmony default export */ var Handle = (Handle_component.exports);
13923
- // 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/TaskRead.vue?vue&type=template&id=939c765a&
13924
- var TaskReadvue_type_template_id_939c765a_render = function () {
13924
+ // 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/TaskRead.vue?vue&type=template&id=39a48758&
13925
+ var TaskReadvue_type_template_id_39a48758_render = function () {
13925
13926
  var _vm = this
13926
13927
  var _h = _vm.$createElement
13927
13928
  var _c = _vm._self._c || _h
@@ -14086,11 +14087,11 @@ var TaskReadvue_type_template_id_939c765a_render = function () {
14086
14087
  ]),
14087
14088
  ])
14088
14089
  }
14089
- var TaskReadvue_type_template_id_939c765a_staticRenderFns = []
14090
- TaskReadvue_type_template_id_939c765a_render._withStripped = true
14090
+ var TaskReadvue_type_template_id_39a48758_staticRenderFns = []
14091
+ TaskReadvue_type_template_id_39a48758_render._withStripped = true
14091
14092
 
14092
14093
 
14093
- // CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=939c765a&
14094
+ // CONCATENATED MODULE: ./packages/flow/src/components/TaskRead.vue?vue&type=template&id=39a48758&
14094
14095
 
14095
14096
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/flow/src/components/TaskRead.vue?vue&type=script&lang=js&
14096
14097
  var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
@@ -14480,6 +14481,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
14480
14481
 
14481
14482
  var params = {
14482
14483
  url: _that.baseUrl ? _that.baseUrl + taskReadHtml : taskReadHtml,
14484
+ type: 'post',
14483
14485
  params: TaskReadvue_type_script_lang_js_extends({}, this.form, {
14484
14486
  pendingId: this.pendingId,
14485
14487
  appId: appId,
@@ -14492,6 +14494,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
14492
14494
  handleExplain: this.form.handleExplain,
14493
14495
  currentOrgProcessKey: processDefinitionId,
14494
14496
  noticeType: this.form.notificationMsgType,
14497
+ taskAction: 'create',
14495
14498
  // notificationMsg: this.form.notificationMsg,
14496
14499
  nextReadUserId: ids
14497
14500
  })
@@ -14509,7 +14512,7 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
14509
14512
  duration: 0
14510
14513
  });
14511
14514
  utils_http(params).then(function (res) {
14512
- if (res.rCode == 0) {
14515
+ if (res.status == 'success') {
14513
14516
  _this6.$toast('操作成功');
14514
14517
  _this6.$parent.$emit('success');
14515
14518
  } else {
@@ -14533,8 +14536,8 @@ var TaskReadvue_type_script_lang_js_extends = Object.assign || function (target)
14533
14536
 
14534
14537
  var TaskRead_component = normalizeComponent(
14535
14538
  components_TaskReadvue_type_script_lang_js_,
14536
- TaskReadvue_type_template_id_939c765a_render,
14537
- TaskReadvue_type_template_id_939c765a_staticRenderFns,
14539
+ TaskReadvue_type_template_id_39a48758_render,
14540
+ TaskReadvue_type_template_id_39a48758_staticRenderFns,
14538
14541
  false,
14539
14542
  null,
14540
14543
  null,
@@ -15886,14 +15889,17 @@ count_down_src_main.install = function (Vue) {
15886
15889
  };
15887
15890
 
15888
15891
  /* harmony default export */ var count_down = (count_down_src_main);
15889
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=e6e879a8&
15890
- var mainvue_type_template_id_e6e879a8_render = function () {
15892
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=template&id=774446e1&
15893
+ var mainvue_type_template_id_774446e1_render = function () {
15891
15894
  var _vm = this
15892
15895
  var _h = _vm.$createElement
15893
15896
  var _c = _vm._self._c || _h
15894
15897
  return _c(
15895
15898
  "van-form",
15896
- _vm._g(_vm._b({}, "van-form", _vm.$attrs, false), _vm.$listeners),
15899
+ _vm._g(
15900
+ _vm._b({ ref: "emForm" }, "van-form", _vm.$attrs, false),
15901
+ _vm.$listeners
15902
+ ),
15897
15903
  [
15898
15904
  _vm._l(_vm.contents, function (item, index) {
15899
15905
  return _c(
@@ -15926,7 +15932,7 @@ var mainvue_type_template_id_e6e879a8_render = function () {
15926
15932
  },
15927
15933
  },
15928
15934
  "em-input",
15929
- item,
15935
+ Object.assign({}, _vm.$attrs, item),
15930
15936
  false
15931
15937
  )
15932
15938
  )
@@ -15953,7 +15959,7 @@ var mainvue_type_template_id_e6e879a8_render = function () {
15953
15959
  },
15954
15960
  },
15955
15961
  "em-picker",
15956
- item,
15962
+ Object.assign({}, _vm.$attrs, item),
15957
15963
  false
15958
15964
  )
15959
15965
  )
@@ -15987,7 +15993,7 @@ var mainvue_type_template_id_e6e879a8_render = function () {
15987
15993
  },
15988
15994
  },
15989
15995
  "em-date",
15990
- item,
15996
+ Object.assign({}, _vm.$attrs, item),
15991
15997
  false
15992
15998
  )
15993
15999
  )
@@ -15997,7 +16003,7 @@ var mainvue_type_template_id_e6e879a8_render = function () {
15997
16003
  _vm._b(
15998
16004
  { ref: "radio", refInFor: true },
15999
16005
  "em-input",
16000
- item,
16006
+ Object.assign({}, _vm.$attrs, item),
16001
16007
  false
16002
16008
  ),
16003
16009
  [
@@ -16024,7 +16030,7 @@ var mainvue_type_template_id_e6e879a8_render = function () {
16024
16030
  },
16025
16031
  },
16026
16032
  "em-radio-group",
16027
- item,
16033
+ Object.assign({}, _vm.$attrs, item),
16028
16034
  false
16029
16035
  )
16030
16036
  ),
@@ -16040,7 +16046,7 @@ var mainvue_type_template_id_e6e879a8_render = function () {
16040
16046
  _vm._b(
16041
16047
  { ref: "checkbox", refInFor: true },
16042
16048
  "em-input",
16043
- item,
16049
+ Object.assign({}, _vm.$attrs, item),
16044
16050
  false
16045
16051
  ),
16046
16052
  [
@@ -16067,7 +16073,7 @@ var mainvue_type_template_id_e6e879a8_render = function () {
16067
16073
  },
16068
16074
  },
16069
16075
  "em-checkbox-group",
16070
- item,
16076
+ Object.assign({}, _vm.$attrs, item),
16071
16077
  false
16072
16078
  )
16073
16079
  ),
@@ -16083,7 +16089,7 @@ var mainvue_type_template_id_e6e879a8_render = function () {
16083
16089
  _vm._b(
16084
16090
  { ref: "switch", refInFor: true },
16085
16091
  "em-input",
16086
- item,
16092
+ Object.assign({}, _vm.$attrs, item),
16087
16093
  false
16088
16094
  ),
16089
16095
  [
@@ -16109,7 +16115,7 @@ var mainvue_type_template_id_e6e879a8_render = function () {
16109
16115
  },
16110
16116
  },
16111
16117
  "em-switch",
16112
- item,
16118
+ Object.assign({}, _vm.$attrs, item),
16113
16119
  false
16114
16120
  )
16115
16121
  ),
@@ -16141,7 +16147,7 @@ var mainvue_type_template_id_e6e879a8_render = function () {
16141
16147
  },
16142
16148
  },
16143
16149
  "em-selector",
16144
- item,
16150
+ Object.assign({}, _vm.$attrs, item),
16145
16151
  false
16146
16152
  )
16147
16153
  )
@@ -16150,59 +16156,61 @@ var mainvue_type_template_id_e6e879a8_render = function () {
16150
16156
  1
16151
16157
  )
16152
16158
  }),
16153
- _c(
16154
- "div",
16155
- { style: "margin: 16px;text-align:" + _vm.position },
16156
- [
16157
- _vm.btnList.length == 0
16158
- ? _c(
16159
- "em-button",
16160
- {
16161
- attrs: {
16162
- round: "",
16163
- block: "",
16164
- type: "info",
16165
- "native-type": "submit",
16166
- },
16167
- },
16168
- [_vm._v("提交")]
16169
- )
16170
- : _vm._l(_vm.btnList[0].contents, function (item) {
16171
- return _c(
16172
- "em-button",
16173
- _vm._b(
16159
+ _vm.showBtn
16160
+ ? _c(
16161
+ "div",
16162
+ { style: "margin: 16px;text-align:" + _vm.position },
16163
+ [
16164
+ _vm.btnList.length == 0
16165
+ ? _c(
16166
+ "em-button",
16174
16167
  {
16175
- key: item.text,
16176
16168
  attrs: {
16177
- "native-type": item.nativeType
16178
- ? item.nativeType
16179
- : "button",
16180
- },
16181
- on: {
16182
- click: function ($event) {
16183
- _vm.handleClick(item)
16184
- },
16169
+ round: "",
16170
+ block: "",
16171
+ type: "primary",
16172
+ "native-type": "submit",
16185
16173
  },
16186
16174
  },
16187
- "em-button",
16188
- item,
16189
- false
16190
- ),
16191
- [_vm._v(_vm._s(item.text))]
16192
- )
16193
- }),
16194
- ],
16195
- 2
16196
- ),
16175
+ [_vm._v("提交")]
16176
+ )
16177
+ : _vm._l(_vm.btnList[0].contents, function (item) {
16178
+ return _c(
16179
+ "em-button",
16180
+ _vm._b(
16181
+ {
16182
+ key: item.text,
16183
+ attrs: {
16184
+ "native-type": item.nativeType
16185
+ ? item.nativeType
16186
+ : "button",
16187
+ },
16188
+ on: {
16189
+ click: function ($event) {
16190
+ _vm.handleClick(item)
16191
+ },
16192
+ },
16193
+ },
16194
+ "em-button",
16195
+ item,
16196
+ false
16197
+ ),
16198
+ [_vm._v(_vm._s(item.text))]
16199
+ )
16200
+ }),
16201
+ ],
16202
+ 2
16203
+ )
16204
+ : _vm._e(),
16197
16205
  ],
16198
16206
  2
16199
16207
  )
16200
16208
  }
16201
- var mainvue_type_template_id_e6e879a8_staticRenderFns = []
16202
- mainvue_type_template_id_e6e879a8_render._withStripped = true
16209
+ var mainvue_type_template_id_774446e1_staticRenderFns = []
16210
+ mainvue_type_template_id_774446e1_render._withStripped = true
16203
16211
 
16204
16212
 
16205
- // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=e6e879a8&
16213
+ // CONCATENATED MODULE: ./packages/form/src/main.vue?vue&type=template&id=774446e1&
16206
16214
 
16207
16215
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/form/src/main.vue?vue&type=script&lang=js&
16208
16216
  //
@@ -16344,6 +16352,10 @@ mainvue_type_template_id_e6e879a8_render._withStripped = true
16344
16352
  position: {
16345
16353
  type: String,
16346
16354
  default: 'center'
16355
+ },
16356
+ showBtn: {
16357
+ type: Boolean,
16358
+ default: true
16347
16359
  }
16348
16360
  },
16349
16361
  computed: {
@@ -16358,6 +16370,7 @@ mainvue_type_template_id_e6e879a8_render._withStripped = true
16358
16370
  this.$emit('change', key, value);
16359
16371
  },
16360
16372
  handleClick: function handleClick(val) {
16373
+ console.log(this.$refs.emForm.validate(), 'emForm');
16361
16374
  this.$emit('click', { values: this.model, btn: val });
16362
16375
  }
16363
16376
  }
@@ -16374,8 +16387,8 @@ mainvue_type_template_id_e6e879a8_render._withStripped = true
16374
16387
 
16375
16388
  var form_src_main_component = normalizeComponent(
16376
16389
  packages_form_src_mainvue_type_script_lang_js_,
16377
- mainvue_type_template_id_e6e879a8_render,
16378
- mainvue_type_template_id_e6e879a8_staticRenderFns,
16390
+ mainvue_type_template_id_774446e1_render,
16391
+ mainvue_type_template_id_774446e1_staticRenderFns,
16379
16392
  false,
16380
16393
  null,
16381
16394
  null,
@@ -17373,7 +17386,7 @@ if (typeof window !== 'undefined' && window.Vue) {
17373
17386
  }
17374
17387
 
17375
17388
  /* harmony default export */ var src = __webpack_exports__["default"] = ({
17376
- version: '0.1.52',
17389
+ version: '0.1.53',
17377
17390
  install: install,
17378
17391
  Button: packages_button,
17379
17392
  ButtonGroup: button_group,