cloud-web-corejs 1.0.116 → 1.0.118

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.
Files changed (44) hide show
  1. package/package.json +3 -1
  2. package/src/components/VabUpload/view.vue +135 -135
  3. package/src/components/errorMsg/mixins.js +7 -5
  4. package/src/components/excelExport/button.vue +57 -4
  5. package/src/components/excelExport/index.js +7 -6
  6. package/src/components/excelExport/index.vue +56 -2
  7. package/src/components/excelExport/mixins.js +1 -1
  8. package/src/components/formOplog/mixins.js +1 -1
  9. package/src/components/statusTag/mixins.js +1 -1
  10. package/src/components/table/index.js +1 -1
  11. package/src/components/table/util/index.js +1 -1
  12. package/src/components/tempStorage/index.vue +9 -6
  13. package/src/components/tempStorage/tempStorageDialog.vue +1 -1
  14. package/src/components/wf/content.vue +17 -1
  15. package/src/components/wf/mixins/setCandidateDialog.js +2 -1
  16. package/src/components/wf/setCandidateDialog.vue +9 -0
  17. package/src/components/wf/setCandidateDialog2.vue +320 -0
  18. package/src/components/wf/wf.js +1 -1
  19. package/src/components/wf/wfStartDialog.vue +70 -42
  20. package/src/components/wf/wfTaskUserRangeDialog.vue +131 -0
  21. package/src/components/wf/wfUtil.js +1 -1
  22. package/src/components/xform/form-designer/designer.js +1 -1
  23. package/src/components/xform/form-designer/form-widget/container-widget/data-table-mixin.js +1 -1
  24. package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +2 -2
  25. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1
  26. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +2 -2
  27. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +4 -4
  28. package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +2 -1
  29. package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +127 -0
  30. package/src/components/xform/form-designer/indexMixin.js +1 -1
  31. package/src/components/xform/form-designer/setting-panel/form-setting.vue +93 -5
  32. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +18 -2
  33. package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +23 -0
  34. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
  35. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +31 -0
  36. package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
  37. package/src/components/xform/form-render/indexMixin.js +3 -1
  38. package/src/components/xform/lang/zh-CN.js +1 -0
  39. package/src/components/xform/mixins/defaultHandle.js +1 -1
  40. package/src/components/xform/utils/util.js +1451 -1
  41. package/src/utils/index.js +2 -5
  42. package/src/views/user/form/view/list.vue +18 -3
  43. package/src/views/user/wf/wf_obj_config/itemEdit.vue +3 -3
  44. package/src/views/user/wf/wf_obj_config/list.vue +5 -5
@@ -314,7 +314,7 @@ function domRender(dom) {
314
314
  });
315
315
  return arr.join("");
