eoss-ui 0.6.19 → 0.6.20

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.
Files changed (102) hide show
  1. package/lib/eoss-ui.common.js +780 -678
  2. package/lib/flow.js +619 -515
  3. package/lib/index.js +1 -1
  4. package/lib/login.js +3 -2
  5. package/lib/main.js +143 -146
  6. package/lib/qr-code.js +13 -13
  7. package/lib/theme-chalk/index.css +1 -1
  8. package/lib/theme-chalk/login.css +1 -1
  9. package/package.json +157 -157
  10. package/packages/button/src/main.vue +418 -418
  11. package/packages/button-group/src/main.vue +298 -298
  12. package/packages/checkbox-group/src/main.vue +333 -333
  13. package/packages/clients/src/main.vue +144 -144
  14. package/packages/data-table/src/children.vue +39 -39
  15. package/packages/data-table/src/column.vue +983 -983
  16. package/packages/data-table/src/main.vue +1812 -1812
  17. package/packages/data-table/src/sizer.vue +195 -195
  18. package/packages/date-picker/src/main.vue +236 -236
  19. package/packages/flow/src/component/CustomPreset.vue +1 -1
  20. package/packages/flow/src/component/Preset.vue +1 -1
  21. package/packages/flow/src/component/SendMsg.vue +3 -1
  22. package/packages/flow/src/component/taskUnionExamine.vue +38 -20
  23. package/packages/flow/src/main.vue +2731 -2711
  24. package/packages/flow/src/processForm.vue +13 -2
  25. package/packages/flow/src/processReject.vue +14 -3
  26. package/packages/flow/src/startTaskRead.vue +23 -5
  27. package/packages/flow-group/src/main.vue +684 -684
  28. package/packages/form/src/main.vue +3582 -3582
  29. package/packages/form/src/table.vue +1420 -1420
  30. package/packages/handle-user/src/main.vue +134 -134
  31. package/packages/handler/src/main.vue +374 -374
  32. package/packages/icon/src/main.vue +101 -101
  33. package/packages/input/src/main.vue +356 -356
  34. package/packages/login/src/main.vue +1851 -1850
  35. package/packages/login/src/resetPassword.vue +557 -557
  36. package/packages/main/src/default/message.vue +249 -249
  37. package/packages/main/src/default/notice.vue +157 -157
  38. package/packages/main/src/default/userinfo.vue +494 -494
  39. package/packages/main/src/public/online.vue +89 -89
  40. package/packages/main/src/public/search.vue +454 -454
  41. package/packages/main/src/public/settings.vue +221 -221
  42. package/packages/main/src/simplicity/apps.vue +388 -388
  43. package/packages/main/src/simplicity/avatar.vue +82 -82
  44. package/packages/main/src/simplicity/handler.vue +183 -183
  45. package/packages/main/src/simplicity/index.vue +1930 -1931
  46. package/packages/main/src/simplicity/lists.vue +84 -84
  47. package/packages/main/src/simplicity/menu-list.vue +128 -128
  48. package/packages/main/src/simplicity/message.vue +259 -259
  49. package/packages/main/src/simplicity/notice.vue +190 -190
  50. package/packages/main/src/simplicity/router-page.vue +45 -45
  51. package/packages/main/src/simplicity/sub-menu.vue +241 -241
  52. package/packages/main/src/simplicity/user.vue +248 -248
  53. package/packages/main/src/simplicity/userinfo.vue +304 -304
  54. package/packages/menu/src/main.vue +536 -536
  55. package/packages/pagination/src/main.vue +96 -96
  56. package/packages/qr-code/src/main.vue +170 -170
  57. package/packages/radio-group/src/main.vue +319 -319
  58. package/packages/select/src/main.vue +761 -761
  59. package/packages/selector/src/main.vue +677 -677
  60. package/packages/selector-panel/src/main.vue +1020 -1020
  61. package/packages/selector-panel/src/selection.vue +160 -160
  62. package/packages/tabs/src/main.vue +788 -788
  63. package/packages/theme-chalk/lib/index.css +1 -1
  64. package/packages/theme-chalk/lib/login.css +1 -1
  65. package/packages/theme-chalk/src/base.scss +260 -260
  66. package/packages/theme-chalk/src/button-group.scss +175 -175
  67. package/packages/theme-chalk/src/calendar.scss +113 -113
  68. package/packages/theme-chalk/src/clients.scss +87 -87
  69. package/packages/theme-chalk/src/common/var.scss +1 -4
  70. package/packages/theme-chalk/src/data-table.scss +276 -276
  71. package/packages/theme-chalk/src/dialog.scss +77 -77
  72. package/packages/theme-chalk/src/flow-group.scss +110 -110
  73. package/packages/theme-chalk/src/form.scss +496 -496
  74. package/packages/theme-chalk/src/handler.scss +133 -133
  75. package/packages/theme-chalk/src/icon.scss +1745 -1745
  76. package/packages/theme-chalk/src/icons.scss +99 -99
  77. package/packages/theme-chalk/src/login.scss +917 -926
  78. package/packages/theme-chalk/src/main.scss +632 -632
  79. package/packages/theme-chalk/src/menu.scss +222 -222
  80. package/packages/theme-chalk/src/nav.scss +125 -125
  81. package/packages/theme-chalk/src/pagination.scss +29 -29
  82. package/packages/theme-chalk/src/selector-panel.scss +204 -204
  83. package/packages/theme-chalk/src/simplicity.scss +1246 -1246
  84. package/packages/theme-chalk/src/tabs.scss +87 -87
  85. package/packages/theme-chalk/src/toolbar.scss +179 -179
  86. package/packages/theme-chalk/src/tree-group.scss +72 -72
  87. package/packages/theme-chalk/src/tree.scss +165 -165
  88. package/packages/upload/src/main.vue +1313 -1313
  89. package/packages/wujie/src/main.vue +145 -145
  90. package/src/config/api.js +236 -236
  91. package/src/config/image.js +2 -2
  92. package/src/index.js +157 -157
  93. package/packages/.DS_Store +0 -0
  94. package/packages/checkbox-group/.DS_Store +0 -0
  95. package/packages/data-table/.DS_Store +0 -0
  96. package/packages/dialog/.DS_Store +0 -0
  97. package/packages/handler/.DS_Store +0 -0
  98. package/packages/login/.DS_Store +0 -0
  99. package/packages/main/.DS_Store +0 -0
  100. package/packages/main/src/.DS_Store +0 -0
  101. package/packages/theme-chalk/src/.DS_Store +0 -0
  102. package/src/.DS_Store +0 -0
