diff --git a/src/components/ehsSelect/userselect.vue b/src/components/ehsSelect/userselect.vue
index b4db3a80..73e26379 100644
--- a/src/components/ehsSelect/userselect.vue
+++ b/src/components/ehsSelect/userselect.vue
@@ -79,13 +79,7 @@
-
-
- {{
- scope.row.belong_dept_.name
- }}
-
-
+
{{userTypeOptions[scope.row.type]}}
diff --git a/src/views/opm/operation_form.vue b/src/views/opm/operation_form.vue
index 3e3f5c91..a6958c8a 100644
--- a/src/views/opm/operation_form.vue
+++ b/src/views/opm/operation_form.vue
@@ -55,7 +55,7 @@
-
+
-
-
-
+
+
@@ -213,19 +207,27 @@ export default {
this.areaoptions = res;
});
},
- dept1Change(val) {
- // 业务部门变化
- this.$API.system.user.list.req({ page: 0, belong_dept: val }).then((res) => {
-
- this.coordinatoroptions = res;
- });
+ areaChange(val) {
+ this.form.area = val
+ this.getVchannels()
},
+ // dept1Change(val) {
+ // // 业务部门变化
+ // this.$API.system.user.list.req({ page: 0, belong_dept: val }).then((res) => {
+
+ // this.coordinatoroptions = res;
+ // });
+ // },
getVchannels(){
- this.$API.third.tdevice.list.req({ type: 60, page: 0 }).then((res) => {
+ this.$API.third.tdevice.list.req({ type: 60, page: 0, area: this.form.area }).then((res) => {
this.vchannelOptions = res;
});
},
-
+ getUser(data) {
+ // 子组件调用父组件的方法并传参
+ this.form.coordinator=data.id;
+ this.form.coordinator_name=data.name
+ },
//显示
open(mode = "add") {
this.mode = mode;