316
316
  } else {
317
- if (item.nodeName == "INPUT") {
317
+ if (item.nodeName == "INPUT" || item.nodeName == "TEXTAREA") {
318
318
  return item.value;
319
319
  } else if (item.innerText != null && item.innerText != "") {
320
320
  return item.innerText;
@@ -1,11 +1,11 @@
1
1
  <template>
2
2
  <span class="button-sty">
3
- <el-button type="success" class="btn-connect" icon="iconfont icon-zancun" @click="openSubmitDialog" plain>暂存</el-button>
3
+ <el-button type="success" class="btn-connect" icon="iconfont icon-zancun" @click="openSubmitDialog" plain :disabled="disabled">暂存</el-button>
4
4
  <el-tooltip class="item" effect="dark" content="查看暂存数据" placement="top">
5
- <el-button class="btn-connect" @click="openTempStorageDialog" icon="iconfont icon-chakanshuju" type="success" ></el-button>
5
+ <el-button class="btn-connect" @click="openTempStorageDialog" icon="iconfont icon-chakanshuju" type="success" :disabled="disabled"></el-button>
6
6
  </el-tooltip>
7
7
 
8
- <tempStorageDialog v-if="showTempStorageDialog" :visiable.sync="showTempStorageDialog"
8
+ <tempStorageDialog v-if="showTempStorageDialog" :visiable.sync="showTempStorageDialog"
9
9
  @confirm="confirmTempStorageDialog" :storageType="storageType" multi="false"/>
10
10
  <el-dialog
11
11
  v-if="showSubmitDialog"
@@ -54,7 +54,8 @@ import tempStorageDialog from "./tempStorageDialog.vue";
54
54
 
55
55
  export default {
56
56
  props: {
57
- option: Object
57
+ option: Object,
58
+ disabled: Boolean,
58
59
  },
59
60
  components: {
60
61
  tempStorageDialog
@@ -82,7 +83,10 @@ export default {
82
83
  let url = USER_PREFIX + '/temp_storage/save';
83
84
  let billData = this.option.data() || {};
84
85
  let data = JSON.stringify(billData)
85
- this.$http({
86
+
87
+ let that = this.option.vue || this.$$attrs["parent-target"] || this.$parent;
88
+ this.showSubmitDialog = false;
89
+ that.$http({
86
90
  url: url,
87
91
  method: `post`,
88
92
  data: {
@@ -99,7 +103,6 @@ export default {
99
103
  duration: 500,
100
104
  onClose: t => {
101
105
  this.option.saveConfirm && this.option.saveConfirm(res);
102
- this.showSubmitDialog = false;
103
106
  }
104
107
  });
105
108
  }
@@ -60,7 +60,7 @@
60
60
  <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
61
61
  class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
62
62
  <div class="list">
63
- <div class="item" v-for="(checkRow, index) in checkRows">
63
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
64
64
  <p>{{ checkRow.storageCode }}</p>
65
65
  <a class="el-icon-close" @click="clearTable1Select(index)"></a>
66
66
  </div>
@@ -72,6 +72,7 @@
72
72
  <div>
73
73
  <b :class="{on:tabIndex=='1'}" @click="tabIndex='1'">{{ $t2('任务情况', 'components.wf.taskInfo') }}</b>
74
74
  <b :class="{on:tabIndex=='2'}" @click="tabIndex='2'" v-if="toTalk">{{ $t2('流程沟通', 'components.wf.wfTalk') }}</b>
75
+ <b :class="{on:tabIndex=='4'}" @click="tabIndex='4'" v-if="showCandidate">{{ $t1('节点候选人') }}</b>
75
76
  <b :class="{on:tabIndex=='3'}" @click="tabIndex='3'" v-if="showAllWfOpinon">{{ $t2('全部任务情况', 'components.wf.allTaskInfo') }}</b>
76
77
  </div>
77
78
  </div>
@@ -220,6 +221,20 @@
220
221
  </div>
221
222
  </div>
222
223
  </div>
224
+ <template v-if="showCandidate">
225
+ <div v-show="tabIndex=='4'">
226
+ <div style="width:800px">
227
+ <vxe-grid
228
+ ref="table-candidate"
229
+ v-bind="candidateOption"
230
+ :data="candidateDatas"
231
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
232
+ @custom="$vxeTableUtil.customHandle"
233
+ ></vxe-grid>
234
+ </div>
235
+ </div>
236
+ </template>
237
+
223
238
  </div>
224
239
  <!--沟通-->
225
240
  <el-dialog
@@ -761,7 +776,8 @@
761
776
  <setCandidateDialog v-if="showSetCandidateDialog" :visiable.sync="showSetCandidateDialog"
762
777
  @close="closeSetCandidateDialog"
763
778
  :wfInfo="wfInfo"
764
- :current_prefix="current_prefix"></setCandidateDialog>
779
+ :current_prefix="current_prefix"
780
+ :wfUserRangeEnabled="wfUserRangeEnabled"></setCandidateDialog>
765
781
  </template>
766
782
  </baseTabPane>
767
783
  <div v-else></div>