cloud-web-corejs 1.0.115 → 1.0.117

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 (45) 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/field-widget/checkbox-widget.vue +2 -2
  24. package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1
  25. package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +2 -2
  26. package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +4 -4
  27. package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +2 -1
  28. package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +127 -0
  29. package/src/components/xform/form-designer/indexMixin.js +1 -1
  30. package/src/components/xform/form-designer/setting-panel/form-setting.vue +93 -5
  31. package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +18 -2
  32. package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +23 -0
  33. package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
  34. package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +31 -0
  35. package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
  36. package/src/components/xform/form-render/indexMixin.js +3 -1
  37. package/src/components/xform/lang/zh-CN.js +1 -0
  38. package/src/components/xform/mixins/defaultHandle.js +1 -1
  39. package/src/components/xform/utils/util.js +1451 -1
  40. package/src/utils/index.js +2 -5
  41. package/src/views/user/form/view/list.vue +18 -3
  42. package/src/views/user/user/edit.vue +1059 -1041
  43. package/src/views/user/user/list.vue +19 -0
  44. package/src/views/user/wf/wf_obj_config/itemEdit.vue +3 -3
  45. package/src/views/user/wf/wf_obj_config/list.vue +5 -5
@@ -1,49 +1,77 @@
1
1
  <template>
2
- <el-dialog :title="$t2('流程启动', 'components.wf.wfStart')" :visible.sync="showDialog" v-if="showDialog"
3
- :modal-append-to-body="false" @close="close"
4
- custom-class="dialog-style wf-dialog" v-el-drag-dialog>
5
- <el-form :model="wfStartForm">
6
- <div id="containt">
7
- <table class="table-detail">
8
- <tbody>
9
- <tr>
10
- <th>
11
- <span class="t">
12
- <em class="f-red">*</em>
13
- {{ $t2('流程', 'components.wf.flow') }}
14
- </span>
15
- </th>
16
- <td>
17
- <el-form-item field="modelId" label-width="120">
18
- <el-radio-group v-model="wfStartForm.modelId">
19
- <el-radio v-for="(wfDefItem,index) in wfDefItems" :label="wfDefItem.modelId" :key="index">
20
- {{ wfDefItem.modelName }}
21
- </el-radio>
22
- </el-radio-group>
23
- </el-form-item>
24
- </td>
25
- </tr>
26
- </tbody>
27
- </table>
28
- </div>
29
- </el-form>
30
- <span slot="footer" class="dialog-footer">
31
- <el-button type="primary" plain class="button-sty" @click="showDialog = false">
32
- <i class="el-icon-close el-icon"></i>
33
- {{ $t2('取 消', 'system.button.cancel2') }}
34
- </el-button>
35
- <el-button type="primary" @click="startSubmit()" class="button-sty">
36
- <i class="el-icon-check el-icon"></i>
37
- {{ $t2('确 定', 'system.button.confirm2') }}
38
- </el-button>
39
- </span>
40
- </el-dialog>
2
+ <div>
3
+ <el-dialog
4
+ :title="$t2('流程启动', 'components.wf.wfStart')"
5
+ :visible.sync="showDialog"
6
+ v-if="showDialog"
7
+ :modal-append-to-body="false"
8
+ @close="close"
9
+ custom-class="dialog-style wf-dialog"
10
+ v-el-drag-dialog
11
+ >
12
+ <el-form :model="wfStartForm">
13
+ <div id="containt">
14
+ <table class="table-detail">
15
+ <tbody>
16
+ <tr>
17
+ <th>
18
+ <span class="t">
19
+ <em class="f-red">*</em>
20
+ {{ $t2("流程", "components.wf.flow") }}
21
+ </span>
22
+ </th>
23
+ <td>
24
+ <el-form-item field="modelId" label-width="120">
25
+ <el-radio-group v-model="wfStartForm.modelId">
26
+ <el-radio
27
+ v-for="(wfDefItem, index) in wfDefItems"
28
+ :label="wfDefItem.modelId"
29
+ :key="index"
30
+ >
31
+ {{ wfDefItem.modelName }}
32
+ </el-radio>
33
+ </el-radio-group>
34
+ </el-form-item>
35
+ </td>
36
+ </tr>
37
+ </tbody>
38
+ </table>
39
+ </div>
40
+ </el-form>
41
+ <span slot="footer" class="dialog-footer">
42
+ <el-button
43
+ type="primary"
44
+ plain
45
+ class="button-sty"
46
+ @click="showDialog = false"
47
+ >
48
+ <i class="el-icon-close el-icon"></i>
49
+ {{ $t2("取 消", "system.button.cancel2") }}
50
+ </el-button>
51
+ <el-button type="primary" @click="startSubmit()" class="button-sty">
52
+ <i class="el-icon-check el-icon"></i>
53
+ {{ $t2("确 定", "system.button.confirm2") }}
54
+ </el-button>
55
+ </span>
56
+ </el-dialog>
57
+ <setCandidateDialog2
58
+ v-if="showSetCandidateDialog2"
59
+ :visiable.sync="showSetCandidateDialog2"
60
+ :current_prefix="current_prefix"
61
+ :rows="preStartResult"
62
+ :modelId="startFormData.modelId"
63
+ @confirm="confirmSetCandidateDialog"
64
+ ></setCandidateDialog2>
65
+ </div>
41
66
  </template>
42
67
 
