cloud-web-corejs 1.0.54-dev.224 → 1.0.54-dev.226

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,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.224",
4
+ "version": "1.0.54-dev.226",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -542,24 +542,23 @@ modules = {
542
542
  this.handleWidgetShowRule(widget);
543
543
 
544
544
  if (wfParam.hasWf) {
545
- if (wfInfo.taskStep == "9999") {
546
- //结束节点
547
- this.hanldeWfWidgetItemNew(widget)
548
- } else {
549
- if (!widgetEditOnWf) {
550
- //有流程,且不匹配流程节点可编辑表单设置信息
551
- //设置组件的有流程可编辑,有流程隐藏
552
- this.hanldeWfWidgetNew1(widget)
553
- if (toModify) {
554
- //后台返回流程可以修改单据
555
- //设置组件的特定流程节点的可编辑,仅显示,隐藏
556
- if (taskDefinitionKey) {
557
- this.hanldeWfWidgetNew2(widget)
558
- }
559
- if (widget.formItemFlag && !widget.options.hidden && !widget.options.disbaled) {
560
- //存在存在可以编辑输入框框
561
- hasModifyItem = true;
562
- }
545
+ if (!widgetEditOnWf) {
546
+ //有流程,且不匹配流程节点可编辑表单设置信息
547
+ //设置组件的有流程可编辑,有流程隐藏
548
+ this.hanldeWfWidgetNew1(widget)
549
+ if (wfInfo.taskStep == "9999") {
550
+ this.hanldeWfWidgetItemNew(widget)
551
+ }
552
+ else if (toModify) {
553
+ //后台返回流程可以修改单据
554
+ //设置组件的特定流程节点的可编辑,仅显示,隐藏
555
+ if (taskDefinitionKey) {
556
+ // this.hanldeWfWidgetNew2(widget)
557
+ this.hanldeWfWidgetItemNew(widget)
558
+ }
559
+ if (widget.formItemFlag && !widget.options.hidden && !widget.options.disbaled) {
560
+ //存在存在可以编辑输入框框
561
+ hasModifyItem = true;
563
562
  }
564
563
  }
565
564
  }
@@ -710,6 +709,7 @@ modules = {
710
709
  if (!options || !options.wfEdit) return
711
710
  let wfConfigData = options.wfConfigData || [];
712
711
  let flag = false;
712
+
713
713
  wfConfigData.forEach(item => {
714
714
  let type = item.type;
715
715
  let taskStepList = item.taskSteps ? item.taskSteps.split(',') : []