cloud-web-corejs 1.0.54-dev.223 → 1.0.54-dev.225
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.
@@ -471,10 +471,10 @@ modules = {
|
|
471
471
|
}
|
472
472
|
});
|
473
473
|
},
|
474
|
-
handleAllTableColumnWidget(){
|
474
|
+
handleAllTableColumnWidget() {
|
475
475
|
traverseAllWidgetsNew(this.formJson.widgetList, (widget) => {
|
476
476
|
//修复data-table旧数据表格列widget与editWidget为空的问题
|
477
|
-
if(widget.type == "data-table"){
|
477
|
+
if (widget.type == "data-table") {
|
478
478
|
this.handleTableColumnWidget(widget);
|
479
479
|
}
|
480
480
|
})
|
@@ -484,7 +484,7 @@ modules = {
|
|
484
484
|
if (!widget || widget.type != "data-table" || !widget.options.tableColumns) return
|
485
485
|
let columnLoopDo = (t, e) => {
|
486
486
|
if (t.children && t.children.length) {
|
487
|
-
for (let item of t.children){
|
487
|
+
for (let item of t.children) {
|
488
488
|
columnLoopDo(item)
|
489
489
|
}
|
490
490
|
/*t.children.forEach(item => {
|
@@ -513,7 +513,7 @@ modules = {
|
|
513
513
|
}
|
514
514
|
}
|
515
515
|
|
516
|
-
for (let item of widget.options.tableColumns){
|
516
|
+
for (let item of widget.options.tableColumns) {
|
517
517
|
columnLoopDo(item)
|
518
518
|
}
|
519
519
|
/*widget.options.tableColumns.forEach(item => {
|
@@ -541,11 +541,14 @@ modules = {
|
|
541
541
|
//处理组件显隐规则
|
542
542
|
this.handleWidgetShowRule(widget);
|
543
543
|
|
544
|
-
if(wfParam.hasWf){
|
545
|
-
if(wfInfo.taskStep == "9999"){
|
544
|
+
if (wfParam.hasWf) {
|
545
|
+
if (wfInfo.taskStep == "9999") {
|
546
546
|
//结束节点
|
547
|
+
//有流程,且不匹配流程节点可编辑表单设置信息
|
548
|
+
this.hanldeWfWidgetNew1(widget)
|
549
|
+
//设置组件的有流程可编辑,有流程隐藏
|
547
550
|
this.hanldeWfWidgetItemNew(widget)
|
548
|
-
}else{
|
551
|
+
} else {
|
549
552
|
if (!widgetEditOnWf) {
|
550
553
|
//有流程,且不匹配流程节点可编辑表单设置信息
|
551
554
|
//设置组件的有流程可编辑,有流程隐藏
|
@@ -710,6 +713,7 @@ modules = {
|
|
710
713
|
if (!options || !options.wfEdit) return
|
711
714
|
let wfConfigData = options.wfConfigData || [];
|
712
715
|
let flag = false;
|
716
|
+
|
713
717
|
wfConfigData.forEach(item => {
|
714
718
|
let type = item.type;
|
715
719
|
let taskStepList = item.taskSteps ? item.taskSteps.split(',') : []
|
@@ -1055,6 +1059,7 @@ modules = {
|
|
1055
1059
|
objId: dataId, //单据ID
|
1056
1060
|
wfCode: wfCode, //流程编码
|
1057
1061
|
showStartBtn: true, //是否放出启动按钮,流程已启动时此参数失效
|
1062
|
+
showWfFold: true,
|
1058
1063
|
formCode: formCode,
|
1059
1064
|
callback: (wfParam) => {
|
1060
1065
|
this.setFormData(formData);
|