Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 4 days ago
parent
commit
e9c1cbb9bb

+ 2 - 2
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue View File

420
         condition: "1",
420
         condition: "1",
421
         posture: "1",
421
         posture: "1",
422
         sick_condition: "1",
422
         sick_condition: "1",
423
-        danger_level: "1",
423
+        danger_level: "2",
424
         intake: "1",
424
         intake: "1",
425
         nutrition: "1",
425
         nutrition: "1",
426
         psychological_assessment: "1",
426
         psychological_assessment: "1",
483
           accepts.posture = 1
483
           accepts.posture = 1
484
           accepts.consciousness =1
484
           accepts.consciousness =1
485
           accepts.appetite =1
485
           accepts.appetite =1
486
-          accepts.danger_level=1
486
+          accepts.danger_level=2
487
           console.log("this.precaution_arr",this.precaution_arr)
487
           console.log("this.precaution_arr",this.precaution_arr)
488
           this.receiveTreatmentAsses.way =1
488
           this.receiveTreatmentAsses.way =1
489
           this.receiveTreatmentAsses.consciousness =2
489
           this.receiveTreatmentAsses.consciousness =2

+ 7 - 0
src/xt_pages/role/admin.vue View File

248
           icon="el-icon-circle-plus-outline"
248
           icon="el-icon-circle-plus-outline"
249
           style="float:left"
249
           style="float:left"
250
           @click="toCheckQuery">库存检验脚本</el-button> -->
250
           @click="toCheckQuery">库存检验脚本</el-button> -->
251
+<!-- 
252
+        <el-button
253
+          type="primary"
254
+          size="small"
255
+          icon="el-icon-circle-plus-outline"
256
+          style="float:left"
257
+          @click="toAutoDiagnose">检验</el-button>  -->
251
 
258
 
252
 
259
 
253
 
260
 

+ 4 - 1
src/xt_pages/stock/drugs/drugStockInOrderAdd.vue View File

1249
     changeText(event){
1249
     changeText(event){
1250
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1250
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1251
       if (event.key === 'Enter') {
1251
       if (event.key === 'Enter') {
1252
+        // var textarea = ""
1253
+        // textarea += this.textarea + ","
1254
+        // this.textarea = textarea
1252
         var textarea = ""
1255
         var textarea = ""
1253
-        textarea += this.textarea + ","
1256
+         textarea += this.textarea.replace(/^\s*[\r\n]|\r?\n\s*$/gm, '') + ","
1254
         this.textarea = textarea
1257
         this.textarea = textarea
1255
 
1258
 
1256
       }
1259
       }

+ 4 - 1
src/xt_pages/stock/drugs/drugStockInOrderEdit.vue View File

542
     changeText(event){
542
     changeText(event){
543
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
543
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
544
       if (event.key === 'Enter') {
544
       if (event.key === 'Enter') {
545
+        // var textarea = ""
546
+        // textarea += this.textarea + ","
547
+        // this.textarea = textarea
545
         var textarea = ""
548
         var textarea = ""
546
-        textarea += this.textarea + ","
549
+         textarea += this.textarea.replace(/^\s*[\r\n]|\r?\n\s*$/gm, '') + ","
547
         this.textarea = textarea
550
         this.textarea = textarea
548
 
551
 
549
       }
552
       }

+ 10 - 1
src/xt_pages/stock/stockInOrderAdd.vue View File

310
 
310
 
311
     <el-dialog
311
     <el-dialog
312
       title="耗材追溯码"
312
       title="耗材追溯码"
313
+       @open="openDialog"
313
       :visible.sync="dialogVisible"
314
       :visible.sync="dialogVisible"
314
       width="40%">
315
       width="40%">
315
       <span>
316
       <span>
316
         <el-input
317
         <el-input
318
+         ref="inputRef"
317
          @keyup.native="changeText"
319
          @keyup.native="changeText"
318
           type="textarea"
320
           type="textarea"
319
           placeholder="请输入内容"
321
           placeholder="请输入内容"
482
       }
484
       }
483
     },
485
     },
