seimin 2 years ago
parent
commit
194a9dfd21
1 changed files with 8 additions and 8 deletions
  1. 8 8
      tools/photograph.js

+ 8 - 8
tools/photograph.js

@@ -64,7 +64,7 @@ export function photographTool(data, deptObj) {
64 64
                       // 转运,扫描患者腕带码
65 65
                       if (gdStateValue_seimin == 4) { //转运待到达
66 66
                         post('/workerOrder/handleTrans', {
67
-                          "code": result.patientCode,
67
+                          "code": result.patientBarCode,
68 68
                           "ids": [id_seimin]
69 69
                         }).then(result1 => {
70 70
                           console.log(result1);
@@ -92,7 +92,7 @@ export function photographTool(data, deptObj) {
92 92
                         })
93 93
                       } else if (gdStateValue_seimin == 5) { //转运待送达
94 94
                         post('/workerOrder/handleTrans', {
95
-                          "code": result.patientCode,
95
+                          "code": result.patientBarCode,
96 96
                           "ids": [id_seimin],
97 97
                           "type": deptObj.infoType,
98 98
                           "deptCode": deptObj.DEPTCode,
@@ -122,7 +122,7 @@ export function photographTool(data, deptObj) {
122 122
                       if (gdStateValue_seimin == 4) { //陪检待到达
123 123
                         console.log('怎么了')
124 124
                         post('/workerOrder/handleIns', {
125
-                          "code": result.patientCode,
125
+                          "code": result.patientBarCode,
126 126
                           "ids": [id_seimin]
127 127
                         }).then(result1 => {
128 128
                           console.log(result1);
@@ -150,7 +150,7 @@ export function photographTool(data, deptObj) {
150 150
                         })
151 151
                       } else if (gdStateValue_seimin == 5 || gdStateValue_seimin == 8) { //陪检待送达,执行中
152 152
                         post('/workerOrder/handleIns', {
153
-                          "code": result.patientCode,
153
+                          "code": result.patientBarCode,
154 154
                           "ids": [id_seimin],
155 155
                           "type": deptObj.infoType,
156 156
                           "deptCode": deptObj.DEPTCode,
@@ -239,7 +239,7 @@ export function photographTool(data, deptObj) {
239 239
                 // 转运,扫描患者腕带码
240 240
                 if (gdStateValue_seimin == 4) { //转运待到达
241 241
                   post('/workerOrder/handleTrans', {
242
-                    "code": result.patientCode,
242
+                    "code": result.patientBarCode,
243 243
                     "ids": [id_seimin]
244 244
                   }).then(result1 => {
245 245
                     console.log(result1);
@@ -267,7 +267,7 @@ export function photographTool(data, deptObj) {
267 267
                   })
268 268
                 } else if (gdStateValue_seimin == 5) { //转运待送达
269 269
                   post('/workerOrder/handleTrans', {
270
-                    "code": result.patientCode,
270
+                    "code": result.patientBarCode,
271 271
                     "ids": [id_seimin],
272 272
                     "type": deptObj.infoType,
273 273
                     "deptCode": deptObj.DEPTCode,
@@ -297,7 +297,7 @@ export function photographTool(data, deptObj) {
297 297
                 if (gdStateValue_seimin == 4) { //陪检待到达
298 298
                   console.log('怎么了')
299 299
                   post('/workerOrder/handleIns', {
300
-                    "code": result.patientCode,
300
+                    "code": result.patientBarCode,
301 301
                     "ids": [id_seimin]
302 302
                   }).then(result1 => {
303 303
                     console.log(result1);
@@ -325,7 +325,7 @@ export function photographTool(data, deptObj) {
325 325
                   })
326 326
                 } else if (gdStateValue_seimin == 5 || gdStateValue_seimin == 8) { //陪检待送达,执行中
327 327
                   post('/workerOrder/handleIns', {
328
-                    "code": result.patientCode,
328
+                    "code": result.patientBarCode,
329 329
                     "ids": [id_seimin],
330 330
                     "type": deptObj.infoType,
331 331
                     "deptCode": deptObj.DEPTCode,