43
68
  <script>
44
- import {wfStartMixin} from './wf.js';
45
-
69
+ import { wfStartMixin } from "./wf.js";
70
+ // import setCandidateDialog2 from './setCandidateDialog2';
46
71
  export default {
47
- mixins: [wfStartMixin]
72
+ mixins: [wfStartMixin],
73
+ components: {
74
+ setCandidateDialog2: () => import("./setCandidateDialog2.vue"),
75
+ },
48
76
  };
49
77
  </script>
@@ -0,0 +1,131 @@
1
+ <template>
2
+ <el-dialog
3
+ :title="$t1('候选人列表')"
4
+ :append-to-body="true"
5
+ :modal-append-to-body="true"
6
+ :close-on-click-modal="falseValue"
7
+ :visible.sync="showDialog"
8
+ :modal="falseValue"
9
+ custom-class="dialog-style list-dialog dialog-checkbox pd_0"
10
+ width="1200px"
11
+ @close="dialogClose"
12
+ v-el-drag-dialog
13
+ v-el-dialog-center
14
+ >
15
+ <div class="cont" style="height:450px">
16
+ <vxe-grid
17
+ class="is-pointer"
18
+ ref="table-m1"
19
+ :data="tableData"
20
+ v-bind="vxeOption"
21
+ @resizable-change="$vxeTableUtil.onColumnWitchChange"
22
+ @custom="$vxeTableUtil.customHandle"
23
+ @checkbox-change="addDataTable"
24
+ @checkbox-all="checkAll"
25
+ @cell-dblclick="checkWithSubmit"
26
+ ></vxe-grid>
27
+ </div>
28
+ <label id="labBtn" class="transverse">
29
+ <div class="icon">
30
+ <i class="el-icon-more"></i>
31
+ <i class="el-icon-more"></i>
32
+ </div>
33
+ </label>
34
+ <div class="multipleChoice">
35
+ <el-tooltip :enterable="false" effect="dark" :content="$t1('全部删除')" placement="top"><a
36
+ class="allDel icon-quanbushanchu" @click="clearChecked()"></a></el-tooltip>
37
+ <div class="list">
38
+ <div class="item" v-for="(checkRow, index) in checkRows" :key="index">
39
+ <p>{{ checkRow.nickName }}</p>
40
+ <a class="el-icon-close" @click="clearTable1Select(index)"></a>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ <span slot="footer" class="dialog-footer">
45
+ <span class="fl tips" v-if="!selectMulti">{{ $t1('注:双击确认选择(单选)') }}</span>
46
+ <el-button type="primary" plain class="button-sty" @click="dialogClose">
47
+ <i class="el-icon-close el-icon"></i>
48
+ {{ $t1('取 消') }}
49
+ </el-button>
50
+ <el-button type="primary" @click="dialogPrimary" class="button-sty">
51
+ <i class="el-icon-check el-icon"></i>
52
+ {{ $t1('确 定') }}
53
+ </el-button>
54
+ </span>
55
+ </el-dialog>
56
+ </template>
57
+
58
+ <script>
59
+ import {selectDialogMixins} from '@base/mixins/selectDialog/index.js';
60
+
61
+ export default {
62
+ props: ['visiable', 'multi', 'rows','rangeTableDatas', 'param','current_prefix','modelId','taskDefinitionKey'],
63
+ mixins: [selectDialogMixins],
64
+ created() {
65
+ this.initSetting();
66
+ },
67
+ mounted() {
68
+ this.initTableM1();
69
+ },
70
+ data() {
71
+ var that = this;
72
+ return {
73
+ showDialog: true,
74
+ falseValue: false,
75
+ selectMulti: true,
76
+ formData: {},
77
+ vxeOption: {},
78
+ tableData: []
79
+ };
80
+ },
81
+ methods: {
82
+ initTableM1() {
83
+ this.tableData = this.$baseLodash.cloneDeep(this.rangeTableDatas || []);
84
+ let that = this;
85
+ let tableOption = {
86
+ vue: that,
87
+ tableRef: 'table-m1',
88
+ tableName: 'wf_task_user_range_dialog-m1',
89
+ /*path: this.current_prefix + '/wf_task_user_range/list',
90
+ param: () => {
91
+ return {
92
+ modelId:this.modelId,
93
+ taskDefinitionKey:this.taskDefinitionKey,
94
+ }
95
+ }, */
96
+ columns: [
97
+ {type: 'checkbox', fixed: 'left', width: 48, resizable: false},
98
+ {
99
+ title: this.$t1('候选人姓名'),
100
+ field: 'nickName',
101
+ width: 250,
102
+ fixed: 'left'
103
+ },
104
+ {
105
+ width: 47,
106
+ fixed: 'right',
107
+ title: '',
108
+ sortable: false
109
+ }
110
+ ],
111
+ config: {
112
+ checkboxConfig: {
113
+ checkStrictly: true,
114
+ showHeader: this.selectMulti,
115
+ trigger: 'row'
116
+ },
117
+ /* proxyConfig: {
118
+ props: {
119
+ result: "objx",
120
+ total: "objx.length",
121
+ }
122
+ } */
123
+ }
124
+ };
125
+ this.$vxeTableUtil.initVxeTable(tableOption).then(opts => {
126
+ that.vxeOption = opts;
127
+ });
128
+ }
129
+ }
130
+ };
131
+ </script>