diff --git a/src/views/em/equipment.vue b/src/views/em/equipment.vue
index c96e9958..05337b33 100644
--- a/src/views/em/equipment.vue
+++ b/src/views/em/equipment.vue
@@ -7,8 +7,11 @@
+ :show-all-levels="false" @change="handleQuery" style="width:180px">
+
+
+
@@ -38,7 +41,7 @@
-
+
@@ -195,6 +198,7 @@ export default {
data() {
return {
runningStateEnum,
+ cateOptions:[],
deptOptions: [],
dialog: {
save: false,
@@ -247,9 +251,16 @@ export default {
};
},
mounted() {
- this.getDept()
+ this.getDept();
+ this.getCateOptions();
},
methods: {
+ getCateOptions() {
+ let that = this;
+ that.$API.em.ecate.list.req({page:0,type:10}).then(res => {
+ that.cateOptions = res;
+ })
+ },
//表格选择后回调事件
selectionChange(selection) {
this.selectiones = selection;