sasp-flow-render 1.1.16 → 1.1.18

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": "sasp-flow-render",
3
- "version": "1.1.16",
3
+ "version": "1.1.18",
4
4
  "description": "业务应用支撑平台-智慧流程渲染组件",
5
5
  "scripts": {
6
6
  "build": "vue-cli-service build"
@@ -31,6 +31,7 @@
31
31
  :data="formSearchObj.flowNewBatchDealArr"
32
32
  tooltip-effect="dark" stripe
33
33
  height="100%" style="width: 100%"
34
+ border
34
35
  :cell-class-name="cellClassNameFunc"
35
36
  @row-click="handleRowClick"
36
37
  @selection-change="handleSelectionChange">
@@ -233,7 +234,7 @@ export default {
233
234
  return {
234
235
  backNewBatchDealArr: [],
235
236
  multipleSelection: [],
236
- shLabelWidth: "100px",
237
+ shLabelWidth: "120px",
237
238
  taskNodeArr: [],
238
239
  taskNodeClickNum: 0,
239
240
  prevDisabled: true,
@@ -506,7 +507,7 @@ export default {
506
507
  .sh-right-box {
507
508
  position: absolute;
508
509
  top: 0;
509
- right: 0;
510
+ right: 5px;
510
511
  //flex-shrink: 0;
511
512
  //width: 80px;
512
513
  font-size: 26px;
@@ -122,6 +122,7 @@
122
122
  // 解析用户数据
123
123
  this.analyseRequest(dataInter).then(data => {
124
124
  let arr = [];
125
+ let userIdArr = [];
125
126
  data.forEach(item => {
126
127
  item.dataUserId = item[dataInter["idCode"] || "userId"];
127
128
  item.dataKey = item.dataUserId;
@@ -135,10 +136,13 @@
135
136
  if(item.dataPosId){
136
137
  item.dataParentId = item.posId;
137
138
  }
138
- arr.push({
139
- id:item.dataKey,
140
- userName:item.dataLabel
141
- })
139
+ if(userIdArr.indexOf(item.dataKey) === -1){
140
+ arr.push({
141
+ id:item.dataKey,
142
+ userName:item.dataLabel
143
+ })
144
+ userIdArr.push(item.dataKey);
145
+ }
142
146
  })
143
147
  this.userArr = arr;
144
148
  this.INTER_CACHE.setUserArr(arr);