cloud-web-corejs 1.0.113 → 1.0.114
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 +1 -1
- package/src/components/wf/content.vue +106 -27
- package/src/components/wf/wf.js +1 -3
- package/src/components/xform/form-designer/designer.js +3 -2
- package/src/components/xform/form-designer/form-widget/container-widget/detail-widget.vue +3 -3
- package/src/components/xform/form-designer/form-widget/field-widget/copy_button-widget.vue +89 -0
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/search_button-widget.vue +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/select-export-button-widget.vue +86 -0
- package/src/components/xform/form-designer/form-widget/field-widget/tableexportbuttonwidget.vue +99 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/table-column-dialog.vue +323 -202
- package/src/components/xform/form-designer/setting-panel/property-editor/copyButton-editor.vue +36 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/field-table-export-button/select-export-button-editor.vue +56 -0
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +3 -1
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +778 -666
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -1
- package/src/components/xform/form-render/indexMixin.js +1 -1
- package/src/components/xform/lang/zh-CN.js +2 -0
- package/src/utils/vab.js +3 -3
- package/src/views/user/form/vform/out_render.vue +1 -1
- package/src/views/user/form/vform/render.vue +8 -4
- package/src/views/user/form/view/edit.vue +38 -37
- package/src/views/user/form/view/list.vue +27 -7
- package/src/views/user/wf/wf_auto_submit_data/list.vue +2 -0
- package/src/views/user/wf/wf_obj_config/itemEdit.vue +25 -1
- package/src/views/user/wf/wf_obj_config/list.vue +19 -1
package/package.json
CHANGED
@@ -42,7 +42,7 @@
|
|
42
42
|
<div class="title-name">
|
43
43
|
<b>
|
44
44
|
<em>{{ $t2('流程主题', 'components.wf.theme') }}:</em>
|
45
|
-
{{
|
45
|
+
{{ wfInfo.name }}
|
46
46
|
</b>
|
47
47
|
<span v-html="wfInfo.statusStr" class="status"></span>
|
48
48
|
</div>
|
@@ -71,35 +71,50 @@
|
|
71
71
|
<div class="title-tab">
|
72
72
|
<div>
|
73
73
|
<b :class="{on:tabIndex=='1'}" @click="tabIndex='1'">{{ $t2('任务情况', 'components.wf.taskInfo') }}</b>
|
74
|
-
<b :class="{on:tabIndex=='2'}" @click="tabIndex='2'"
|
75
|
-
|
76
|
-
<b :class="{on:tabIndex=='3'}" @click="tabIndex='3'"
|
77
|
-
v-if="showAllWfOpinon">{{ $t2('全部任务情况', 'components.wf.allTaskInfo') }}</b>
|
74
|
+
<b :class="{on:tabIndex=='2'}" @click="tabIndex='2'" v-if="toTalk">{{ $t2('流程沟通', 'components.wf.wfTalk') }}</b>
|
75
|
+
<b :class="{on:tabIndex=='3'}" @click="tabIndex='3'" v-if="showAllWfOpinon">{{ $t2('全部任务情况', 'components.wf.allTaskInfo') }}</b>
|
78
76
|
</div>
|
79
77
|
</div>
|
80
|
-
<div
|
81
|
-
<div class="
|
82
|
-
|
83
|
-
|
84
|
-
<
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
78
|
+
<div v-show="tabIndex=='1'">
|
79
|
+
<div class="title-five"><b>任务流程</b></div>
|
80
|
+
<div class="task-situation" style="padding-left: 14px;">
|
81
|
+
<div class="item" v-for="wftaskLineData in wftaskData" :key="wftaskLineData.id">
|
82
|
+
<div class="time">
|
83
|
+
{{ wftaskLineData.approveTime ? wftaskLineData.approveTime.substring(0, 10) : '' }}
|
84
|
+
<br/>
|
85
|
+
{{ wftaskLineData.approveTime ? wftaskLineData.approveTime.substring(11) : '' }}
|
86
|
+
</div>
|
87
|
+
<div class="status" :class="taskStatuses[wftaskLineData.type]?taskStatuses[wftaskLineData.type].class:''">
|
88
|
+
{{ taskStatuses[wftaskLineData.type] ? taskStatuses[wftaskLineData.type].value : null }}
|
89
|
+
</div>
|
90
|
+
<i class="circle"></i>
|
91
|
+
<div class="info">
|
92
|
+
<p>
|
93
|
+
<span class="name">{{ wftaskLineData.taskName }}</span>
|
94
|
+
<span>{{ $t2('执行人', 'components.wf.approverName') }}:{{ wftaskLineData.approverName }}</span>
|
95
|
+
<span>
|
96
|
+
{{ $t2('候选人', 'components.wf.candidateName') }}:
|
97
|
+
<span class="">{{ wftaskLineData.candidateNames }}</span>
|
98
|
+
</span>
|
99
|
+
</p>
|
100
|
+
<p class="t"><span class="t1">{{ $t2('备注/意见', 'components.wf.opinion') }}:</span><span>{{
|
101
|
+
wftaskLineData.opinion
|
102
|
+
}}</span></p>
|
103
|
+
</div>
|
89
104
|
</div>
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
</
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
105
|
+
|
106
|
+
</div>
|
107
|
+
<div class="title-five" v-if="showWfMemo">
|
108
|
+
<b>{{$t1("发起人附言")}}</b>
|
109
|
+
<el-button v-if="wfInfo.toAddMemo" class="button-sty" icon="el-icon-plus" @click="openWfMemoDialog()" type="primary">{{$t1("新增")}}</el-button>
|
110
|
+
</div>
|
111
|
+
<div class="postscript-box">
|
112
|
+
<div class='item' v-for="(item,index) in wfMemoData" :key="index">
|
113
|
+
<div class="txt" style="white-space: pre-wrap;">{{item.content}}</div>
|
114
|
+
<div class="attach-box" v-if="item.attachmentDTOs && item.attachmentDTOs.length">
|
115
|
+
<baseUpload accept="file" multi="true" :edit="false" :widgetSize="1" :file.sync="item.attachmentDTOs"></baseUpload>
|
116
|
+
</div>
|
117
|
+
<div class="time">{{item.createDate}}</div>
|
103
118
|
</div>
|
104
119
|
</div>
|
105
120
|
</div>
|
@@ -206,6 +221,7 @@
|
|
206
221
|
</div>
|
207
222
|
</div>
|
208
223
|
</div>
|
224
|
+
<!--沟通-->
|
209
225
|
<el-dialog
|
210
226
|
v-if="showTalkDialog"
|
211
227
|
:visible.sync="showTalkDialog"
|
@@ -295,6 +311,69 @@
|
|
295
311
|
</span>
|
296
312
|
</el-dialog>
|
297
313
|
|
314
|
+
<!--发起人附言-->
|
315
|
+
<el-dialog
|
316
|
+
v-if="showWfMemoDialog"
|
317
|
+
:visible.sync="showWfMemoDialog"
|
318
|
+
:modal-append-to-body="false"
|
319
|
+
:close-on-click-modal="false"
|
320
|
+
:modal="false"
|
321
|
+
custom-class="dialog-style wf-dialog"
|
322
|
+
:append-to-body="true"
|
323
|
+
v-el-drag-dialog
|
324
|
+
v-el-dialog-center
|
325
|
+
>
|
326
|
+
<template #title>
|
327
|
+
<span class="el-dialog__title">{{ $t1('发起人附言') }}<span
|
328
|
+
style="margin-left: 10px;margin-right: 10px;">—</span><b
|
329
|
+
class="f-red" style="font-size: 12px;">{{ $t2('节点', 'components.wf.node') }}:{{
|
330
|
+
wfInfo.taskName
|
331
|
+
}}</b></span>
|
332
|
+
</template>
|
333
|
+
<el-form :model="wfMemoForm">
|
334
|
+
<div id="containt" style="height: 500px;">
|
335
|
+
<table class="table-detail">
|
336
|
+
<tbody>
|
337
|
+
<tr>
|
338
|
+
<th>
|
339
|
+
<span class="t">
|
340
|
+
{{ $t1('内容') }}
|
341
|
+
</span>
|
342
|
+
</th>
|
343
|
+
<td>
|
344
|
+
<el-form-item field="content">
|
345
|
+
<el-input type="textarea" :rows="8"
|
346
|
+
:placeholder="$t1('内容')"
|
347
|
+
v-model="wfMemoForm.content"></el-input>
|
348
|
+
</el-form-item>
|
349
|
+
</td>
|
350
|
+
</tr>
|
351
|
+
<tr>
|
352
|
+
<th>
|
353
|
+
<span class="t">
|
354
|
+
{{ $t1('附件') }}
|
355
|
+
</span>
|
356
|
+
</th>
|
357
|
+
<td>
|
358
|
+
<baseUpload accept="file" multi="true" :file.sync="wfMemoForm.attachmentDTOs"></baseUpload>
|
359
|
+
</td>
|
360
|
+
</tr>
|
361
|
+
</tbody>
|
362
|
+
</table>
|
363
|
+
</div>
|
364
|
+
</el-form>
|
365
|
+
<span slot="footer" class="dialog-footer">
|
366
|
+
<el-button type="primary" plain class="button-sty" @click="showWfMemoDialog = false">
|
367
|
+
<i class="el-icon-close el-icon"></i>
|
368
|
+
{{ $t2('取 消', 'system.button.cancel2') }}
|
369
|
+
</el-button>
|
370
|
+
<el-button type="primary" @click="submitWfMemoForm" class="button-sty">
|
371
|
+
<i class="el-icon-check el-icon"></i>
|
372
|
+
{{ $t2('确 定', 'system.button.confirm2') }}
|
373
|
+
</el-button>
|
374
|
+
</span>
|
375
|
+
</el-dialog>
|
376
|
+
|
298
377
|
<el-dialog
|
299
378
|
v-if="rejectDialogVisible"
|
300
379
|
:visible.sync="rejectDialogVisible"
|