28169 il y a 1 an
Parent
révision
8de230076b

+ 17 - 7
src/xt_pages/data/components/addInspection.vue Voir le fichier

@@ -79,6 +79,13 @@
79 79
             </el-option>
80 80
           </el-select>
81 81
         </el-form-item>
82
+        <el-form-item label="排序 : " prop="sort" style="width: 50%">
83
+          <el-input
84
+            v-model="form.sort"
85
+            placeholder=""
86
+            maxlength="30"
87
+          ></el-input>
88
+        </el-form-item>
82 89
         <el-form-item label="备注 : " prop="name" style="width: 100%">
83 90
           <el-input
84 91
             type="textarea"
@@ -219,6 +226,7 @@ export default {
219 226
         remark: "",
220 227
         project_detail: "",
221 228
         number: "1",
229
+        sort:0,
222 230
       },
223 231
       options: [
224 232
         { value: 1, label: "是" },
@@ -306,6 +314,7 @@ export default {
306 314
           tube_color: this.form.tube_color,
307 315
           team_type: this.form.team_type,
308 316
           remark: this.form.remark,
317
+          sort:parseInt(this.form.sort),
309 318
         };
310 319
         let data = {
311 320
           info: this.tableData,
@@ -316,15 +325,16 @@ export default {
316 325
            
317 326
             this.$message.success("保存成功");
318 327
             this.visible = false;
319
-            (this.form.project_team = ""),
320
-              (this.form.price = ""),
321
-              (this.form.pinyin = ""),
322
-              (this.form.wubi = ""),
323
-              (this.form.tube_color = ""),
324
-              (this.form.team_type = ""),
325
-              (this.form.remark = "");
328
+            this.form.project_team = "",
329
+            this.form.price = "",
330
+            this.form.pinyin = "",
331
+            this.form.wubi = "",
332
+            this.form.tube_color = "",
333
+            this.form.team_type = "",
334
+            this.form.remark = "";
326 335
             this.tableData = [];
327 336
             this.form.number = "";
337
+            this.form.sort = ""
328 338
             this.$parent.getlist();
329 339
           } else {
330 340
             this.$message.error("项目组套名称已存在!");

+ 15 - 5
src/xt_pages/data/components/diagnoseOther.vue Voir le fichier

@@ -64,6 +64,12 @@
64 64
               </template>
65 65
             </el-table-column>
66 66
 
67
+            <el-table-column label="排序" align="center">
68
+              <template slot-scope="scope">
69
+                {{ scope.row.sort }}
70
+              </template>
71
+            </el-table-column>
72
+
67 73
             <el-table-column label="备注" align="center">
68 74
               <template slot-scope="scope">
69 75
                 {{ scope.row.remark }}
@@ -164,7 +170,8 @@
164 170
             country_content_name: '',
165 171
             remark: '',
166 172
             pinyin: '',
167
-            wubi: ''
173
+            wubi: '',
174
+            sort:0,
168 175
 
169 176
           },
170 177
           resetForm: {
@@ -205,7 +212,7 @@
205 212
               response.data.data.sick.pinyin
206 213
             this.Dialog.formValue.wubi =
207 214
               response.data.data.sick.wubi
208
-
215
+            this.Dialog.formValue.sort = response.data.data.sick.sort
209 216
             this.Dialog.isCreated = 2
210 217
             this.$refs.dialog.show()
211 218
 
@@ -258,7 +265,8 @@
258 265
               response.data.data.sick.pinyin
259 266
             this.Dialog.formValue.wubi =
260 267
               response.data.data.sick.wubi
261
-
268
+            this.Dialog.formValue.sort =
269
+              response.data.data.sick.sort
262 270
             this.Dialog.isCreated = 3
263 271
             this.Dialog.isVisibility = true
264 272
           }
@@ -277,8 +285,8 @@
277 285
             remark: val.remark,
278 286
             id: this.editId,
279 287
             pinyin: val.pinyin,
280
-            wubi: val.wubi
281
-
288
+            wubi: val.wubi,
289
+            sort:parseInt(val.sort)
282 290
           }
283 291
           modifyDiagnose(params).then(response => {
284 292
             if (response.data.state == 0) {
@@ -301,6 +309,8 @@
301 309
                 response.data.data.sick.pinyin
302 310
               this.manufacturerData[this.editIndex].wubi =
303 311
                 response.data.data.sick.wubi
312
+              this.manufacturerData[this.editIndex].sort =
313
+                response.data.data.sick.sort
304 314
 
305 315
               this.$message.success('修改成功')
306 316
             }

+ 8 - 1
src/xt_pages/data/components/diagnoseOtherDialog.vue Voir le fichier

@@ -41,6 +41,12 @@
41 41
             <el-input v-model="formValue.country_content_name"></el-input>
42 42
           </el-form-item>
43 43
         </el-col>
44
+
45
+        <el-col :span="8">
46
+          <el-form-item label="排序" prop="">
47
+            <el-input v-model="formValue.sort"></el-input>
48
+          </el-form-item>
49
+        </el-col>
44 50
       </el-row>
45 51
 
46 52
       <el-col>
@@ -78,7 +84,8 @@
78 84
           country_content_name: '',
79 85
           remark: '',
80 86
           pinyin: '',
81
-          wubi: ''
87
+          wubi: '',
88
+          sort:0,
82 89
 
83 90
         },
84 91
         resetForm: {

+ 4 - 0
src/xt_pages/data/components/diagnosis.vue Voir le fichier

@@ -72,6 +72,10 @@
72 72
                 {{ scope.row.country_content_name }}
73 73
               </template>
74 74
             </el-table-column>
75
+            
76
+           
77
+
78
+        
75 79
 
76 80
             <el-table-column label="备注" align="center">
77 81
               <template slot-scope="scope">

+ 12 - 2
src/xt_pages/data/components/editInspection.vue Voir le fichier

@@ -41,6 +41,13 @@
41 41
                         </el-option>
42 42
                     </el-select>
43 43
                 </el-form-item>
44
+                <el-form-item label="排序 : " prop="sort" style="width: 50%">
45
+                  <el-input
46
+                    v-model="form.sort"
47
+                    placeholder=""
48
+                    maxlength="30"
49
+                  ></el-input>
50
+                </el-form-item>
44 51
                 <el-form-item label="备注 : " prop="name" style="width:100%;">
45 52
                     <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="form.remark"></el-input>
46 53
                 </el-form-item>
@@ -145,7 +152,8 @@
145 152
           remark: '',
146 153
           project_detail: '',
147 154
           number: '',
148
-          item_id: ''
155
+          item_id: '',
156
+          sort:'',
149 157
         },
150 158
         options: [{
151 159
           value: 1,
@@ -285,6 +293,7 @@
285 293
             this.form.pinyin = projectTeamDetail.pinyin
286 294
             this.form.wubi = projectTeamDetail.wubi
287 295
             this.form.tube_color = projectTeamDetail.tube_color
296
+            this.form.sort = projectTeamDetail.sort
288 297
             if (projectTeamDetail.tube_color == 0) {
289 298
               this.form.tube_color = ''
290 299
             }
@@ -316,7 +325,8 @@
316 325
               wubi: this.form.wubi,
317 326
               tube_color: this.form.tube_color,
318 327
               team_type: this.form.team_type,
319
-              remark: this.form.remark
328
+              remark: this.form.remark,
329
+              sort:parseInt(this.form.sort)
320 330
             }
321 331
             let data = {
322 332
               'info': arr

+ 5 - 0
src/xt_pages/data/components/inspection.vue Voir le fichier

@@ -42,6 +42,11 @@
42 42
                    {{scope.row.price}}
43 43
                 </template>
44 44
             </el-table-column>
45
+            <el-table-column label="排序" width="100" align="center">
46
+                <template slot-scope="scope">
47
+                   {{scope.row.sort}}
48
+                </template>
49
+            </el-table-column>
45 50
             <el-table-column prop="date" label="备注" align="center">
46 51
                 <template slot-scope="scope">
47 52
                    {{scope.row.remark}}

+ 40 - 1
src/xt_pages/device/objectTableDisinfectTwo.vue Voir le fichier

@@ -1320,8 +1320,47 @@
1320 1320
                 }else{
1321 1321
                     this.form.last_modifications = 0
1322 1322
                 }
1323
+
1324
+                if(this.form.first_start_time == null){
1325
+                   this.form.first_start_time = ""
1326
+                }
1327
+
1328
+                if(this.form.first_end_time == null){
1329
+                   this.form.first_end_time = ""
1330
+                }
1331
+
1332
+                if(this.form.sencond_start_time == null){
1333
+                   this.form.sencond_start_time = ""
1334
+                }
1335
+
1336
+                if(this.form.sencond_end_time == null){
1337
+                   this.form.sencond_end_time = ""
1338
+                }
1339
+
1340
+                if(this.form.third_start_time == null){
1341
+                   this.form.third_start_time = ""
1342
+                }
1343
+
1344
+                if(this.form.third_end_time == null){
1345
+                   this.form.third_end_time = ""
1346
+                }
1347
+
1348
+                if(this.form.fourth_start_time == null){
1349
+                   this.form.fourth_start_time = ""
1350
+                }
1351
+
1352
+                if(this.form.fourth_end_time == null){
1353
+                   this.form.fourth_end_time = ""
1354
+                }
1323 1355
               
1324
-              
1356
+                if(this.form.last_start_time == null){
1357
+                   this.form.last_start_time = ""
1358
+                }
1359
+
1360
+                if(this.form.last_end_time == null){
1361
+                   this.form.last_end_time = ""
1362
+                }
1363
+               console.log("param23333333333333333",this.form)
1325 1364
                
1326 1365
               saveObjectTableDisinfect(this.form).then(response=>{
1327 1366
                  if(response.data.state == 1){

+ 1 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue Voir le fichier

@@ -2611,7 +2611,7 @@ export default {
2611 2611
         "/dialysis/print?xtdate=" +
2612 2612
           xtdate +
2613 2613
           "&xtno=" +
2614
-          schedual.patient.dialysis_no
2614
+          schedual.patient.dialysis_no+"&patient_id="+schedual.patient.id
2615 2615
       );
2616 2616
       //   this.patient_id = schedual.patient_id;
2617 2617
       //   this.date = schedual.schedule_date;

+ 8 - 2
src/xt_pages/dialysis/signPrint.vue Voir le fichier

@@ -302,6 +302,8 @@ export default {
302 302
                    }
303 303
                   }
304 304
                   for(let i=0;i<schedules.length;i++){
305
+                    schedules[i].sort = 0
306
+                    schedules[i].sort = schedules[i].device_number.sort
305 307
                     for(let j=0;j<schedules[i].parent_advice.length;j++){
306 308
                       schedules[i].parent_advice[j].childAdvice = []
307 309
                       for(let z=0;z<schedules[i].doctor_advice.length;z++){
@@ -312,7 +314,7 @@ export default {
312 314
                     }
313 315
                   }
314 316
                   console.log("scheduleMap999999999999",schedules)
315
-                  this.list = schedules
317
+                  this.list = schedules.sort(this.compare('sort'))
316 318
                 }
317 319
                
318 320
                  if(config.is_open == 1){
@@ -481,6 +483,8 @@ export default {
481 483
                   }
482 484
 
483 485
                   for(let i=0;i<schedules.length;i++){
486
+                    schedules[i].sort = 0
487
+                    schedules[i].sort = schedules[i].device_number.sort
484 488
                     for(let j=0;j<schedules[i].parent_advice.length;j++){
485 489
                       schedules[i].parent_advice[j].childAdvice = []
486 490
                       for(let z=0;z<schedules[i].doctor_advice.length;z++){
@@ -490,7 +494,9 @@ export default {
490 494
                       }
491 495
                     }
492 496
                   }
493
-                   this.list = schedules
497
+                  console.log("哈哈哈",schedules)
498
+                   this.list = schedules.sort(this.compare('sort'))
499
+                 
494 500
                    this.scheduleMap = scheduleMap  
495 501
                  }
496 502
                 console.log("this.list",this.list)

+ 1 - 1
src/xt_pages/dialysis/template/dialysisPrintOrderTwelve.vue Voir le fichier

@@ -1932,7 +1932,7 @@ export default {
1932 1932
     },
1933 1933
     getDialysisRecord() {
1934 1934
       this.loading = true;
1935
-
1935
+      this.queryParams.patient_id = parseInt(this.$route.query.patient_id)
1936 1936
       getDialysisRecord(this.queryParams).then((response) => {
1937 1937
         if (response.data.state === 1) {
1938 1938
           this.total = response.data.data.total;

+ 1 - 1
src/xt_pages/hospitalStation/checkTemplate/printOne.vue Voir le fichier

@@ -19,7 +19,7 @@
19 19
                     </div>
20 20
                     <div>年龄:{{advicePrint[0].patient.age?advicePrint[0].patient.age:""}}岁</div>
21 21
                 </div>
22
-                <div style="margin-bottom:20px;padding:10px 10px 0;">病史摘要:{{history.history_of_present_illness?history.history_of_present_illness:''}}</div>
22
+                <div style="margin-bottom:20px;padding:10px 10px 0;" v-if="org_id!=10138&&org_id!=10278 && org_id!=0">病史摘要:{{history.history_of_present_illness?history.history_of_present_illness:''}}</div>
23 23
                 <!-- <div style="margin-bottom:20px;padding:0 10px;">体格检查:
24 24
                     <span>体温:{{ history.temperature ? history.temperature + '℃' : '/' }}</span>
25 25
                     <span>脉搏:{{ history.pulse ? history.pulse + '次/分' : '/' }}</span>

+ 1 - 1
src/xt_pages/hospitalStation/components/dialysisIndex.vue Voir le fichier

@@ -808,7 +808,7 @@ export default {
808 808
     printOrder() {
809 809
       var xtdate = parseTime(this.date, '{y}-{m}-{d}')
810 810
       this.$router.push(
811
-        '/dialysis/print?xtdate=' + xtdate + '&xtno=' + this.patient.dialysis_no
811
+        '/dialysis/print?xtdate=' + xtdate + '&xtno=' + this.patient.dialysis_no+"&patient_id="+this.patient.id
812 812
       )
813 813
     },
814 814
     processedDialysisSchedules: function(schedules, zone_options) {

+ 5 - 5
src/xt_pages/management/home.vue Voir le fichier

@@ -2017,7 +2017,7 @@
2017 2017
                              </el-row>
2018 2018
                               <el-row>
2019 2019
                                 <el-col :span="24">
2020
-                                 <el-form-item label="检测结果:(EU/ml)" label-width="100px">
2020
+                                 <el-form-item label="检测结果:(ppm)" label-width="100px">
2021 2021
                                      <el-input
2022 2022
                                         type="textarea"
2023 2023
                                         :rows="2"
@@ -2102,7 +2102,7 @@
2102 2102
                                 <el-row>
2103 2103
                                   <el-col :span="8">
2104 2104
                                     <el-form-item label="取样者:" required prop="samplerb">
2105
-                                        <el-select style="width:150px"  v-model="qualityFormSix.samplerb">
2105
+                                        <el-select style="width:150px"  v-model="qualityFormSix.samplerb" filterable >
2106 2106
                                           <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
2107 2107
                                         </el-select>
2108 2108
                                     </el-form-item>
@@ -2144,7 +2144,7 @@
2144 2144
                               </el-row>
2145 2145
                                 <el-row>
2146 2146
                                   <el-col :span="24">
2147
-                                  <el-form-item label="检测结果:(EU/ml)" label-width="100px">
2147
+                                  <el-form-item label="检测结果:(Mg/L)" label-width="100px">
2148 2148
                                       <el-input
2149 2149
                                           type="textarea"
2150 2150
                                           :rows="2"
@@ -2228,7 +2228,7 @@
2228 2228
                               <el-row>
2229 2229
                                 <el-col :span="8">
2230 2230
                                    <el-form-item label="取样者:" required prop="samplerb">
2231
-                                      <el-select style="width:150px"  v-model="qualityFormSeven.samplerb">
2231
+                                      <el-select style="width:150px"  v-model="qualityFormSeven.samplerb" filterable >
2232 2232
                                         <el-option v-for="item in sampling" :key="item.addmin_user_id" :label="item.user_name" :value="item.admin_user_id"></el-option>
2233 2233
                                       </el-select>
2234 2234
                                    </el-form-item>
@@ -2270,7 +2270,7 @@
2270 2270
                              </el-row>
2271 2271
                               <el-row>
2272 2272
                                 <el-col :span="24">
2273
-                                 <el-form-item label="检测结果:(EU/ml)" label-width="100px">
2273
+                                 <el-form-item label="检测结果:" label-width="100px">
2274 2274
                                      <el-input
2275 2275
                                         type="textarea"
2276 2276
                                         :rows="2"

+ 1 - 1
src/xt_pages/outpatientCharges/print.vue Voir le fichier

@@ -794,7 +794,7 @@ export default {
794 794
               console.log(schedual)
795 795
               var xtdate = parseTime(schedual.schedule_date, '{y}-{m}-{d}')
796 796
               this.$router.push(
797
-                '/dialysis/print?xtdate=' + xtdate + '&xtno=' + schedual.patient.dialysis_no
797
+                '/dialysis/print?xtdate=' + xtdate + '&xtno=' + schedual.patient.dialysis_no+"&patient_id="+schedual.patient.id
798 798
               )
799 799
             //   this.patient_id = schedual.patient_id;
800 800
             //   this.date = schedual.schedule_date;

+ 1 - 1
src/xt_pages/outpatientDoctorStation/checkTemplate/printOne.vue Voir le fichier

@@ -69,7 +69,7 @@
69 69
           <div>年龄:{{getAge(advicePrint[0].patient)?getAge(advicePrint[0].patient):""}}岁</div>
70 70
 
71 71
         </div>
72
-        <div style="margin-bottom: 20px; padding: 10px 10px 0">
72
+        <div style="margin-bottom: 20px; padding: 10px 10px 0" v-if="org_id!=10278 && org_id!=10138 && org_id!=0">
73 73
           病史摘要:{{
74 74
             history.history_of_present_illness
75 75
               ? history.history_of_present_illness

+ 16 - 2
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Voir le fichier

@@ -1893,7 +1893,7 @@
1893 1893
 
1894 1894
       },
1895 1895
       setData(data, info, admin_info, doctors, department, hisPatientInfo, month_data, last_info,sick,diagnoses) {
1896
-
1896
+        console.log("诊断23333333333333",this.diagnose)
1897 1897
         this.sick = sick
1898 1898
         this.diagnoses = diagnoses
1899 1899
         this.department = department
@@ -2004,7 +2004,7 @@
2004 2004
 
2005 2005
 
2006 2006
         this.diagnose = []
2007
-
2007
+        console.log("处方----------------------------------------------",info.id)
2008 2008
         if (info.id == 0) {
2009 2009
           if (last_info.diagnosis.length == 0) {
2010 2010
             this.diagnose = []
@@ -2022,6 +2022,20 @@
2022 2022
             this.state2 = last_info.sick_history
2023 2023
           }
2024 2024
 
2025
+          if(this.org_id == 0 || this.org_id == 10138){
2026
+             this.diagnose = []
2027
+             this.diagnose.push(24)
2028
+             this.diagnose.push(85)
2029
+             this.diagnose.push(252)
2030
+          }
2031
+
2032
+          if(this.org_id == 10278){
2033
+             this.diagnose = []
2034
+             this.diagnose.push(203)
2035
+             this.diagnose.push(309)
2036
+             this.diagnose.push(202)
2037
+          }
2038
+
2025 2039
         } else {
2026 2040
           this.state2 = info.sick_history
2027 2041
           if (this.state2 == 0) {

+ 1 - 1
src/xt_pages/outpatientDoctorStation/components/dialysisIndex.vue Voir le fichier

@@ -819,7 +819,7 @@ export default {
819 819
     printOrder() {
820 820
       var xtdate = parseTime(this.date, '{y}-{m}-{d}')
821 821
       this.$router.push(
822
-        '/dialysis/print?xtdate=' + xtdate + '&xtno=' + this.patient.dialysis_no
822
+        '/dialysis/print?xtdate=' + xtdate + '&xtno=' + this.patient.dialysis_no+"&patient_id="+this.patient.id
823 823
       )
824 824
     },
825 825
     processedDialysisSchedules: function(schedules, zone_options) {

+ 16 - 1
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Voir le fichier

@@ -1431,13 +1431,27 @@ export default {
1431 1431
 
1432 1432
           this.department = response.data.data.department
1433 1433
           this.sick = response.data.data.sick
1434
-          this.diagnoses = response.data.data.diagnose
1434
+          var diagnoses = response.data.data.diagnose
1435
+          console.log("hhhhhshshsh",diagnoses.sort(this.compare('sort')))
1436
+          if(diagnoses!=null && diagnoses.length > 0){
1437
+            this.diagnoses = diagnoses.sort(this.compare('sort'))
1438
+          }else{
1439
+            this.diagnoses = []
1440
+          }
1441
+         
1435 1442
           this.additions = response.data.data.additions
1436 1443
 
1437 1444
         }
1438 1445
       })
1439 1446
 
1440 1447
     },
1448
+    compare(p) { //这是比较函数
1449
+        return function (m, n) {
1450
+          var a = m[p];
1451
+          var b = n[p];
1452
+          return a - b; //升序
1453
+        }
1454
+      },
1441 1455
     getList() {
1442 1456
       let params = {
1443 1457
         'record_date': this.record_date,
@@ -2012,6 +2026,7 @@ export default {
2012 2026
                 // this.setMonthPrescription(month_prescriptions)
2013 2027
 
2014 2028
                 this.patientInfo = response.data.data.xt_info
2029
+                console.log("patientInfo++++++++++++++++",this.patientInfo)
2015 2030
                 this.hisPatientInfo = response.data.data.his_info
2016 2031
                 this.case_history = response.data.data.case_history
2017 2032