cloud-web-corejs 1.0.54-dev.272 → 1.0.54-dev.274
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/table/index.js +1 -1036
- package/src/components/table/vxeFilter/mixin.js +300 -6
- package/src/components/wf/content.vue +39 -48
- package/src/components/wf/wf.js +18 -3
- package/src/components/xform/form-render/container-item/data-table-mixin.js +1 -2403
- package/src/views/bd/setting/push_data/edit.vue +30 -28
- package/src/views/bd/setting/push_data/list.vue +35 -25
- package/src/views/bd/setting/push_data_h/edit.vue +44 -35
- package/src/views/bd/setting/push_data_h/list.vue +41 -27
- package/src/views/bd/setting/request_async_setting/list.vue +1 -1
@@ -72,33 +72,49 @@
|
|
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="showWfMemo">{{ $t1('发起人附言') }}</b>
|
76
75
|
<b :class="{on:tabIndex=='3'}" @click="tabIndex='3'" v-if="showAllWfOpinon">{{ $t2('全部任务情况', 'components.wf.allTaskInfo') }}</b>
|
77
76
|
</div>
|
78
77
|
</div>
|
79
|
-
<div
|
80
|
-
<div class="
|
81
|
-
|
82
|
-
|
83
|
-
<
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
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>
|
88
104
|
</div>
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
</
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
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">{{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>
|
102
118
|
</div>
|
103
119
|
</div>
|
104
120
|
</div>
|
@@ -177,31 +193,6 @@
|
|
177
193
|
</template>
|
178
194
|
</vxe-grid>
|
179
195
|
</div>
|
180
|
-
<template v-if="showWfMemo">
|
181
|
-
<div class="task-situation" v-show="tabIndex=='4'">
|
182
|
-
<vxe-grid
|
183
|
-
ref="table-wfMemo"
|
184
|
-
:auto-resize="true"
|
185
|
-
v-bind="wfMemoOption"
|
186
|
-
@resizable-change="$vxeTableUtil.onColumnWitchChange"
|
187
|
-
@custom="$vxeTableUtil.customHandle"
|
188
|
-
>
|
189
|
-
<template #form>
|
190
|
-
<div style="margin-bottom: 8px;" class="clearfix">
|
191
|
-
<div class="fl">
|
192
|
-
<el-button type="primary" class="button-sty" @click="openWfMemoDialog()"
|
193
|
-
icon="el-icon-plus" v-if="wfInfo.toAddMemo">{{ $t2('新增') }}
|
194
|
-
</el-button>
|
195
|
-
</div>
|
196
|
-
<div class="fr">
|
197
|
-
<!-- <vxe-button status="warning" icon="el-icon-search" class="button-sty" @click="wfMemoSearchEvent">搜索
|
198
|
-
</vxe-button> -->
|
199
|
-
</div>
|
200
|
-
</div>
|
201
|
-
</template>
|
202
|
-
</vxe-grid>
|
203
|
-
</div>
|
204
|
-
</template>
|
205
196
|
<div class="task-situation" v-show="showAllWfOpinon && tabIndex=='3'"
|
206
197
|
style="max-height: 500px; overflow: hidden auto;">
|
207
198
|
<div class="item" v-for="wftaskLineData in allWfTaskOpinions" :key="'allWfTaskOpinions'+wftaskLineData.id">
|
package/src/components/wf/wf.js
CHANGED
@@ -374,6 +374,7 @@ wfContentMixin = {
|
|
374
374
|
replyId: null
|
375
375
|
},
|
376
376
|
showWfMemoDialog: false,
|
377
|
+
wfMemoData:[]
|
377
378
|
};
|
378
379
|
},
|
379
380
|
provide() {
|
@@ -1341,7 +1342,8 @@ wfContentMixin = {
|
|
1341
1342
|
},
|
1342
1343
|
|
1343
1344
|
initWfMemo() {
|
1344
|
-
|
1345
|
+
this.wfMemoSearchEvent();
|
1346
|
+
/* let h = this.$createElement;
|
1345
1347
|
let tableOption = {
|
1346
1348
|
vue: this,
|
1347
1349
|
tableRef: "table-wfMemo",
|
@@ -1409,10 +1411,23 @@ wfContentMixin = {
|
|
1409
1411
|
};
|
1410
1412
|
this.$vxeTableUtil.initVxeTable(tableOption).then((opts) => {
|
1411
1413
|
this.wfMemoOption = opts;
|
1412
|
-
});
|
1414
|
+
}); */
|
1413
1415
|
},
|
1414
1416
|
wfMemoSearchEvent(){
|
1415
|
-
|
1417
|
+
// this.$refs['table-wfMemo'].commitProxy('reload');
|
1418
|
+
let that = getTarget(this);
|
1419
|
+
that.$http({
|
1420
|
+
url: this.current_prefix + "/wf_memo/listPage",
|
1421
|
+
method: `post`,
|
1422
|
+
data: {
|
1423
|
+
uuid: this.wfInfo.uuid,
|
1424
|
+
},
|
1425
|
+
isLoading: true,
|
1426
|
+
success: (res) => {
|
1427
|
+
let rows = res?.objx?.records || [];
|
1428
|
+
this.wfMemoData = rows;
|
1429
|
+
},
|
1430
|
+
});
|
1416
1431
|
},
|
1417
1432
|
openWfMemoDialog(row) {
|
1418
1433
|
if(row){
|