eoss-ui 0.4.45 → 0.4.46

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-ui",
3
- "version": "0.4.45",
3
+ "version": "0.4.46",
4
4
  "description": "eoss内部业务组件",
5
5
  "main": "lib/eoss-ui.common.js",
6
6
  "files": [
@@ -1129,7 +1129,7 @@ export default {
1129
1129
  },
1130
1130
  hanleReset() {
1131
1131
  if (this.url) {
1132
- this.where = {};
1132
+ this.wheres = {};
1133
1133
  this.getTableData();
1134
1134
  }
1135
1135
  this.$emit('reset');
@@ -3,6 +3,7 @@
3
3
  class="es-flow-index"
4
4
  :class="{ 'es-flow-narrow': shrink }"
5
5
  :style="shrink ? 'width:48px' : ''"
6
+ v-if="!shrinkAbled"
6
7
  >
7
8
  <div class="es-flow-top">
8
9
  <div class="es-flow-title">
@@ -221,7 +222,9 @@
221
222
  :radioList="radioList"
222
223
  :multiple="multiple"
223
224
  :isCustomUser="!isShowNextUser ? 1 : isCustomUser"
224
- :isCurrentNodeForbiddenChangeCandidate="isCurrentNodeForbiddenChangeCandidate"
225
+ :isCurrentNodeForbiddenChangeCandidate="
226
+ isCurrentNodeForbiddenChangeCandidate
227
+ "
225
228
  :options="options"
226
229
  :mix="multiple"
227
230
  :presetEdit="presetEdit"
@@ -379,7 +382,11 @@
379
382
  </div>
380
383
  <div
381
384
  class="es-user-defined"
382
- v-if="nodeInfos.length > 0 || nodeInfo.option.length > 0 || operationList.length>0"
385
+ v-if="
386
+ nodeInfos.length > 0 ||
387
+ nodeInfo.option.length > 0 ||
388
+ operationList.length > 0
389
+ "
383
390
  >
384
391
  <el-button
385
392
  v-show="isSubmitButtonShowAgreeAndDisagree != 1"
@@ -633,6 +640,7 @@ export default {
633
640
  flowMultiple: true,
634
641
  isCustomUser: 0,
635
642
  shrink: false,
643
+ shrinkAbled:false,
636
644
  taskExamineInfo: {},
637
645
  presetUserJson: [],
638
646
  presetList: [],
@@ -683,7 +691,7 @@ export default {
683
691
  showTaskUnionExamine: false, //展示联合审核弹窗
684
692
  charUrl: util.win.location.origin,
685
693
  endFlow: false, // 是否结束流程
686
- isCurrentNodeForbiddenChangeCandidate:0,//是否禁止选择办理人
694
+ isCurrentNodeForbiddenChangeCandidate: 0, //是否禁止选择办理人
687
695
  isSubmitButtonShowAgreeAndDisagree: 0, //是否展示同意和不同意按钮
688
696
  pointsReadingObj: {
689
697
  value: '分阅',
@@ -904,7 +912,6 @@ export default {
904
912
  }
905
913
  },
906
914
  setShrink() {
907
- this.shrink = !this.shrink;
908
915
  this.$emit('shrink', this.shrink);
909
916
  },
910
917
  customLoading(type) {
@@ -1649,11 +1656,11 @@ export default {
1649
1656
  .ajax({ url: getHandleInfoHtml, params })
1650
1657
  .then((res) => {
1651
1658
  //pc返回数据
1652
- const {
1653
- status,
1654
- message,
1659
+
1660
+ this.loading.close();
1661
+ if (res.status === 'success') {
1662
+ const {
1655
1663
  data: {
1656
- isEndUserTask,
1657
1664
  nextNodeList,
1658
1665
  taskOperations,
1659
1666
  isCustomPreset,
@@ -1678,8 +1685,6 @@ export default {
1678
1685
  taskButtonList
1679
1686
  }
1680
1687
  } = res;
1681
- this.loading.close();
1682
- if (status === 'success') {
1683
1688
  this.$emit('startTaskRead', res);
1684
1689
  this.endFlowInfo.choiceOrgId = choiceOrgId;
1685
1690
  this.endFlowInfo.choiceDeptId = choiceDeptId;
@@ -1742,7 +1747,8 @@ export default {
1742
1747
  this.nodeFixedOpinionSelectList.push({ content: x });
1743
1748
  });
1744
1749
  }
1745
- this.isCurrentNodeForbiddenChangeCandidate = nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
1750
+ this.isCurrentNodeForbiddenChangeCandidate =
1751
+ nodeInfoMap.nodeExtAttr.isCurrentNodeForbiddenChangeCandidate;
1746
1752
  this.nodeDefaultSubmitOpinion =
1747
1753
  nodeInfoMap.nodeExtAttr.nodeDefaultSubmitOpinion;
1748
1754
  this.isSubmitButtonShowAgreeAndDisagree =
@@ -1773,7 +1779,9 @@ export default {
1773
1779
  this.choiceOrgId = choiceOrgId;
1774
1780
  this.choiceDeptId = choiceDeptId;
1775
1781
  this.pOrgId = pOrgId;
1776
- this.isEndUserTask = isEndUserTask;
1782
+ if (res.data && res.data.isEndUserTask != undefined) {
1783
+ this.isEndUserTask = res.data.isEndUserTask;
1784
+ }
1777
1785
  if (JSON.stringify(taskExamine) != '{}' && taskExamine) {
1778
1786
  this.nodeInfo.nextNode = taskExamine.processDefinitionId;
1779
1787
  this.NodeName = taskExamine.nodeName;
@@ -1844,7 +1852,12 @@ export default {
1844
1852
  this.getNodeType();
1845
1853
  this.getNodeInfo();
1846
1854
  } else {
1847
- this.$message.error(message || '系统错误,请联系管理员!');
1855
+ if(res.status === "taskCompleted"){
1856
+ this.shrinkAbled = true
1857
+ this.$message.warning(res.message || '系统错误,请联系管理员!');
1858
+ }else{
1859
+ this.$message.error(res.message || '系统错误,请联系管理员!');
1860
+ }
1848
1861
  }
1849
1862
  })
1850
1863
  .catch((err) => {
@@ -8,26 +8,18 @@
8
8
  align="center"
9
9
  label="经办部门"
10
10
  width="150"
11
+ show-overflow-tooltip
11
12
  >
12
13
  </el-table-column>
13
14
  <el-table-column
14
15
  align="center"
15
16
  label="步骤"
16
17
  width="110"
18
+ prop="itemname"
17
19
  show-overflow-tooltip
18
20
  >
19
- <template slot-scope="scope"
20
- ><span :title="scope.row.itemname">{{
21
- scope.row.itemid
22
- }}</span></template
23
- >
24
21
  </el-table-column>
25
- <el-table-column align="center" label="办理人" width="110">
26
- <template slot-scope="scope"
27
- ><span :title="scope.row.userName">{{
28
- scope.row.userid
29
- }}</span></template
30
- >
22
+ <el-table-column align="center" show-overflow-tooltip prop="userName" label="办理人" width="110">
31
23
  </el-table-column>
32
24
  <el-table-column
33
25
  label="状态"
package/src/index.js CHANGED
@@ -117,7 +117,7 @@ if (typeof window !== 'undefined' && window.Vue) {
117
117
  }
118
118
 
119
119
  export default {
120
- version: '0.4.45',
120
+ version: '0.4.46',
121
121
  install,
122
122
  Button,
123
123
  ButtonGroup,