瀏覽代碼

接口修改

seimin 3 年之前
父節點
當前提交
3b36eb00b0
共有 2 個文件被更改,包括 4 次插入0 次删除
  1. 3 0
      pages/patientInformationList/patientInformationList.vue
  2. 1 0
      pages/scanning_ins/scanning_ins.vue

+ 3 - 0
pages/patientInformationList/patientInformationList.vue

@@ -83,6 +83,7 @@
83 83
   export default {
84 84
     data() {
85 85
       return {
86
+        hosId: uni.getStorageSync("userData").user.currentHospital.id,
86 87
         // 选中的患者项
87 88
         currentItem: {},
88 89
         // 送回病房弹窗model
@@ -126,6 +127,7 @@
126 127
         let userId = uni.getStorageSync("userData").user.id;
127 128
         let postData = {
128 129
           "workOrder": {
130
+            "hosId": this.hosId,
129 131
             "startDept": {
130 132
               "id": this.options.did
131 133
             },
@@ -138,6 +140,7 @@
138 140
             }
139 141
           }
140 142
         };
143
+        console.log(postData)
141 144
         post("/workerOrder/returnSickRoom", postData).then((res) => {
142 145
           uni.hideLoading();
143 146
           if (res.status == 200) {

+ 1 - 0
pages/scanning_ins/scanning_ins.vue

@@ -278,6 +278,7 @@
278 278
         let userId = uni.getStorageSync("userData").user.id;
279 279
         let postData = {
280 280
           "workOrder": {
281
+            "hosId": this.hosId,
281 282
             "startDept": {
282 283
               "id": this.options.id
283 284
             },