部门执行预算分月度季度统计、进展率85%才能保存

master
xy 2 years ago
parent c7b5940d38
commit 784ecdd152

@ -8,7 +8,7 @@
<div slot="content"></div>
<slot>
<span>
<el-switch v-model="type" :active-value="1" :inactive-value="2" active-text="季度" inactive-text="月度"></el-switch>
<el-switch v-model="select.type" :active-value="1" :inactive-value="2" active-text="季度" inactive-text="月度" @change="getList"></el-switch>
</span>
<span style="padding: 0 6px;word-break: keep-all;">年份</span>
<span>
@ -57,7 +57,7 @@ import { departmentMoney } from "@/api/static";
export default {
data() {
return {
type: 1,
loading: false,
select: {
type: 1,//12
page: 1,
@ -78,7 +78,7 @@ export default {
},
async getList() {
this.select.type = this.type;
this.list = [];
const res = await departmentMoney(this.select);
this.list = res;
this.$refs['xyTable'].doLayout()

Loading…
Cancel
Save