n20-common-lib 2.7.25 → 2.7.26
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
CHANGED
|
@@ -186,6 +186,47 @@
|
|
|
186
186
|
<cl-dialog v-drag :visible.sync="approvalToV" :title="'批准至节点' | $lc" width="960px" append-to-body top="7.5vh">
|
|
187
187
|
<reject-to-prop :task-id="taskId" type="approvalTo" @close="approvalToV = false" @confirm="approvalToFn" />
|
|
188
188
|
</cl-dialog>
|
|
189
|
+
<cl-dialog v-drag :visible.sync="verifyV" :title="'校验结果' | $lc" width="960px" append-to-body top="7.5vh">
|
|
190
|
+
<div class="m-t m-b">
|
|
191
|
+
<span class="m-r-ss">{{ '结果统计:' | $lc }}</span> {{ '共计校验' | $lc }}<span>{{ verifyMsg.checkSum }}</span
|
|
192
|
+
>{{ '条,其中通过' | $lc }}<span class="color-success">{{ verifyMsg.checkSum - verifyMsg.errorCount }}</span
|
|
193
|
+
>{{ '条,未通过' | $lc }}<span class="color-danger">{{ verifyMsg.errorCount }}</span
|
|
194
|
+
>{{ '条,未通过详情如下:' | $lc }}
|
|
195
|
+
</div>
|
|
196
|
+
<el-table :data="verifyMsg.checkFlowVoList" border max-height="400">
|
|
197
|
+
<el-table-column type="index" :label="'序号' | $lc" align="center" width="50" />
|
|
198
|
+
<el-table-column prop="businessId" :label="'业务流水号' | $lc" align="center" width="120" />
|
|
199
|
+
<el-table-column prop="typeName" :label="'交易类型' | $lc" align="center" width="120">
|
|
200
|
+
<template slot-scope="{ row }">
|
|
201
|
+
{{ row.typeName }}
|
|
202
|
+
</template>
|
|
203
|
+
</el-table-column>
|
|
204
|
+
<el-table-column prop="status" :label="'校验状态' | $lc" align="center" width="120">
|
|
205
|
+
<template slot-scope="{ row }">
|
|
206
|
+
<div
|
|
207
|
+
:class="
|
|
208
|
+
row.status === 'PASS' ? 'color-success' : row.status === 'PROMPT' ? 'color-warning' : 'color-danger'
|
|
209
|
+
"
|
|
210
|
+
>
|
|
211
|
+
{{ row.statusName }}
|
|
212
|
+
</div>
|
|
213
|
+
</template>
|
|
214
|
+
</el-table-column>
|
|
215
|
+
<el-table-column prop="errorMsg" :label="'不通过原因' | $lc" />
|
|
216
|
+
</el-table>
|
|
217
|
+
<span slot="footer">
|
|
218
|
+
<div v-if="promptType === '1'">
|
|
219
|
+
<el-button type="primary" @click="onContinue">{{ $l('继续审批') }}</el-button>
|
|
220
|
+
<el-button plain @click="onceCancelFn">{{ $l('取消') }}</el-button>
|
|
221
|
+
<div class="m-t-s color-danger f-s-s">
|
|
222
|
+
{{ $l('*点击【继续审批】将提交校验通过和待确认数据,未通过数据需要到待审核详情页处理。') }}
|
|
223
|
+
</div>
|
|
224
|
+
</div>
|
|
225
|
+
<div v-if="promptType === '2'">
|
|
226
|
+
<el-button plain @click="onceCancelFn">{{ $l('取消') }}</el-button>
|
|
227
|
+
</div>
|
|
228
|
+
</span>
|
|
229
|
+
</cl-dialog>
|
|
189
230
|
</div>
|
|
190
231
|
</template>
|
|
191
232
|
|
|
@@ -321,7 +362,10 @@ export default {
|
|
|
321
362
|
fileDtos: [],
|
|
322
363
|
fileName: '',
|
|
323
364
|
fileUrl: '',
|
|
324
|
-
todoList: []
|
|
365
|
+
todoList: [],
|
|
366
|
+
verifyV: false,
|
|
367
|
+
verifyMsg: {},
|
|
368
|
+
promptType: '0'
|
|
325
369
|
}
|
|
326
370
|
},
|
|
327
371
|
computed: {
|
|
@@ -474,18 +518,19 @@ export default {
|
|
|
474
518
|
},
|
|
475
519
|
// 获取提交参数
|
|
476
520
|
getParam() {
|
|
477
|
-
let { typeCode, taskId, groupNo, isAgentcy } = this.$route.query
|
|
521
|
+
let { typeCode, taskId, groupNo, isAgentcy, isCheck } = this.$route.query
|
|
478
522
|
return [
|
|
479
523
|
{
|
|
480
524
|
typeCode,
|
|
481
525
|
taskId,
|
|
482
526
|
groupNo,
|
|
527
|
+
isAgentcy,
|
|
528
|
+
isCheck,
|
|
483
529
|
taskDefKey: this.taskDefKey,
|
|
484
530
|
message: this.messageC,
|
|
485
531
|
formData: JSON.stringify(this.formData),
|
|
486
532
|
signText: this.signText,
|
|
487
533
|
plainText: this.plainText,
|
|
488
|
-
isAgentcy: isAgentcy,
|
|
489
534
|
fileDtos: this.fileDtos,
|
|
490
535
|
carbonCopyUserDtoList: this.carbonCopyList.map((c) => ({ userNo: c.uno, userName: c.uname })),
|
|
491
536
|
addTaskList: this.addTaskList.map((c) => ({ userNo: c.uno, userName: c.uname })),
|
|
@@ -579,8 +624,38 @@ export default {
|
|
|
579
624
|
})
|
|
580
625
|
})
|
|
581
626
|
},
|
|
627
|
+
async checkFlowFn() {
|
|
628
|
+
if (this.requiredC && !this.messageC) {
|
|
629
|
+
return this.errMsgFn(
|
|
630
|
+
this.authList.includes('byAddTask') && this.addTaskList.length > 0 ? $lc('加签') : $lc('批准')
|
|
631
|
+
)
|
|
632
|
+
}
|
|
633
|
+
if (this.addTaskList.length > 0 && !this.addTaskType) {
|
|
634
|
+
return this.addErrFn()
|
|
635
|
+
}
|
|
636
|
+
const { code, data } = await this.$axios.post(`/bems/activiti/admin/todo/checkFlowNew`, this.getParam())
|
|
637
|
+
if (code === 200) {
|
|
638
|
+
this.promptType = data.promptType
|
|
639
|
+
switch (data.promptType) {
|
|
640
|
+
case '0':
|
|
641
|
+
this.approvalFn()
|
|
642
|
+
break
|
|
643
|
+
case '1':
|
|
644
|
+
this.verifyV = true
|
|
645
|
+
this.verifyMsg = data
|
|
646
|
+
break
|
|
647
|
+
case '2':
|
|
648
|
+
this.verifyV = true
|
|
649
|
+
break
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
},
|
|
653
|
+
onceCancelFn() {
|
|
654
|
+
this.verifyV = false
|
|
655
|
+
},
|
|
582
656
|
// 审批
|
|
583
657
|
approvalFn() {
|
|
658
|
+
this.checkFlowFn()
|
|
584
659
|
if (this.requiredC && !this.messageC) {
|
|
585
660
|
return this.errMsgFn(
|
|
586
661
|
this.authList.includes('byAddTask') && this.addTaskList.length > 0 ? $lc('加签') : $lc('批准')
|
package/src/i18n.json
CHANGED
|
@@ -29,6 +29,36 @@
|
|
|
29
29
|
"th": "ระบบการจัดการเงินสำหรับกลุ่ม",
|
|
30
30
|
"vi": "Hệ thống Quản lý Kho bạc Nhóm mới"
|
|
31
31
|
},
|
|
32
|
+
"结果统计:": {
|
|
33
|
+
"en": "Result statistics",
|
|
34
|
+
"th": "สถิติผลลัพธ์",
|
|
35
|
+
"vi": "Thống kê kết quả"
|
|
36
|
+
},
|
|
37
|
+
"共计校验": {
|
|
38
|
+
"en": "Total verification",
|
|
39
|
+
"th": "การตรวจสอบทั้งหมด",
|
|
40
|
+
"vi": "Tổng kiểm tra"
|
|
41
|
+
},
|
|
42
|
+
"条,未通过": {
|
|
43
|
+
"en": "items, of which failed to pass",
|
|
44
|
+
"th": "รายการ, ในบางส่วนที่ไม่ผ่าน",
|
|
45
|
+
"vi": "mục, trong đó chưa qua"
|
|
46
|
+
},
|
|
47
|
+
"业务流水号": {
|
|
48
|
+
"en": "businessId",
|
|
49
|
+
"th": "เลขที่ธุรการ",
|
|
50
|
+
"vi": "số hoạch đồng"
|
|
51
|
+
},
|
|
52
|
+
"条,其中通过": {
|
|
53
|
+
"en": "items, of which passed through",
|
|
54
|
+
"th": "รายการ, ในบางส่วนที่ผ่าน",
|
|
55
|
+
"vi": "mục, trong đó đã qua"
|
|
56
|
+
},
|
|
57
|
+
"条,未通过详情如下:": {
|
|
58
|
+
"en": "items, with details as follows:",
|
|
59
|
+
"th": "รายการ, รายละเอียดดังนี้:",
|
|
60
|
+
"vi": "mục, chi tiết như sau:"
|
|
61
|
+
},
|
|
32
62
|
"不支持在线预览,请": {
|
|
33
63
|
"en": "Online preview is not supported, please",
|
|
34
64
|
"th": "ไม่สนับสนุนการดูตัวอย่างออนไลน์ โปรด",
|
|
@@ -324,6 +354,11 @@
|
|
|
324
354
|
"th": "ยกเลิก",
|
|
325
355
|
"vi": "Hủy"
|
|
326
356
|
},
|
|
357
|
+
"*点击【继续审批】将提交校验通过和待确认数据,未通过数据需要到待审核详情页处理。": {
|
|
358
|
+
"en": "*Click [Continue Approval] to submit verification passed and pending confirmation data. Failure data needs to be processed on the pending approval details page.",
|
|
359
|
+
"th": "* คลิก [Continue to Approve] จะส่งข้อมูลการตรวจสอบและรอการยืนยัน และข้อมูลที่ไม่ผ่านจะต้องได้รับการประมวลผลที่หน้ารายละเอียดที่รอการตรวจสอบ",
|
|
360
|
+
"vi": "* Nhấp [Tiếp tục phê duyệt] sẽ gửi dữ liệu kiểm tra thông qua và đang chờ xác nhận, dữ liệu không vượt qua cần được xử lý trên trang chi tiết đang chờ kiểm tra."
|
|
361
|
+
},
|
|
327
362
|
"取消导入": {
|
|
328
363
|
"en": "Cancel import",
|
|
329
364
|
"th": "ยกเลิกการนำเข้า",
|
|
@@ -2094,6 +2129,26 @@
|
|
|
2094
2129
|
"th": "หมายเลขลำดับ",
|
|
2095
2130
|
"vi": "Số thứ tự"
|
|
2096
2131
|
},
|
|
2132
|
+
"交易类型": {
|
|
2133
|
+
"en": "Transaction Type",
|
|
2134
|
+
"th": "ประเภทการซื้อขาย",
|
|
2135
|
+
"vi": "Loại giao dịch"
|
|
2136
|
+
},
|
|
2137
|
+
"校验状态": {
|
|
2138
|
+
"en": "Validation Status",
|
|
2139
|
+
"th": "สถานการตรวจสอบ",
|
|
2140
|
+
"vi": "Trạng thái kiểm tra"
|
|
2141
|
+
},
|
|
2142
|
+
"不通过原因": {
|
|
2143
|
+
"en": "Reason for failure",
|
|
2144
|
+
"th": "ไม่ผ่านเหตุผล",
|
|
2145
|
+
"vi": "Không thông qua lý do"
|
|
2146
|
+
},
|
|
2147
|
+
"继续审批": {
|
|
2148
|
+
"en": "Continue approval",
|
|
2149
|
+
"th": "ดำเนินการอนุมัติ",
|
|
2150
|
+
"vi": "Tiếp tục phê duyệt"
|
|
2151
|
+
},
|
|
2097
2152
|
"手机验证码登录": {
|
|
2098
2153
|
"en": "Mobile phone verification code login",
|
|
2099
2154
|
"th": "เข้าสู่ระบบด้วยรหัสยืนยันทางโทรศัพท์มือถือ",
|