Browse Source

hah阿凡达

28169 6 days ago
parent
commit
49e5b73e19

+ 2 - 2
src/xt_pages/role/admin.vue View File

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

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

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

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

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

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

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

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

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

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

@@ -1493,11 +1493,20 @@
1493 1493
         var params = {
1494 1494
           id:this.id,
1495 1495
           patient_id:this.patient_id,
1496
-          record_date:this.getTimeThree(this.record_date),
1496
+          record_date:"",
1497 1497
           content:this.new_content,
1498 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 1506
         console.log("params",params)
1507
+
1508
+      
1509
+
1501 1510
         createNewCourseOfDiseaseRecord(params).then(response => {
1502 1511
          if(response.data.state == 1){
1503 1512
            var msg = response.data.data.msg
@@ -3887,6 +3896,11 @@
3887 3896
         this.$refs.editor.contents = this.$refs.editor.contents +this.option_context
3888 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,7 +59,7 @@
59 59
               </div>
60 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 64
              <span v-if="setAdminUserES(item.recorder?item.recorder:item.recorder) == ''">
65 65
                   {{getName(item.recorder)}}