This commit is contained in:
2025-03-11 19:40:34 +08:00
parent ec49bcfa8b
commit 0c644ac349
2 changed files with 23 additions and 18 deletions
@@ -170,7 +170,7 @@ layout("/layouts/platform.html"){
</div>
<script>
new Vue({
const vue = new Vue({
el: "#app",
mixins: [initTableMixins],
data() {
@@ -196,7 +196,7 @@ layout("/layouts/platform.html"){
unionForm: {
year: new Date().getFullYear() + ""
},
paymentProjectList:[],
paymentProjectList: []
}
},
methods: {
@@ -231,9 +231,6 @@ layout("/layouts/platform.html"){
autoRotate: false
}
},
color: ({ type }) => {
return "#63DAAB"
},
meta: {
projectName: {
alias: "项目"
@@ -274,9 +271,6 @@ layout("/layouts/platform.html"){
autoRotate: false
}
},
color: ({ type }) => {
return "#63DAAB"
},
meta: {
projectName: {
alias: "项目"
@@ -311,7 +305,7 @@ layout("/layouts/platform.html"){
autoFit: true,
title: {
visible: true,
text: "年工会经费及活动详情"
text: ""
},
description: {
visible: true,
@@ -361,7 +355,7 @@ layout("/layouts/platform.html"){
const resp = await $.get("/platform/member/payment/project/getAllProject", { year: this.unionForm.year })
if (resp.code === 0) {
this.paymentProjectList = resp.data
this.$set(this.unionForm, "paymentProjectId", this.paymentProjectList ? this.paymentProjectList[0].id : null)
this.$set(this.unionForm, "paymentProjectId", (this.paymentProjectList && this.paymentProjectList.length > 0) ? this.paymentProjectList[0].id : null)
await this.allUnionMoney()
}
}