eoss-ui 0.6.40 → 0.6.41
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/button-group.js +5 -0
- package/lib/button.js +5 -0
- package/lib/checkbox-group.js +5 -0
- package/lib/data-table-form.js +5 -0
- package/lib/data-table.js +11 -6
- package/lib/date-picker.js +5 -0
- package/lib/dialog.js +5 -0
- package/lib/eoss-ui.common.js +831 -433
- package/lib/flow-group.js +5 -0
- package/lib/flow-list.js +5 -0
- package/lib/flow.js +37 -35
- package/lib/form.js +5 -0
- package/lib/handle-user.js +5 -0
- package/lib/handler.js +152 -76
- package/lib/icon.js +5 -0
- package/lib/icons.js +1 -1
- package/lib/index.js +1 -1
- package/lib/input-number.js +5 -0
- package/lib/input.js +5 -0
- package/lib/login.js +248 -160
- package/lib/main.js +329 -113
- package/lib/nav.js +5 -0
- package/lib/page.js +5 -0
- package/lib/pagination.js +5 -0
- package/lib/player.js +5 -0
- package/lib/qr-code.js +5 -0
- package/lib/radio-group.js +5 -0
- package/lib/retrial-auth.js +5 -0
- package/lib/select-ganged.js +5 -0
- package/lib/select.js +5 -0
- package/lib/selector-panel.js +7 -3
- package/lib/selector.js +42 -5
- package/lib/sizer.js +5 -0
- package/lib/steps.js +5 -0
- package/lib/switch.js +5 -0
- package/lib/table-form.js +5 -0
- package/lib/tabs.js +5 -0
- package/lib/theme-chalk/base.css +1 -1
- package/lib/theme-chalk/fonts/iconfont.ttf +0 -0
- package/lib/theme-chalk/fonts/iconfont.woff +0 -0
- package/lib/theme-chalk/icon.css +1 -1
- package/lib/theme-chalk/index.css +1 -1
- package/lib/theme-chalk/login.css +1 -1
- package/lib/theme-chalk/main.css +1 -1
- package/lib/theme-chalk/menu.css +1 -1
- package/lib/theme-chalk/simplicity.css +1 -1
- package/lib/theme-chalk/sizer.css +1 -1
- package/lib/theme-chalk/upload.css +1 -1
- package/lib/tips.js +5 -0
- package/lib/tree-group.js +5 -0
- package/lib/tree.js +5 -0
- package/lib/upload.js +5 -0
- package/lib/utils/util.js +5 -0
- package/lib/wujie.js +5 -0
- package/lib/wxlogin.js +5 -0
- package/package.json +1 -1
- package/packages/.DS_Store +0 -0
- package/packages/data-table/.DS_Store +0 -0
- package/packages/data-table/src/main.vue +3 -1
- package/packages/flow/.DS_Store +0 -0
- package/packages/flow/src/component/taskUnionExamine.vue +34 -26
- package/packages/flow/src/main.vue +0 -2
- package/packages/flow/src/processForm.vue +29 -18
- package/packages/flow/src/reset.vue +0 -2
- package/packages/handler/src/main.vue +163 -77
- package/packages/icons/src/icon.json +1 -1
- package/packages/login/.DS_Store +0 -0
- package/packages/login/src/main.vue +61 -18
- package/packages/main/.DS_Store +0 -0
- package/packages/main/src/.DS_Store +0 -0
- package/packages/main/src/default/index.vue +32 -3
- package/packages/main/src/public/search.vue +14 -7
- package/packages/main/src/simplicity/handler.vue +64 -26
- package/packages/main/src/simplicity/index.vue +80 -26
- package/packages/selector/.DS_Store +0 -0
- package/packages/selector/src/main.vue +17 -5
- package/packages/selector-panel/.DS_Store +0 -0
- package/packages/selector-panel/src/main.vue +0 -1
- package/packages/theme-chalk/lib/base.css +1 -1
- package/packages/theme-chalk/lib/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/lib/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/lib/icon.css +1 -1
- package/packages/theme-chalk/lib/index.css +1 -1
- package/packages/theme-chalk/lib/login.css +1 -1
- package/packages/theme-chalk/lib/main.css +1 -1
- package/packages/theme-chalk/lib/menu.css +1 -1
- package/packages/theme-chalk/lib/simplicity.css +1 -1
- package/packages/theme-chalk/lib/sizer.css +1 -1
- package/packages/theme-chalk/lib/upload.css +1 -1
- package/packages/theme-chalk/src/.DS_Store +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.ttf +0 -0
- package/packages/theme-chalk/src/fonts/iconfont.woff +0 -0
- package/packages/theme-chalk/src/icon.scss +29 -0
- package/packages/theme-chalk/src/login.scss +8 -0
- package/packages/theme-chalk/src/main.scss +7 -0
- package/src/.DS_Store +0 -0
- package/src/index.js +1 -1
- package/src/utils/util.js +5 -0
package/lib/tips.js
CHANGED
|
@@ -560,6 +560,7 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
560
560
|
var lastProcessedIndex = 0;
|
|
561
561
|
var done = false;
|
|
562
562
|
var finishThink = false;
|
|
563
|
+
var hasThink = false;
|
|
563
564
|
ajax(_extends({
|
|
564
565
|
timeout: 990000,
|
|
565
566
|
format: false,
|
|
@@ -613,8 +614,12 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
613
614
|
var start = parsedData.message.match(startRegex);
|
|
614
615
|
var end = parsedData.message.match(endRegex);
|
|
615
616
|
if (start) {
|
|
617
|
+
hasThink = true;
|
|
616
618
|
var _thinkContent = start[1] ? start[1].trim() : ''; // <think> 标签内的数据
|
|
617
619
|
info.thinkContent += _thinkContent;
|
|
620
|
+
} else if (hasThink === false) {
|
|
621
|
+
info.content += parsedData.message;
|
|
622
|
+
chunks += parsedData.message;
|
|
618
623
|
} else {
|
|
619
624
|
if (end) {
|
|
620
625
|
finishThink = true;
|
package/lib/tree-group.js
CHANGED
|
@@ -560,6 +560,7 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
560
560
|
var lastProcessedIndex = 0;
|
|
561
561
|
var done = false;
|
|
562
562
|
var finishThink = false;
|
|
563
|
+
var hasThink = false;
|
|
563
564
|
ajax(_extends({
|
|
564
565
|
timeout: 990000,
|
|
565
566
|
format: false,
|
|
@@ -613,8 +614,12 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
613
614
|
var start = parsedData.message.match(startRegex);
|
|
614
615
|
var end = parsedData.message.match(endRegex);
|
|
615
616
|
if (start) {
|
|
617
|
+
hasThink = true;
|
|
616
618
|
var _thinkContent = start[1] ? start[1].trim() : ''; // <think> 标签内的数据
|
|
617
619
|
info.thinkContent += _thinkContent;
|
|
620
|
+
} else if (hasThink === false) {
|
|
621
|
+
info.content += parsedData.message;
|
|
622
|
+
chunks += parsedData.message;
|
|
618
623
|
} else {
|
|
619
624
|
if (end) {
|
|
620
625
|
finishThink = true;
|
package/lib/tree.js
CHANGED
|
@@ -560,6 +560,7 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
560
560
|
var lastProcessedIndex = 0;
|
|
561
561
|
var done = false;
|
|
562
562
|
var finishThink = false;
|
|
563
|
+
var hasThink = false;
|
|
563
564
|
ajax(_extends({
|
|
564
565
|
timeout: 990000,
|
|
565
566
|
format: false,
|
|
@@ -613,8 +614,12 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
613
614
|
var start = parsedData.message.match(startRegex);
|
|
614
615
|
var end = parsedData.message.match(endRegex);
|
|
615
616
|
if (start) {
|
|
617
|
+
hasThink = true;
|
|
616
618
|
var _thinkContent = start[1] ? start[1].trim() : ''; // <think> 标签内的数据
|
|
617
619
|
info.thinkContent += _thinkContent;
|
|
620
|
+
} else if (hasThink === false) {
|
|
621
|
+
info.content += parsedData.message;
|
|
622
|
+
chunks += parsedData.message;
|
|
618
623
|
} else {
|
|
619
624
|
if (end) {
|
|
620
625
|
finishThink = true;
|
package/lib/upload.js
CHANGED
|
@@ -559,6 +559,7 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
559
559
|
var lastProcessedIndex = 0;
|
|
560
560
|
var done = false;
|
|
561
561
|
var finishThink = false;
|
|
562
|
+
var hasThink = false;
|
|
562
563
|
ajax(_extends({
|
|
563
564
|
timeout: 990000,
|
|
564
565
|
format: false,
|
|
@@ -612,8 +613,12 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
612
613
|
var start = parsedData.message.match(startRegex);
|
|
613
614
|
var end = parsedData.message.match(endRegex);
|
|
614
615
|
if (start) {
|
|
616
|
+
hasThink = true;
|
|
615
617
|
var _thinkContent = start[1] ? start[1].trim() : ''; // <think> 标签内的数据
|
|
616
618
|
info.thinkContent += _thinkContent;
|
|
619
|
+
} else if (hasThink === false) {
|
|
620
|
+
info.content += parsedData.message;
|
|
621
|
+
chunks += parsedData.message;
|
|
617
622
|
} else {
|
|
618
623
|
if (end) {
|
|
619
624
|
finishThink = true;
|
package/lib/utils/util.js
CHANGED
|
@@ -477,6 +477,7 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
477
477
|
var lastProcessedIndex = 0;
|
|
478
478
|
var done = false;
|
|
479
479
|
var finishThink = false;
|
|
480
|
+
var hasThink = false;
|
|
480
481
|
ajax(_extends({
|
|
481
482
|
timeout: 990000,
|
|
482
483
|
format: false,
|
|
@@ -530,8 +531,12 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
530
531
|
var start = parsedData.message.match(startRegex);
|
|
531
532
|
var end = parsedData.message.match(endRegex);
|
|
532
533
|
if (start) {
|
|
534
|
+
hasThink = true;
|
|
533
535
|
var _thinkContent = start[1] ? start[1].trim() : ''; // <think> 标签内的数据
|
|
534
536
|
info.thinkContent += _thinkContent;
|
|
537
|
+
} else if (hasThink === false) {
|
|
538
|
+
info.content += parsedData.message;
|
|
539
|
+
chunks += parsedData.message;
|
|
535
540
|
} else {
|
|
536
541
|
if (end) {
|
|
537
542
|
finishThink = true;
|
package/lib/wujie.js
CHANGED
|
@@ -560,6 +560,7 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
560
560
|
var lastProcessedIndex = 0;
|
|
561
561
|
var done = false;
|
|
562
562
|
var finishThink = false;
|
|
563
|
+
var hasThink = false;
|
|
563
564
|
ajax(_extends({
|
|
564
565
|
timeout: 990000,
|
|
565
566
|
format: false,
|
|
@@ -613,8 +614,12 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
613
614
|
var start = parsedData.message.match(startRegex);
|
|
614
615
|
var end = parsedData.message.match(endRegex);
|
|
615
616
|
if (start) {
|
|
617
|
+
hasThink = true;
|
|
616
618
|
var _thinkContent = start[1] ? start[1].trim() : ''; // <think> 标签内的数据
|
|
617
619
|
info.thinkContent += _thinkContent;
|
|
620
|
+
} else if (hasThink === false) {
|
|
621
|
+
info.content += parsedData.message;
|
|
622
|
+
chunks += parsedData.message;
|
|
618
623
|
} else {
|
|
619
624
|
if (end) {
|
|
620
625
|
finishThink = true;
|
package/lib/wxlogin.js
CHANGED
|
@@ -560,6 +560,7 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
560
560
|
var lastProcessedIndex = 0;
|
|
561
561
|
var done = false;
|
|
562
562
|
var finishThink = false;
|
|
563
|
+
var hasThink = false;
|
|
563
564
|
ajax(_extends({
|
|
564
565
|
timeout: 990000,
|
|
565
566
|
format: false,
|
|
@@ -613,8 +614,12 @@ var ajaxStream = function ajaxStream(_ref2) {
|
|
|
613
614
|
var start = parsedData.message.match(startRegex);
|
|
614
615
|
var end = parsedData.message.match(endRegex);
|
|
615
616
|
if (start) {
|
|
617
|
+
hasThink = true;
|
|
616
618
|
var _thinkContent = start[1] ? start[1].trim() : ''; // <think> 标签内的数据
|
|
617
619
|
info.thinkContent += _thinkContent;
|
|
620
|
+
} else if (hasThink === false) {
|
|
621
|
+
info.content += parsedData.message;
|
|
622
|
+
chunks += parsedData.message;
|
|
618
623
|
} else {
|
|
619
624
|
if (end) {
|
|
620
625
|
finishThink = true;
|
package/package.json
CHANGED
package/packages/.DS_Store
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -1701,7 +1701,9 @@ export default {
|
|
|
1701
1701
|
? this.$refs.toolbar.$el.offsetHeight
|
|
1702
1702
|
: 0;
|
|
1703
1703
|
height -=
|
|
1704
|
-
this.page === false
|
|
1704
|
+
this.page === false || this.showPage == false
|
|
1705
|
+
? 0
|
|
1706
|
+
: this.$refs.pagination.$el.offsetHeight;
|
|
1705
1707
|
height -= this.title ? this.$refs.title.offsetHeight : 0;
|
|
1706
1708
|
height -= parseInt(
|
|
1707
1709
|
util.getStyle(this.$refs.esTableContent, 'padding-top'),
|
package/packages/flow/.DS_Store
CHANGED
|
Binary file
|
|
@@ -119,14 +119,11 @@
|
|
|
119
119
|
/>
|
|
120
120
|
<!-- <span>{{ infoList.noticeInfo }}</span> -->
|
|
121
121
|
</el-form-item>
|
|
122
|
-
|
|
123
122
|
</el-form>
|
|
124
123
|
<div style="text-align: right">
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
<el-button @click="quit" size="small"> 取消 </el-button>
|
|
129
|
-
</div>
|
|
124
|
+
<el-button type="primary" size="small" @click="subMit"> 确定 </el-button>
|
|
125
|
+
<el-button @click="quit" size="small"> 取消 </el-button>
|
|
126
|
+
</div>
|
|
130
127
|
</div>
|
|
131
128
|
</template>
|
|
132
129
|
|
|
@@ -170,8 +167,8 @@ export default {
|
|
|
170
167
|
opinion: '', //办理意见
|
|
171
168
|
readOnlyNotificationType: '',
|
|
172
169
|
notificationMessageReadOnly: false,
|
|
173
|
-
otherMix:false,
|
|
174
|
-
currentMix:false,
|
|
170
|
+
otherMix: false,
|
|
171
|
+
currentMix: false,
|
|
175
172
|
infoList: {
|
|
176
173
|
nextOtherOrgObj: [],
|
|
177
174
|
nextCurrentOrgObj: [],
|
|
@@ -332,7 +329,9 @@ export default {
|
|
|
332
329
|
} = res;
|
|
333
330
|
if (res.data.customizedConfig) {
|
|
334
331
|
if (res.data.customizedConfig.currentOrgSelectorCustomized) {
|
|
335
|
-
this.currentMix =
|
|
332
|
+
this.currentMix =
|
|
333
|
+
res.data.customizedConfig.currentOrgSelectorSelectMix ==
|
|
334
|
+
'true';
|
|
336
335
|
this.currentOrgTabs =
|
|
337
336
|
res.data.customizedConfig.currentOrgSelectorItemList.split(
|
|
338
337
|
','
|
|
@@ -342,9 +341,14 @@ export default {
|
|
|
342
341
|
','
|
|
343
342
|
);
|
|
344
343
|
this.currentOrgTabs.map((x, i) => {
|
|
345
|
-
this.params[x] = {
|
|
346
|
-
|
|
347
|
-
|
|
344
|
+
this.params[x] = {
|
|
345
|
+
filid:
|
|
346
|
+
param[i] == 'my'
|
|
347
|
+
? (this.params.filid = JSON.parse(
|
|
348
|
+
sessionStorage.getItem('mainConfig')
|
|
349
|
+
).userModel.orgId)
|
|
350
|
+
: param[i]
|
|
351
|
+
};
|
|
348
352
|
});
|
|
349
353
|
} else {
|
|
350
354
|
if (this.type == 'takeAdvice') {
|
|
@@ -354,7 +358,9 @@ export default {
|
|
|
354
358
|
}
|
|
355
359
|
}
|
|
356
360
|
if (res.data.customizedConfig.foreignOrgSelectorCustomized) {
|
|
357
|
-
this.otherMix =
|
|
361
|
+
this.otherMix =
|
|
362
|
+
res.data.customizedConfig.foreignOrgSelectorSelectMix ==
|
|
363
|
+
'true';
|
|
358
364
|
this.foreignOrgTabs =
|
|
359
365
|
res.data.customizedConfig.foreignOrgSelectorItemList.split(
|
|
360
366
|
','
|
|
@@ -431,14 +437,17 @@ export default {
|
|
|
431
437
|
pendingId
|
|
432
438
|
} = this;
|
|
433
439
|
if (
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
440
|
+
type == 'takeAdvice' &&
|
|
441
|
+
!nextCurrentOrgObj &&
|
|
442
|
+
isHideCurrentOrg == 0 &&
|
|
443
|
+
isHideOtherOrg == 0 &&
|
|
444
|
+
!nextOtherOrgObj
|
|
437
445
|
) {
|
|
438
446
|
return this.$message.warning('请选择处理对象!');
|
|
439
447
|
} else if (
|
|
440
448
|
isHideCurrentOrg == 0 &&
|
|
441
|
-
!nextOtherOrgObj &&
|
|
449
|
+
!nextOtherOrgObj &&
|
|
450
|
+
!nextCurrentOrgObj
|
|
442
451
|
) {
|
|
443
452
|
return this.$message.warning('请选择处理对象!');
|
|
444
453
|
}
|
|
@@ -478,7 +487,6 @@ export default {
|
|
|
478
487
|
method: 'POST'
|
|
479
488
|
};
|
|
480
489
|
this.loading = true;
|
|
481
|
-
console.log(param.data,nextCurrentOrgObj,'data')
|
|
482
490
|
util
|
|
483
491
|
.ajax(param)
|
|
484
492
|
.then((res) => {
|
|
@@ -505,12 +513,12 @@ export default {
|
|
|
505
513
|
changeSelectUser(val, type) {
|
|
506
514
|
const { nextUser, options } = val;
|
|
507
515
|
let newNextUser = [];
|
|
508
|
-
let obj = {}
|
|
516
|
+
let obj = {};
|
|
509
517
|
options.map((item) => {
|
|
510
|
-
if(obj[item.stype]){
|
|
511
|
-
obj[item.stype].push(item.id)
|
|
512
|
-
}else{
|
|
513
|
-
obj[item.stype] = [item.id]
|
|
518
|
+
if (obj[item.stype]) {
|
|
519
|
+
obj[item.stype].push(item.id);
|
|
520
|
+
} else {
|
|
521
|
+
obj[item.stype] = [item.id];
|
|
514
522
|
}
|
|
515
523
|
// if (newNextUser) {
|
|
516
524
|
// newNextUser += `,${item.stype}-${item.id}`;
|
|
@@ -518,10 +526,10 @@ export default {
|
|
|
518
526
|
// newNextUser = `${item.stype}-${item.id}`;
|
|
519
527
|
// }
|
|
520
528
|
});
|
|
521
|
-
for(let key in obj){
|
|
522
|
-
newNextUser.push(`${key}-${obj[key].join(',')}`)
|
|
529
|
+
for (let key in obj) {
|
|
530
|
+
newNextUser.push(`${key}-${obj[key].join(',')}`);
|
|
523
531
|
}
|
|
524
|
-
|
|
532
|
+
|
|
525
533
|
this.infoList[type] = newNextUser.join('|');
|
|
526
534
|
},
|
|
527
535
|
getNodeType() {
|
|
@@ -2584,7 +2584,6 @@ export default {
|
|
|
2584
2584
|
this.value = this.value.replace(RegExp('同意。', 'g'), '');
|
|
2585
2585
|
this.value = val + this.value;
|
|
2586
2586
|
}
|
|
2587
|
-
console.log(112);
|
|
2588
2587
|
if (!this.validInfo()) {
|
|
2589
2588
|
this.freeValid = false;
|
|
2590
2589
|
return;
|
|
@@ -2653,7 +2652,6 @@ export default {
|
|
|
2653
2652
|
return false;
|
|
2654
2653
|
}
|
|
2655
2654
|
if (!this.value && this.isOpinionRequired === 1) {
|
|
2656
|
-
console.log(1);
|
|
2657
2655
|
this.$message.warning('请选择输入审批意见');
|
|
2658
2656
|
return false;
|
|
2659
2657
|
}
|
|
@@ -305,8 +305,8 @@ export default {
|
|
|
305
305
|
type: String,
|
|
306
306
|
default: ''
|
|
307
307
|
},
|
|
308
|
-
copyHistory:{
|
|
309
|
-
type:String,
|
|
308
|
+
copyHistory: {
|
|
309
|
+
type: String,
|
|
310
310
|
default: ''
|
|
311
311
|
},
|
|
312
312
|
id: {
|
|
@@ -317,11 +317,11 @@ export default {
|
|
|
317
317
|
type: String,
|
|
318
318
|
default: ''
|
|
319
319
|
},
|
|
320
|
-
isFreeStartFlow:{
|
|
320
|
+
isFreeStartFlow: {
|
|
321
321
|
type: Boolean,
|
|
322
322
|
default: false
|
|
323
323
|
},
|
|
324
|
-
taskParams:{
|
|
324
|
+
taskParams: {
|
|
325
325
|
type: Object,
|
|
326
326
|
default: () => {}
|
|
327
327
|
}
|
|
@@ -431,7 +431,6 @@ export default {
|
|
|
431
431
|
this.getUserInfo();
|
|
432
432
|
},
|
|
433
433
|
mounted() {
|
|
434
|
-
console.log('发起流程开始')
|
|
435
434
|
this.getNodeType();
|
|
436
435
|
this.getStartFlow(this.processDefinitionId);
|
|
437
436
|
this.newOpinion = this.opinion;
|
|
@@ -656,26 +655,38 @@ export default {
|
|
|
656
655
|
opinion: this.newOpinion || newOpinion
|
|
657
656
|
};
|
|
658
657
|
if (this.activeNames != '1') delete params.customPresetUserJson;
|
|
659
|
-
if(this.isFreeStartFlow){
|
|
660
|
-
let newParm = {}
|
|
661
|
-
newParm.copyHistory = this.copyHistory === 'needCopyPendedHistory'
|
|
662
|
-
newParm.startFlowParamJson = params
|
|
663
|
-
newParm.startFlowParamJson.businessId =
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
658
|
+
if (this.isFreeStartFlow) {
|
|
659
|
+
let newParm = {};
|
|
660
|
+
newParm.copyHistory = this.copyHistory === 'needCopyPendedHistory';
|
|
661
|
+
newParm.startFlowParamJson = params;
|
|
662
|
+
newParm.startFlowParamJson.businessId =
|
|
663
|
+
'93f66a39a52c47deb7a9a25b6424f089'; //this.id
|
|
664
|
+
newParm.startFlowParamJson = JSON.stringify(
|
|
665
|
+
newParm.startFlowParamJson
|
|
666
|
+
);
|
|
667
|
+
for (let key in this.taskParams) {
|
|
668
|
+
if (Array.isArray(this.taskParams[key])) {
|
|
669
|
+
this.taskParams[key] =
|
|
670
|
+
this.taskParams[key].length > 0
|
|
671
|
+
? this.taskParams[key].join(',')
|
|
672
|
+
: '';
|
|
668
673
|
}
|
|
669
674
|
}
|
|
670
|
-
newParm.submitTaskParamJson =JSON.stringify(
|
|
671
|
-
params=newParm
|
|
675
|
+
newParm.submitTaskParamJson = JSON.stringify(this.taskParams);
|
|
676
|
+
params = newParm;
|
|
672
677
|
}
|
|
673
678
|
util
|
|
674
|
-
.ajax({
|
|
679
|
+
.ajax({
|
|
680
|
+
url: this.isFreeStartFlow
|
|
681
|
+
? freeStartFlowWithSubmitTask
|
|
682
|
+
: register,
|
|
683
|
+
method: 'post',
|
|
684
|
+
data: params
|
|
685
|
+
})
|
|
675
686
|
.then((res) => {
|
|
676
687
|
const { status, message } = res;
|
|
677
688
|
this.loading = false;
|
|
678
|
-
if (status === 'success' ||
|
|
689
|
+
if (status === 'success' || res.rCode == 0) {
|
|
679
690
|
this.quit(true);
|
|
680
691
|
this.$message.success('操作成功');
|
|
681
692
|
} else {
|
|
@@ -823,7 +823,6 @@ export default {
|
|
|
823
823
|
this.notificationMessageReadOnly =
|
|
824
824
|
data.notificationMessageReadOnly == 'true';
|
|
825
825
|
let flowList = [];
|
|
826
|
-
console.log(data.taskNodeList);
|
|
827
826
|
if (data.taskNodeList && data.taskNodeList.length > 0) {
|
|
828
827
|
for (let key in data.taskNodeList[0]) {
|
|
829
828
|
flowList.push({
|
|
@@ -841,7 +840,6 @@ export default {
|
|
|
841
840
|
}
|
|
842
841
|
|
|
843
842
|
this.nextNode.nodeInfo = flowList;
|
|
844
|
-
console.log(this.nextNode.nodeInfo, 'this.nextNode.nodeInfo');
|
|
845
843
|
this.nextNode.nextNode = flowList[0].nodeId;
|
|
846
844
|
this.taskExamine = data.taskExamine;
|
|
847
845
|
this.processDefinitionId = data.taskExamine.processDefinitionId;
|