From 9e350ffb4c277df502392a03e97982a1d22007ef Mon Sep 17 00:00:00 2001
From: heimawl <1785969728@qq.com>
Date: 星期四, 10 八月 2023 12:46:32 +0800
Subject: [PATCH] 11
---
vue.config.js | 2 +-
src/api/project/funddetail.js | 2 +-
src/views/project/fund/fundcontext/index.vue | 17 ++++++++++++-----
3 files changed, 14 insertions(+), 7 deletions(-)
diff --git a/src/api/project/funddetail.js b/src/api/project/funddetail.js
index 3dc3d75..73e26fe 100644
--- a/src/api/project/funddetail.js
+++ b/src/api/project/funddetail.js
@@ -12,7 +12,7 @@
// /project/fund/getFundDetail/{id} 淇敼鏄柊鍐欑殑鎺ュ彛
export function getownFundDetail (id) {
return request({
- url: '/project/fund/getFundDetail/' + id,
+ url: '/project/funddetail/getFundDetail/' + id,
method: 'get',
})
}
diff --git a/src/views/project/fund/fundcontext/index.vue b/src/views/project/fund/fundcontext/index.vue
index 861f102..fff92c1 100644
--- a/src/views/project/fund/fundcontext/index.vue
+++ b/src/views/project/fund/fundcontext/index.vue
@@ -1330,6 +1330,8 @@
//鏄庣粏澶勭悊
getownFundDetail(this.curId).then(res => {
this.rbDetails = res.data;
+ console.log(res);
+
console.log(this.curId, res.data);
if (this.rbDetails.length > 0) {
for (let m = 0; m < this.rbDetails.length; m++) {
@@ -1379,6 +1381,7 @@
//涓氬姟鏄庣粏
getownFundDetail(this.curId).then(res => {
+ console.log(res);
this.rbDetails = res.data;
for (let m = 0; m < this.rbDetails.length; m++) {
this.rbDetails[m].itemlist = [];
@@ -1412,6 +1415,8 @@
})
.then(() => {
getownFundDetail(this.curId).then(res => {
+ console.log(res);
+
let listdetails = res.data;
for (let i = 0; i < listdetails.length; i++) {
delFunddetail(listdetails[i].id);
@@ -1595,12 +1600,12 @@
//淇濆瓨鏁版嵁
this.loading = true;
- this.form.servicerbDetails = 0;
+ this.form.serviceFunddetails = 0;
this.rbDetails.map(item => {
- this.form.servicerbDetails += item.amount;
+ this.form.serviceFunddetails += item.amount;
});
console.log(this.rbDetails);
- this.form.servicerbDetails = this.rbDetails;
+ this.form.serviceFunddetails = this.rbDetails;
if (this.form.id != null) {
// updateFund(this.form).then((response) => {
@@ -1820,9 +1825,9 @@
row.taxedamount = 0.0;
}
- this.form.servicerbDetails = 0;
+ this.form.serviceFunddetails = 0;
this.rbDetails.map(item => {
- this.form.servicerbDetails += item.amount;
+ this.form.serviceFunddetails += item.amount;
});
}
});
@@ -2104,6 +2109,8 @@
}).then(() => {
this.$set(rows, rows.splice(index, 1));
getownFundDetail(this.form.id).then(res => {
+ console.log(res);
+
this.$set(this.rbDetails, res.data);
this.sumTotalFee();
// this.rbDetails = res.data
diff --git a/vue.config.js b/vue.config.js
index 415fed3..5d628d7 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -35,7 +35,7 @@
[process.env.VUE_APP_BASE_API]: {
// target:`http://localhost:8080`,
// target:`http://116.62.18.175:8080`,
- target:`http://192.168.1.4:8086`,
+ target:`http://192.168.2.8:8086`,
// target: `https://slb.hospitalstar.com:9093`,
changeOrigin: true,
pathRewrite: {
--
Gitblit v1.9.3