党费缴纳

This commit is contained in:
liuye
2023-10-26 13:58:40 +08:00
parent 8b0650641e
commit 2d74465cf7

View File

@@ -101,6 +101,7 @@
</template> </template>
<script> <script>
import {mapState} from 'vuex'
export default { export default {
name: 'AppPartyPayment', name: 'AppPartyPayment',
label: '党费缴纳', label: '党费缴纳',
@@ -110,8 +111,6 @@
}, },
data () { data () {
return { return {
today: '',
date: '',
search: { search: {
current: 1, current: 1,
size: 10, size: 10,
@@ -165,11 +164,12 @@
ymd: [{ required: true, message: '请选择缴纳月份', trigger: 'change'}], ymd: [{ required: true, message: '请选择缴纳月份', trigger: 'change'}],
amount: [{ required: true, message: '请输入金额', trigger: 'blur'}], amount: [{ required: true, message: '请输入金额', trigger: 'blur'}],
} }
} },
...mapState(['user']),
}, },
created () { created () {
// this.topOrgId = this.user.info.organizationId; this.topOrgId = this.user.info.organizationId
this.dict.load('zhishengPartyFeeRecordStatus').then(() => { this.dict.load('zhishengPartyFeeRecordStatus').then(() => {
this.getList() this.getList()
}) })
@@ -216,6 +216,7 @@
this.instance.post(`/app/appdfjnzhisheng/addOrUpdate`, {...this.form}).then((res) => { this.instance.post(`/app/appdfjnzhisheng/addOrUpdate`, {...this.form}).then((res) => {
if (res.code == 0) { if (res.code == 0) {
this.$message.success(this.dialogTitle == '编辑党费信息' ? "编辑成功" : "新增成功"); this.$message.success(this.dialogTitle == '编辑党费信息' ? "编辑成功" : "新增成功");
this.$refs.form.resetFields()
this.dialog = false this.dialog = false
this.getListInit() this.getListInit()
this.getTotal() this.getTotal()