cloud-web-corejs 1.0.116 → 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.
- package/package.json +3 -1
- package/src/components/VabUpload/view.vue +135 -135
- package/src/components/errorMsg/mixins.js +7 -5
- package/src/components/excelExport/button.vue +57 -4
- package/src/components/excelExport/index.js +7 -6
- package/src/components/excelExport/index.vue +56 -2
- package/src/components/excelExport/mixins.js +1 -1
- package/src/components/formOplog/mixins.js +1 -1
- package/src/components/statusTag/mixins.js +1 -1
- package/src/components/table/index.js +1 -1
- package/src/components/table/util/index.js +1 -1
- package/src/components/tempStorage/index.vue +9 -6
- package/src/components/tempStorage/tempStorageDialog.vue +1 -1
- package/src/components/wf/content.vue +17 -1
- package/src/components/wf/mixins/setCandidateDialog.js +2 -1
- package/src/components/wf/setCandidateDialog.vue +9 -0
- package/src/components/wf/setCandidateDialog2.vue +320 -0
- package/src/components/wf/wf.js +1 -1
- package/src/components/wf/wfStartDialog.vue +70 -42
- package/src/components/wf/wfTaskUserRangeDialog.vue +131 -0
- package/src/components/wf/wfUtil.js +1 -1
- package/src/components/xform/form-designer/designer.js +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/checkbox-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/fieldMixin.js +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/radio-widget.vue +2 -2
- package/src/components/xform/form-designer/form-widget/field-widget/select-widget.vue +4 -4
- package/src/components/xform/form-designer/form-widget/field-widget/static-content-wrapper.vue +2 -1
- package/src/components/xform/form-designer/form-widget/field-widget/tempStorage-widget.vue +127 -0
- package/src/components/xform/form-designer/indexMixin.js +1 -1
- package/src/components/xform/form-designer/setting-panel/form-setting.vue +93 -5
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/search-dialog-event-editor.vue +18 -2
- package/src/components/xform/form-designer/setting-panel/property-editor/tempStorage-editor.vue +23 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +1 -0
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +31 -0
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
- package/src/components/xform/form-render/indexMixin.js +3 -1
- package/src/components/xform/lang/zh-CN.js +1 -0
- package/src/components/xform/mixins/defaultHandle.js +1 -1
- package/src/components/xform/utils/util.js +1451 -1
- package/src/utils/index.js +2 -5
- package/src/views/user/form/view/list.vue +18 -3
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +3 -3
- package/src/views/user/wf/wf_obj_config/list.vue +5 -5
@@ -1,49 +1,77 @@
|
|
1
1
|
<template>
|
2
|
-
<
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
{{
|
21
|
-
</
|
22
|
-
</
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
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
|
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>
|