484
     methods: {
486
     methods: {
487
+      openDialog(){
488
+       this.$nextTick(() => {
489
+        this.$refs.inputRef.focus()
490
+       });
491
+     },
485
       handleSave: function() {
492
       handleSave: function() {
486
         if (this.recordInfo.recordData.length <= 0) {
493
         if (this.recordInfo.recordData.length <= 0) {
487
           this.$message.error('请添加入库信息')
494
           this.$message.error('请添加入库信息')
1059
      },
1066
      },
1060
      changeText(event){
1067
      changeText(event){
1061
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1068
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1069
+    
1062
       if (event.key === 'Enter') {
1070
       if (event.key === 'Enter') {
1071
+
1063
         var textarea = ""
1072
         var textarea = ""
1064
-        textarea += this.textarea + ","
1073
+         textarea += this.textarea.replace(/^\s*[\r\n]|\r?\n\s*$/gm, '') + ","
1065
         this.textarea = textarea
1074
         this.textarea = textarea
1066
 
1075
 
1067
       }
1076
       }

+ 4 - 1
src/xt_pages/stock/stockInOrderEdit.vue View File

1061
      changeText(event){
1061
      changeText(event){
1062
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1062
       // 检查是否为特定的按键,例如回车键,来确认扫码枪输入完成
1063
       if (event.key === 'Enter') {
1063
       if (event.key === 'Enter') {
1064
+        // var textarea = ""
1065
+        // textarea += this.textarea + ","
1066
+        // this.textarea = textarea
1064
         var textarea = ""
1067
         var textarea = ""
1065
-        textarea += this.textarea + ","
1068
+         textarea += this.textarea.replace(/^\s*[\r\n]|\r?\n\s*$/gm, '') + ","
1066
         this.textarea = textarea
1069
         this.textarea = textarea
1067
 
1070
 
1068
       }
1071
       }

+ 15 - 1
src/xt_pages/user/courseOfDisease_new.vue View File

1493
         var params = {
1493
         var params = {
1494
           id:this.id,
1494
           id:this.id,
1495
           patient_id:this.patient_id,
1495
           patient_id:this.patient_id,
1496
-          record_date:this.getTimeThree(this.record_date),
1496
+          record_date:"",
1497
           content:this.new_content,
1497
           content:this.new_content,
1498
           admin_user_id:this.admin_user_id,
1498
           admin_user_id:this.admin_user_id,
1499
         }
1499
         }
1500
+        if(this.id == 0){
1501
+          params.record_date = this.getTimeThree(this.record_date)
1502
+        }
1503
+        if(this.id > 0){
1504
+          params.record_date = this.record_date
1505
+        }
1500
         console.log("params",params)
1506
         console.log("params",params)
1507
+
1508
+      
1509
+
1501
         createNewCourseOfDiseaseRecord(params).then(response => {
1510
         createNewCourseOfDiseaseRecord(params).then(response => {
1502
          if(response.data.state == 1){
1511
          if(response.data.state == 1){
1503
            var msg = response.data.data.msg
1512
            var msg = response.data.data.msg
3887
         this.$refs.editor.contents = this.$refs.editor.contents +this.option_context
3896
         this.$refs.editor.contents = this.$refs.editor.contents +this.option_context
3888
         this.option_dialog = false
3897
         this.option_dialog = false
3889
       },
3898
       },
3899
+      toContentPint(){
3900
+        console.log("hhhhhhhhhhhhhhhhhhhh",this.$refs.editor)
3901
+        this.$refs.editor.contents =  this.$refs.editor.contents + this.$refs.editorOne.contents
3902
+        this.library_dialog = false
3903
+      }
3890
 
3904
 
3891
 
3905
 
3892
     },
3906
     },

+ 1 - 1
src/xt_pages/user/coursePrint.vue View File

59
               </div>
59
               </div>
60
             </div>
60
             </div>
61
 
61
 
62
-            <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;float:right" v-if="org_id == 0||org_id ==9671 || org_id == 10440 || org_id == 10131 || org_id==9970 || org_id == 10567 || org_id == 10724">
62
+            <div class="row" style="padding: 2px 0;line-height:24px;margin-top:10px;float:right">
63
              医生签名:
63
              医生签名:
64
              <span v-if="setAdminUserES(item.recorder?item.recorder:item.recorder) == ''">
64
              <span v-if="setAdminUserES(item.recorder?item.recorder:item.recorder) == ''">
65
                   {{getName(item.recorder)}}
65
                   {{getName(item.recorder)}}

+ 1 - 0
src/xt_pages/user/doctorAdvice.vue View File

2920
         .catch(() => {});
2920
         .catch(() => {});
2921
     },
2921
     },
2922
     DeleteGroupAdvice(groupno, row) {
2922
     DeleteGroupAdvice(groupno, row) {
2923
+      console.log("patinet_id =======",row)
2923
       this.$confirm("确认删除这组医嘱?", "医嘱删除", {
2924
       this.$confirm("确认删除这组医嘱?", "医嘱删除", {
2924
         confirmButtonText: "确定",
2925
         confirmButtonText: "确定",
2925
         cancelButtonText: "取消",
2926
         cancelButtonText: "取消",