From 929e1930ff7aab3d9a2aa6a1e580b98808047719 Mon Sep 17 00:00:00 2001
From: yunuo970428 <405378304@qq.com>
Date: Thu, 23 Feb 2023 17:44:01 +0800
Subject: [PATCH 1/9] =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E6=B5=81=E7=A8=8B?=
=?UTF-8?q?=E5=AE=A1=E6=89=B9=E8=AE=B0=E5=BD=95--=E5=A2=9E=E5=8A=A0?=
=?UTF-8?q?=E8=AF=84=E8=AE=BA=E8=AE=B0=E5=BD=95=E7=9A=84=E5=B1=95=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
anrui-system-ui/src/api/workflow/finished.js | 6 +-
.../src/components/flow/flowRecord.vue | 63 +++++++++++--------
anrui-system-ui/src/views/flow/doneList.vue | 2 +-
anrui-system-ui/src/views/flow/todoList.vue | 2 +-
4 files changed, 43 insertions(+), 30 deletions(-)
diff --git a/anrui-system-ui/src/api/workflow/finished.js b/anrui-system-ui/src/api/workflow/finished.js
index d6d23d7d6c..5cb3fddd04 100644
--- a/anrui-system-ui/src/api/workflow/finished.js
+++ b/anrui-system-ui/src/api/workflow/finished.js
@@ -15,7 +15,7 @@ export function finishedList(query) {
// 任务流转记录
export function flowRecord(query) {
return request({
- url: '/portal/v1/flow/task/flowRecord/' + query.procInsId + "/" + query.deployId,
+ url: '/portal/v1/flow/task/flowRecordAndComment/' + query.procInsId + '/' + query.deployId,
method: 'get',
params: query
})
@@ -23,7 +23,7 @@ export function flowRecord(query) {
// 撤回任务
export function revokeProcess(data) {
- const userSid = data.userSid;
+ const userSid = data.userSid
return request({
url: '/portal/v1/flow/task/revokeProcess/' + userSid,
method: 'post',
@@ -39,7 +39,7 @@ export function revokeProcess(data) {
export function deployStart(deployId) {
return request({
url: '/flowable/process/startFlow/' + deployId,
- method: 'get',
+ method: 'get'
})
}
diff --git a/anrui-system-ui/src/components/flow/flowRecord.vue b/anrui-system-ui/src/components/flow/flowRecord.vue
index bdd0745aa3..02a8378e59 100644
--- a/anrui-system-ui/src/components/flow/flowRecord.vue
+++ b/anrui-system-ui/src/components/flow/flowRecord.vue
@@ -10,35 +10,48 @@
-
- {{ item.taskName }}
-
-
+
+
+
{{ item.flowableRecordVo.taskName }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+ {{ item.comment.comment }}
+ {{ item.comment.comment }}
+ {{ item.comment.comment }}
+ {{ item.comment.comment }}
+ {{ item.comment.comment }}
+
+
+
+
+
{{ item.processCommentVo.title }}
+
-
-
+
+
+
+
-
-
-
- {{ item.comment.comment }}
- {{ item.comment.comment }}
- {{ item.comment.comment }}
- {{ item.comment.comment }}
- {{ item.comment.comment }}
-
-
-
+
+
diff --git a/anrui-system-ui/src/views/flow/doneList.vue b/anrui-system-ui/src/views/flow/doneList.vue
index af632b69c9..947edc1b01 100644
--- a/anrui-system-ui/src/views/flow/doneList.vue
+++ b/anrui-system-ui/src/views/flow/doneList.vue
@@ -345,7 +345,7 @@ import flowRecords from '@/components/flow/flowRecord'
var token = getStorage()
const params = { procInsId: procInsId, deployId: deployId, token: token }
flowRecord(params).then(res => {
- this.flowRecordList = res.data.flowList
+ this.flowRecordList = res.data
// 流程过程中不存在初始化表单 直接读取的流程变量中存储的表单值
if (res.data.formData) {
this.formConf = res.data.formData
diff --git a/anrui-system-ui/src/views/flow/todoList.vue b/anrui-system-ui/src/views/flow/todoList.vue
index 7e6062a24d..a5399d0dc0 100644
--- a/anrui-system-ui/src/views/flow/todoList.vue
+++ b/anrui-system-ui/src/views/flow/todoList.vue
@@ -430,7 +430,7 @@ export default {
var token = getStorage()
const params = {procInsId: procInsId, deployId: deployId,token: token }
flowRecord(params).then(res => {
- this.flowRecordList = res.data.flowList
+ this.flowRecordList = res.data
// 流程过程中不存在初始化表单 直接读取的流程变量中存储的表单值
if (res.data.formData) {
this.formConf = res.data.formData
From 92fd48c6ec2bceda80aa08e86d306d7b730ee05f Mon Sep 17 00:00:00 2001
From: yunuo970428 <405378304@qq.com>
Date: Thu, 23 Feb 2023 17:44:51 +0800
Subject: [PATCH 2/9] =?UTF-8?q?=E7=9B=98=E5=BA=93=E6=8A=A5=E5=91=8A--?=
=?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=AF=BC=E5=87=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../anrui-scm-ui/src/api/kucunguanli/panku.js | 10 ++++
.../panku/pankubaogao/pankubaogaoguanli.vue | 52 ++++++++++++++++++-
2 files changed, 61 insertions(+), 1 deletion(-)
diff --git a/anrui-scm/anrui-scm-ui/src/api/kucunguanli/panku.js b/anrui-scm/anrui-scm-ui/src/api/kucunguanli/panku.js
index 568c9d4855..d31159051b 100644
--- a/anrui-scm/anrui-scm-ui/src/api/kucunguanli/panku.js
+++ b/anrui-scm/anrui-scm-ui/src/api/kucunguanli/panku.js
@@ -59,5 +59,15 @@ export default {
data: data,
headers: { 'Content-Type': 'application/json' }
})
+ },
+ // 导出
+ exportExcel: function(data) {
+ return request({
+ url: '/scm/v1/scmvehinventorymonth/exportExcel',
+ method: 'post',
+ responseType: 'blob', // 表明返回服务器返回的数据类型
+ data: data,
+ headers: { 'Content-Type': 'application/json' }
+ })
}
}
diff --git a/anrui-scm/anrui-scm-ui/src/views/kucunguanli/panku/pankubaogao/pankubaogaoguanli.vue b/anrui-scm/anrui-scm-ui/src/views/kucunguanli/panku/pankubaogao/pankubaogaoguanli.vue
index ca84c419eb..8616aeb2e1 100644
--- a/anrui-scm/anrui-scm-ui/src/views/kucunguanli/panku/pankubaogao/pankubaogaoguanli.vue
+++ b/anrui-scm/anrui-scm-ui/src/views/kucunguanli/panku/pankubaogao/pankubaogaoguanli.vue
@@ -28,7 +28,8 @@
-
+
+
@@ -116,6 +117,13 @@ export default {
return {
btndisabled: false,
btnList: [
+ {
+ type: 'success',
+ size: 'small',
+ icon: 'export',
+ btnKey: 'doExport',
+ btnLabel: '导出'
+ },
{
type: 'info',
size: 'small',
@@ -130,6 +138,7 @@ export default {
// 查询条件 -----------
tableKey: 0,
list: [],
+ sids: [],
FormLoading: false,
listLoading: false,
listQuery: {
@@ -174,6 +183,9 @@ export default {
btnHandle(btnKey) {
console.log('XXXXXXXXXXXXXXX ' + btnKey)
switch (btnKey) {
+ case 'doExport':
+ this.doExport()
+ break
case 'doClose':
this.doClose()
break
@@ -187,6 +199,13 @@ export default {
var pageindex = index + 1 + pagestart
return pageindex
},
+ handleSelectionChange(row) {
+ const aa = []
+ row.forEach((element) => {
+ aa.push(element.sid)
+ })
+ this.sids = aa
+ },
// 查询列表信息
getList() {
this.listLoading = true
@@ -232,6 +251,37 @@ export default {
resetState() {
this.viewState = 1
},
+ // 导出
+ doExport() {
+ if (this.sids.length > 0) {
+ const loading = this.$loading({
+ lock: true,
+ text: 'Loading',
+ spinner: 'el-icon-loading',
+ background: 'rgba(0, 0, 0, 0.7)'
+ })
+ req.exportExcel(this.sids).then((resp) => {
+ loading.close()
+ const blob = new Blob([resp], {
+ type: 'application/vnd.ms-excel'
+ })
+ const fileName = '盘库报告表' + '.xls'
+ const elink = document.createElement('a')
+ elink.download = fileName
+ elink.style.display = 'nonde'
+ elink.href = URL.createObjectURL(blob)
+ document.body.appendChild(elink)
+ elink.click()
+ URL.revokeObjectURL(elink.href)
+ document.body.removeChild(elink)
+ }).catch(() => {
+ loading.close()
+ })
+ } else {
+ this.$message({ showClose: true, type: 'error', message: '请至少选择一条记录进行导出操作' })
+ return
+ }
+ },
doClose() {
this.$emit('doback')
}
From ba1ba42b2bd4ed76c197b6c63f50b5ca431a5b52 Mon Sep 17 00:00:00 2001
From: yunuo970428 <405378304@qq.com>
Date: Fri, 24 Feb 2023 17:30:46 +0800
Subject: [PATCH 3/9] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BB=A3=E6=94=B6?=
=?UTF-8?q?=E6=AC=BE=E7=94=B3=E8=AF=B7=E3=80=81=E6=94=B6=E6=AC=BE=E6=AC=BE?=
=?UTF-8?q?=E9=A1=B9=E7=A1=AE=E8=AE=A4=E3=80=81=E5=87=BA=E7=BA=B3=E6=AC=BE?=
=?UTF-8?q?=E9=A1=B9=E7=A1=AE=E8=AE=A4--=E5=88=97=E8=A1=A8=E4=B8=AD?=
=?UTF-8?q?=E5=A2=9E=E5=8A=A0=E4=B8=8B=E8=BD=BD=E6=AC=A1=E6=95=B0?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../src/views/anruifinmanagement/agencyfund/agencyfund.vue | 5 +++++
.../paymentConfirmation/acknowledgementReceipt.vue | 7 ++++++-
.../paymentConfirmation/cashierConfirmation.vue | 5 +++++
3 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/agencyfund/agencyfund.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/agencyfund/agencyfund.vue
index 7640896916..619455d66c 100644
--- a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/agencyfund/agencyfund.vue
+++ b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/agencyfund/agencyfund.vue
@@ -49,6 +49,11 @@
{{ scope.row.auditState == 1 ? '待审核' : scope.row.auditState == 2 ? '已驳回' : scope.row.auditState ==3 ? '已审核' : '其他' }}
+
+
+ {{ scope.row.downNum }}
+
+
{{ scope.row.createDept }}
diff --git a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/acknowledgementReceipt.vue b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/acknowledgementReceipt.vue
index 4193d784f4..c8da7a4372 100644
--- a/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/acknowledgementReceipt.vue
+++ b/anrui-buscenter/anrui-finmanage-ui/src/views/anruifinmanagement/paymentConfirmation/acknowledgementReceipt.vue
@@ -49,6 +49,11 @@
{{ scope.row.auditState == 1 ? '待审核' : scope.row.auditState == 2 ? '已驳回' : scope.row.auditState ==3 ? '已审核' : '其他' }}
+
+
+ {{ scope.row.downNum }}
+
+
{{ scope.row.createDept }}
@@ -150,7 +155,7 @@