项目内容 :
@@ -314,6 +340,7 @@ export default {
form: {
name: "",
+ department_id: this.$store.state.user.info?.department_id,
content: "",
plan_money: "",
public_plane_date: "",
diff --git a/src/views/statisticalReport/govProcure.vue b/src/views/statisticalReport/govProcure.vue
index 5b8a1a3..584b360 100644
--- a/src/views/statisticalReport/govProcure.vue
+++ b/src/views/statisticalReport/govProcure.vue
@@ -7,6 +7,25 @@
>
+ 科室
+
+
+
+
+
+
+
关键字
import addGovPlane from "@/views/statisticalReport/components/addGovPlane.vue";
import { index, destroy } from "@/api/govPlane";
+import {listdeptNoAuth} from "@/api/system/department";
export default {
components: {
addGovPlane,
@@ -77,7 +97,9 @@ export default {
data() {
return {
type: -1,//0为业务员1财审
+ departments: [],
select: {
+ department_id: '',
page: 1,
page_size: 10,
keyword: "",
@@ -193,6 +215,13 @@ export default {
this.list = res.data;
},
+ //获取科室
+ getDepartment() {
+ listdeptNoAuth().then((res) => {
+ this.departments = res;
+ });
+ },
+
destroy (row) {
destroy({ id: row.id }).then(res => {
this.$message({
@@ -205,6 +234,7 @@ export default {
},
computed: {},
created() {
+ this.getDepartment();
this.getList();
},
beforeRouteEnter (to, from , next) {