|
|
|
|
@ -49,10 +49,10 @@
|
|
|
|
|
<el-form-item label="标题" prop="title">
|
|
|
|
|
<el-input v-model="form.title" placeholder="请填写标题"></el-input>
|
|
|
|
|
</el-form-item>
|
|
|
|
|
<el-form-item label="月份" prop="month">
|
|
|
|
|
<el-form-item label="月份" prop="belongs_year_month">
|
|
|
|
|
<el-date-picker
|
|
|
|
|
@change="changeMonth"
|
|
|
|
|
v-model="form.month"
|
|
|
|
|
v-model="form.belongs_year_month"
|
|
|
|
|
value-format="yyyy-MM"
|
|
|
|
|
format="yyyy-MM"
|
|
|
|
|
type="month"
|
|
|
|
|
@ -106,13 +106,13 @@
|
|
|
|
|
import detail from "@/views/departmentH5/form/show.vue";
|
|
|
|
|
import {
|
|
|
|
|
categoryYears,
|
|
|
|
|
categoryTypes,
|
|
|
|
|
index as category
|
|
|
|
|
categoryTypes,
|
|
|
|
|
} from "@/api/departmentCategory"
|
|
|
|
|
import {
|
|
|
|
|
show,
|
|
|
|
|
recordStore,
|
|
|
|
|
save
|
|
|
|
|
save,
|
|
|
|
|
category
|
|
|
|
|
} from "@/api/departmentRecord"
|
|
|
|
|
import { getToken } from "@/utils/auth";
|
|
|
|
|
export default {
|
|
|
|
|
@ -184,6 +184,7 @@ export default {
|
|
|
|
|
<Button type="primary" size="small" ghost on={{
|
|
|
|
|
['click']:_ => {
|
|
|
|
|
this.$refs['show'].setId(row.id)
|
|
|
|
|
this.$refs['show'].setDepId(this.queryObj.department_id)
|
|
|
|
|
this.$refs['show'].show()
|
|
|
|
|
}
|
|
|
|
|
}}>
|
|
|
|
|
@ -210,7 +211,7 @@ export default {
|
|
|
|
|
fixed: "right",
|
|
|
|
|
label: "填报数量",
|
|
|
|
|
width: 116,
|
|
|
|
|
prop:''
|
|
|
|
|
prop:'records_count'
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
type: "add",
|
|
|
|
|
@ -220,7 +221,7 @@ export default {
|
|
|
|
|
category_id: "",
|
|
|
|
|
department_id:'',
|
|
|
|
|
title: "",
|
|
|
|
|
month:'',
|
|
|
|
|
belongs_year_month:'',
|
|
|
|
|
content: "",
|
|
|
|
|
files: "",
|
|
|
|
|
},
|
|
|
|
|
@ -235,6 +236,7 @@ export default {
|
|
|
|
|
this.queryObj = query
|
|
|
|
|
this.form.department_id = this.queryObj.department_id
|
|
|
|
|
this.select.category_type_id = this.queryObj.category_type_id
|
|
|
|
|
this.select.department_id = this.queryObj.department_id
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
getToken,
|
|
|
|
|
@ -387,7 +389,7 @@ export default {
|
|
|
|
|
category_id: "",
|
|
|
|
|
department_id:'',
|
|
|
|
|
title: "",
|
|
|
|
|
month:'',
|
|
|
|
|
belongs_year_month:'',
|
|
|
|
|
content: "",
|
|
|
|
|
files: "",
|
|
|
|
|
}
|
|
|
|
|
|