@@ -190,7 +190,9 @@
190
190
  v-for="item of nextNode.noticeList"
191
191
  :key="item.cciValue"
192
192
  :label="item.cciValue"
193
- :disabled="readOnlyNotificationType.indexOf(item.cciValue) != -1"
193
+ :disabled="readOnlyNotificationType
194
+ ? readOnlyNotificationType.indexOf(item.cciValue) != -1
195
+ : false"
194
196
  >
195
197
  {{ item.shortName }}
196
198
  </el-checkbox>
@@ -405,6 +407,7 @@ export default {
405
407
  this.getUserInfo();
406
408
  },
407
409
  mounted() {
410
+ this.getNodeType();
408
411
  this.getStartFlow(this.processDefinitionId);
409
412
  this.newOpinion = this.opinion;
410
413
  },
@@ -769,6 +772,15 @@ export default {
769
772
  const { status, message } = res;
770
773
  if (status === 'success') {
771
774
  this.nextNode.noticeType = message.split(',');
775
+ let arr = [];
776
+ this.nextNode.noticeList.map((item) => {
777
+ this.nextNode.noticeType.map((x) => {
778
+ if (x == item.cciValue) {
779
+ arr.push(x);
780
+ }
781
+ });
782
+ });
783
+ this.nextNode.noticeType = arr;
772
784
  } else {
773
785
  this.$message.error(message || '系统错误,请联系管理员!');
774
786
  }
@@ -926,7 +938,6 @@ export default {
926
938
  this.$refs.customPreset.getPresetFlowInfo(this.nextNode.nextNode);
927
939
  this.getFind();
928
940
  this.getMessage();
929
- this.getNodeType();
930
941
  } else {
931
942
  this.$message.error(message || '系统错误,请联系管理员!');
932
943
  }
@@ -41,7 +41,9 @@
41
41
  v-for="item of nextNode.noticeList"
42
42
  :key="item.cciValue"
43
43
  :label="item.cciValue"
44
- :disabled="readOnlyNotificationType.indexOf(item.cciValue) != -1"
44
+ :disabled="readOnlyNotificationType
45
+ ? readOnlyNotificationType.indexOf(item.cciValue) != -1
46
+ : false"
45
47
  >
46
48
  {{ item.shortName }}
47
49
  </el-checkbox>
@@ -130,7 +132,8 @@ export default {
130
132
  },
131
133
  mounted() {
132
134
  this.newsInformation = this.newsInfo;
133
- this.getProcessReject();
135
+ this.getNodeType();
136
+ this.getProcessReject();
134
137
  },
135
138
  methods: {
136
139
  getNodeType() {
@@ -212,6 +215,15 @@ export default {
212
215
  const { status, message } = res;
213
216
  if (status === 'success') {
214
217
  this.nextNode.noticeType = message.split(',');
218
+ let arr = [];
219
+ this.nextNode.noticeList.map((item) => {
220
+ this.nextNode.noticeType.map((x) => {
221
+ if (x == item.cciValue) {
222
+ arr.push(x);
223
+ }
224
+ });
225
+ });
226
+ this.nextNode.noticeType = arr;
215
227
  }
216
228
  })
217
229
  .catch((err) => {
@@ -275,7 +287,6 @@ export default {
275
287
  }
276
288
  });
277
289
  this.getFind();
278
- this.getNodeType();
279
290
  }
280
291
  }
