eoss-ui 0.6.93 → 0.6.95

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 (65) hide show
  1. package/lib/button-group.js +1 -1
  2. package/lib/button.js +1 -1
  3. package/lib/calogin.js +1 -1
  4. package/lib/checkbox-group.js +1 -1
  5. package/lib/config/api.js +1 -1
  6. package/lib/data-table-form.js +1 -1
  7. package/lib/data-table.js +30 -18
  8. package/lib/date-picker.js +1 -1
  9. package/lib/dialog.js +1 -1
  10. package/lib/eoss-ui.common.js +358 -260
  11. package/lib/flow-group.js +1 -1
  12. package/lib/flow-list.js +1 -1
  13. package/lib/flow.js +268 -186
  14. package/lib/form.js +1 -1
  15. package/lib/handle-user.js +1 -1
  16. package/lib/handler.js +1 -1
  17. package/lib/icon.js +1 -1
  18. package/lib/index.js +1 -1
  19. package/lib/input-number.js +1 -1
  20. package/lib/input.js +1 -1
  21. package/lib/login.js +1 -1
  22. package/lib/main.js +32 -27
  23. package/lib/nav.js +1 -1
  24. package/lib/notify.js +1 -1
  25. package/lib/page.js +1 -1
  26. package/lib/pagination.js +1 -1
  27. package/lib/player.js +1 -1
  28. package/lib/qr-code.js +1 -1
  29. package/lib/radio-group.js +1 -1
  30. package/lib/retrial-auth.js +1 -1
  31. package/lib/select-ganged.js +1 -1
  32. package/lib/select.js +7 -3
  33. package/lib/selector-panel.js +1 -1
  34. package/lib/selector.js +1 -1
  35. package/lib/sizer.js +1 -1
  36. package/lib/steps.js +1 -1
  37. package/lib/switch.js +1 -1
  38. package/lib/table-form.js +1 -1
  39. package/lib/tabs.js +1 -1
  40. package/lib/tips.js +1 -1
  41. package/lib/tree-group.js +1 -1
  42. package/lib/tree.js +4 -4
  43. package/lib/upload.js +7 -12
  44. package/lib/wujie.js +1 -1
  45. package/lib/wxlogin.js +1 -1
  46. package/package.json +2 -2
  47. package/packages/data-table/src/column.vue +0 -2
  48. package/packages/data-table/src/main.vue +12 -3
  49. package/packages/flow/src/component/Circulate.vue +7 -4
  50. package/packages/flow/src/component/SendMsg.vue +5 -4
  51. package/packages/flow/src/component/taskUnionExamine.vue +4 -3
  52. package/packages/flow/src/main.vue +22 -12
  53. package/packages/flow/src/processForm.vue +11 -5
  54. package/packages/flow/src/processReject.vue +22 -14
  55. package/packages/flow/src/reset.vue +4 -4
  56. package/packages/flow/src/startTaskRead.vue +14 -8
  57. package/packages/flow/src/supervise.vue +16 -9
  58. package/packages/main/src/public/search.vue +7 -1
  59. package/packages/main/src/simplicity/index.vue +1 -1
  60. package/packages/main/src/simplicity/user.vue +0 -1
  61. package/packages/select/src/main.vue +6 -2
  62. package/packages/tree/src/main.vue +1 -1
  63. package/packages/upload/src/main.vue +1 -6
  64. package/src/config/api.js +1 -1
  65. package/src/index.js +1 -1
@@ -31,12 +31,14 @@
31
31
  :params="otherParams"
32
32
  />
33
33
  </el-form-item>
34
+
35
+ <!-- :rules="[
36
+ { required: false, message: `请选择通知方式`, trigger: 'blur' }
37
+ ]" -->
34
38
  <el-form-item
35
39
  prop="noticeType"
36
40
  label="通知方式"
