Browse Source

接口修改

seimin 3 years ago
parent
commit
3b36eb00b0

+ 3 - 0
pages/patientInformationList/patientInformationList.vue

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

+ 1 - 0
pages/scanning_ins/scanning_ins.vue

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