cloud-web-corejs 1.0.54-dev.223 → 1.0.54-dev.224
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,11 @@ 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
547
|
this.hanldeWfWidgetItemNew(widget)
|
548
|
-
}else{
|
548
|
+
} else {
|
549
549
|
if (!widgetEditOnWf) {
|
550
550
|
//有流程,且不匹配流程节点可编辑表单设置信息
|
551
551
|
//设置组件的有流程可编辑,有流程隐藏
|
@@ -1055,6 +1055,7 @@ modules = {
|
|
1055
1055
|
objId: dataId, //单据ID
|
1056
1056
|
wfCode: wfCode, //流程编码
|
1057
1057
|
showStartBtn: true, //是否放出启动按钮,流程已启动时此参数失效
|
1058
|
+
showWfFold: true,
|
1058
1059
|
formCode: formCode,
|
1059
1060
|
callback: (wfParam) => {
|
1060
1061
|
this.setFormData(formData);
|