37
- :rules="[
38
- { required: false, message: `请选择通知方式`, trigger: 'blur' }
39
- ]"
41
+ v-show="infoList.noticeList != 0"
40
42
  >
41
43
  <el-checkbox-group
42
44
  v-model="infoList.noticeType"
@@ -316,7 +318,8 @@ export default {
316
318
  params: {
317
319
  ccCode: 'notification_type',
318
320
  userId: util.getStorage('userId'),
319
- pendingId:this.pendingId
321
+ pendingId:this.pendingId,
322
+ startCircularRead:true
320
323
  }
321
324
  })
322
325
  .then((res) => {
@@ -9,12 +9,13 @@
9
9
  <el-form-item prop="nodeName" label="标题">
10
10
  <div>{{ sendInfo.title }}</div>
11
11
  </el-form-item>
12
+ <!-- :rules="[
13
+ { required: false, message: `请选择通知方式`, trigger: 'blur' }
14
+ ]" -->
12
15
  <el-form-item
13
16
  prop="notificationType"
14
17
  label="通知方式"
15
- :rules="[
16
- { required: false, message: `请选择通知方式`, trigger: 'blur' }
17
- ]"
18
+ v-show="notificationList.length != 0"
18
19
  >
19
20
  <el-checkbox-group
20
21
  v-model="sendInfo.notificationType"
@@ -34,7 +35,7 @@
34
35
  </el-checkbox>
35
36
  </el-checkbox-group>
36
37
  </el-form-item>
37
- <el-form-item prop="nextNode" label="通知消息">
38
+ <el-form-item prop="nextNode" label="通知消息" v-show="notificationList.length != 0">
38
39
  <el-input
39
40
  type="textarea"
40
41
  autosize
@@ -79,12 +79,13 @@
79
79
  :tabs="foreignOrgTabsParam"
80
80
  />
81
81
  </el-form-item>
82
+ <!-- :rules="[
83
+ { required: false, message: `请选择通知方式`, trigger: 'blur' }
84
+ ]" -->
82
85
  <el-form-item
83
86
  prop="noticeType"
84
87
  label="通知方式"
85
- :rules="[
86
- { required: false, message: `请选择通知方式`, trigger: 'blur' }
87
- ]"
88
+ v-show="infoList.noticeList.length != 0"
88
89
  >
89
90
  <el-checkbox-group
90
91
  v-model="infoList.noticeType"
@@ -674,10 +674,11 @@
674
674
  :showBtn="false"
675
675
  :formTitle="formTitle"
676
676
  :urgencyLevel="urgencyLevel"
677
- :messageType='newsList'
677
+ :messageType="newsList"
678
678
  :copy-history="freeStartFlowParams.pendedHistoryHandle"
679
679
  :process-definition-id="freeStartFlowNextNode || nodeInfo.nextNode"
680
680
  :opinion="value"
681
+ :keyCount="msgTypeCount"
681
682
  :pendingId="pendingId"
682
683
  :taskExamineParam="freeStartFlowParams.newFlowStartNodeItemName"
683
684
  :taskParams="taskParams"
@@ -705,7 +706,7 @@
705
706
  :oldOption="value"
706
707
  @cancel="closeProcess($event, 'circulateVisible')"
707
708
  />
708
- <div v-if="!isFlow && isSpecial" style="padding: 5px; background: #fff">
709
+ <div v-if="!isFlow && isSpecial && newsList.length>0" style="padding: 5px; background: #fff">
709
710
  <div class="news" @click="showMessage">
710
711
  <span class="news-item">消息通知</span>
711
712
  <span :class="showNews ? 'show' : 'sj'"></span>
@@ -1004,7 +1005,7 @@
1004
1005
  :simpleTips="simpleTips"
1005
1006
  :show-reject="showReject"
1006
1007
  :news-info="nextNode.notificationMsg"
1007
- @cancel="closeProcess(true, 'showReject')"
1008
+ @cancel="closeProcess($event, 'showReject')"
1008
1009
  />
