diff --git a/fuintAdmin_zt/src/views/Site/components/afterff.vue b/fuintAdmin_zt/src/views/Site/components/afterff.vue
index 867b6a1e1..64d086dca 100644
--- a/fuintAdmin_zt/src/views/Site/components/afterff.vue
+++ b/fuintAdmin_zt/src/views/Site/components/afterff.vue
@@ -47,6 +47,7 @@ export default {
})
},
getList() {
+
getAfterListApi({deptId : this.deptId}).then(res => {
this.tableData = res.data.records
})
@@ -155,9 +156,8 @@ export default {
align="center"
label="状态">
- 未开始
- 进行中
- 已完成
+ 未支付
+ 已支付
修改
收款
diff --git a/fuintAdmin_zt/src/views/Site/components/before.vue b/fuintAdmin_zt/src/views/Site/components/before.vue
index ce611ddae..c1fed6679 100644
--- a/fuintAdmin_zt/src/views/Site/components/before.vue
+++ b/fuintAdmin_zt/src/views/Site/components/before.vue
@@ -7,10 +7,13 @@ import {
updateBeforerApi
} from "@/api/system/Site/compant";
+import { getDeptName} from '@/api/indexBanner/index'
+
export default {
name: "beforeff",
data() {
return {
+ deptName:'',
dialogVisible:false,
tableData: [ ],
form: {
@@ -40,8 +43,14 @@ export default {
created() {
this.getList()
this.getData()
+ this.getDeptName();
},
methods: {
+ getDeptName(){
+ getDeptName().then(res=>{
+ this.deptName = res.data.deptName
+ })
+ },
getList() {
getBeforeListApi({deptId : this.deptId}).then(res => {
this.tableData = res.data.records
@@ -155,9 +164,8 @@ export default {
align="center"
label="状态">
- 未开始
- 进行中
- 已完成
+ 进行中
+ 已完成
-
+
import {addYearApi, getYearListApi, updateYearApi} from "@/api/system/Site/compant";
import {parseTime} from "@/utils/fuint";
+import { getDeptName} from '@/api/indexBanner/index'
export default {
name: "yearff",
@@ -8,6 +9,7 @@ export default {
data() {
return {
+ deptName:'',
dialogVisible:false,
tableData: [ ],
form: {
@@ -26,10 +28,16 @@ export default {
deptId: Number
},
created() {
+ this.getDeptName();
console.log("deptId",this.deptId)
this.getList()
},
methods: {
+ getDeptName(){
+ getDeptName().then(res=>{
+ this.deptName = res.data.deptName
+ })
+ },
getList() {
getYearListApi({deptId : this.deptId}).then(res => {
this.tableData = res.data.records
@@ -116,9 +124,9 @@ export default {
align="center"
label="状态">
- 未开始
- 进行中
- 已完成
+ 未开始
+ 进行中
+ 已完成
-
+
+ order by create_time desc
@@ -102,7 +103,7 @@ service_fee_statistics,service_fee_limit,status,create_name,create_time
select
id,deduction_rate,payment_amount,likely_transaction_volume,service_fee_statistics,service_fee_limit,status
from dept_service_fee_info
- where dept_id = #{deptId}
+ where dept_id = #{deptId} and status = 1
diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/deptPay/service/impl/DeptPriceInfoServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/deptPay/service/impl/DeptPriceInfoServiceImpl.java
index 6ca3369f2..7de8a3d3b 100644
--- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/deptPay/service/impl/DeptPriceInfoServiceImpl.java
+++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/deptPay/service/impl/DeptPriceInfoServiceImpl.java
@@ -92,7 +92,7 @@ public class DeptPriceInfoServiceImpl implements DeptPriceInfoService {
}
AccountInfo nowAccountInfo = TokenUtil.getNowAccountInfo();
deptPriceInfo.setCreateName(nowAccountInfo.getRealName());
- deptPriceInfo.setDeptId(nowAccountInfo.getDeptId());
+ deptPriceInfo.setDeptId(deptPriceInfo.getDeptId());
boolean isValid = isDateInRange(deptPriceInfo.getSystemValidityPeriodStart(),deptPriceInfo.getSystemValidityPeriodEnd());
@@ -113,14 +113,14 @@ public class DeptPriceInfoServiceImpl implements DeptPriceInfoService {
*/
@Override
public DeptPriceInfo update(DeptPriceInfo deptPriceInfo) {
- int countByTime = getCountByTime(deptPriceInfo);
- if (countByTime>0) {
- throw new RuntimeException("该时间段已有数据");
- }
+ // int countByTime = getCountByTime(deptPriceInfo);
+ // if (countByTime>0) {
+ // throw new RuntimeException("该时间段已有数据");
+ // }
boolean isValid = isDateInRange(deptPriceInfo.getSystemValidityPeriodStart(),deptPriceInfo.getSystemValidityPeriodEnd());
if (isValid) {
- deptPriceInfo.setStatus(1);
+ deptPriceInfo.setStatus(0);
deptPriceInfoMapper.updateStatus(deptPriceInfo);
}
this.deptPriceInfoMapper.update(deptPriceInfo);
diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/deptPay/service/impl/DeptServiceFeeInfoServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/deptPay/service/impl/DeptServiceFeeInfoServiceImpl.java
index d329d9309..9f0f58ac2 100644
--- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/deptPay/service/impl/DeptServiceFeeInfoServiceImpl.java
+++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/deptPay/service/impl/DeptServiceFeeInfoServiceImpl.java
@@ -132,6 +132,7 @@ public class DeptServiceFeeInfoServiceImpl implements DeptServiceFeeInfoService
*/
@Override
public DeptServiceFeeInfo update(DeptServiceFeeInfo deptServiceFeeInfo) {
+ deptServiceFeeInfo.setStatus(0);
this.deptServiceFeeInfoMapper.update(deptServiceFeeInfo);
return this.queryById(deptServiceFeeInfo.getId());
}