From 8c5b3d6d414674e2deff34b8f55c0a74cae1e4bb Mon Sep 17 00:00:00 2001
From: yangfuda <945208611@qq.com>
Date: Sat, 3 Aug 2024 17:01:31 +0800
Subject: [PATCH 1/5] =?UTF-8?q?=E9=93=B6=E5=86=9C=EF=BC=9A=E5=AE=A1?=
=?UTF-8?q?=E6=89=B9=E5=8E=86=E5=8F=B2=E6=9F=A5=E7=9C=8B=E9=97=AE=E9=A2=98?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../paymentApproval/approvalProcess.vue | 97 +++++++------------
.../paymentApproval/approvalProcess.vue | 91 +++++++----------
2 files changed, 73 insertions(+), 115 deletions(-)
diff --git a/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalProcess.vue b/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalProcess.vue
index 012f7344..f2324453 100644
--- a/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalProcess.vue
+++ b/src/views/sunVillage_info/bankAgriculture/paymentApproval/approvalProcess.vue
@@ -11,52 +11,41 @@
-
批次号:{{this.$route.query.auditbatchNo}}
-
-
- 草稿
-
-
-
- 已申请
-
- {{form.applyUserName}}
- {{form.applyDate}}
-
-
-
-
-
-
-
-
-
-
-
-
- {{item1.nodeName}}
- {{item1.nodeName}}
- {{item1.nodeName}}
-
-
- {{item1.auditTime}}
- {{item1.auditTime}}
- {{item1.auditTime}}
-
-
-
-
- {{item1.auditBy}}
- {{item1.auditBy}}
- {{item1.auditBy}}
-
-
- {{item1.auditRemark}}
- {{item1.auditRemark}}
- {{item1.auditRemark}}
-
-
-
+
+ 批次号:{{index}}
+
+
+
+
+
+
+
+
+
+ {{item1.actorName}}
+ {{item1.actorName}}
+ {{item1.actorName}}
+
+
+ {{item1.auditTime}}
+ {{item1.auditTime}}
+ {{item1.auditTime}}
+
+
+
+
+ {{item1.auditBy}}
+ {{item1.auditBy}}
+ {{item1.auditBy}}
+
+
+ {{item1.auditRemark}}
+ {{item1.auditRemark}}
+ {{item1.auditRemark}}
+
+
+
+
审批流程
@@ -111,12 +100,8 @@ export default {
//查询审批进程
getTransferProcess(id){
getTransferProcess(id).then(res => {
- this.processList = res.data[auditbatchNo]
- // console.info( this.processList);
- // this.processList.乡镇审批时间 = this.processList.乡镇审批时间?this.format(this.processList.乡镇审批时间, "yyyy-MM-dd HH:mm:ss"):""
- // this.processList.区县审批时间 = this.processList.区县审批时间?this.format(this.processList.区县审批时间, "yyyy-MM-dd HH:mm:ss"):""
- // this.processList.支付状态时间 = this.processList.支付状态时间?this.format(this.processList.支付状态时间, "yyyy-MM-dd HH:mm:ss"):""
- // this.processList.入账状态时间 = this.processList.入账状态时间?this.format(this.processList.入账状态时间, "yyyy-MM-dd HH:mm:ss"):""
+ this.processList = res.data
+ console.info( this.processList);
})
},
handleUpdate(id) {
@@ -214,12 +199,4 @@ export default {
color: #878787;
line-height: 22Px;
}
- .van-row{
- .van-row{
- .van-col{
- padding: 5Px 0 0 0!important;
- color: #878787;
- }
- }
- }
diff --git a/src/views/yinnong/bankAgriculture/paymentApproval/approvalProcess.vue b/src/views/yinnong/bankAgriculture/paymentApproval/approvalProcess.vue
index 82906b32..e6821d4c 100644
--- a/src/views/yinnong/bankAgriculture/paymentApproval/approvalProcess.vue
+++ b/src/views/yinnong/bankAgriculture/paymentApproval/approvalProcess.vue
@@ -11,52 +11,41 @@
-
批次号:{{this.$route.query.auditbatchNo}}
-
-
- 草稿
-
-
-
- 已申请
-
- {{form.applyUserName}}
- {{form.applyDate}}
-
-
-
-
-
-
-
-
-
-
-
-
- {{item1.nodeName}}
- {{item1.nodeName}}
- {{item1.nodeName}}
-
-
- {{item1.auditTime}}
- {{item1.auditTime}}
- {{item1.auditTime}}
-
-
-
-
- {{item1.auditBy}}
- {{item1.auditBy}}
- {{item1.auditBy}}
-
-
- {{item1.auditRemark}}
- {{item1.auditRemark}}
- {{item1.auditRemark}}
-
-
-
+
+ 批次号:{{index}}
+
+
+
+
+
+
+
+
+
+ {{item1.actorName}}
+ {{item1.actorName}}
+ {{item1.actorName}}
+
+
+ {{item1.auditTime}}
+ {{item1.auditTime}}
+ {{item1.auditTime}}
+
+
+
+
+ {{item1.auditBy}}
+ {{item1.auditBy}}
+ {{item1.auditBy}}
+
+
+ {{item1.auditRemark}}
+ {{item1.auditRemark}}
+ {{item1.auditRemark}}
+
+
+
+
审批流程
@@ -111,7 +100,7 @@ export default {
//查询审批进程
getTransferProcess(id){
getTransferProcess(id).then(res => {
- this.processList = res.data[auditbatchNo]
+ this.processList = res.data
})
},
handleUpdate(id) {
@@ -209,12 +198,4 @@ export default {
color: #878787;
line-height: 22Px;
}
- .van-row{
- .van-row{
- .van-col{
- padding: 5Px 0 0 0!important;
- color: #878787;
- }
- }
- }
From 85dc13c1e29294e9a72927843be041868dc471a9 Mon Sep 17 00:00:00 2001
From: QI_YUJIE <2878090898@qq.com>
Date: Tue, 6 Aug 2024 16:51:27 +0800
Subject: [PATCH 2/5] =?UTF-8?q?task=20=E9=93=B6=E5=86=9C=E7=9B=B4=E8=81=94?=
=?UTF-8?q?=20=E8=B5=84=E9=87=91=E5=AE=A1=E6=89=B9=E7=94=B3=E8=AF=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../onlineHome/bankAgriculture/cashExpense.js | 80 +++++
src/router/index.js | 45 +++
.../cashExpense/cashExpenseApproval.vue | 276 ++++++++++++++++++
.../cashExpense/cashExpenseDetail.vue | 192 ++++++++++++
.../cashExpense/cashExpenseForm.vue | 246 ++++++++++++++++
.../cashExpense/cashExpenseList.vue | 258 ++++++++++++++++
.../cashExpense/cashExpenseProcess.vue | 190 ++++++++++++
.../yinnong/doneCompleted/completedNew.vue | 6 +
src/views/yinnong/doneCompleted/doneNew.vue | 6 +
9 files changed, 1299 insertions(+)
create mode 100644 src/api/onlineHome/bankAgriculture/cashExpense.js
create mode 100644 src/views/yinnong/bankAgriculture/cashExpense/cashExpenseApproval.vue
create mode 100644 src/views/yinnong/bankAgriculture/cashExpense/cashExpenseDetail.vue
create mode 100644 src/views/yinnong/bankAgriculture/cashExpense/cashExpenseForm.vue
create mode 100644 src/views/yinnong/bankAgriculture/cashExpense/cashExpenseList.vue
create mode 100644 src/views/yinnong/bankAgriculture/cashExpense/cashExpenseProcess.vue
diff --git a/src/api/onlineHome/bankAgriculture/cashExpense.js b/src/api/onlineHome/bankAgriculture/cashExpense.js
new file mode 100644
index 00000000..fff7f983
--- /dev/null
+++ b/src/api/onlineHome/bankAgriculture/cashExpense.js
@@ -0,0 +1,80 @@
+import request from '@/utils/request'
+
+// 查询资金审批申请列表
+export function listCashExpense(query) {
+ return request({
+ url: '/yinnong/cashExpense/list',
+ method: 'get',
+ params: query
+ })
+}
+
+// 统计查询资金审批申请列表
+export function statisticCashExpense(query) {
+ return request({
+ url: '/yinnong/cashExpense/statistic',
+ method: 'get',
+ params: query
+ })
+}
+
+// 导出资金审批申请
+export function exportCashExpense(query) {
+ return request({
+ url: '/yinnong/cashExpense/export',
+ method: 'get',
+ params: query
+ })
+}
+
+// 查询资金审批申请详细
+export function getCashExpense(id) {
+ return request({
+ url: '/yinnong/cashExpense/get/' + id,
+ method: 'get',
+ params: arguments[1] || {}
+ })
+}
+
+// 新增资金审批申请
+export function addCashExpense(data) {
+ return request({
+ url: '/yinnong/cashExpense/add',
+ method: 'post',
+ data: data
+ })
+}
+
+// 修改资金审批申请
+export function updateCashExpense(data) {
+ return request({
+ url: '/yinnong/cashExpense/edit',
+ method: 'post',
+ data: data
+ })
+}
+
+// 删除资金审批申请
+export function delCashExpense(id) {
+ return request({
+ url: '/yinnong/cashExpense/remove/' + id,
+ method: 'get'
+ })
+}
+
+// 资金申请审批
+export function applyCashExpense(id) {
+ return request({
+ url: '/yinnong/cashExpense/submitApply/' + id,
+ method: 'get'
+ });
+}
+
+// 撤销资金申请审批
+export function revokeCashExpense(id) {
+ return request({
+ url: '/yinnong/cashExpense/revokeApply/' + id,
+ method: 'get'
+ });
+}
+
diff --git a/src/router/index.js b/src/router/index.js
index be091e2c..3b52ab05 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -2686,6 +2686,51 @@ export const constantRoutes = [
},
component: (resolve) => require(['@/views/yinnong/homestead/supervision/supervisionDetail'], resolve)
},
+ {
+ path: '/yinnong/cashExpenseList',
+ name: 'yinnongCashExpenseList',
+ meta: {
+ title: '资金审批申请列表',
+ hidden: true,
+ },
+ component: (resolve) => require(['@/views/yinnong/bankAgriculture/cashExpense/cashExpenseList'], resolve)
+ },
+ {
+ path: '/yinnong/cashExpenseForm',
+ name: 'yinnongCashExpenseForm',
+ meta: {
+ title: '资金审批申请表单',
+ hidden: true,
+ },
+ component: (resolve) => require(['@/views/yinnong/bankAgriculture/cashExpense/cashExpenseForm'], resolve)
+ },
+ {
+ path: '/yinnong/cashExpenseDetail',
+ name: 'yinnongCashExpenseDetail',
+ meta: {
+ title: '资金审批申请详情',
+ hidden: true,
+ },
+ component: (resolve) => require(['@/views/yinnong/bankAgriculture/cashExpense/cashExpenseDetail'], resolve)
+ },
+ {
+ path: '/yinnong/cashExpenseApproval',
+ name: 'yinnongCashExpenseApproval',
+ meta: {
+ title: '资金审批申请',
+ hidden: true,
+ },
+ component: (resolve) => require(['@/views/yinnong/bankAgriculture/cashExpense/cashExpenseApproval'], resolve)
+ },
+ {
+ path: '/yinnong/cashExpenseProcess',
+ name: 'yinnongCashExpenseProcess',
+ meta: {
+ title: '资金审批申请流程',
+ hidden: true,
+ },
+ component: (resolve) => require(['@/views/yinnong/bankAgriculture/cashExpense/cashExpenseProcess'], resolve)
+ },
{
path: '/lawEnforcement',
name: 'lawEnforcement',
diff --git a/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseApproval.vue b/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseApproval.vue
new file mode 100644
index 00000000..e4848d47
--- /dev/null
+++ b/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseApproval.vue
@@ -0,0 +1,276 @@
+
+
+
+
+ 资金审批申请
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 审批
意见
+
+
+ 同意
+ 驳回
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseDetail.vue b/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseDetail.vue
new file mode 100644
index 00000000..efdd7c23
--- /dev/null
+++ b/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseDetail.vue
@@ -0,0 +1,192 @@
+
+
+
+
+ 资金审批申请详情
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseForm.vue b/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseForm.vue
new file mode 100644
index 00000000..56b56fac
--- /dev/null
+++ b/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseForm.vue
@@ -0,0 +1,246 @@
+
+
+
+
+ {{ navBarTitle }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 保存
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseList.vue b/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseList.vue
new file mode 100644
index 00000000..ef9f8719
--- /dev/null
+++ b/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseList.vue
@@ -0,0 +1,258 @@
+
+
+
+
+ 资金审批申请
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{item.cashAt}}
+ {{item.capitalExpenditureType}}
+ {{item.cashAmount}} 元
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 附件
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseProcess.vue b/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseProcess.vue
new file mode 100644
index 00000000..443e66e4
--- /dev/null
+++ b/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseProcess.vue
@@ -0,0 +1,190 @@
+
+
+
+
+ 资金审批申请流程
+
+
+
+
+
审批历史
+
批次号:{{ auditbatchNo }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.actorName }}
+ {{ item.actorName }}
+ {{ item.actorName }}
+
+
+ {{ item.auditTime }}
+ {{ item.auditTime }}
+ {{ item.auditTime }}
+
+
+
+
+ {{ item.auditBy }}
+ {{ item.auditBy }}
+ {{ item.auditBy }}
+
+
+ {{ item.auditRemark }}
+ {{ item.auditRemark }}
+ {{ item.auditRemark }}
+
+
+
+
+
+
审批流程
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+
+
+ 组级审批
+ 村级审批
+ 镇级审批
+ 区县审批
+
+
+
+
+ {{ item.nickName }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/yinnong/doneCompleted/completedNew.vue b/src/views/yinnong/doneCompleted/completedNew.vue
index 48bc3e5e..9d7b82d8 100644
--- a/src/views/yinnong/doneCompleted/completedNew.vue
+++ b/src/views/yinnong/doneCompleted/completedNew.vue
@@ -187,6 +187,12 @@
case 'yinnong_majorevent':
this.$router.push({name:'approvalApproval13',query: {id:item.data.id,taskId:item.id,type:"todo"}})
break;
+ case 't_yinnong_cashexpense':
+ this.$router.push({
+ path: '/yinnong/cashExpenseApproval',
+ query: { id: item.data.id, taskId: item.id, auditbatchNo: item.auditbatchNo, type: "todo" }
+ });
+ break;
}
}
},
diff --git a/src/views/yinnong/doneCompleted/doneNew.vue b/src/views/yinnong/doneCompleted/doneNew.vue
index 51e9eccd..dba0a135 100644
--- a/src/views/yinnong/doneCompleted/doneNew.vue
+++ b/src/views/yinnong/doneCompleted/doneNew.vue
@@ -160,6 +160,12 @@ done.vue
case 'yinnong_majorevent':
this.$router.push({name:'approvalApproval13',query: {id:item.formData.id,taskId:item.taskId,type:item.type}})
break;
+ case 't_yinnong_cashexpense':
+ this.$router.push({
+ path: '/yinnong/cashExpenseApproval',
+ query: { id: item.data.id, taskId: item.id, auditbatchNo: item.auditbatchNo, type: "done" }
+ });
+ break;
}
}
},
From a39865b2feff782e60d59a3cf67e8a926903be46 Mon Sep 17 00:00:00 2001
From: zzl <961867786@qq.com>
Date: Fri, 9 Aug 2024 18:27:52 +0800
Subject: [PATCH 3/5] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=80=81=E6=B5=81?=
=?UTF-8?q?=E7=A8=8B=E7=9A=84=E6=96=B9=E6=B3=95=20=EF=BC=8C=E6=B2=A1?=
=?UTF-8?q?=E6=9C=89=E5=90=8C=E6=AD=A5=E5=8D=87=E7=BA=A7=E6=89=8B=E6=9C=BA?=
=?UTF-8?q?=E7=AB=AF=EF=BC=81=EF=BC=81=EF=BC=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/lawEnforcement/index.vue | 4 ++--
src/views/lawEnforcement/user/index.vue | 6 +++---
src/views/lawEnforcement/user/waitingProcessing.vue | 12 ++++++------
src/views/lawEnforcement/userNew/user_new.vue | 6 +++---
src/views/yinnong/workbench.vue | 4 ++--
5 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/views/lawEnforcement/index.vue b/src/views/lawEnforcement/index.vue
index b3724a25..787b0817 100644
--- a/src/views/lawEnforcement/index.vue
+++ b/src/views/lawEnforcement/index.vue
@@ -165,7 +165,7 @@ export default {
})
},
/** 查询待办列表 */
- getTaskList() {
+ /*getTaskList() {
this.loading = true;
return request({
url: "/activiti/process/taskList",
@@ -181,7 +181,7 @@ export default {
})
.then(() => {
});
- },
+ },*/
getList(){
this.loading = true;
this.queryParams.number = 2 ;
diff --git a/src/views/lawEnforcement/user/index.vue b/src/views/lawEnforcement/user/index.vue
index 4b3911c4..dbafce04 100644
--- a/src/views/lawEnforcement/user/index.vue
+++ b/src/views/lawEnforcement/user/index.vue
@@ -188,10 +188,10 @@ export default {
console.log(res.data.companyName)
this.companyName = res.data.companyName;
});
- this.getTaskList();
+ //this.getTaskList();
});
},
- getTaskList() {
+ /*getTaskList() {
this.loading = true;
return request({
url: "/activiti/process/taskList",
@@ -208,7 +208,7 @@ export default {
.then(() => {
});
- },
+ },*/
},
};
diff --git a/src/views/lawEnforcement/user/waitingProcessing.vue b/src/views/lawEnforcement/user/waitingProcessing.vue
index d7b76760..fe4f7944 100644
--- a/src/views/lawEnforcement/user/waitingProcessing.vue
+++ b/src/views/lawEnforcement/user/waitingProcessing.vue
@@ -169,7 +169,7 @@ export default {
});
},
methods: {
- getTaskList() {
+ /*getTaskList() {
this.loading = true;
return request({
url: "/activiti/process/taskList",
@@ -189,8 +189,8 @@ export default {
}).then(() => {
});
- },
- getTaskDoneList(){
+ },*/
+ /*getTaskDoneList(){
this.doneLoading = true;
return request({
url: "/activiti/process/taskDoneList",
@@ -211,18 +211,18 @@ export default {
})
.then(() => {
});
- },
+ },*/
getListchange(type){
if(type == 'db'){
this.taskList = [];
this.queryParamsTask.pageNum = 1;
this.finished = false;
- this.getTaskList()
+ //this.getTaskList()
} else {
this.taskDoneList = [];
this.queryParams.pageNum = 1 ;
this.doneFinished = false;
- this.getTaskDoneList()
+ //this.getTaskDoneList()
}
}
},
diff --git a/src/views/lawEnforcement/userNew/user_new.vue b/src/views/lawEnforcement/userNew/user_new.vue
index 617c0e37..b8e466d1 100644
--- a/src/views/lawEnforcement/userNew/user_new.vue
+++ b/src/views/lawEnforcement/userNew/user_new.vue
@@ -134,10 +134,10 @@ export default {
console.log(res.data.companyName)
this.companyName = res.data.companyName;
});
- this.getTaskList();
+ //this.getTaskList();
});
},
- getTaskList() {
+ /*getTaskList() {
this.loading = true;
return request({
url: "/activiti/process/taskList",
@@ -154,7 +154,7 @@ export default {
.then(() => {
});
- },
+ },*/
},
};
diff --git a/src/views/yinnong/workbench.vue b/src/views/yinnong/workbench.vue
index b9377b0e..c51f1399 100644
--- a/src/views/yinnong/workbench.vue
+++ b/src/views/yinnong/workbench.vue
@@ -218,10 +218,10 @@
this.hcAreaInfoOption = res.data;
}
}),
- this.$set(this.queryParams, "systemType", '4');
+ /* this.$set(this.queryParams, "systemType", '4');
ListTodo(this.queryParams).then((response) => {
this.taskList = response.rows
- })
+ })*/
menus({identityType : 4}).then((response) => {
this.menusList = response.data
From feea9dfd47be6256271975fe23e1626e997c51bd Mon Sep 17 00:00:00 2001
From: QI_YUJIE <2878090898@qq.com>
Date: Sat, 10 Aug 2024 16:52:58 +0800
Subject: [PATCH 4/5] =?UTF-8?q?task=20=E9=93=B6=E5=86=9C=E7=9B=B4=E8=81=94?=
=?UTF-8?q?=20=E8=B5=84=E9=87=91=E7=94=B3=E8=AF=B7=E5=AE=A1=E6=89=B9?=
=?UTF-8?q?=E6=9F=A5=E7=9C=8B=E9=99=84=E4=BB=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../cashExpense/cashExpenseApproval.vue | 34 +++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseApproval.vue b/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseApproval.vue
index e4848d47..dd5cc3bb 100644
--- a/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseApproval.vue
+++ b/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseApproval.vue
@@ -65,6 +65,19 @@
@cancel="showTemplate = false"
/>
+
+
+
+ 查看附件
+
+
+
+
+
+ 附件
+
+
+
@@ -96,6 +109,8 @@
import {selectApprovalByTemplateId, listTemplate, approval} from "@/api/onlineHome/bankAgriculture/paymentApproval";
import { getCashExpense } from "@/api/onlineHome/bankAgriculture/cashExpense";
+import {attachmentList} from "@/api/sunVillage_info/fixedAssets";
+import request from "@/utils/request";
export default {
name: "cashExpenseApproval",
@@ -119,6 +134,9 @@ export default {
// 审核意见默认值
pass: "true",
comment: "同意",
+
+ showAttachment: false,
+ fileList: [],
};
},
created() {
@@ -215,6 +233,22 @@ export default {
goFlow(){
this.$router.push({path: '/yinnong/cashExpenseProcess', query: { id: this.form.id, templateId: this.form.approvalTemplateId }});
},
+ openAttachment(id) {
+ this.showAttachment = true;
+ this.fileList = [];
+ let params = {
+ tableId: id,
+ tableName: "t_yinnong_cashexpense",
+ bizPath: "yinnong",
+ fileType: '',
+ };
+ attachmentList(params).then(res => {
+ res.rows.map(r => {
+ let baseUrl = location.protocol + "//" + location.host + request.defaults.baseURL;
+ this.fileList.push({"url": baseUrl + r.fileUrl, "file": new File([], r.fileName, {}), "id": r.id});
+ });
+ });
+ },
}
}
From f9d0eee602e4c40c33c5d2d86bb96a259a378d1f Mon Sep 17 00:00:00 2001
From: QI_YUJIE <2878090898@qq.com>
Date: Mon, 12 Aug 2024 09:06:59 +0800
Subject: [PATCH 5/5] =?UTF-8?q?task=20=E9=93=B6=E5=86=9C=E7=9B=B4=E8=81=94?=
=?UTF-8?q?=20=E8=B5=84=E9=87=91=E7=94=B3=E8=AF=B7=E5=AE=A1=E6=89=B9bug?=
=?UTF-8?q?=E4=BF=AE=E6=94=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../bankAgriculture/cashExpense/cashExpenseApproval.vue | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseApproval.vue b/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseApproval.vue
index dd5cc3bb..e696cacf 100644
--- a/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseApproval.vue
+++ b/src/views/yinnong/bankAgriculture/cashExpense/cashExpenseApproval.vue
@@ -147,7 +147,9 @@ export default {
listTemplate({ type: '10' }).then(response => {
this.templateList = response.rows;
});
- this.getDetail();
+ setTimeout(() => {
+ this.getDetail();
+ }, 500);
},
watch: {
pass: function (val) {