1009
1010
  </es-dialog>
1010
1011
  <es-dialog
@@ -1456,6 +1457,7 @@ export default {
1456
1457
  isCirculate: {
1457
1458
  handler(val) {
1458
1459
  if (!val && this.showCirculate != undefined) {
1460
+ this.showCirculate = val;
1459
1461
  this.getInfo();
1460
1462
  }
1461
1463
  this.showCirculate = val;
@@ -1577,7 +1579,11 @@ export default {
1577
1579
  },
1578
1580
  getInfo() {
1579
1581
  if (this.typeCode == 'supervise' || this.typeCode == 'read') return;
1580
- this.getNodeType();
1582
+ if(this.showCirculate != undefined && !this.showCirculate && this.urgencyLevel){
1583
+ this.getAdminMsgType()
1584
+ }else{
1585
+ this.getNodeType();
1586
+ }
1581
1587
  !this.isFlow &&
1582
1588
  (this.newTypeCode = this.typeCode || this.$route.query.typecode);
1583
1589
  if (this.isFlow) {
@@ -1951,15 +1957,16 @@ export default {
1951
1957
  }
1952
1958
  },
1953
1959
  getNodeType() {
1960
+ let params = {
1961
+ url: findCodeValues,
1962
+ params: {
1963
+ ccCode: 'notification_type',
1964
+ userId: util.getStorage('userId'),
1965
+ pendingId: this.pendingId,
1966
+ }
1967
+ };
1954
1968
  util
1955
- .ajax({
1956
- url: findCodeValues,
1957
- params: {
1958
- ccCode: 'notification_type',
1959
- userId: util.getStorage('userId'),
1960
- pendingId: this.pendingId
1961
- }
1962
- })
1969
+ .ajax(params)
1963
1970
  .then((res) => {
1964
1971
  const { status, data } = res;
1965
1972
  if (status === 'success') {
@@ -3257,6 +3264,9 @@ export default {
3257
3264
  if (this.nodeInfo.nextNode) {
3258
3265
  this.handleChange(this.nodeInfo.nextNode);
3259
3266
  }
3267
+ if(this.showCirculate != undefined && !this.showCirculate && this.urgencyLevel){
3268
+ this.getAdminMsgType()
3269
+ }
3260
3270
  }
3261
3271
  } else {
3262
3272
  this.$message.error(message || '系统错误,请联系管理员!');
@@ -248,7 +248,7 @@
248
248
  v-model="nextNode.handleExplain"
249
249
  />
250
250
  </el-form-item>
251
- <el-form-item prop="noticeType" label="通知方式" v-show="showBtn">
251
+ <el-form-item prop="noticeType" label="通知方式" v-show="showBtn && nextNode.noticeList.length>0">
252
252
  <el-checkbox-group v-model="nextNode.noticeType">
253
253
  <el-checkbox
254
254
  v-for="item of nextNode.noticeList"
@@ -327,7 +327,7 @@
327
327
  </div>
328
328
  </el-form-item>
329
329
  </el-form>
330
- <div v-if="!showBtn" style="padding: 5px; background: #fff">
330
+ <div v-if="!showBtn && nextNode.noticeList.length>0" style="padding: 5px; background: #fff">
331
331
  <div class="news" @click="showNews = !showNews">
332
332
  <span class="news-item">消息通知</span>
333
333
  <span :class="showNews ? 'show' : 'sj'"></span>
@@ -451,7 +451,11 @@ export default {
451
451
  urgencyLevel:{
452
452
  type:[Number,String],
453
453
  default:''
454
- }
454
+ },
455
+ keyCount:{
456
+ type:[Number,String],
457
+ default:0
458
+ },
455
459
  },
456
460
  data() {
457
461
  return {
@@ -550,7 +554,7 @@ export default {
550
554
  watch: {
551
555
  messageType:{
552
556
  handler(val) {
553
- if (val.length > 0 && this.urgencyLevel && this.msgTypeCount != 0) {
557
+ if (this.urgencyLevel) {
554
558
  this.nextNode.noticeList = val;
555
559
  let arr = [];
556
560
  this.nextNode.noticeList.map((item) => {
@@ -604,7 +608,9 @@ export default {
604
608
  this.getUserInfo();
605
609
  },
606
610
  mounted() {
607
- this.getNodeType();
611
+ if(!this.urgencyLevel){
612
+ this.getNodeType();
613
+ }
608
614
  this.getStartFlow(this.processDefinitionId);
609
615
  if (this.copyHistory) {
610
616
  this.nextNode.newOpinion = this.opinion;
@@ -24,18 +24,20 @@
24
24
  { required: true, message: `请选择驳回对象`, trigger: 'blur' }
25
25
  ]"
26
26
  >
27
- <el-radio-group v-model="nextNode.nextNodeId">
27
+ <el-radio-group v-model="nextNode.nextNodeId" v-if="rejectObj.length != 0">
28
28
  <el-radio v-for="item of rejectObj" :key="item.id" :label="item.id">
29
29
  {{ item.name }}
30
30
  </el-radio>
31
31
  </el-radio-group>
32
+ <span v-else>暂无可驳回节点及对象</span>
32
33
  </el-form-item>
34
+ <!-- :rules="[
35
+ { required: false, message: `请选择通知方式`, trigger: 'blur' }
36
+ ]" -->
33
37
  <el-form-item
34
38
  prop="noticeType"
35
39
  label="通知方式"
36
- :rules="[
37
- { required: false, message: `请选择通知方式`, trigger: 'blur' }
38
- ]"
40
+ v-show="nextNode.noticeList.length != 0 && rejectObj.length != 0"
39
41
  >
40
42
  <el-checkbox-group v-model="nextNode.noticeType">
41
43
  <el-checkbox
@@ -70,10 +72,10 @@
70
72
  <!-- size="small" -->
71
73
  <div style="text-align: right">
72
74
  <el-button
73
- type="primary"
74
- @click="subProcess('nextNode')"
75
+ :type="rejectObj.length == 0?'':'primary'"
76
+ @click="subProcess('nextNode',rejectObj.length == 0)"
75
77
  >
76
- 提交
78
+ {{rejectObj.length == 0?'取消':'提交'}}
77
79
  </el-button>
78
80
  </div>
79
81
  </el-form-item>
@@ -162,7 +164,11 @@ export default {
162
164
  });
163
165
  },
164
166
  // 提交表单
165
- subProcess(formName) {
167
+ subProcess(formName,isNoObj) {
168
+ if(isNoObj){
169
+ this.quit(false);
170
+ return
171
+ }
166
172
  this.saveProcess(formName);
167
173
  },
168
174
  saveProcess(formName) {
@@ -192,6 +198,7 @@ export default {
192
198
  this.simpleTips && this.$message.success('操作成功');
193
199
  } else {
194
200
  this.$message.error(message || '系统错误,请联系管理员!');
201
+ this.quit(false);
195
202
  }
196
203
  })
197
204
  .catch((err) => {
@@ -246,9 +253,11 @@ export default {
246
253
  util
247
254
  .ajax({ url: toTaskRejectHtml, params })
248
255
  .then((res) => {
249
- const {
250
- status,
251
- message,
256
+
257
+ console.log(res,'resssss')
258
+ this.loading = false;
259
+ if (res.status === 'success') {
260
+ const {
252
261
  data: {
253
262
  rejectTaskNodes,
254
263
  taskExamine,
@@ -257,8 +266,6 @@ export default {
257
266
  readOnlyNotificationType
258
267
  }
259
268
  } = res;
260
- this.loading = false;
261
- if (status === 'success') {
262
269
  this.isOpinionRequired = nodeInfoMap.nodeExtAttr.isOpinionRequired;
263
270
  this.readOnlyNotificationType = readOnlyNotificationType;
264
271
  this.notificationMessageReadOnly = notificationMessageReadOnly == 'true';
@@ -280,7 +287,8 @@ export default {
280
287
  (this.nextNode.nextNodeId = this.rejectObj[0].id);
281
288
  }
282
289
  } else {
283
- this.$message.error(message || '系统错误,请联系管理员!');
290
+ this.$message.error(res.message || '系统错误,请联系管理员!');
291
+ this.quit(false);
284
292
  }
285
293
  })
286
294
  .catch((err) => {
@@ -181,7 +181,7 @@
181
181
  v-model="nextItemHandleDescription"
182
182
  />
183
183
  </el-form-item>
184
- <el-form-item prop="noticeType" label="通知方式">
184
+ <el-form-item v-show="nextNode.noticeList.length != 0" prop="noticeType" label="通知方式">
185
185
  <el-checkbox-group
186
186
  v-if="showNoticeType"
187
187
  v-model="nextNode.noticeType"
@@ -540,9 +540,9 @@ export default {
540
540
  nextOperate,
541
541
  newOpinion
542
542
  } = this.nextNode;
543
- if (noticeType.length === 0) {
544
- return this.$message.warning('请选择通知方式');
545
- }
543
+ // if (noticeType.length === 0) {
544
+ // return this.$message.warning('请选择通知方式');
545
+ // }
546
546
  if (
547
547
  this.nodeInfoExtAttr.nodeType != 1 &&
548
548
  this.nodeInfoExtAttr.nodeType != 2 &&
@@ -50,6 +50,7 @@
50
50
  :multiple="type != 'transfer' ? multiple : false"
51
51
  :mix="type != 'transfer'"
52
52
  :selectUserList="selectUserList"
53
+ :disableds="readDisableds"
53
54
  :types="
54
55
  selectorTabs
55
56
  ? selectorTabs
@@ -64,7 +65,7 @@
64
65
  </el-form-item>
65
66
 
66
67
  <el-form-item
67
- v-if="configInfo.isCdjxjTaskHandle != 'true' && type != 'transfer'"
68
+ v-if="configInfo.isCdjxjTaskHandle != 'true' && type != 'transfer' && configInfo.groups&& configInfo.groups.length != 0"
68
69
  prop="cy"
69
70
  label="常用群组"
70
71
  ><el-checkbox-group v-model="selectCheck">
@@ -105,16 +106,16 @@
105
106
  >
106
107
  <el-input
107
108
  v-model="nextNode.handleExplain"
109
+ type="textarea"
110
+ :rows="3"
111
+
108
112
  placeholder="请填写办理说明"
109
113
  ></el-input>
110
114
  </el-form-item>
111
115
  <el-form-item
112
- v-if="configInfo.isCdjxjTaskHandle != 'true'"
116
+ v-if="configInfo.isCdjxjTaskHandle != 'true' && noticeList.length > 0"
113
117
  prop="noticeType"
114
118
  label="通知方式"
115
- :rules="[
116
- { required: false, message: `请选择通知方式`, trigger: 'blur' }
117
- ]"
118
119
  >
119
120
  <el-checkbox-group
120
121
  v-model="nextNode.noticeType"
@@ -227,6 +228,7 @@ export default {
227
228
  orgId: '',
228
229
  noticeList: [],
229
230
  userOptions: [],
231
+ readDisableds:[],
230
232
  selectCheck: [],
231
233
  selectUserList: [],
232
234
  transferInfo: {},
@@ -451,6 +453,9 @@ export default {
451
453
  const { status, data } = res;
452
454
  if (status === 'success') {
453
455
  this.configInfo = data;
456
+ if(data.alreadyReadUserIds){
457
+ this.readDisableds = data.alreadyReadUserIds.split(',');
458
+ }
454
459
  this.isMultiple();
455
460
  }
456
461
  })
@@ -477,9 +482,9 @@ export default {
477
482
  .ajax({
478
483
  url: findCodeValues,
479
484
  params: {
480
- ccCode: 'notification_type',
485
+ ccCode: 'fenyue_msg_type',
481
486
  userId: util.getStorage('userId'),
482
- pendingId:this.pendingId
487
+ // pendingId:this.pendingId
483
488
  }
484
489
  })
485
490
  .then((res) => {
@@ -609,6 +614,7 @@ export default {
609
614
  if(this.subParams){
610
615
  params = { ...params, ...this.subParams };
611
616
  }
617
+ delete this.configInfo.taskExamine.taskExamineParam;
612
618
  util
613
619
  .ajax({
614
620
  url: taskReadHtml,
@@ -617,7 +623,7 @@ export default {
617
623
  Accept: 'application/json,text/plain'
618
624
  },
619
625
  method: 'post',
620
- data: params
626
+ data: {...params,...this.configInfo.taskExamine}
621
627
  })
622
628
  .then((res) => {
623
629
  const { message, status } = res;
@@ -26,7 +26,7 @@
26
26
  disabled
27
27
  />
28
28
  </el-form-item>
29
- <el-form-item prop="noticeType" label="通知方式">
29
+ <el-form-item v-show="nextNode.notificationType.length > 0" prop="noticeType" label="通知方式">
30
30
  <el-checkbox-group v-model="nextNode.noticeType">
31
31
  <el-checkbox
32
32
  v-for="(item, index) of nextNode.notificationType"
@@ -38,7 +38,7 @@
38
38
  </el-checkbox-group>
39
39
  </el-form-item>
40
40
  <!-- v-show="nextNode.noticeType.length != 0" -->
41
- <el-form-item prop="notifyMessage" label="通知消息">
41
+ <el-form-item v-show="nextNode.noticeType.length != 0" prop="notifyMessage" label="通知消息">
42
42
  <es-input
43
43
  style="
44
44
  border-color: #ccc;
@@ -87,11 +87,11 @@ export default {
87
87
  },
88
88
  methods: {
89
89
  subProcess() {
90
- if (this.nextNode.noticeType.length == 0) {
91
- this.$message.warning('请选择通知方式');
92
- return;
93
- }
94
- if (!this.nextNode.notifyMessage) {
90
+ // if (this.nextNode.noticeType.length == 0) {
91
+ // this.$message.warning('请选择通知方式');
92
+ // return;
93
+ // }
94
+ if (this.nextNode.noticeType.length != 0 && !this.nextNode.notifyMessage) {
95
95
  this.$message.warning('请填写通知消息内容');
96
96
  return;
97
97
  }
@@ -132,13 +132,20 @@ export default {
132
132
  })
133
133
  .then((res) => {
134
134
  this.loading.close();
135
- if (res.rCode == 0) {
135
+ if (res.rCode == 0 || res.status == "success") {
136
136
  this.nextNode = { ...this.nextNode, ...res.results };
137
+ let arr = []
137
138
  this.nextNode.noticeType =
138
139
  res.results.defaultNotificationType.split(',');
140
+ this.nextNode.notificationType.map(x => {
141
+ if (this.nextNode.noticeType.indexOf(x.cciValue) != -1) {
142
+ arr.push(x.cciValue);
143
+ }
144
+ })
145
+ this.nextNode.noticeType = arr
139
146
  } else {
140
147
  this.$message({
141
- message: res.rMsg,
148
+ message: res.msg || res.message,
142
149
  type: 'error'
143
150
  });
144
151
  this.$emit('cancel');
@@ -232,7 +232,7 @@ export default {
232
232
  }
233
233
  },
234
234
  beforeCreate() {
235
- this.handleSearchAll = debounce(500, (res) => {
235
+ this.handleSearchAll = debounce(1000, (res) => {
236
236
  this.searchAll(res);
237
237
  });
238
238
  this.handleSearchd = debounce(500, (obj, index) => {
@@ -321,6 +321,12 @@ export default {
321
321
  for (let i = 0; i < this.types.length; i++) {
322
322
  let item = this.types[i];
323
323
  if (keyWords && !this.hides.includes(item.name) && !item.hide) {
324
+ this.types[i].records = [];
325
+ this.types[i].totalCount = 0;
326
+ this.types[i].pageCount = 1;
327
+ this.types[i].pageNum = 0;
328
+ this.$set(this.loadings, item.id || String(i), true);
329
+ this.$set(this.noMore, item.id || String(i), false);
324
330
  if (item.name == '菜单' && this.menus.length) {
325
331
  this.isLoading = false;
326
332
  this.types[i].records = this.searchData(this.menus, keyWords);
@@ -883,7 +883,7 @@ export default {
883
883
  this.singleLogout = results[i].singleLogout.split(',');
884
884
  }
885
885
  if (results[i].userInfoContents) {
886
- this.userInfoContents = results[i].userInfoContents;
886
+ this.userInfoContents = JSON.parse(results[i].userInfoContents);
887
887
  }
888
888
  if (results[i].webPageWatermark) {
889
889
  try {
@@ -110,7 +110,6 @@ export default {
110
110
  watch: {
111
111
  notify: {
112
112
  immediate: true,
113
- userInfo: {},
114
113
  handler(val) {
115
114
  if (val) {
116
115
  this.checked = val.split(',');
@@ -658,6 +658,7 @@ export default {
658
658
  } else {
659
659
  dom = [this.getLabel(this.models, this.results)];
660
660
  }
661
+ console.log('dom', dom);
661
662
  return h(
662
663
  'div',
663
664
  {
@@ -667,9 +668,12 @@ export default {
667
668
  'es-textarea__inner el-textarea__inner': this.multiple,
668
669
  'el-input__inner es-input__inner': !this.multiple
669
670
  }
670
- ]
671
+ ],
672
+ domProps: {
673
+ innerHTML: dom.join(this.symbol)
674
+ }
671
675
  },
672
- [dom.join(this.symbol)]
676
+ []
673
677
  );
674
678
  }
675
679
  let doms = [];
@@ -219,7 +219,7 @@ export default {
219
219
  //懒加载
220
220
  lazy: {
221
221
  type: Boolean,
222
- default: true
222
+ default: false
223
223
  },
224
224
  onChange: Function,
225
225
  onSearch: Function,
@@ -239,12 +239,7 @@ export default {
239
239
  type: Boolean,
240
240
  default: true
241
241
  },
242
- headers: {
243
- type: Object,
244
- default() {
245
- return util.getStorage();
246
- }
247
- },
242
+ headers: Object,
248
243
  listType: {
249
244
  type: String,
250
245
  default: 'table' // text,table,picture,picture-card
package/src/config/api.js CHANGED
@@ -1,7 +1,7 @@
1
1
  const flowPendingPrefix =
2
2
  window.flowPendingPrefix ||
3
3
  localStorage.getItem('flowPendingPrefix') ||
4
- '/bpm';
4
+ '/oa';
5
5
  // 登录
6
6
  export const doCaLogin = '/sso2/signIn/auth/doCaLogin'; // ca登录认证
7
7
  export const doUserLogin = '/sso2/signIn/auth/doUserLogin'; // 一般的账号密码认证含验证码验证
package/src/index.js CHANGED
@@ -125,7 +125,7 @@ if (typeof window !== 'undefined' && window.Vue) {
125
125
  }
126
126
 
127
127
  export default {
128
- version: '0.6.93',
128
+ version: '0.6.95',
129
129
  install,
130
130
  Button,
131
131
  ButtonGroup,