seimin 2 年之前
父节点
当前提交
43cc6f3e0f
共有 1 个文件被更改,包括 5 次插入5 次删除
  1. 5 5
      src/custom/seiminDrawer.vue

+ 5 - 5
src/custom/seiminDrawer.vue

@@ -163,7 +163,7 @@ export default {
163
       } else if (this.loginUser.branch) {
163
       } else if (this.loginUser.branch) {
164
         // 当前的所属院区
164
         // 当前的所属院区
165
         this.$http
165
         this.$http
166
-        .post("service/bpm/data/fetchDataList/incidentcategory", { idx: 0, sum: 1000, incidentcategory: { selectType: 'one', branch: this.loginUser.branch.id } })
166
+        .post("service/bpm/data/fetchDataList/incidentcategory", { idx: 0, sum: 1000, incidentcategory: { selectType: 'one' } })
167
         .then(res => {
167
         .then(res => {
168
           toast.hide();
168
           toast.hide();
169
           if (res.data.status == 200) {
169
           if (res.data.status == 200) {
@@ -194,10 +194,10 @@ export default {
194
       };
194
       };
195
     } else if (this.loginUser.branch) {
195
     } else if (this.loginUser.branch) {
196
       // 当前的所属院区
196
       // 当前的所属院区
197
-      this.selectData.hospital = this.loginUser.branch.map(v => ({
198
-        id: v.id,
199
-        hosName: v.hosName
200
-      }));
197
+      this.selectData.hospital = {
198
+        id: this.loginUser.branch.id,
199
+        hosName: this.loginUser.branch.hosName
200
+      };
201
     }
201
     }
202
   }
202
   }
203
 };
203
 };