281
292
  };
@@ -12,6 +12,7 @@
12
12
  class="demo-dynamic"
13
13
  label-width="110px"
14
14
  >
15
+ <div style="max-height: 290px; overflow-y: auto; margin-bottom: 10px">
15
16
  <el-form-item
16
17
  prop="handleExplain"
17
18
  label="当前步骤"
@@ -114,7 +115,9 @@
114
115
  v-for="item of noticeList"
115
116
  :key="item.cciValue"
116
117
  :label="item.cciValue"
117
- :disabled="configInfo.readOnlyNotificationType.indexOf(item.cciValue) != -1"
118
+ :disabled="readOnlyNotificationType
119
+ ? readOnlyNotificationType.indexOf(item.cciValue) != -1
120
+ : false"
118
121
  >
119
122
  {{ item.shortName }}
120
123
  </el-checkbox>
@@ -123,8 +126,7 @@
123
126
  <el-form-item
124
127
  v-show="
125
128
  nextNode.noticeType.length != 0 &&
126
- configInfo.isCdjxjTaskHandle != 'true' &&
127
- type == 'transfer'
129
+ configInfo.isCdjxjTaskHandle != 'true'
128
130
  "
129
131
  prop="nextNode"
130
132
  label="通知消息"
@@ -138,10 +140,11 @@
138
140
  "
139
141
  type="textarea"
140
142
  v-model="newsNoice"
141
- :readonly="configInfo.notificationMessageReadOnly =='true'"
143
+ :readonly="notificationMessageReadOnly =='true'"
142
144
  />
143
145
  <!-- <span>{{ newsInfo }}</span> -->
144
146
  </el-form-item>
147
+ </div>
145
148
  <el-form-item>
146
149
  <div style="text-align: right">
147
150
  <el-button type="primary" size="small" @click="submit('nextNode')">
@@ -181,6 +184,8 @@ export default {
181
184
  return {
182
185
  loading: false,
183
186
  newsNoice:'',
187
+ readOnlyNotificationType:'',
188
+ notificationMessageReadOnly:false,
184
189
  nextNode: {
185
190
  nextUser: [],
186
191
  userInfo: [],
@@ -404,6 +409,15 @@ export default {
404
409
  const { status, data } = res;
405
410
  if (status === 'success') {
406
411
  this.noticeList = data;
412
+ let arr = [];
413
+ this.noticeList.map((item) => {
414
+ this.nextNode.noticeType.map((x) => {
415
+ if (x == item.cciValue) {
416
+ arr.push(x);
417
+ }
418
+ });
419
+ });
420
+ this.nextNode.noticeType = arr;
407
421
  }
408
422
  })
409
423
  .catch((err) => {
@@ -552,10 +566,14 @@ export default {
552
566
  url: findSysCodes
553
567
  })
554
568
  .then((res) => {
555
- const { status, message } = res;
569
+ const { status, message,data } = res;
556
570
  this.loading = false;
557
571
  if (status === 'success') {
558
572
  this.nextNode.noticeType = message.split(',');
573
+ if(data){
574
+ this.notificationMessageReadOnly = data.notificationMessageReadOnly
575
+ this.readOnlyNotificationType = data.readOnlyNotificationType
576
+ }
559
577
  } else {
560
578
  this.$message.error(message || '系统错误,请联系管理员!');
561
579
  }