ソースを参照

Merge branch '20230223_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20230223_pc_vue_new_branch

28169 1 年間 前
コミット
a4c3a5864d
共有31 個のファイルを変更した2019 個の追加872 個の削除を含む
  1. 18 79
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue
  2. 12 11
      src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue
  3. 6 8
      src/xt_pages/hospitalStation/components/deskPrescription.vue
  4. 6 4
      src/xt_pages/outpatientCharges/allListPrint.vue
  5. 189 0
      src/xt_pages/outpatientCharges/allListTemplate/printTwo.vue
  6. 21 5
      src/xt_pages/outpatientCharges/statementPrint.vue
  7. 172 0
      src/xt_pages/outpatientCharges/statementTemplate/printtwelve.vue
  8. 10 9
      src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue
  9. 62 62
      src/xt_pages/user/components/PatientSidebar.vue
  10. 1 1
      src/xt_pages/user/evaluationtool/Cathetershedding.vue
  11. 4 4
      src/xt_pages/user/evaluationtool/Fallassessment.vue
  12. 99 22
      src/xt_pages/user/evaluationtool/Glasgow.vue
  13. 62 25
      src/xt_pages/user/evaluationtool/Muscleforce.vue
  14. 122 27
      src/xt_pages/user/evaluationtool/OHpressuresore.vue
  15. 14 8
      src/xt_pages/user/evaluationtool/RassAssessment.vue
  16. 67 50
      src/xt_pages/user/evaluationtool/behavior.vue
  17. 239 184
      src/xt_pages/user/evaluationtool/dailyLife.vue
  18. 38 5
      src/xt_pages/user/evaluationtool/hemodialysis.vue
  19. 172 139
      src/xt_pages/user/evaluationtool/pediatricFallAssessment.vue
  20. 45 19
      src/xt_pages/user/evaluationtool/pressuresore.vue
  21. 110 24
      src/xt_pages/user/evaluationtool/pruritusAssessment.vue
  22. 93 35
      src/xt_pages/user/history/Children_history.vue
  23. 65 12
      src/xt_pages/user/history/Pressure_history.vue
  24. 31 3
      src/xt_pages/user/history/RASS_history.vue
  25. 28 4
      src/xt_pages/user/history/daoguan_history.vue
  26. 150 70
      src/xt_pages/user/history/date_history.vue
  27. 38 12
      src/xt_pages/user/history/mind_history.vue
  28. 34 8
      src/xt_pages/user/history/nourishment_history.vue
  29. 45 18
      src/xt_pages/user/history/pruritus_history.vue
  30. 54 12
      src/xt_pages/user/history/tumble_history.vue
  31. 12 12
      src/xt_pages/workforce/components/ScheduleItem.vue

+ 18 - 79
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyeight.vue ファイルの表示

@@ -1498,10 +1498,6 @@
1498 1498
                           医嘱内容
1499 1499
                         </td>
1500 1500
                       </tr>
1501
-                      <!-- <tr style="line-height:35px;padding:8px 5px;">
1502
-                    <td colspan="4" style="font-size: 16px">开医嘱</td>
1503
-                    <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
1504
-                  </tr> -->
1505 1501
                       <tr style="line-height: 35px; padding: 8px 5px">
1506 1502
                         <td style="font-size: 16px" width="10%">时间</td>
1507 1503
                         <td style="font-size: 16px" colspan="2" width="45%">
@@ -1510,16 +1506,8 @@
1510 1506
                         <td style="font-size: 16px" width="10%">医生签名</td>
1511 1507
                         <td style="font-size: 16px" width="10%">时间</td>
1512 1508
                         <td style="font-size: 16px" width="10%">执行人签名</td>
1513
-                        <td
1514
-                          style="font-size: 16px"
1515
-                          width="10%"
1516
-                          v-if="org_id == 10223 || org_id == 9538 || org_id == 0 || org_id ==10375"
1517
-                        >
1518
-                          核对护士
1519
-                        </td>
1509
+                       
1520 1510
                       </tr>
1521
-                      <!-- <template v-for="group in doctor_advices" > -->
1522
-
1523 1511
                       <tr
1524 1512
                         v-for="(advice, advice_index) in doctor_advices"
1525 1513
                         :key="advice_index"
@@ -1528,7 +1516,7 @@
1528 1516
                           <span v-if="advice.start_time">
1529 1517
                             {{ getTime(advice.start_time, "{h}:{i}") }}
1530 1518
                           </span>
1531
-                          <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
1519
+
1532 1520
                         </td>
1533 1521
                         <td
1534 1522
                           height="32px"
@@ -1536,7 +1524,8 @@
1536 1524
                           class="advice-name"
1537 1525
                           style="padding-left: 7px"
1538 1526
                         >
1539
-                          <span v-if="advice.parent_id > 0">---></span>
1527
+                      
1528
+                          <span v-if="advice.parent_id > 0"></span>
1540 1529
                           <span>{{ advice.advice_name }}</span>
1541 1530
                           <span v-if="advice && advice.advice_desc"
1542 1531
                             >({{ advice.advice_desc
@@ -1563,12 +1552,7 @@
1563 1552
                             >({{ advice.remark }})</span
1564 1553
                           >
1565 1554
                         </td>
1566
-                        <!-- <td colspan="2" height="60px" style="text-align: center" v-else >
1567
-                      <span>{{advice.delivery_way}}</span>
1568
-                      <span>{{advice.execution_frequency}}</span>
1569
-                      <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
1570
-                    </td> -->
1571
-                        <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
1555
+                      
1572 1556
                         <td height="32px">
1573 1557
                           <span
1574 1558
                             v-if="setAdminUserES(advice.advice_doctor) == ''"
@@ -1582,10 +1566,7 @@
1582 1566
                             v-else
1583 1567
                           />
1584 1568
                         </td>
1585
-                        <!-- <td height="35px">
1586
-                      <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
1587
-                      <img style="height:20px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
1588
-                    </td> -->
1569
+                       
1589 1570
                         <td height="32px">
1590 1571
                           <span v-if="advice.execution_time">{{
1591 1572
                             getTime(advice.execution_time, "{h}:{i}")
@@ -1604,21 +1585,7 @@
1604 1585
                             v-else
1605 1586
                           />
1606 1587
                         </td>
1607
-
1608
-                        <td height="32px" v-if="org_id == 10223 || org_id == 9538 || org_id == 0 || org_id ==10375">
1609
-                          <span v-if="setAdminUserES(advice.checker) == ''">{{
1610
-                            getAdminUser(advice.checker)
1611
-                          }}</span>
1612
-                          <img
1613
-                            style="height: 30px"
1614
-                            :src="setAdminUserES(advice.checker)"
1615
-                            alt=""
1616
-                            srcset=""
1617
-                            v-else
1618
-                          />
1619
-                        </td>
1620 1588
                       </tr>
1621
-                      <!-- </template> -->
1622 1589
                     </tbody>
1623 1590
                   </table>
1624 1591
                 </td>
@@ -1820,6 +1787,7 @@
1820 1787
             </div>
1821 1788
           </div>
1822 1789
         </template>
1790
+
1823 1791
         <div class="row" style="margin-top: -11px; position: relative">
1824 1792
           <table class="proj_table">
1825 1793
             <tbody>
@@ -1839,10 +1807,7 @@
1839 1807
                     医嘱内容
1840 1808
                   </td>
1841 1809
                 </tr>
1842
-                <!-- <tr style="line-height:35px;padding:8px 5px;">
1843
-                <td colspan="4" style="font-size: 16px">开医嘱</td>
1844
-                <td colspan="3" style="font-size: 16px">执行核对医嘱</td>
1845
-              </tr> -->
1810
+              
1846 1811
                 <tr style="line-height: 35px; padding: 8px 5px">
1847 1812
                   <td style="font-size: 15px" width="10%">时间</td>
1848 1813
                   <td style="font-size: 15px" colspan="2" width="45%">
@@ -1851,15 +1816,9 @@
1851 1816
                   <td style="font-size: 15px" width="10%">医生签名</td>
1852 1817
                   <td style="font-size: 15px" width="10%">时间</td>
1853 1818
                   <td style="font-size: 15px" width="10%">执行人签名</td>
1854
-                  <td
1855
-                    style="font-size: 15px"
1856
-                    width="10%"
1857
-                    v-if="org_id == 10223 || org_id == 9538 || org_id == 0 || org_id ==10375"
1858
-                  >
1859
-                    核对护士
1860
-                  </td>
1819
+                 
1861 1820
                 </tr>
1862
-                <!-- <template v-for="group in doctor_advices" > -->
1821
+               
1863 1822
                 <tr
1864 1823
                   v-for="(advice, advice_index) in doctor_advices"
1865 1824
                   :key="advice_index"
@@ -1868,7 +1827,7 @@
1868 1827
                     <span v-if="advice.start_time">
1869 1828
                       {{ getTime(advice.start_time, "{h}:{i}") }}
1870 1829
                     </span>
1871
-                    <!-- <span v-else>&nbsp;<br/>&nbsp;</span> -->
1830
+                  
1872 1831
                   </td>
1873 1832
                   <td
1874 1833
                     height="32px"
@@ -1876,7 +1835,7 @@
1876 1835
                     class="advice-name"
1877 1836
                     style="padding-left: 7px"
1878 1837
                   >
1879
-                    <span v-if="advice.parent_id > 0">---></span>
1838
+                    <span v-if="advice.parent_id > 0"></span>
1880 1839
                     <span>{{ advice.advice_name }}</span>
1881 1840
                     <span v-if="advice && advice.advice_desc"
1882 1841
                       >({{ advice.advice_desc
@@ -1903,12 +1862,7 @@
1903 1862
                       >({{ advice.remark }})</span
1904 1863
                     >
1905 1864
                   </td>
1906
-                  <!-- <td colspan="2" height="60px" style="text-align: center" v-else >
1907
-                <span>{{advice.delivery_way}}</span>
1908
-                <span>{{advice.execution_frequency}}</span>
1909
-                <span v-if="advice.remark.length > 0">({{advice.remark}})</span>
1910
-              </td> -->
1911
-                  <!-- <td width="10%" v-if="(advice.children && advice.children.length > 0 || advice.parent_id > 0) && advice.isShow == 2" ></td> -->
1865
+                
1912 1866
                   <td height="32px">
1913 1867
                     <span
1914 1868
                       v-if="setAdminUserES(advice.advice_doctor) == ''"
@@ -1922,10 +1876,7 @@
1922 1876
                       v-else
1923 1877
                     />
1924 1878
                   </td>
1925
-                  <!-- <td height="35px">
1926
-                <span v-if="setAdminUserES(advice.checker) == ''">{{getAdminUser(advice.checker)}}</span>
1927
-                <img style="height:20px;" :src="setAdminUserES(advice.checker)" alt="" srcset="" v-else>
1928
-              </td> -->
1879
+                  
1929 1880
                   <td height="32px">
1930 1881
                     <span v-if="advice.execution_time">{{
1931 1882
                       getTime(advice.execution_time, "{h}:{i}")
@@ -1945,18 +1896,6 @@
1945 1896
                     />
1946 1897
                   </td>
1947 1898
 
1948
-                  <td height="32px" v-if="org_id == 10223 || org_id == 9538 || org_id == 0 || org_id ==10375">
1949
-                    <span v-if="setAdminUserES(advice.checker) == ''">{{
1950
-                      getAdminUser(advice.checker)
1951
-                    }}</span>
1952
-                    <img
1953
-                      style="height: 30px"
1954
-                      :src="setAdminUserES(advice.checker)"
1955
-                      alt=""
1956
-                      srcset=""
1957
-                      v-else
1958
-                    />
1959
-                  </td>
1960 1899
                 </tr>
1961 1900
               </template>
1962 1901
 
@@ -2562,12 +2501,12 @@
2562 2501
          <div style="position: relative; left: 70%;top: 50px;width: 288px;">
2563 2502
           患者签名:
2564 2503
           <div class="under_line" style="width: 120px;">
2565
-            <img
2504
+            <!-- <img
2566 2505
               style="height: 30px"
2567 2506
               :src="dialysisOrder == null? 0: dialysisOrder.url"
2568 2507
               alt=""
2569 2508
               srcset=""
2570
-            />
2509
+            /> -->
2571 2510
           </div>
2572 2511
         </div>
2573 2512
       </div>
@@ -3679,8 +3618,8 @@ export default {
3679 3618
       
3680 3619
         console.log("时间我我我哦我我",this.doctor_advices)
3681 3620
         if (this.doctor_advices.length <= 6) {
3682
-          var nl = 6;
3683
-          this.print_length = 6;
3621
+          var nl = 3;
3622
+          this.print_length = 3;
3684 3623
 
3685 3624
           for (let index = 0; index < nl; index++) {
3686 3625
             if (

+ 12 - 11
src/xt_pages/dialysis/template/DialysisPrintOrderSixtyfour.vue ファイルの表示

@@ -2,13 +2,14 @@
2 2
   <div >
3 3
     <!-- <el-button type="primary" @click="checkData">一键核对</el-button> -->
4 4
     <el-button type="primary" @click="toUpload">一键上传</el-button>
5
-    <div id="dialysis-print-box-64">
5
+    <div >
6 6
       <div
7
-        id="dialysis-print-box-64-1"
7
+        id="dialysis-print-box-64-1  "
8 8
         class="dialysis-print-order print-template-two print_page_main_content"
9
+        
9 10
       >
10
-        <div>
11
-          <!-- <div
11
+        <div id="dialysis-print-box-64" style="padding:10px 0 0 40px  ;">
12
+          <!-- <div 10px 0 0 40px
12 13
             class="order-yy-name"
13 14
             style=" letter-spacing: 0;
14 15
                 font-weight: 600;
@@ -24,16 +25,16 @@
24 25
               <div style="display:inline-block; ;">病历号:
25 26
                 {{patientInfo.record_number?patientInfo.record_number:"" }}
26 27
               </div>
27
-              <div style="display:inline-block;margin-left: 90px;">
28
+              <div style="display:inline-block;margin-left: 50px;">
28 29
                 姓名:{{ patientInfo.name }}
29 30
               </div>
30
-              <div style="display:inline-block; margin-left: 90px;">
31
+              <div style="display:inline-block; margin-left: 50px;">
31 32
                 性别:{{ patientInfo_gender_1 == true ? "男" : "女" }}
32 33
               </div>
33
-              <div style="display:inline-block; margin-left: 90px;">
34
+              <div style="display:inline-block; margin-left: 50px;">
34 35
                 年龄:{{ getAge(patientInfo) }}
35 36
               </div>
36
-              <div style="display:inline-block; margin-left: 90px;">
37
+              <div style="display:inline-block; margin-left: 50px;">
37 38
                 透析次数:{{
38 39
                   patientInfo.total_dialysis +
39 40
                     patientInfo.user_sys_before_count
@@ -52,7 +53,7 @@
52 53
                 透析中心:{{ orgname }}
53 54
               </div>
54 55
             </div>
55
-            <table border="1" cellspacing="0" cellpadding="0" style="border-collapse: collapse; width: 960px; ">
56
+            <table border="1" cellspacing="0" cellpadding="0" style="border-collapse: collapse; width: 100%; ">
56 57
               <tr>
57 58
                 <td colspan="3" style="border:1px solid black">
58 59
                   <div style="display: inline-block; word-break: break-all;word-wrap: break-word;">
@@ -1331,7 +1332,6 @@ export default {
1331 1332
           ddpi: window.devicePixelRatio * 4, //将分辨率提高到特定的DPI 提高四倍
1332 1333
           scale: 4, //按比例增加分辨率
1333 1334
           background: '#fff',//pdf背景色为白色,默认是黑色的
1334
-       
1335 1335
         }).then((canvas) => {
1336 1336
           //返回图片dataURL,参数:图片格式和清晰度(0-1)
1337 1337
           var pageData = canvas.toDataURL('image/jpeg', 1.0);
@@ -1340,7 +1340,8 @@ export default {
1340 1340
           var pdf = new jsPDF('', 'pt', 'a4');
1341 1341
 
1342 1342
           //addImage后两个参数控制添加图片的尺寸,此处将页面高度按照a4纸宽高比列进行压缩
1343
-          pdf.addImage(pageData, 'JPEG', 0, 0, 595.28, 592.28 / canvas.width * canvas.height);
1343
+          // pdf.addImage(pageData, 'JPEG', 0, 0, 595.28, 592.28 / canvas.width * canvas.height);
1344
+          pdf.addImage(pageData, 'JPEG', 0, 0, 555.28, 592.28 / canvas.width * canvas.height);
1344 1345
 
1345 1346
           var newBase64Data =  pdf.output("dataurlstring").split("base64,")[1]
1346 1347
           console.log("base63",newBase64Data)

+ 6 - 8
src/xt_pages/hospitalStation/components/deskPrescription.vue ファイルの表示

@@ -1566,10 +1566,7 @@ export default {
1566 1566
       this.$refs.additionalCharges.hide()
1567 1567
 
1568 1568
     }, searchProjectAction() {
1569
-      console.log('~~~~')
1570
-      
1571
-      // console.log(this.allProject)
1572
-
1569
+      console.log('~~~~',this.search_project_keyword)
1573 1570
 
1574 1571
       if (this.search_project_keyword.length == 0) {
1575 1572
         this.tabProject = this.allProject
@@ -1577,11 +1574,12 @@ export default {
1577 1574
       } else {
1578 1575
         let arr = []
1579 1576
         for (let i = 0; i < this.allProject.length; i++) {
1580
-
1581
-            if (this.allProject[i].project_name.indexOf(this.search_project_keyword) != -1) {
1582
-              arr = arr.concat(this.allProject[i])
1577
+          if(this.allProject[i].first_letter !=undefined){
1578
+            if (this.allProject[i].project_name.indexOf(this.search_project_keyword) != -1 ||
1579
+              this.allProject[i].first_letter.indexOf(this.search_project_keyword) != -1) {
1580
+                arr = arr.concat(this.allProject[i])
1583 1581
             }
1584
-          
1582
+          }
1585 1583
         }
1586 1584
         this.tabProject = arr
1587 1585
       }

+ 6 - 4
src/xt_pages/outpatientCharges/allListPrint.vue ファイルの表示

@@ -13,9 +13,9 @@
13 13
     </template>
14 14
 
15 15
     <div class='dialysisPage' style="padding-top:40px;">
16
-      <printOne  v-if="org_id != 10215 && org_id != 0 && org_id !=9671&&org_id !=9675" :list="list" :patient="patient" :order="order" :admin="admin" :hospital="his_hospital"></printOne>
17
-      <summary-print v-if="org_id == 10215|| org_id == 0 || org_id ==9671 ||org_id ==9675" :list="list" :patient="patient" :order="order" :admin="admin" :hospital="his_hospital"></summary-print>
18
-
16
+      <printOne  v-if="org_id != 10215 && org_id !=0 && org_id !=9671&&org_id !=9675&& org_id !=10515" :list="list" :patient="patient" :order="order" :admin="admin" :hospital="his_hospital"></printOne>
17
+      <summary-print v-if="org_id == 10215|| org_id ==9671 ||org_id ==9675" :list="list" :patient="patient" :order="order" :admin="admin" :hospital="his_hospital"></summary-print>
18
+      <printTwo v-if="org_id==10515 || org_id==0" :list="list" :patient="patient" :order="order" :admin="admin" :hospital="his_hospital"></printTwo>
19 19
 <!--      <list-print-two :list="list" :patient="patient" :order="order" :admin="admin" :hospital="his_hospital"></list-print-two>-->
20 20
     </div>
21 21
   </div>
@@ -27,13 +27,15 @@
27 27
   import printOne from './allListTemplate/printOne'
28 28
   import ListPrintTwo from './listTemplate/listPrintTwo'
29 29
   import SummaryPrint from './allListTemplate/summaryPrint'
30
+  import printTwo from './allListTemplate/printTwo'
30 31
 
31 32
   export default {
32 33
     name: 'allListPrint',
33 34
     components: {
34 35
       SummaryPrint,
35 36
       ListPrintTwo,
36
-      printOne
37
+      printOne,
38
+      printTwo
37 39
     },
38 40
     props: {
39 41
       paramsObj: Object

+ 189 - 0
src/xt_pages/outpatientCharges/allListTemplate/printTwo.vue ファイルの表示

@@ -0,0 +1,189 @@
1
+<template>
2
+  <div id="allList-print" class="allList-print">
3
+    <div class="allListTitle">{{ $store.getters.xt_user.org.org_name }}费用汇总</div>
4
+      <div class="allListInfo">
5
+        <div>患者姓名:{{ patient.name }}</div>
6
+        <div>透析号:{{ patient.dialysis_no }}</div>
7
+        <div>性别:{{ patient.gender == 1 ? '男' : '女' }}</div>
8
+        <div>年龄:{{ patient.age }} 岁</div>
9
+        <div v-if="$store.getters.xt_user.org_id  == 0">日期:{{ hospital.in_hosptial_time }} 至
10
+          {{ hospital.out_hosptial_time }}
11
+        </div>
12
+        <div v-else>日期:{{ getTimes(order.settle_start_time) }} 至 {{ getTimes(order.settle_end_time) }}</div>
13
+
14
+      </div>
15
+    <div v-for='(i,index) in pageArr.length' :key="index">
16
+      <table class="allListTable" border="1">
17
+        <tr v-if="index==0">
18
+          <td style="width:10%">类别</td>
19
+          <td style="width:50%">项目名称</td>
20
+          <td style="width:10%">规格</td>
21
+          <td style="width:10%">单价(元)</td>
22
+          <td style="width:10%">数量</td>
23
+          <td style="width:10%">金额(元)</td>
24
+        </tr>
25
+        <template v-for='item in list.slice(index * 13,(index * 13) + pageArr[index])'>
26
+          <tr v-if="item.is_total == 2">
27
+            <td style="width:10%">{{ item.med_chrgitm_type }}</td>
28
+            <td style="width:50%">{{ item.name }}</td>
29
+            <td style="width:10%">{{ item.spec }}</td>
30
+            <td style="width:10%">{{ (item.price).toFixed(2) }}</td>
31
+            <td style="width:10%">{{ item.count }}{{ item.unit }}</td>
32
+            <td style="width:10%">{{ (item.price * item.count).toFixed(2) }}</td>
33
+          </tr>
34
+          <tr>
35
+            <td colspan="6" style="text-align:right;" v-if="item.is_total == 1">合计:{{ item.total }}元</td>
36
+          </tr>
37
+        </template>
38
+      </table>
39
+    </div>
40
+    <div class="tableBottom">
41
+      <div class="tableBottomOne">制表人:{{ admin.user_name }}</div>
42
+      <div class="tableBottomOne">制表日期:{{ getNowTime() }}</div>
43
+      <div class="tableBottomOne">总费用:{{ order.medfee_sumamt }}元</div>
44
+    </div>
45
+  </div>
46
+</template>
47
+
48
+<script>
49
+import { uParseTime } from '@/utils/tools'
50
+
51
+export default {
52
+  props: {
53
+    list: {
54
+      type: Array,
55
+      default: function() {
56
+        return []
57
+      }
58
+    }, patient: {
59
+      type: Object,
60
+      default: function() {
61
+        return {}
62
+      }
63
+    }, order: {
64
+      type: Object,
65
+      default: function() {
66
+        return {}
67
+      }
68
+    }, admin: {
69
+      type: Object,
70
+      default: function() {
71
+        return {}
72
+      }
73
+    }, hospital: {
74
+      type: Object,
75
+      default: function() {
76
+        return {}
77
+      }
78
+
79
+    }
80
+  },
81
+  data() {
82
+    return {
83
+      page: 1,
84
+      pageArr: []
85
+    }
86
+  },
87
+  methods: {
88
+    getNowTime: function() {
89
+      let dateTime
90
+      let yy = new Date().getFullYear()
91
+      let mm = new Date().getMonth() + 1
92
+      let dd = new Date().getDate()
93
+      let hh = new Date().getHours()
94
+      let mf = new Date().getMinutes() < 10 ? '0' + new Date().getMinutes()
95
+          :
96
+          new Date().getMinutes()
97
+      let ss = new Date().getSeconds() < 10 ? '0' + new Date().getSeconds()
98
+          :
99
+          new Date().getSeconds()
100
+      dateTime = yy + '-' + mm + '-' + dd + ' ' + hh + ':' + mf + ':' + ss
101
+      return dateTime
102
+    },
103
+    getTimes(time) {
104
+      return uParseTime(time, '{y}-{m}-{d}')
105
+    }, getTotal: function(items) {
106
+      let total = 0
107
+      for (let i = 0; i < items.length; i++) {
108
+        total = total + (items[i].count * items[i].price).toFixed(2)
109
+      }
110
+      return total
111
+
112
+    },
113
+    getPage() {
114
+      if (this.list.length <= 13) {
115
+        this.page = 1
116
+        this.pageArr.push(this.list.length)
117
+      } else if (this.list.length > 13) {
118
+        this.page = parseInt(this.list.length / 13)
119
+        let num = this.list.length % 13
120
+        for (var i = 0; i < this.page; i++) {
121
+          this.pageArr.push(13)
122
+        }
123
+        if (num != 0) {
124
+          this.pageArr.push(num)
125
+        }
126
+      }
127
+    }
128
+
129
+  },
130
+  watch: {
131
+    list: {
132
+      handler(newVal) {
133
+        this.getPage()
134
+      },
135
+      deep: true
136
+    }
137
+  }
138
+}
139
+
140
+
141
+</script>
142
+
143
+<style lang="scss" scoped>
144
+.allList-print {
145
+  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
146
+  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
147
+  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
148
+  margin-bottom: 20px;
149
+  padding: 20px 10px;
150
+}
151
+
152
+.allListTitle {
153
+  font-size: 22px;
154
+  text-align: center;
155
+  font-weight: bold;
156
+  margin-bottom: 10px;
157
+}
158
+
159
+.allListInfo {
160
+  display: flex;
161
+  font-size: 14px;
162
+  justify-content: space-between;
163
+  margin: 10px 0;
164
+}
165
+
166
+.allListTable {
167
+  width: 100%;
168
+  text-align: center;
169
+  border-collapse: collapse;
170
+  line-height: 20px;
171
+  font-size: 12px;
172
+  border-color: #000;
173
+  text-align: left;
174
+}
175
+
176
+.allListTable tr td {
177
+  padding: 0 5px;
178
+}
179
+
180
+.tableBottom {
181
+  font-size: 14px;
182
+  display: flex;
183
+  margin-top: 20px;
184
+}
185
+
186
+.tableBottomOne {
187
+  margin-right: 40px;
188
+}
189
+</style>

+ 21 - 5
src/xt_pages/outpatientCharges/statementPrint.vue ファイルの表示

@@ -31,7 +31,7 @@
31 31
           v-if="org_id == 10138 || org_id == 10278  "
32 32
         ></printThree>
33 33
         <printFour
34
-          v-if="org_id == 9504 || org_id == 10028 || org_id == 10088 || org_id == 0 "
34
+          v-if="org_id == 9504 || org_id == 10028 || org_id == 10088 "
35 35
           :info="info"
36 36
           :paramsObj="paramsObj"
37 37
           :balanceAccounts="balanceAccounts"
@@ -55,7 +55,10 @@
55 55
       </printSeven>
56 56
       <print10191 :info="info" v-if="org_id == 10191"></print10191>
57 57
       <printTen :info="info" v-if="org_id == 10210"></printTen>
58
-      <printEleven :info="info" v-if="org_id == 10485 || org_id == 0"></printEleven>
58
+      <printEleven :info="info" v-if="org_id == 10485"></printEleven>
59
+      <!-- 阜阳经沃 -->
60
+      <printtwelve :info="info" v-if="org_id == 10480 || org_id == 0"></printtwelve>
61
+
59 62
       <printOne :info="info" v-if=" org_id != 9990 &&
60 63
             org_id != 10138 &&
61 64
             org_id != 9504 &&
@@ -92,7 +95,7 @@ import printSeven from './statementTemplate/printSeven'
92 95
 import Print10191 from './statementTemplate/print10191'
93 96
 import printTen from './statementTemplate/printTen'
94 97
 import printEleven from './statementTemplate/printeEleven'
95
-
98
+import printtwelve from './statementTemplate/printtwelve'
96 99
 export default {
97 100
   name: 'dialysisPrintOrder',
98 101
   components: {
@@ -107,7 +110,8 @@ export default {
107 110
     testVue,
108 111
     printFive,
109 112
     printTen,
110
-    printEleven
113
+    printEleven,
114
+    printtwelve
111 115
   },
112 116
   props: {
113 117
     paramsObj: Object
@@ -302,7 +306,7 @@ export default {
302 306
           //   scanStyles: false,
303 307
           // });
304 308
         } else if (
305
-          this.$store.getters.xt_user.org_id == 10485 || this.$store.getters.xt_user.org_id == 0
309
+          this.$store.getters.xt_user.org_id == 10485
306 310
         ) {
307 311
           const style =
308 312
             '@media print {#statement-print{font-size:14px;border:1px solid white}.statementTitle{font-size: 22px;text-align: center;font-weight: bold;}table tr td {padding: 5px;line-height: 30px;border: none;}'
@@ -313,6 +317,18 @@ export default {
313 317
             scanStyles: false
314 318
           })
315 319
 
320
+        }else if (
321
+          this.$store.getters.xt_user.org_id == 10480 || this.$store.getters.xt_user.org_id == 0
322
+        ) {
323
+          const style =
324
+            '@media print {#statement-print{font-size:14px;border:1px solid white}.statementTitle{font-size: 22px;text-align: center;font-weight: bold;}table tr td {padding: 2px;line-height: 30px;border: 1px solid black;text-align: center;}'
325
+          printJS({
326
+            printable: 'statement-print',
327
+            type: 'html',
328
+            style: style,
329
+            scanStyles: false
330
+          })
331
+
316 332
         } else {
317 333
           const style =
318 334
             '@media print {#statement-print{font-size:14px;border:1px solid white}.statementTitle{font-size: 22px;text-align: center;font-weight: bold;}table{border-collapse: collapse;text-align: center;}table td {padding: 10px 5px;font-size:16px;}@media print {html {zoom: 57%;}}}'

+ 172 - 0
src/xt_pages/outpatientCharges/statementTemplate/printtwelve.vue ファイルの表示

@@ -0,0 +1,172 @@
1
+<template>
2
+  <div id="statement-print" class="statement-print">
3
+    <div class="statementTitle">
4
+      阜阳市医疗保险费用结算单
5
+    </div>
6
+    <div style="display: flex;">
7
+      <div style="flex: 1;">结算ID:3412202310179024873</div>
8
+      <div style="flex: 1;">结算日期:2023-10-17 13:22:18</div>
9
+      <div style="flex: 1;">医疗类别:门诊慢病</div>
10
+    </div>
11
+    <div style="display: flex;margin: 10px 0 5px 0;">
12
+      <div style="flex: 1;">医院编号:H34122202353</div>
13
+      <div style="flex: 2;">医院机构名称: 太和沃迪康血液透析中心</div>
14
+    </div>
15
+    <div class='statementTable'>
16
+      <table border="1" style="border-collapse: collapse;width: 100%;">
17
+        <tr>
18
+          <td>姓名</td>
19
+          <td>王怀国</td>
20
+          <td>性别</td>
21
+          <td>男</td>
22
+          <td>个人编号</td>
23
+          <td>34120000000017060193</td>
24
+          <td>人员类别</td>
25
+          <td>普通居民(成年)</td>
26
+        </tr>
27
+        <tr>
28
+          <td colspan="2">身份证号</td>
29
+          <td colspan="2">341222198004156833</td>
30
+          <td colspan="2">险种</td>
31
+          <td colspan="2">城乡居民基本医疗保险</td>
32
+        </tr>
33
+        <tr>
34
+          <td>入院日期</td>
35
+          <td>2023-10-17</td>
36
+          <td>出院日期</td>
37
+          <td>2023-10-17</td>
38
+          <td>治疗方式编码</td>
39
+          <td>ZLFS00373</td>
40
+          <td>治疗方式名称</td>
41
+          <td></td>
42
+        </tr>
43
+        <tr>
44
+          <td colspan="2">出院诊断编码</td>
45
+          <td colspan="2">N19.x01</td>
46
+          <td colspan="2">出院诊断名称</td>
47
+          <td colspan="2">尿毒症</td>
48
+        </tr>
49
+
50
+        <tr>
51
+          <td colspan="2">医疗费用发生额</td>
52
+          <td colspan="2">符合范围费用</td>
53
+          <td colspan="2">部分自付</td>
54
+          <td colspan="1">全额自费</td>
55
+          <td colspan="1">超限价费用</td>
56
+        </tr>
57
+        <tr>
58
+          <td colspan="2">280</td>
59
+          <td colspan="2">196</td>
60
+          <td colspan="2">84</td>
61
+          <td colspan="1">0</td>
62
+          <td colspan="1">0</td>
63
+        </tr>
64
+
65
+        <tr>
66
+          <td colspan="2">实际支付起付线</td>
67
+          <td colspan="2">0</td>
68
+          <td colspan="2">基本医疗保险统筹基金支出</td>
69
+          <td colspan="2">166.6</td>
70
+        </tr>
71
+        <tr>
72
+          <td colspan="2">公务员医疗补助基金支出</td>
73
+          <td colspan="2">0</td>
74
+          <td colspan="2">职工大额医疗费用补助基金支出</td>
75
+          <td colspan="2">0</td>
76
+        </tr>
77
+        <tr>
78
+          <td colspan="2">居民大病保险基金支出</td>
79
+          <td colspan="2">0</td>
80
+          <td colspan="2">医疗救助基金支出</td>
81
+          <td colspan="2">166.6</td>
82
+        </tr>
83
+        <tr>
84
+          <td colspan="2">其他基金支出</td>
85
+          <td colspan="2">0</td>
86
+          <td colspan="2">基金支付总额</td>
87
+          <td colspan="2">166.6</td>
88
+        </tr>
89
+        <tr>
90
+          <td colspan="2">个人账户支出</td>
91
+          <td colspan="2">0</td>
92
+          <td colspan="2">个人现金支出</td>
93
+          <td colspan="2">166.6</td>
94
+        </tr>
95
+        <tr>
96
+          <td colspan="2">余额</td>
97
+          <td colspan="2">0</td>
98
+          <td colspan="2">个人负担总金额</td>
99
+          <td colspan="2">166.6</td>
100
+        </tr>
101
+        <tr>
102
+          <td colspan="2">个人账户共济支付金额</td>
103
+          <td colspan="2">0</td>
104
+          <td colspan="2"></td>
105
+          <td colspan="2"></td>
106
+        </tr>
107
+
108
+        <tr>
109
+          <td colspan="1">序号</td>
110
+          <td colspan="2">基金支付类型名称</td>
111
+          <td colspan="2">基金支付金额</td>
112
+          <td colspan="2">本次可支付限额金额</td>
113
+          <td colspan="1">符合政策范围金额</td>
114
+        </tr>
115
+        <tr>
116
+          <td colspan="1">1</td>
117
+          <td colspan="2">城乡居民基本医疗保险基金</td>
118
+          <td colspan="2">166.6</td>
119
+          <td colspan="2">0</td>
120
+          <td colspan="1">196</td>
121
+        </tr>
122
+        <tr>
123
+          <td colspan="1">2</td>
124
+          <td colspan="2">城乡居民大病医疗保险基金</td>
125
+          <td colspan="2">73</td>
126
+          <td colspan="2">0</td>
127
+          <td colspan="1">196</td>
128
+        </tr>
129
+        <tr>
130
+          <td colspan="1">3</td>
131
+          <td colspan="2">医疗救助基金</td>
132
+          <td colspan="2">29.77</td>
133
+          <td colspan="2">0</td>
134
+          <td colspan="1">196</td>
135
+        </tr>
136
+      </table>
137
+    </div>
138
+    <div style="display: flex;">
139
+      <div style="flex: 1;">制表人:太和沃迪康血液诱析中心</div>
140
+      <div style="flex: 1;">打印日期: 2023-10-17 15:39</div>
141
+      <div style="flex: 1;">医院(盖章):</div>
142
+    </div>
143
+  </div>
144
+</template>
145
+
146
+
147
+<style lang="scss" scoped>
148
+.statement-print {
149
+  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 60px rgba(0, 0, 0, 0.06) inset;
150
+  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
151
+  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
152
+  margin-bottom: 20px;
153
+  padding: 20px 10px;
154
+}
155
+.statementTitle {
156
+  font-size: 28px;
157
+  text-align: center;
158
+  font-weight: bold;
159
+  margin-bottom: 10px;
160
+}
161
+.statementTable {
162
+  width: 100%;
163
+  font-size: 14px;
164
+  table tr td{
165
+    padding: 5px;
166
+    line-height: 30px;
167
+    border: 1px solid black;
168
+    text-align: center;
169
+  }
170
+}
171
+
172
+</style>

+ 10 - 9
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue ファイルの表示

@@ -1589,18 +1589,21 @@ export default {
1589 1589
 
1590 1590
     }, searchProjectAction() {
1591 1591
       console.log('~~~~',this.search_project_keyword)
1592
-      // console.log(this.allProject)
1592
+      console.log('5555',this.tabProject)
1593
+      console.log('6666',this.allProject)
1594
+      // console.log('4444',this.tabProject[1].first_letter.indexOf(this.search_project_keyword) != -1)
1593 1595
       if (this.search_project_keyword.length == 0) {
1594 1596
         this.tabProject = this.allProject
1595
-
1596 1597
       } else {
1597 1598
         let arr = []
1598 1599
         for (let i = 0; i < this.allProject.length; i++) {
1599
-         
1600
-            if (this.allProject[i].project_name.indexOf(this.search_project_keyword) != -1) {
1600
+          if(this.allProject[i].first_letter != undefined){
1601
+            // console.log('4444',this.tabProject[i].first_letter.indexOf(this.search_project_keyword) != -1)
1602
+            if (this.allProject[i].project_name.indexOf(this.search_project_keyword) != -1 ||
1603
+                this.allProject[i].first_letter.indexOf(this.search_project_keyword) != -1) {
1601 1604
               arr = arr.concat(this.allProject[i])
1602 1605
             }
1603
-          
1606
+          }
1604 1607
         }
1605 1608
         this.tabProject = arr
1606 1609
         console.log('kkkk',this.tabProject);
@@ -1628,7 +1631,7 @@ export default {
1628 1631
         let arr = []
1629 1632
         for (let i = 0; i < this.drugs.length; i++) {
1630 1633
           if (this.drugs[i].drug_name.indexOf(this.search_keyword) != -1 ||
1631
-           this.drugs[i].wubi.indexOf(this.search_keyword) != -1 || 
1634
+           this.drugs[i].wubi.indexOf(this.search_keyword) != -1 ||
1632 1635
            this.drugs[i].pinyin.indexOf(this.search_keyword) != -1 ||
1633 1636
            this.drugs[i].first_letter.indexOf(this.search_keyword) != -1
1634 1637
            ) {
@@ -3544,7 +3547,6 @@ export default {
3544 3547
 
3545 3548
           var good_info = response.data.data.good_info
3546 3549
 
3547
-
3548 3550
           for (let i = 0; i < good_info.length; i++) {
3549 3551
              good_info[i].stock_count = 0
3550 3552
             if(good_info[i].good_stock_in&&good_info[i].good_stock_in.length >0 ){
@@ -3552,7 +3554,6 @@ export default {
3552 3554
                  good_info[i].stock_count += good_info[i].good_stock_in[j].stock_count
3553 3555
               }
3554 3556
             }
3555
-
3556 3557
             let obj = {
3557 3558
               id: good_info[i].id,
3558 3559
               project_name: good_info[i].good_name,
@@ -3573,7 +3574,7 @@ export default {
3573 3574
             }
3574 3575
             this.tabProject.push(obj)
3575 3576
           }
3576
-
3577
+          console.log('3333', this.tabProject);
3577 3578
           this.allProject = this.tabProject
3578 3579
           // console.log('cccc',this.allProject);
3579 3580
         }

+ 62 - 62
src/xt_pages/user/components/PatientSidebar.vue ファイルの表示

@@ -207,68 +207,68 @@ export default {
207 207
             },
208 208
           ]
209 209
         },
210
-        {
211
-          name: '5',
212
-          label: '评估工具',
213
-          children: [
214
-            {
215
-              name: '5-1',
216
-              label: '跌倒评估'
217
-            },
218
-            {
219
-              name: '5-2',
220
-              label: '小儿跌倒风险评估'
221
-            },
222
-            {
223
-              name: '5-3',
224
-              label: '压疮风险评估'
225
-            },
226
-            {
227
-              name: '5-4',
228
-              label: 'OH压疮评估'
229
-            },
230
-            {
231
-              name: '5-5',
232
-              label: '日常生活能力评估'
233
-            },
234
-            {
235
-              name: '5-6',
236
-              label: '导管脱落风险评估'
237
-            },
238
-            {
239
-              name: '5-7',
240
-              label: 'RASS及疼痛评估'
241
-            },
242
-            {
243
-              name: '5-8',
244
-              label: '营养状况评估'
245
-            },
246
-            {
247
-              name: '5-9',
248
-              label: '约束告知单'
249
-            },
250
-            {
251
-              name: '5-10',
252
-              label: '心理评估'
253
-            },
254
-            {
255
-              name: '5-11',
256
-              label: '瘙痒评估'
257
-            },
258
-            {
259
-              name: '5-12',
260
-              label: '血液透析患者评估'
261
-            },
262
-            {
263
-              name: '5-13',
264
-              label: 'Glasgow昏迷评分量表'
265
-            },
266
-            {
267
-              name: '5-14',
268
-              label: '肌力评估表'
269
-            },
270
-          ]
271
-        },
210
+        // {
211
+        //   name: '5',
212
+        //   label: '评估工具',
213
+        //   children: [
214
+        //     {
215
+        //       name: '5-1',
216
+        //       label: '跌倒评估'
217
+        //     },
218
+        //     {
219
+        //       name: '5-2',
220
+        //       label: '小儿跌倒风险评估'
221
+        //     },
222
+        //     {
223
+        //       name: '5-3',
224
+        //       label: '压疮风险评估'
225
+        //     },
226
+        //     {
227
+        //       name: '5-4',
228
+        //       label: 'OH压疮评估'
229
+        //     },
230
+        //     {
231
+        //       name: '5-5',
232
+        //       label: '日常生活能力评估'
233
+        //     },
234
+        //     {
235
+        //       name: '5-6',
236
+        //       label: '导管脱落风险评估'
237
+        //     },
238
+        //     {
239
+        //       name: '5-7',
240
+        //       label: 'RASS及疼痛评估'
241
+        //     },
242
+        //     {
243
+        //       name: '5-8',
244
+        //       label: '营养状况评估'
245
+        //     },
246
+        //     {
247
+        //       name: '5-9',
248
+        //       label: '约束告知单'
249
+        //     },
250
+        //     {
251
+        //       name: '5-10',
252
+        //       label: '心理评估'
253
+        //     },
254
+        //     {
255
+        //       name: '5-11',
256
+        //       label: '瘙痒评估'
257
+        //     },
258
+        //     {
259
+        //       name: '5-12',
260
+        //       label: '血液透析患者评估'
261
+        //     },
262
+        //     {
263
+        //       name: '5-13',
264
+        //       label: 'Glasgow昏迷评分量表'
265
+        //     },
266
+        //     {
267
+        //       name: '5-14',
268
+        //       label: '肌力评估表'
269
+        //     },
270
+        //   ]
271
+        // },
272 272
 
273 273
       ],
274 274
       name:""

+ 1 - 1
src/xt_pages/user/evaluationtool/Cathetershedding.vue ファイルの表示

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
     <div class="patient-container">
3
-        <patient-sidebar :id="patientID" defaultActive="5-5"></patient-sidebar>
3
+        <patient-sidebar :id="patientID" defaultActive="5-6"></patient-sidebar>
4 4
         <div>
5 5
             <div class="patient-app-container advice-container app-container">
6 6
                 <div class='content_top' style="width: 100%;margin-bottom: 20px;">

+ 4 - 4
src/xt_pages/user/evaluationtool/Fallassessment.vue ファイルの表示

@@ -4,7 +4,7 @@
4 4
       <patient-sidebar :id="patient_id" defaultActive="5-1"></patient-sidebar>
5 5
       <div>
6 6
         <div class="patient-app-container advice-container app-container">
7
-          <div class='content_top' style="width: 95%;margin-bottom: 20px;">
7
+          <div class='content_top' style="width: 97%;margin-bottom: 20px;">
8 8
             <div style="font-size: 20px">跌倒评估评分</div>
9 9
             <div>
10 10
               <el-button @click="Historicalscore">历史评分</el-button>
@@ -12,7 +12,7 @@
12 12
             </div>
13 13
           </div>
14 14
 
15
-          <div class='content_top' style="width: 95%;">
15
+          <div class='content_top' style="width: 97%;">
16 16
             <div style="width: 49%; ">
17 17
               <div style="margin-bottom: 50px;">
18 18
                 <div class="biaotou content_top">
@@ -152,13 +152,13 @@
152 152
                 </div>
153 153
                 <div>
154 154
                   <span>护士:</span>
155
-                  <el-select v-model="Nurse" placeholder="请选择" >
155
+                  <el-select v-model="Nurse" placeholder="请选择" style="width:120px;">
156 156
                     <el-option
157 157
                       v-for="item in options"
158 158
                       :key="item.value"
159 159
                       :label="item.label"
160 160
                       :value="item.value"
161
-                      style="width:150px;">
161
+                      >
162 162
                     </el-option>
163 163
                   </el-select>
164 164
                 </div>

+ 99 - 22
src/xt_pages/user/evaluationtool/Glasgow.vue ファイルの表示

@@ -34,7 +34,7 @@
34 34
                     <td>
35 35
                       <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
36 36
                         <span v-for="item in zhengyan" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
37
-                          <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
37
+                          <label><input type="checkbox" class="checkbox1" name="ball" :value="item.value" />&nbsp;{{ item.label }}</label>
38 38
                         </span>
39 39
                       </div>
40 40
                     </td>
@@ -44,8 +44,8 @@
44 44
                     <td class="start">言语反映 (V)</td>
45 45
                     <td>
46 46
                       <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
47
-                        <span v-for="item in yanyu" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
48
-                          <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
47
+                        <span v-for="item in yanyu" class="ttbwzz-type-a" @change="yuyan_change">
48
+                          <label><input type="checkbox" class="checkbox2" name="ball" :value="item.value" />&nbsp;{{ item.label }}</label>
49 49
                         </span>
50 50
                       </div>
51 51
                     </td>
@@ -55,8 +55,8 @@
55 55
                     <td class="start">运动反应(M)</td>
56 56
                     <td>
57 57
                       <div style="display: flex;flex-wrap: wrap;padding:4px 0 4px 8px;">
58
-                        <span v-for="item in yundong" class="ttbwzz-type-a" @change="handleCheckedCitiesChange">
59
-                          <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
58
+                        <span v-for="item in yundong" class="ttbwzz-type-a" @change="yundong_change">
59
+                          <label><input type="checkbox" class="checkbox3" name="ball" :value="item.value" />&nbsp;{{ item.label }}</label>
60 60
                         </span>
61 61
                       </div>
62 62
                     </td>
@@ -120,6 +120,8 @@
120 120
               :data="history_Glasgow"
121 121
               stripe
122 122
               border
123
+              @row-click="glasgow_click"
124
+              :highlight-current-row="true"
123 125
               :header-cell-style="{
124 126
                   background: '#0077ff9f',color:'white'}"
125 127
               style="width: 100%">
@@ -209,17 +211,29 @@
209 211
               <div style="vertical-align: top;  margin: 10px 0px; position: relative;">
210 212
                   <span style="position: relative; top: -55px;">护理措施:</span>
211 213
                   <div style="margin-top: 20px;display: inline-block; width: 85%;height: 80px;">
212
-                      
214
+
213 215
                   </div>
214 216
               </div>
215
-              
217
+
216 218
             </div>
217 219
           </div>
218 220
         </div>
219 221
       </div>
220
-      
222
+
221 223
     </el-dialog>
224
+
222 225
     </div>
226
+     <!-- 删除弹窗 -->
227
+     <el-dialog
228
+      title="提示"
229
+      :visible.sync="dele_dialogVisible"
230
+      width="30%">
231
+      <span>确认删除该数据</span>
232
+      <span slot="footer" class="dialog-footer">
233
+        <el-button @click="dele_Cancel">取 消</el-button>
234
+        <el-button type="primary" @click="deleclick">确 定</el-button>
235
+      </span>
236
+    </el-dialog>
223 237
   </div>
224 238
 </template>
225 239
 <script>
@@ -237,12 +251,14 @@ export default {
237 251
       value1:'',
238 252
       value:'',
239 253
       input:'',
240
-      Glasgow_Totalpoints:null,
254
+      zhengyan_num:null,
255
+      yuyan_num:null,
256
+      yundong_num:null,
241 257
       options:[],
242 258
       tableData:[],
243
-      zhengyan:['自动睁眼(4分)','互换睁眼(3分)','刺激睁眼(2分)','无反应(1分)'],
244
-      yanyu:['正常(5分)','不准确回答问题(4分)','不恰当词句(3分)','不能理解的言语(2分)','无言语反映(1分)'],
245
-      yundong:['能按指令运动肢体(6分)','对刺痛能定位(5分)','对刺痛能躲避(4分)','刺痛肢体屈曲(3分)','刺痛肢体过伸(2分)','无反应(1分)'],
259
+      zhengyan:[{value:4,label:'自动睁眼(4分)'},{value:3,label:'互换睁眼(3分)'},{value:2,label:'刺激睁眼(2分)'},{value:1,label:'无反应(1分)'}],
260
+      yanyu:[{value:5,label:'正常(5分)'},{value:4,label:'不准确回答问题(4分)'},{value:3,label:'不恰当词句(3分)'},{value:2,label:'不能理解的言语(2分)'},{value:1,label:'无言语反映(1分)'}],
261
+      yundong:[{value:6,label:'能按指令运动肢体(6分)'},{value:5,label:'对刺痛能定位(5分)'},{value:4,label:'对刺痛能躲避(4分)'},{value:3,label:'刺痛肢体屈曲(3分)'},{value:2,label:'刺痛肢体过伸(2分)'},{value:1,label:'无反应(1分)'}],
246 262
       pinggr:[{id:1,label:'小米'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
247 263
       history_Glasgow:[{date:'2023-9-27',mark:'',evaluate:''}],
248 264
 
@@ -252,21 +268,58 @@ export default {
252 268
       Glas_baoxiao:false,
253 269
       cancel_num:0,
254 270
       Glas_pinggu:null,
255
-      open_print:false
271
+      open_print:false,
272
+      dele_id:'',
273
+      dele_dialogVisible:false,
256 274
     }
257 275
   },
258 276
   methods:{
259 277
     handleCheckedCitiesChange(e){
260 278
       var ball = e.target.value
261
-      var jiequ =(ball.split('(')[1].split('分')[0]) * 1
262
-      if(e.target.checked==true){
263
-        this.Glasgow_Totalpoints=this.Glasgow_Totalpoints + jiequ
264
-        return this.Glasgow_Totalpoints
265
-      }else{
266
-        this.Glasgow_Totalpoints=this.Glasgow_Totalpoints-jiequ
267
-        return this.Glasgow_Totalpoints
279
+      // var jiequ =(ball.split('(')[1].split('分')[0]) * 1
280
+      // if(e.target.checked==true){
281
+      //   this.Glasgow_Totalpoints=this.Glasgow_Totalpoints + jiequ
282
+      //   return this.Glasgow_Totalpoints
283
+      // }else{
284
+      //   this.Glasgow_Totalpoints=this.Glasgow_Totalpoints-jiequ
285
+      //   return this.Glasgow_Totalpoints
286
+      // }
287
+      const checkboxs=document.getElementsByClassName('checkbox1')
288
+      for(let i=0;i<checkboxs.length;i++){
289
+        if(ball==checkboxs[i].value ){
290
+          console.log('vvvv',ball,'bbbb',e.target.checked);
291
+          this.zhengyan_num = checkboxs[i].value
292
+          checkboxs[i].checked=true
293
+        }else{
294
+          checkboxs[i].checked = false
295
+        }
296
+      }
297
+    },
298
+    yuyan_change(e){
299
+      var ball = e.target.value
300
+      const checkboxs=document.getElementsByClassName('checkbox2')
301
+      for(let i=0;i<checkboxs.length;i++){
302
+        if(ball==checkboxs[i].value ){
303
+          console.log('vvvv',ball,'bbbb',e.target.checked);
304
+          this.yuyan_num = checkboxs[i].value
305
+          checkboxs[i].checked=true
306
+        }else{
307
+          checkboxs[i].checked = false
308
+        }
309
+      }
310
+    },
311
+    yundong_change(e){
312
+      var ball = e.target.value
313
+      const checkboxs=document.getElementsByClassName('checkbox3')
314
+      for(let i=0;i<checkboxs.length;i++){
315
+        if(ball==checkboxs[i].value ){
316
+          console.log('vvvv',ball,'bbbb',e.target.checked);
317
+          this.yundong_num = checkboxs[i].value
318
+          checkboxs[i].checked=true
319
+        }else{
320
+          checkboxs[i].checked = false
321
+        }
268 322
       }
269
-
270 323
     },
271 324
     Glas_add(){
272 325
       this.cancel_num=0
@@ -301,12 +354,30 @@ export default {
301 354
       this.Glasadd_show=false
302 355
       this.cancel_num =1
303 356
     },
357
+    glasgow_click(row,column, event){
358
+      this.dele_id=row.id
359
+    },
304 360
     Glas_dele(){
305 361
       this.append=false
306 362
       this.Glas_gzdayin=false
307 363
       this.Glasadd_show=true
308 364
       this.Glas_baoxiao=false
309 365
       this.cancel_num=0
366
+      this.dele_dialogVisible=true
367
+    },
368
+    deleclick(){
369
+      for(let i=0;i<this.history_Glasgow.length;i++){
370
+        if(this.dele_id==this.history_Glasgow[i].id){
371
+          this.history_Glasgow.splice(i,1)
372
+        }
373
+      }
374
+      this.dele_dialogVisible=false
375
+    },
376
+    dele_Cancel(){
377
+      this.append=false
378
+      this.Glasadd_show=true
379
+      this.Glas_gzdayin=true
380
+      this.dele_dialogVisible=false
310 381
     },
311 382
     Glas_quxiao(){
312 383
       // console.log('1111',this.cancel_num);
@@ -333,6 +404,12 @@ export default {
333 404
         scanStyles: false
334 405
       })
335 406
       this.open_print=false
407
+    },
408
+
409
+  },
410
+  computed:{
411
+    Glasgow_Totalpoints(){
412
+      return this.zhengyan_num*1 + this.yuyan_num*1 + this.yundong_num*1
336 413
     }
337 414
   }
338 415
 }
@@ -405,7 +482,7 @@ export default {
405 482
     z-index: -1;
406 483
 }
407 484
 .tables {
408
-  
485
+
409 486
   thead th{
410 487
     text-align: center;
411 488
     height: 40px;

+ 62 - 25
src/xt_pages/user/evaluationtool/Muscleforce.vue ファイルの表示

@@ -97,7 +97,7 @@
97 97
                       <td class="start">{{ item.title }}</td>
98 98
                       <td>
99 99
                         <div class="jiange">
100
-                          <label style="font-size: 15px;"><input type="checkbox" name="ball" :value="item.value" @change="handleCheckedCitiesChange"/>&nbsp;{{ item.value }}</label>
100
+                          <label style="font-size: 15px;"><input type="checkbox" class="checkbox" name="ball" :value="item.value" @change="handleCheckedCitiesChange"/>&nbsp;{{ item.label }}</label>
101 101
                         </div>
102 102
                       </td>
103 103
                     </tr>
@@ -154,6 +154,7 @@
154 154
                   :data="history_muscle"
155 155
                   stripe
156 156
                   border
157
+                  @row-click="Muscle_click"
157 158
                   :highlight-current-row="true"
158 159
                   :header-cell-style="{
159 160
                       background: '#0077ff9f',color:'white'
@@ -181,7 +182,10 @@
181 182
 
182 183
       </div>
183 184
 
184
-      <el-dialog
185
+
186
+    </div>
187
+    <!-- 打印 -->
188
+    <el-dialog
185 189
       title="提示"
186 190
       :visible.sync="open_print"
187 191
       width="67%"
@@ -224,15 +228,24 @@
224 228
                       <!-- <el-input maxlength="200" type = "textarea" :rows="3" v-model="input" placeholder="输入护理措施,200字以内" ></el-input> -->
225 229
                   </div>
226 230
               </div>
227
-              
231
+
228 232
             </div>
229 233
           </div>
230 234
         </div>
231 235
       </div>
232
-      
233
-    </el-dialog>
234
-    </div>
235 236
 
237
+    </el-dialog>
238
+    <!-- 删除弹窗 -->
239
+    <el-dialog
240
+      title="提示"
241
+      :visible.sync="dele_dialogVisible"
242
+      width="30%">
243
+      <span>确认删除该数据</span>
244
+      <span slot="footer" class="dialog-footer">
245
+        <el-button @click="dele_Cancel">取 消</el-button>
246
+        <el-button type="primary" @click="deleclick">确 定</el-button>
247
+      </span>
248
+    </el-dialog>
236 249
   </div>
237 250
 </template>
238 251
 <script>
@@ -256,14 +269,14 @@ export default {
256 269
       options:[],
257 270
       tableData:[],
258 271
       shuju:[
259
-        {title:'0级',value:'肌肉完全不收缩'},
260
-        {title:'1级',value:'可见肌肉收缩但无肢体运动'},
261
-        {title:'2级',value:'肢体能在床上移动,但不能抬离床面,即不能对抗地心引力'},
262
-        {title:'3级',value:'肢体能抬离床面,克服地心引力做随意运动,但不能对抗外加阻力'},
263
-        {title:'4级',value:'能在一般的外加阻力下作运动,但力量较正常弱'},
264
-        {title:'5级',value:' 正常肌力'},
272
+        {title:'0级',label:'肌肉完全不收缩',value:0},
273
+        {title:'1级',label:'可见肌肉收缩但无肢体运动',value:1},
274
+        {title:'2级',label:'肢体能在床上移动,但不能抬离床面,即不能对抗地心引力',value:2},
275
+        {title:'3级',label:'肢体能抬离床面,克服地心引力做随意运动,但不能对抗外加阻力',value:3},
276
+        {title:'4级',label:'能在一般的外加阻力下作运动,但力量较正常弱',value:4},
277
+        {title:'5级',label:' 正常肌力',value:5},
265 278
       ],
266
-      history_muscle:[{date:'2023-9-27',mark:'',evaluate:''}],
279
+      history_muscle:[{id:'001',date:'2023-9-27',mark:'',evaluate:''}],
267 280
       pinggr:[{id:1,label:'小米'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
268 281
       append:false,
269 282
       add_open:1,
@@ -271,20 +284,23 @@ export default {
271 284
       baocun_quxiao:false,
272 285
       muscle_gsdayin:false,
273 286
       cancel_num:0,
274
-      open_print:false
287
+      open_print:false,
288
+      dele_id:'',
289
+      dele_dialogVisible:false,
275 290
     }
276 291
   },
277 292
   methods:{
278 293
     handleCheckedCitiesChange(e){
279
-      for(let i=0;i<this.shuju.length;i++){
280
-        if(e.target.value == this.shuju[i].value ){
281
-          const arr= (this.shuju[i].title.split('级')[0])
282
-          if(e.target.checked == true){
283
-          this.Mus_Totalpoints = arr
284
-          }else{
285
-          this.Mus_Totalpoints =0
286
-          }
287
-          console.log('33333',arr);
294
+      console.log('6666',e.target.value);
295
+      const ball = e.target.value
296
+      const checkboxs=document.getElementsByClassName('checkbox')
297
+      for(let i=0;i<checkboxs.length;i++){
298
+        if(ball==checkboxs[i].value ){
299
+          console.log('vvvv',this.ball,'bbbb',e.target.checked);
300
+          this.Mus_Totalpoints = checkboxs[i].value
301
+          checkboxs[i].checked=true
302
+        }else{
303
+          checkboxs[i].checked = false
288 304
         }
289 305
       }
290 306
     },
@@ -318,11 +334,30 @@ export default {
318 334
         }
319 335
       }
320 336
     },
337
+    Muscle_click(row,column, event){
338
+      this.dele_id=row.id
339
+    },
321 340
     muscle_dele(){
322 341
       this.muscle_gsdayin=false
323 342
       this.baocun_quxiao = false
324 343
       this.append=false
325 344
       this.muscle_pinggu=null
345
+      this.dele_dialogVisible=true
346
+    },
347
+    deleclick(){
348
+      for(let i=0;i<this.history_muscle.length;i++){
349
+        if(this.dele_id==this.history_muscle[i].id){
350
+          this.history_muscle.splice(i,1)
351
+        }
352
+      }
353
+      this.dele_dialogVisible=false
354
+    },
355
+    dele_Cancel(){
356
+      this.dele_dialogVisible=false
357
+      this.muscle_gsdayin=true
358
+      this.muscle_show=true
359
+      this.baocun_quxiao=false
360
+      this.append=false
326 361
     },
327 362
     muscle_cancel(){
328 363
       if(this.cancel_num==0){
@@ -353,7 +388,9 @@ export default {
353 388
         scanStyles: false
354 389
       })
355 390
       this.open_print=false
356
-    }
391
+    },
392
+
393
+
357 394
   }
358 395
 }
359 396
 </script>
@@ -415,7 +452,7 @@ export default {
415 452
     z-index: -1;
416 453
 }
417 454
 .tables {
418
-  
455
+
419 456
   thead th{
420 457
     // background: #0077ff9f;
421 458
     // color: white;

+ 122 - 27
src/xt_pages/user/evaluationtool/OHpressuresore.vue ファイルの表示

@@ -37,7 +37,7 @@
37 37
                               <td>
38 38
                                   <div class="jiange">
39 39
                                       <span v-for="item in tiwei" class="rightjiange" @change="handleCheckedCitiesChange">
40
-                                          <label><input type="checkbox" name="ball" :value="item"/>&nbsp;{{ item }}</label>
40
+                                          <label><input type="checkbox" class="checkbox1" name="ball" :value="item.value"/>&nbsp;{{ item.label }}</label>
41 41
                                       </span>
42 42
                                   </div>
43 43
                               </td>
@@ -46,8 +46,8 @@
46 46
                               <td class="start">病理性骨突出</td>
47 47
                               <td>
48 48
                                   <div class="jiange">
49
-                                      <span v-for="item in bingli" class="rightjiange" @change="handleCheckedCitiesChange">
50
-                                          <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
49
+                                      <span v-for="item in bingli" class="rightjiange" @change="bingligu">
50
+                                          <label><input type="checkbox" class="checkbox2" name="ball" :value="item.value" />&nbsp;{{ item.label }}</label>
51 51
                                       </span>
52 52
                                   </div>
53 53
                               </td>
@@ -57,8 +57,8 @@
57 57
                               <td class="start">浮肿</td>
58 58
                               <td>
59 59
                                   <div class="jiange">
60
-                                      <span v-for="item in edema" class="rightjiange" @change="handleCheckedCitiesChange">
61
-                                          <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
60
+                                      <span v-for="item in edema" class="rightjiange" @change="fozhong_chang">
61
+                                          <label><input type="checkbox" class="checkbox3" name="ball" :value="item.value" />&nbsp;{{ item.label }}</label>
62 62
                                       </span>
63 63
                                   </div>
64 64
                               </td>
@@ -68,8 +68,8 @@
68 68
                               <td class="start">关节痉挛</td>
69 69
                                 <td>
70 70
                                   <div class="jiange">
71
-                                      <span v-for="item in guanjie" class="rightjiange" @change="handleCheckedCitiesChange">
72
-                                          <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
71
+                                      <span v-for="item in guanjie" class="rightjiange" @change="guanjie_change">
72
+                                          <label><input type="checkbox" class="checkbox4" name="ball" :value="item.value" />&nbsp;{{ item.label }}</label>
73 73
                                       </span>
74 74
                                   </div>
75 75
                               </td>
@@ -137,6 +137,8 @@
137 137
               :data="history_OH"
138 138
               stripe
139 139
               border
140
+              @row-click="dele_click"
141
+              :highlight-current-row="true"
140 142
               :header-cell-style="{
141 143
                   background: '#0077ff9f',color:'white'}"
142 144
               style="width: 100%">
@@ -160,7 +162,10 @@
160 162
           </div>
161 163
         </div>
162 164
       </div>
163
-      
165
+
166
+
167
+    </div>
168
+    <!-- 打印 -->
164 169
     <el-dialog
165 170
       title="提示"
166 171
       :visible.sync="open_print"
@@ -252,9 +257,19 @@
252 257
           </div>
253 258
         </div>
254 259
       </div>
255
-      
260
+
261
+    </el-dialog>
262
+    <!-- 删除弹窗 -->
263
+    <el-dialog
264
+      title="提示"
265
+      :visible.sync="dele_dialogVisible"
266
+      width="30%">
267
+      <span>确认删除该数据</span>
268
+      <span slot="footer" class="dialog-footer">
269
+        <el-button @click="dele_Cancel">取 消</el-button>
270
+        <el-button type="primary" @click="deleclick">确 定</el-button>
271
+      </span>
256 272
     </el-dialog>
257
-    </div>
258 273
   </div>
259 274
 </template>
260 275
 <script>
@@ -267,18 +282,21 @@ export default {
267 282
   data(){
268 283
     return{
269 284
       patientID:0,
270
-      Totalpoints:null,
285
+      tiwei_num:null,
286
+      bingli_num:null,
287
+      edema_num:null,
288
+      gaunjie_num:null,
271 289
       ball:'',
272 290
       input:'',
273
-      history_OH:[{date:'2023-9-27',mark:'',evaluate:''}],
291
+      history_OH:[{id:'001',date:'2023-9-27',mark:'',evaluate:''}],
274 292
       form:[],
275 293
       appraiser:null,
276 294
       value1:'',
277 295
       options:[],
278
-      tiwei:['能(0分)','不能完全自立(1.5分)','不能(3分)'],
279
-      bingli:['无(0分)','轻度/中度(1.5分)','高度(3分)'],
280
-      edema:['无(0分)','有(3分)'],
281
-      guanjie:['无(0分)','有(1分)'],
296
+      tiwei:[{value:0,label:'能(0分)'},{value:1.5,label:'不能完全自立(1.5分)'},{value:3,label:'不能(3分)'}],
297
+      bingli:[{value:0,label:'无(0分)'},{value:1.5,label:'轻度/中度(1.5分)'},{value:3,label:'高度(3分)'}],
298
+      edema:[{value:0,label:'无(0分)'},{value:3,label:'有(3分)'}],
299
+      guanjie:[{value:0,label:'无(0分)'},{value:1,label:'有(1分)'}],
282 300
       pinggr:[{id:1,label:'小米'},{id:2,label:'千仞雪'},{id:3,label:'千亦雪'},],
283 301
       checkList:[],
284 302
       checkList1:[],
@@ -292,23 +310,69 @@ export default {
292 310
       zsgy_open:0,//控制编辑,删除,打印显示
293 311
       cancel_num:0,//取消的条件
294 312
       open_print:false,
313
+      dele_id:'',//删除的索引
314
+      dele_dialogVisible:false
295 315
     }
296 316
   },
297 317
   methods:{
298 318
     //选择的总分
299 319
     handleCheckedCitiesChange(e){
300
-      this.ball = e.target.value
301
-      var jiequ =(this.ball.split('(')[1].split('分')[0]) * 1
302
-      if(e.target.checked==true){
303
-        this.Totalpoints=this.Totalpoints + jiequ
304
-        console.log('22222 .slice(1)',this.ball);
305
-        console.log('3333333333',this.Totalpoints);
306
-        return this.Totalpoints
307
-      }else{
308
-        this.Totalpoints=this.Totalpoints-jiequ
309
-        return this.Totalpoints
320
+      const ball = e.target.value
321
+      const checkboxs=document.getElementsByClassName('checkbox1')
322
+      for(let i=0;i<checkboxs.length;i++){
323
+        if(ball==checkboxs[i].value ){
324
+            console.log('vvvv',ball,'bbbb',e.target.checked);
325
+            this.tiwei_num = checkboxs[i].value
326
+            e.target.checked=true
327
+            checkboxs[i].checked=true
328
+        }else{
329
+          checkboxs[i].checked = false
330
+        }
331
+        // if(checkboxs[i].checked == true){
332
+        //   if(ball==checkboxs[i].value){
333
+        //     checkboxs[i].checked=false
334
+        //   }
335
+        // }
336
+      }
337
+    },
338
+    bingligu(e){
339
+      const ball=e.target.value
340
+      const checkboxs=document.getElementsByClassName('checkbox2')
341
+      for(let i=0;i<checkboxs.length;i++){
342
+        if(ball==checkboxs[i].value ){
343
+          console.log('vvvv',ball,'bbbb',e.target.checked);
344
+          this.bingli_num = checkboxs[i].value
345
+          checkboxs[i].checked=true
346
+        }else{
347
+          checkboxs[i].checked = false
348
+        }
349
+      }
350
+    },
351
+    fozhong_chang(e){
352
+      const ball=e.target.value
353
+      const checkboxs=document.getElementsByClassName('checkbox3')
354
+      for(let i=0;i<checkboxs.length;i++){
355
+        if(ball==checkboxs[i].value ){
356
+          console.log('vvvv',ball,'bbbb',e.target.checked);
357
+          this.edema_num = checkboxs[i].value
358
+          checkboxs[i].checked=true
359
+        }else{
360
+          checkboxs[i].checked = false
361
+        }
362
+      }
363
+    },
364
+    guanjie_change(e){
365
+      const ball=e.target.value
366
+      const checkboxs=document.getElementsByClassName('checkbox4')
367
+      for(let i=0;i<checkboxs.length;i++){
368
+        if(ball==checkboxs[i].value ){
369
+          console.log('vvvv',ball,'bbbb',e.target.checked);
370
+          this.gaunjie_num= checkboxs[i].value
371
+          checkboxs[i].checked=true
372
+        }else{
373
+          checkboxs[i].checked = false
374
+        }
310 375
       }
311
-
312 376
     },
313 377
     // 新增
314 378
     OHadd(){
@@ -352,17 +416,36 @@ export default {
352 416
       this.baocun_open=1
353 417
       this.cancel_num=1
354 418
     },
419
+    dele_click(row, column, event){
420
+      this.dele_id=row.id
421
+    },
355 422
     //删除
356 423
     dele_OH(){
357 424
       this.zsgy_open=0
358 425
       this.append=false
426
+      this.dele_dialogVisible=true
427
+    },
428
+    deleclick(){
429
+      for(let i=0;i<this.history_OH.length;i++){
430
+        if(this.dele_id==this.history_OH[i].id){
431
+          this.history_OH.splice(i,1)
432
+        }
433
+      }
434
+      this.dele_dialogVisible=false
359 435
     },
360 436
     //打印
361 437
     print_OH(){
362 438
       this.open_print=true
363 439
     },
440
+    dele_Cancel(){
441
+      this.append=false
442
+      this.zsgy_open=1
443
+      this.add_show=true
444
+      this.dele_dialogVisible=false
445
+    },
364 446
     //取消
365 447
     cancel_OH(){
448
+      const checkboxs=document.getElementsByClassName('ball')
366 449
       this.baocun_open=0
367 450
       console.log('1111',this.cancel_num);
368 451
       if(this.cancel_num==1){
@@ -372,6 +455,13 @@ export default {
372 455
         this.zsgy_open=0
373 456
         this.add_show=true
374 457
         this.append=false
458
+        this.tiwei_num=''
459
+        this.bingli_num=null
460
+        this.edema_num=null
461
+        this.gaunjie_num=null
462
+        for(let i=0;i<checkboxs.length;i++){
463
+          checkboxs[i].checked = false
464
+        }
375 465
       }
376 466
 
377 467
     },
@@ -385,6 +475,11 @@ export default {
385 475
       })
386 476
       this.open_print=false
387 477
     }
478
+  },
479
+  computed:{
480
+    Totalpoints(){
481
+      return this.gaunjie_num*1 + this.edema_num*1 + this.bingli_num*1 + this.tiwei_num*1
482
+    }
388 483
   }
389 484
 }
390 485
 </script>

+ 14 - 8
src/xt_pages/user/evaluationtool/RassAssessment.vue ファイルの表示

@@ -1,6 +1,6 @@
1 1
 <template>
2 2
     <div class="patient-container">
3
-        <patient-sidebar :id="patientID" defaultActive="5-6"></patient-sidebar>
3
+        <patient-sidebar :id="patientID" defaultActive="5-7"></patient-sidebar>
4 4
         <div>
5 5
             <div class="patient-app-container advice-container app-container">
6 6
                 <div class='content_top' style="width: 100%;margin-bottom: 20px;">
@@ -196,9 +196,14 @@
196 196
                                         <img :src="item.imgs" alt="">
197 197
                                       </div>
198 198
                                       <span>
199
-                                        <label >
199
+                                        <!-- <el-radio :label="item.text" :value="item.value" :key="index" style="color: black;" ></el-radio> -->
200
+                                        <!-- <label >
200 201
                                         <input type="radio" :value="item.value"  name="ttpggj-bqf" @click="radioclick($event,item.value)">
201
-                                        {{item.text}}</label>
202
+                                        {{item.text}}</label> -->
203
+                                        <el-radio-group v-model="radio1" @change="radioclick($event,item.value)">
204
+                                          <el-radio  :label="item.text" :value="item.value" :key="index" style="color: black;" >
205
+                                          </el-radio>
206
+                                      </el-radio-group>
202 207
                                       </span>
203 208
                                     </div>
204 209
                                   </div>
@@ -544,9 +549,10 @@ export default {
544 549
           }
545 550
         }
546 551
       },
547
-      radioclick(e,val){
548
-        if(e.target.checked == true){
549
-          this.radio_val =val
552
+      radioclick(e,value){
553
+        console.log('2222',e,value);
554
+        if(e == this.radio1){
555
+          this.radio_val =value
550 556
         }
551 557
       },
552 558
       yuyanchange(e){
@@ -566,7 +572,7 @@ export default {
566 572
         // this.shijue = val
567 573
         this.shijue_val =val
568 574
         console.log('00000',val);
569
-         
575
+
570 576
       },
571 577
       click_NRS(val){
572 578
         this.NRS_val = val
@@ -594,7 +600,7 @@ export default {
594 600
           return this.behav_val
595 601
           // this.$refs.behavior.getTotalpoints()
596 602
         }
597
-        
603
+
598 604
       }
599 605
     }
600 606
 }

+ 67 - 50
src/xt_pages/user/evaluationtool/behavior.vue ファイルの表示

@@ -51,44 +51,55 @@
51 51
           </table>
52 52
         </div>
53 53
         <div v-if="radio == '老年痴呆症量表'">
54
-          <table border="1" class="table">
54
+          <table border="1" class="table" style="white-space:pre-wrap;">
55 55
             <thead>
56 56
               <tr>
57
-                <td>老年痴呆症疼痛估量表</td>
58
-                <td>0</td>
59
-                <td>1</td>
60
-                <td>2</td>
57
+                <td style="width: 17%;">老年痴呆症疼痛估量表</td>
58
+                <td style="width: 27%;">0</td>
59
+                <td style="width: 27%;">1</td>
60
+                <td style="width: 27%;">2</td>
61 61
               </tr>
62 62
             </thead>
63
-            <tbody>
64
-              <tr class="bg_color">
63
+             <tbody>
64
+             <tr class="bg_color">
65 65
                 <td>1、呼吸</td>
66
-                <td v-for="(item,index) in laor_huxi" :key="index">
67
-                  <el-radio v-model="radio_lrhuxi" :label="item.value" @change="laorhuxi">{{ item.label }}</el-radio>
66
+                <td v-for="(item,index) in laor_huxi" :key="index" >
67
+                  <div>
68
+                    <el-radio v-model="radio_lrhuxi" :label="item.value" @change="laorhuxi"
69
+                    style="white-space: normal;">
70
+                    {{ item.label }}
71
+                    </el-radio>
72
+                  </div>
68 73
                 </td>
69 74
               </tr>
70 75
               <tr class="">
71 76
                 <td>2、负面声音表达</td>
72 77
                 <td v-for="(item,index) in laor_fumian" :key="index">
73
-                  <el-radio v-model="radio_lrfumian" :label="item.value" @change="laorhuxi">{{ item.label }}</el-radio>
78
+                  <div style="Word-break: break-all">
79
+                    <el-radio v-model="radio_lrfumian" :label="item.value" @change="laorhuxi"
80
+                    style="white-space: normal;">{{ item.label }}</el-radio>
81
+                  </div>
74 82
                 </td>
75 83
               </tr>
76
-              <tr class="bg_color">
84
+               <tr class="bg_color">
77 85
                 <td>3、面部表情</td>
78 86
                 <td v-for="(item,index) in laor_mianbu" :key="index">
79
-                  <el-radio v-model="radio_lrmianbu" :label="item.value" @change="laorhuxi">{{ item.label }}</el-radio>
87
+                  <el-radio v-model="radio_lrmianbu" :label="item.value" @change="laorhuxi"
88
+                  style="white-space: normal;">{{ item.label }}</el-radio>
80 89
                 </td>
81 90
               </tr>
82 91
               <tr class="">
83 92
                 <td>4、身体语言</td>
84 93
                 <td v-for="(item,index) in laor_shengti" :key="index">
85
-                  <el-radio v-model="radio_lrshengti" :label="item.value" @change="laorhuxi">{{ item.label }}</el-radio>
94
+                  <el-radio v-model="radio_lrshengti" :label="item.value" @change="laorhuxi"
95
+                  style="white-space: normal;">{{ item.label }}</el-radio>
86 96
                 </td>
87 97
               </tr>
88 98
               <tr class="bg_color">
89 99
                 <td>5、可安抚程度</td>
90 100
                 <td v-for="(item,index) in laor_keanfu" :key="index">
91
-                  <el-radio v-model="radio_lrkeanfu" :label="item.value" @change="laorhuxi">{{ item.label }}</el-radio>
101
+                  <el-radio v-model="radio_lrkeanfu" :label="item.value" @change="laorhuxi"
102
+                  style="white-space: normal;">{{ item.label }}</el-radio>
92 103
                 </td>
93 104
               </tr>
94 105
             </tbody>
@@ -108,31 +119,36 @@
108 119
               <tr class="bg_color">
109 120
                 <td>1、面部表情</td>
110 121
                 <td v-for="(item,index) in zhongzhen_mianbu" :key="index">
111
-                  <el-radio v-model="radio_zzmianbu" :label="item.value" @change="zhongzheng">{{ item.label }}</el-radio>
122
+                  <el-radio v-model="radio_zzmianbu" :label="item.value" @change="zhongzheng"
123
+                  style="white-space: normal;">{{ item.label }}</el-radio>
112 124
                 </td>
113 125
               </tr>
114 126
               <tr class="">
115 127
                 <td>2、身体运动</td>
116 128
                 <td v-for="(item,index) in zhongzhen_shengti" :key="index">
117
-                  <el-radio v-model="radio_zzshengti" :label="item.value" @change="zhongzheng">{{ item.label }}</el-radio>
129
+                  <el-radio v-model="radio_zzshengti" :label="item.value" @change="zhongzheng"
130
+                  style="white-space: normal;">{{ item.label }}</el-radio>
118 131
                 </td>
119 132
               </tr>
120 133
               <tr class="bg_color">
121 134
                 <td>3、肌紧张(对上肢被动屈伸的评估)</td>
122 135
                 <td v-for="(item,index) in zhongzhen_jjinz" :key="index">
123
-                  <el-radio v-model="radio_zzjjinz" :label="item.value" @change="zhongzheng">{{ item.label }}</el-radio>
136
+                  <el-radio v-model="radio_zzjjinz" :label="item.value" @change="zhongzheng"
137
+                  style="white-space: normal;">{{ item.label }}</el-radio>
124 138
                 </td>
125 139
               </tr>
126 140
               <tr class="">
127 141
                 <td>4、机械通气的顺应(插管患者)</td>
128 142
                 <td v-for="(item,index) in zhongzhen_jixie" :key="index">
129
-                  <el-radio v-model="radio_zzjixie" :label="item.value" @change="zhongzheng">{{ item.label }}</el-radio>
143
+                  <el-radio v-model="radio_zzjixie" :label="item.value" @change="zhongzheng"
144
+                  style="white-space: normal;">{{ item.label }}</el-radio>
130 145
                 </td>
131 146
               </tr>
132 147
               <tr class="bg_color">
133 148
                 <td>5、发声(未插管患者)</td>
134 149
                 <td v-for="(item,index) in zhongzhen_fashen" :key="index">
135
-                  <el-radio v-model="radio_zzfasheng" :label="item.value" @change="zhongzheng">{{ item.label }}</el-radio>
150
+                  <el-radio v-model="radio_zzfasheng" :label="item.value" @change="zhongzheng"
151
+                  style="white-space: normal;">{{ item.label }}</el-radio>
136 152
                 </td>
137 153
               </tr>
138 154
             </tbody>
@@ -260,7 +276,7 @@ export default{
260 276
       mianbu_val:0,
261 277
       shengti_val:0,
262 278
       keanfu_val:0,
263
-      
279
+
264 280
       zzmian_val:0,
265 281
       zzshengti_val:0,
266 282
       zzjjinz_val:0,
@@ -353,7 +369,7 @@ export default{
353 369
     //   }else if (this.radio == '2月-7岁患者量表') {
354 370
     //     return this.hzface_val + this.hzleg_val + this.hzactiv_val + this.hzcry_val + this.hzcon_val
355 371
     //   }
356
-      
372
+
357 373
     // }
358 374
   }
359 375
 
@@ -361,32 +377,33 @@ export default{
361 377
 </script>
362 378
 
363 379
 <style lang="scss" scoped>
364
-    .jiange{
365
-        margin-left: 20px;
366
-        color: black;
367
-        line-height: 40px;
368
-    }
369
-    .table{
370
-        border: 1px solid #DCDFE6;
371
-        border-collapse:collapse;
372
-        border-spacing: 0;
373
-        width: 98%;
374
-        margin:10px auto;
375
-        thead td{
376
-            text-align: center;
377
-        }
378
-        tbody td{
379
-            font-size: 15px;
380
-            padding: 5px;
381
-        }
382
-        tr td{
383
-            line-height: 30px;
384
-        }
385
-        .bg_color{
386
-            background: rgb(243, 240, 240);
387
-        }
388
-        input{
389
-            -webkit-appearance: checkbox;
390
-        }
391
-    }
392
-</style>
380
+  .jiange{
381
+      margin-left: 20px;
382
+      color: black;
383
+      line-height: 40px;
384
+  }
385
+  .table{
386
+      border: 1px solid #DCDFE6;
387
+      border-collapse:collapse;
388
+      border-spacing: 0;
389
+      width: 98%;
390
+      margin:10px auto;
391
+      thead td{
392
+          text-align: center;
393
+      }
394
+      tbody td{
395
+          font-size: 15px;
396
+          padding: 5px;
397
+      }
398
+      tr td{
399
+          line-height: 30px;
400
+      }
401
+      .bg_color{
402
+          background: rgb(243, 240, 240);
403
+      }
404
+      input{
405
+          -webkit-appearance: checkbox;
406
+      }
407
+  }
408
+
409
+</style>

+ 239 - 184
src/xt_pages/user/evaluationtool/dailyLife.vue ファイルの表示

@@ -1,7 +1,7 @@
1 1
 <!--  日常生活能力评估 -->
2 2
 <template>
3 3
     <div class="patient-container">
4
-        <patient-sidebar :id="patientID" defaultActive="5-4"></patient-sidebar>
4
+        <patient-sidebar :id="patientID" defaultActive="5-5"></patient-sidebar>
5 5
         <div>
6 6
             <div class="patient-app-container advice-container app-container">
7 7
 
@@ -14,144 +14,144 @@
14 14
 
15 15
                 <div>
16 16
                   <table class="table" border="1" style="width: 100%;">
17
-                      <thead>
18
-                        <tr>
19
-                          <th style="width: 150px;">项目</th>
20
-                          <th colspan="4">分值</th>
21
-                        </tr>
22
-                      </thead>
23
-                      <tbody>
24
-                        <tr class="bg_color">
25
-                          <td class="start">进食</td>
26
-                          <td v-for="(item,index) in jinshi" :key="index">
27
-                              <div class="jiange">
28
-                                <span>
29
-                                  <label><input type="checkbox" name="ball" :value="item.value" @click="jinshiclick($event,item.value)"/>&nbsp;
30
-                                      {{ item.label }}
31
-                                  </label>
32
-                                </span>
33
-                              </div>
34
-                          </td>
35
-                          <td>&nbsp;</td>
36
-                        </tr>
37
-                        <tr>
38
-                          <td class="start">洗澡</td>
39
-                          <td v-for="(item,index) in xizao" :key="index">
17
+                    <thead>
18
+                      <tr>
19
+                        <th style="width: 150px;">项目</th>
20
+                        <th colspan="4">分值</th>
21
+                      </tr>
22
+                    </thead>
23
+                    <tbody>
24
+                      <tr class="bg_color">
25
+                        <td class="start">进食</td>
26
+                        <td v-for="(item,index) in jinshi" :key="index">
27
+                          <div class="jiange">
28
+                            <span>
29
+                              <label><input type="checkbox" class="checkbox1" name="ball" :value="item.value" @click="jinshiclick($event,item.value)"/>&nbsp;
30
+                                  {{ item.label }}
31
+                              </label>
32
+                            </span>
33
+                          </div>
34
+                        </td>
35
+                        <td>&nbsp;</td>
36
+                      </tr>
37
+                      <tr>
38
+                        <td class="start">洗澡</td>
39
+                        <td v-for="(item,index) in xizao" :key="index">
40
+                          <div class="jiange">
41
+                            <span>
42
+                              <label><input type="checkbox" class="checkbox2" name="ball" :value="item.value" @click="xizaoclick($event,item.value)"/>&nbsp;
43
+                                  {{ item.label }}
44
+                              </label>
45
+                            </span>
46
+                          </div>
47
+                        </td>
48
+                        <td></td>
49
+                        <td></td>
50
+                      </tr>
51
+                      <tr class="bg_color">
52
+                        <td class="start">修饰</td>
53
+                        <td v-for="(item,index) in xiushi" :key="index">
40 54
                             <div class="jiange">
41 55
                               <span>
42
-                                <label><input type="checkbox" name="ball" :value="item.value" @click="xizaoclick($event,item.value)"/>&nbsp;
43
-                                    {{ item.label }}
44
-                                </label>
45
-                              </span>
46
-                            </div>
47
-                          </td>
48
-                          <td></td>
49
-                          <td></td>
50
-                        </tr>
51
-                        <tr class="bg_color">
52
-                          <td class="start">修饰</td>
53
-                          <td v-for="(item,index) in xiushi" :key="index">
54
-                              <div class="jiange">
55
-                                <span>
56
-                                  <label><input type="checkbox" name="ball" :value="item.value" @click="xiushiclick($event,item.value)"/>&nbsp;
57
-                                      {{item.label}}
58
-                                  </label>
59
-                                </span>
60
-                              </div>
61
-                          </td>
62
-                          <td></td>
63
-                          <td></td>
64
-                        </tr>
65
-                        <tr>
66
-                          <td class="start">穿衣</td>
67
-                          <td v-for="(item,index) in chuanyi" :key="index">
68
-                            <div class="jiange">
69
-                              <span>
70
-                                <label><input type="checkbox" name="ball" :value="item.value" @click="chuanyiclick($event,item.value)"/>&nbsp;
71
-                                    {{item.label}}
72
-                                </label>
73
-                              </span>
74
-                            </div>
75
-                          </td>
76
-                          <td></td>
77
-                        </tr>
78
-                        <tr class="bg_color">
79
-                          <td class="start">控制大便</td>
80
-                          <td v-for="(item,index) in dabian" :key="index">
81
-                            <div class="jiange">
82
-                              <span>
83
-                                <label><input type="checkbox" name="ball" :value="item.value" @click="dabianclick($event,item.value)"/>&nbsp;
84
-                                    {{item.label}}
85
-                                </label>
86
-                              </span>
87
-                            </div>
88
-                          </td>
89
-                          <td></td>
90
-                        </tr>
91
-                        <tr>
92
-                          <td class="start">控制小便</td>
93
-                          <td v-for="(item,index) in xioabian" :key="index">
94
-                            <div class="jiange">
95
-                              <span>
96
-                                <label><input type="checkbox" name="ball" :value="item.value" @click="xioabianclick($event,item.value)"/>&nbsp;
97
-                                    {{item.label}}
98
-                                </label>
99
-                              </span>
100
-                            </div>
101
-                          </td>
102
-                          <td></td>
103
-                        </tr>
104
-                        <tr class="bg_color">
105
-                          <td class="start">如厕</td>
106
-                          <td v-for="(item,index) in ruce" :key="index">
107
-                            <div class="jiange">
108
-                              <span>
109
-                                <label><input type="checkbox" name="ball" :value="item.value" @click="ruceclick($event,item.value)"/>&nbsp;
110
-                                    {{item.label}}
111
-                                </label>
112
-                              </span>
113
-                            </div>
114
-                          </td>
115
-                          <td></td>
116
-                        </tr>
117
-                        <tr>
118
-                          <td class="start">床椅转移</td>
119
-                          <td v-for="(item,index) in chuangyi" :key="index">
120
-                            <div class="jiange">
121
-                              <span>
122
-                                <label><input type="checkbox" name="ball" :value="item.value" @click="chuangyiclick($event,item.value)"/>&nbsp;
56
+                                <label><input type="checkbox" class="checkbox3" name="ball" :value="item.value" @click="xiushiclick($event,item.value)"/>&nbsp;
123 57
                                     {{item.label}}
124 58
                                 </label>
125 59
                               </span>
126 60
                             </div>
127
-                          </td>
128
-                        </tr>
129
-                        <tr class="bg_color">
130
-                          <td class="start">平地行走</td>
131
-                          <td v-for="(item,index) in pingdi" :key="index">
132
-                            <div class="jiange">
133
-                              <span>
134
-                                <label><input type="checkbox" name="ball" :value="item.value" @click="pingdiclick($event,item.value)"/>&nbsp;
135
-                                    {{item.label}}
136
-                                </label>
137
-                              </span>
138
-                            </div>
139
-                          </td>
140
-                        </tr>
141
-                        <tr>
142
-                          <td class="start">上下楼梯</td>
143
-                          <td v-for="(item,index) in louti" :key="index">
144
-                            <div class="jiange">
145
-                              <span>
146
-                                <label><input type="checkbox" name="ball" :value="item.value" @click="louticlick($event,item.value)"/>&nbsp;
147
-                                    {{ item.label }}
148
-                                </label>
149
-                              </span>
150
-                            </div>
151
-                          </td>
152
-                          <td></td>
153
-                        </tr>
154
-                      </tbody>
61
+                        </td>
62
+                        <td></td>
63
+                        <td></td>
64
+                      </tr>
65
+                      <tr>
66
+                        <td class="start">穿衣</td>
67
+                        <td v-for="(item,index) in chuanyi" :key="index">
68
+                          <div class="jiange">
69
+                            <span>
70
+                              <label><input type="checkbox" class="checkbox4" name="ball" :value="item.value" @click="chuanyiclick($event,item.value)"/>&nbsp;
71
+                                  {{item.label}}
72
+                              </label>
73
+                            </span>
74
+                          </div>
75
+                        </td>
76
+                        <td></td>
77
+                      </tr>
78
+                      <tr class="bg_color">
79
+                        <td class="start">控制大便</td>
80
+                        <td v-for="(item,index) in dabian" :key="index">
81
+                          <div class="jiange">
82
+                            <span>
83
+                              <label><input type="checkbox" class="checkbox5" name="ball" :value="item.value" @click="dabianclick($event,item.value)"/>&nbsp;
84
+                                  {{item.label}}
85
+                              </label>
86
+                            </span>
87
+                          </div>
88
+                        </td>
89
+                        <td></td>
90
+                      </tr>
91
+                      <tr>
92
+                        <td class="start">控制小便</td>
93
+                        <td v-for="(item,index) in xioabian" :key="index">
94
+                          <div class="jiange">
95
+                            <span>
96
+                              <label><input type="checkbox" class="checkbox6" name="ball" :value="item.value" @click="xiaobianclick($event,item.value)"/>&nbsp;
97
+                                  {{item.label}}
98
+                              </label>
99
+                            </span>
100
+                          </div>
101
+                        </td>
102
+                        <td></td>
103
+                      </tr>
104
+                      <tr class="bg_color">
105
+                        <td class="start">如厕</td>
106
+                        <td v-for="(item,index) in ruce" :key="index">
107
+                          <div class="jiange">
108
+                            <span>
109
+                              <label><input type="checkbox" class="checkbox7" name="ball" :value="item.value" @click="ruceclick($event,item.value)"/>&nbsp;
110
+                                  {{item.label}}
111
+                              </label>
112
+                            </span>
113
+                          </div>
114
+                        </td>
115
+                        <td></td>
116
+                      </tr>
117
+                      <tr>
118
+                        <td class="start">床椅转移</td>
119
+                        <td v-for="(item,index) in chuangyi" :key="index">
120
+                          <div class="jiange">
121
+                            <span>
122
+                              <label><input type="checkbox" class="checkbox8" name="ball" :value="item.value" @click="chuangyiclick($event,item.value)"/>&nbsp;
123
+                                  {{item.label}}
124
+                              </label>
125
+                            </span>
126
+                          </div>
127
+                        </td>
128
+                      </tr>
129
+                      <tr class="bg_color">
130
+                        <td class="start">平地行走</td>
131
+                        <td v-for="(item,index) in pingdi" :key="index">
132
+                          <div class="jiange">
133
+                            <span>
134
+                              <label><input type="checkbox" class="checkbox9" name="ball" :value="item.value" @click="pingdiclick($event,item.value)"/>&nbsp;
135
+                                  {{item.label}}
136
+                              </label>
137
+                            </span>
138
+                          </div>
139
+                        </td>
140
+                      </tr>
141
+                      <tr>
142
+                        <td class="start">上下楼梯</td>
143
+                        <td v-for="(item,index) in louti" :key="index">
144
+                          <div class="jiange">
145
+                            <span>
146
+                              <label><input type="checkbox" class="checkbox10" name="ball" :value="item.value" @click="louticlick($event,item.value)"/>&nbsp;
147
+                                  {{ item.label }}
148
+                              </label>
149
+                            </span>
150
+                          </div>
151
+                        </td>
152
+                        <td></td>
153
+                      </tr>
154
+                    </tbody>
155 155
                   </table>
156 156
                 </div>
157 157
 
@@ -244,7 +244,7 @@ export default {
244 244
               {value:5,label:'偶尔失禁(5分)'},
245 245
               {value:0,label:'完全失禁(0分)'}
246 246
             ],
247
-      xioabian:[{value:10,label:'可控制便(10分)'},
247
+      xioabian:[{value:10,label:'可控制便(10分)'},
248 248
               {value:5,label:'偶尔失禁(5分)'},
249 249
               {value:0,label:'完全失禁(0分)'}
250 250
             ],
@@ -270,74 +270,129 @@ export default {
270 270
   },
271 271
   methods:{
272 272
     jinshiclick(e,val){
273
-     if(e.target.checked == true){
274
-      this.jinshi_val = val
275
-     }else{
276
-      this.jinshi_val =this.jinshi_val - val
277
-     }
273
+      const checkboxs=document.getElementsByClassName('checkbox1')
274
+      for(let i=0;i<checkboxs.length;i++){
275
+        if(val==checkboxs[i].value){
276
+          this.jinshi_val = val
277
+          checkboxs[i].value
278
+          checkboxs[i].checked=true
279
+        }else{
280
+          checkboxs[i].checked = false
281
+        }
282
+      }
278 283
     },
279 284
     xizaoclick(e,val){
280
-      if(e.target.checked == true){
281
-      this.xizao_val = val
282
-     }else{
283
-      this.xizao_val =this.xizao_val - val
284
-     }
285
+      const checkboxs=document.getElementsByClassName('checkbox2')
286
+      for(let i=0;i<checkboxs.length;i++){
287
+        if(val==checkboxs[i].value){
288
+          this.xizao_val = val
289
+          checkboxs[i].value
290
+          checkboxs[i].checked=true
291
+        }else{
292
+          checkboxs[i].checked = false
293
+        }
294
+      }
285 295
     },
286 296
     xiushiclick(e,val){
287
-     if(e.target.checked == true){
288
-      this.xiushi_val = val
289
-     }else{
290
-      this.xiushi_val =this.xiushi_val - val
291
-     }
297
+     const checkboxs=document.getElementsByClassName('checkbox3')
298
+      for(let i=0;i<checkboxs.length;i++){
299
+        if(val==checkboxs[i].value){
300
+          this.xiushi_val = val
301
+          checkboxs[i].value
302
+          checkboxs[i].checked=true
303
+        }else{
304
+          checkboxs[i].checked = false
305
+        }
306
+      }
292 307
     },
293 308
     chuanyiclick(e,val){
294
-      if(e.target.checked == true){
295
-      this.chuanyi_val = val
296
-     }else{
297
-      this.chuanyi_val =this.chuanyi_val - val
298
-     }
309
+     const checkboxs=document.getElementsByClassName('checkbox4')
310
+      for(let i=0;i<checkboxs.length;i++){
311
+        if(val==checkboxs[i].value){
312
+          this.chuanyi_val = val
313
+          checkboxs[i].value
314
+          checkboxs[i].checked=true
315
+        }else{
316
+          checkboxs[i].checked = false
317
+        }
318
+      }
299 319
     },
300 320
     dabianclick(e,val){
301
-     if(e.target.checked == true){
302
-      this.dabian_val = val
303
-     }else{
304
-      this.dabian_val =this.dabian_val - val
305
-     }
321
+     const checkboxs=document.getElementsByClassName('checkbox5')
322
+      for(let i=0;i<checkboxs.length;i++){
323
+        if(val==checkboxs[i].value){
324
+          this.dabian_val = val
325
+          checkboxs[i].value
326
+          checkboxs[i].checked=true
327
+        }else{
328
+          checkboxs[i].checked = false
329
+        }
330
+      }
306 331
     },
307 332
     xiaobianclick(e,val){
308
-      if(e.target.checked == true){
309
-      this.xiaobian_val = val
310
-     }else{
311
-      this.xiaobian_val =this.xiaobian_val - val
312
-     }
333
+     const checkboxs=document.getElementsByClassName('checkbox6')
334
+      for(let i=0;i<checkboxs.length;i++){
335
+        if(val==checkboxs[i].value){
336
+          this.xiaobian_val = val
337
+          checkboxs[i].value
338
+          checkboxs[i].checked=true
339
+        }else{
340
+          checkboxs[i].checked = false
341
+        }
342
+      }
313 343
     },
314 344
     ruceclick(e,val){
315
-     if(e.target.checked == true){
316
-      this.ruce_val = val
317
-     }else{
318
-      this.ruce_val =this.ruce_val - val
319
-     }
345
+     const checkboxs=document.getElementsByClassName('checkbox7')
346
+      for(let i=0;i<checkboxs.length;i++){
347
+        if(val==checkboxs[i].value){
348
+          this.ruce_val = val
349
+          checkboxs[i].value
350
+          checkboxs[i].checked=true
351
+        }else{
352
+          checkboxs[i].checked = false
353
+        }
354
+      }
320 355
     },
321 356
     chuangyiclick(e,val){
322
-      if(e.target.checked == true){
323
-      this.chuangyi_val = val
324
-     }else{
325
-      this.chuangyi_val =this.chuangyi_val - val
326
-     }
357
+     const checkboxs=document.getElementsByClassName('checkbox8')
358
+      for(let i=0;i<checkboxs.length;i++){
359
+        if(val==checkboxs[i].value){
360
+          this.chuangyi_val = val
361
+          checkboxs[i].value
362
+          checkboxs[i].checked=true
363
+        }else{
364
+          checkboxs[i].checked = false
365
+        }
366
+      }
327 367
     },
328 368
     pingdiclick(e,val){
329
-     if(e.target.checked == true){
330
-      this.paingdi_val = val
331
-     }else{
332
-      this.paingdi_val =this.paingdi_val - val
333
-     }
369
+    //  if(e.target.checked == true){
370
+    //   this.paingdi_val = val
371
+    //  }else{
372
+    //   this.paingdi_val =this.paingdi_val - val
373
+    //  }
374
+     const checkboxs=document.getElementsByClassName('checkbox9')
375
+      for(let i=0;i<checkboxs.length;i++){
376
+        if(val==checkboxs[i].value){
377
+          this.paingdi_val = val
378
+          checkboxs[i].value
379
+          checkboxs[i].checked=true
380
+        }else{
381
+          checkboxs[i].checked = false
382
+        }
383
+      }
334 384
     },
335 385
     louticlick(e,val){
336
-      if(e.target.checked == true){
337
-      this.louti_val = val
338
-     }else{
339
-      this.louti_val =this.louti_val - val
340
-     }
386
+     const checkboxs=document.getElementsByClassName('checkbox10')
387
+      for(let i=0;i<checkboxs.length;i++){
388
+        if(val==checkboxs[i].value){
389
+          this.louti_val = val
390
+          checkboxs[i].value
391
+          checkboxs[i].checked=true
392
+        }else{
393
+          checkboxs[i].checked = false
394
+        }
395
+      }
341 396
     },
342 397
     datehistory(){
343 398
       this.$router.push({path: '/patients/date_history'})

+ 38 - 5
src/xt_pages/user/evaluationtool/hemodialysis.vue ファイルの表示

@@ -642,6 +642,8 @@
642 642
                   :data="history_hemod"
643 643
                   stripe
644 644
                   border
645
+                  @row-click="hemod_click"
646
+                  :highlight-current-row="true"
645 647
                   :header-cell-style="{
646 648
                       background: '#0077ff9f',color:'white'}"
647 649
                   style="width: 100%">
@@ -1262,12 +1264,23 @@
1262 1264
                       </tbody>
1263 1265
                   </table>
1264 1266
               </div>
1265
-              
1267
+
1266 1268
             </div>
1267 1269
           </div>
1268 1270
         </div>
1269 1271
       </div>
1270
-      
1272
+
1273
+    </el-dialog>
1274
+     <!-- 删除弹窗 -->
1275
+     <el-dialog
1276
+      title="提示"
1277
+      :visible.sync="dele_dialogVisible"
1278
+      width="30%">
1279
+      <span>确认删除该数据</span>
1280
+      <span slot="footer" class="dialog-footer">
1281
+        <el-button @click="dele_Cancel">取 消</el-button>
1282
+        <el-button type="primary" @click="deleclick">确 定</el-button>
1283
+      </span>
1271 1284
     </el-dialog>
1272 1285
   </div>
1273 1286
 </template>
@@ -1318,6 +1331,8 @@ export default {
1318 1331
       cancel_num:0,
1319 1332
       hemod_pinggu:null,
1320 1333
       open_print:false,
1334
+      dele_id:'',
1335
+      dele_dialogVisible:false,
1321 1336
     }
1322 1337
   },
1323 1338
   methods:{
@@ -1339,9 +1354,9 @@ export default {
1339 1354
         const pinggrlen=this.pinggr
1340 1355
         for(let i=0;i<lent.length;i++){
1341 1356
           for(let y=0;y<pinggrlen.length;y++){
1342
-            if(this.hemod_pinggu=pinggrlen[y].id){
1357
+            if(this.hemod_pinggu==pinggrlen[y].id){
1343 1358
               lent[i].evaluate=pinggrlen[y].label
1344
-              return lent[i].evaluate
1359
+              return lent
1345 1360
             }
1346 1361
           }
1347 1362
         }
@@ -1366,12 +1381,30 @@ export default {
1366 1381
       this.baocunqx=true
1367 1382
       this.gsdayin=false
1368 1383
     },
1384
+    dele_Cancel(){
1385
+      this.append=false
1386
+      this.append=true
1387
+      this.baocunqx=false
1388
+      this.dele_dialogVisible=false
1389
+    },
1369 1390
     hemod_dele(){
1370 1391
       this.append=false
1371 1392
       this.gsdayin=false
1372 1393
       this.baocunqx=false
1373 1394
       this.hemodadd_show=true
1374 1395
       this.cancel_num=0
1396
+      this.dele_dialogVisible=true
1397
+    },
1398
+    hemod_click(row,column, event){
1399
+      this.dele_id=row.id
1400
+    },
1401
+    deleclick(){
1402
+      for(let i=0;i<this.history_hemod.length;i++){
1403
+        if(this.dele_id==this.history_hemod[i].id){
1404
+          this.history_hemod.splice(i,1)
1405
+        }
1406
+      }
1407
+      this.dele_dialogVisible=false
1375 1408
     },
1376 1409
     print_pingfen(){
1377 1410
       const style= '@media print {.diedao_content{background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0;} .tables thead th{ text-align: center;height: 20px;} .tables tbody td{height: 20px;padding:0 10px} .tables{font-size: 16px;}}'
@@ -1446,7 +1479,7 @@ z-index: 2000;
1446 1479
   z-index: -1;
1447 1480
 }
1448 1481
 .tables {
1449
-  
1482
+
1450 1483
   thead th{
1451 1484
     text-align: center;
1452 1485
     height: 20px;

+ 172 - 139
src/xt_pages/user/evaluationtool/pediatricFallAssessment.vue ファイルの表示

@@ -13,124 +13,124 @@
13 13
               </div>
14 14
 
15 15
               <div>
16
-                  <table class="table" id="table" border="1" style="width: 100%;">
17
-                      <thead>
18
-                          <tr>
19
-                          <th style="width:10%;">项目</th>
20
-                          <th style="width: 22.4%;">4分</th>
21
-                          <th style="width: 22.4%;">3分</th>
22
-                          <th style="width: 22.4%;">2分</th>
23
-                          <th style="width: 22.4%;">1分</th>
24
-                          </tr>
25
-                      </thead>
26
-                      <tbody>
27
-                          <tr class="bg_color">
28
-                            <td class="start">年龄</td>
29
-                            <td v-for="(item,index) in age" :key="index">
30
-                              <div class="jiange">
31
-                                <label><input name="ball" type="checkbox"  :value="item.value" @click="ageChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
32
-                              </div>
33
-                            </td>
34
-                          </tr>
35
-                          <tr>
36
-                            <td style="border-right: none;">
37
-                              <div class="bing">性别</div>
38
-                            </td>
39
-                            <td colspan="2" style="border-left: none;"></td>
40
-                            <td v-for="(item,index) in sex" :key="index">
41
-                              <div class="jiange">
42
-                                <label><input name="ball" type="checkbox" :value="item.value" @click="sexChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
43
-                              </div>
44
-                            </td>
45
-                          </tr>
46
-                          <tr class="bg_color">
47
-                            <td class="start">诊断</td>
48
-                            <td v-for="(item,index) in diagnosis" :key="index">
49
-                              <div class="jiange">
50
-                                <label><input name="ball" type="checkbox" :value="item.value" @click="diagnosischange($event,item.value)"/>&nbsp;{{item.lable}}</label>
51
-                              </div>
52
-                            </td>
53
-                              
54
-                          </tr>
55
-                          <tr>
56
-                            <td style="border-right: none;">
57
-                                <div class="bing">认知障碍</div>
58
-                            </td>
59
-                            <td style="border-left: none;"></td>
60
-                            <td v-for="(item,index) in cognize" :key="index">
61
-                              <div class="jiange">
62
-                                <label><input name="ball" type="checkbox" :value="item.value" @click="cognizeChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
63
-                              </div>
64
-                            </td>
65
-                              
66
-                          </tr>
67
-                          <tr class="bg_color">
68
-                            <td class="start">环境因素</td>
69
-                            <td v-for="(item,index) in environment" :key="index">
70
-                              <div class="jiange">
71
-                                <label><input name="ball" type="checkbox" :value="item.value" @click="environChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
72
-                              </div>
73
-                            </td>
16
+                <table class="table" id="table" border="1" style="width: 100%;">
17
+                  <thead>
18
+                    <tr>
19
+                    <th style="width:10%;">项目</th>
20
+                    <th style="width: 22.4%;">4分</th>
21
+                    <th style="width: 22.4%;">3分</th>
22
+                    <th style="width: 22.4%;">2分</th>
23
+                    <th style="width: 22.4%;">1分</th>
24
+                    </tr>
25
+                  </thead>
26
+                  <tbody>
27
+                    <tr class="bg_color">
28
+                      <td class="start">年龄</td>
29
+                      <td v-for="(item,index) in age" :key="index">
30
+                        <div class="jiange">
31
+                          <label><input name="ball" class="checked1" type="checkbox" :value="item.value" @click="ageChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
32
+                        </div>
33
+                      </td>
34
+                    </tr>
35
+                    <tr>
36
+                      <td style="border-right: none;">
37
+                        <div class="bing">性别</div>
38
+                      </td>
39
+                      <td colspan="2" style="border-left: none;"></td>
40
+                      <td v-for="(item,index) in sex" :key="index">
41
+                        <div class="jiange">
42
+                          <label><input name="ball" class="checked2" type="checkbox" :value="item.value" @click="sexChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
43
+                        </div>
44
+                      </td>
45
+                    </tr>
46
+                    <tr class="bg_color">
47
+                      <td class="start">诊断</td>
48
+                      <td v-for="(item,index) in diagnosis" :key="index">
49
+                        <div class="jiange">
50
+                          <label><input name="ball" class="checked3" type="checkbox" :value="item.value" @click="diagnosischange($event,item.value)"/>&nbsp;{{item.lable}}</label>
51
+                        </div>
52
+                      </td>
74 53
 
75
-                          </tr>
76
-                          <tr>
77
-                            <td style="border-right: none;">
78
-                                <div class="bing">药物使用</div>
79
-                            </td>
80
-                            <td style="border-left: none;"></td>
81
-                            <td v-for="(item,index) in medicine" :key="index">
82
-                              <div class="jiange">
83
-                                <label><input name="ball" type="checkbox" :value="item.value" @click="medicineChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
84
-                              </div>
85
-                            </td>
54
+                    </tr>
55
+                    <tr>
56
+                      <td style="border-right: none;">
57
+                          <div class="bing">认知障碍</div>
58
+                      </td>
59
+                      <td style="border-left: none;"></td>
60
+                      <td v-for="(item,index) in cognize" :key="index">
61
+                        <div class="jiange">
62
+                          <label><input name="ball" class="checked4" type="checkbox" :value="item.value" @click="cognizeChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
63
+                        </div>
64
+                      </td>
86 65
 
87
-                          </tr>
88
-                          <tr class="bg_color">
89
-                          <td colspan="5" style="height: 30px;"></td>
66
+                    </tr>
67
+                    <tr class="bg_color">
68
+                      <td class="start">环境因素</td>
69
+                      <td v-for="(item,index) in environment" :key="index">
70
+                        <div class="jiange">
71
+                          <label><input name="ball" class="checked5" type="checkbox" :value="item.value" @click="environChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
72
+                        </div>
73
+                      </td>
90 74
 
91
-                          </tr>
92
-                          <tr>
93
-                          <td colspan="5">
94
-                            <div class="content_top" >
95
-                              <div>
96
-                                  <div class="bottoms">
97
-                                  <span>总分:</span>
98
-                                  <el-input v-model="pedia_Totalpoints" style="width: 100px;"></el-input>分
99
-                                  </div>
75
+                    </tr>
76
+                    <tr>
77
+                      <td style="border-right: none;">
78
+                          <div class="bing">药物使用</div>
79
+                      </td>
80
+                      <td style="border-left: none;"></td>
81
+                      <td v-for="(item,index) in medicine" :key="index">
82
+                        <div class="jiange">
83
+                          <label><input name="ball" class="checked6" type="checkbox" :value="item.value" @click="medicineChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
84
+                        </div>
85
+                      </td>
100 86
 
101
-                                  <div class="bottoms">
102
-                                      <span>评估日期:</span>
103
-                                      <el-date-picker
104
-                                          v-model="value1"
105
-                                          type="date"
106
-                                          placeholder="选择日期"
107
-                                          :clearable="false"
108
-                                          style="width: 150px;">
109
-                                      </el-date-picker>
110
-                                  </div>
87
+                    </tr>
88
+                    <tr class="bg_color">
89
+                    <td colspan="5" style="height: 30px;"></td>
111 90
 
112
-                                  <div class="bottoms">
113
-                                      <span>评估人:</span>
114
-                                      <el-select v-model="value" placeholder="请选择" >
115
-                                          <el-option
116
-                                          v-for="item in options"
117
-                                          :key="item.value"
118
-                                          :label="item.label"
119
-                                          :value="item.value"
120
-                                          style="width:150px;">
121
-                                          </el-option>
122
-                                      </el-select>
123
-                                  </div>
91
+                    </tr>
92
+                    <tr>
93
+                    <td colspan="5">
94
+                      <div class="content_top" >
95
+                        <div>
96
+                            <div class="bottoms">
97
+                            <span>总分:</span>
98
+                            <el-input v-model="pedia_Totalpoints" style="width: 100px;"></el-input>分
99
+                            </div>
100
+
101
+                            <div class="bottoms">
102
+                                <span>评估日期:</span>
103
+                                <el-date-picker
104
+                                    v-model="value1"
105
+                                    type="date"
106
+                                    placeholder="选择日期"
107
+                                    :clearable="false"
108
+                                    style="width: 150px;">
109
+                                </el-date-picker>
110
+                            </div>
124 111
 
125
-                              </div>
126
-                              <div style="margin:5px 10px;">
127
-                                <el-button type="primary">确认</el-button>
128
-                              </div>
112
+                            <div class="bottoms">
113
+                                <span>评估人:</span>
114
+                                <el-select v-model="value" placeholder="请选择" >
115
+                                    <el-option
116
+                                    v-for="item in options"
117
+                                    :key="item.value"
118
+                                    :label="item.label"
119
+                                    :value="item.value"
120
+                                    style="width:150px;">
121
+                                    </el-option>
122
+                                </el-select>
129 123
                             </div>
130
-                          </td>
131
-                          </tr>
132
-                      </tbody>
133
-                  </table>
124
+
125
+                        </div>
126
+                        <div style="margin:5px 10px;">
127
+                          <el-button type="primary">确认</el-button>
128
+                        </div>
129
+                      </div>
130
+                    </td>
131
+                    </tr>
132
+                  </tbody>
133
+                </table>
134 134
 
135 135
               </div>
136 136
 
@@ -184,62 +184,95 @@ export default {
184 184
               ],
185 185
       cognize:[{value:3,lable:'没有意识到不能自我行动'},
186 186
                 {value:2,lable:'忘记有行动的限制'},
187
-                {value:1,lable:'能自我辨识方位;昏迷、无反应'}], 
187
+                {value:1,lable:'能自我辨识方位;昏迷、无反应'}],
188 188
       environment:[{value:4,lable:'住院期间有跌倒坠床史:患儿移动或活动时需要使用辅助工具(拐杖、助行器、转运床、轮椅等);婴幼儿放置在无护栏的成人床'},
189 189
                 {value:3,lable:'近1个月有跌倒坠床史:婴幼儿放置在有护栏的成人床'},
190 190
                 {value:2,lable:'近3个月有跌倒坠床史:婴幼儿放置在有护栏的婴儿床'},
191
-                {value:1,lable:'>3个月有跌倒坠床史/无跌倒坠床史'}],  
191
+                {value:1,lable:'>3个月有跌倒坠床史/无跌倒坠床史'}],
192 192
       medicine:[{value:3,lable:'联合用药:镇静剂、安眠药、巴比妥类药、吩噻嗪类药、抗抑郁药、利尿药、降压药、强心剂、麻醉药、化疗药、散瞳剂'},
193 193
                 {value:2,lable:'以上其中一种药物'},
194
-                {value:1,lable:'其他药物/没有'}],                     
194
+                {value:1,lable:'其他药物/没有'}],
195 195
       checked:'',
196 196
       checkList:[],
197 197
       dialogVisible:false,
198 198
       text:'',
199
+      num:1
199 200
     }
200 201
   },
201 202
   methods:{
202 203
     ageChange(e,val){
203
-      console.log('22222',val);
204
-      if(e.target.checked == true){
204
+      console.log('22222',e,val);
205
+      const checkboxs=document.getElementsByClassName('checked1')
206
+     for(let i=0;i<checkboxs.length;i++){
207
+      if(val==checkboxs[i].value){
205 208
         this.agevalue = val
209
+        checkboxs[i].value
210
+        checkboxs[i].checked=true
206 211
       }else{
207
-        this.agevalue = this.agevalue - val
212
+        checkboxs[i].checked = false
208 213
       }
214
+     }
209 215
     },
210 216
     sexChange(e,val){
211
-      if(e.target.checked == true){
212
-        this.sexvalue = val
213
-      }else{
214
-        this.sexvalue =  this.sexvalue - val
215
-      }
217
+      const checkboxs=document.getElementsByClassName('checked2')
218
+      for(let i=0;i<checkboxs.length;i++){
219
+        if(val==checkboxs[i].value ){
220
+          console.log('vvvv',val,'bbbb',e.target.checked);
221
+          this.sexvalue = val
222
+
223
+          checkboxs[i].checked=true
224
+
225
+        }else{
226
+          checkboxs[i].checked = false
227
+        }
228
+     }
216 229
     },
217 230
     diagnosischange(e,val){
218
-      if(e.target.checked == true){
219
-        this.diagnosis_val = val
220
-      }else{
221
-        this.diagnosis_val =  this.diagnosis_val - val
222
-      }
231
+      const checkboxs=document.getElementsByClassName('checked3')
232
+      for(let i=0;i<checkboxs.length;i++){
233
+        if(val==checkboxs[i].value ){
234
+          console.log('vvvv',val,'bbbb',e.target.checked);
235
+          this.diagnosis_val = val
236
+          checkboxs[i].checked=true
237
+        }else{
238
+          checkboxs[i].checked = false
239
+        }
240
+     }
223 241
     },
224 242
     cognizeChange(e,val){
225
-      if(e.target.checked == true){
226
-        this.cognize_val = val
227
-      }else{
228
-        this.cognize_val =  this.cognize_val - val
243
+      const checkboxs=document.getElementsByClassName('checked4')
244
+      for(let i=0;i<checkboxs.length;i++){
245
+        if(val==checkboxs[i].value ){
246
+          console.log('vvvv',val,'bbbb',e.target.checked);
247
+          this.cognize_val = val
248
+          checkboxs[i].checked=true
249
+        }else{
250
+          checkboxs[i].checked = false
251
+        }
229 252
       }
230 253
     },
231 254
     environChange(e,val){
232
-      if(e.target.checked == true){
233
-        this.environment_val = val
234
-      }else{
235
-        this.environment_val =  this.environment_val - val
255
+      const checkboxs=document.getElementsByClassName('checked5')
256
+      for(let i=0;i<checkboxs.length;i++){
257
+        if(val==checkboxs[i].value ){
258
+          console.log('vvvv',val,'bbbb',e.target.checked);
259
+          this.environment_val = val
260
+          checkboxs[i].checked=true
261
+        }else{
262
+          checkboxs[i].checked = false
263
+        }
236 264
       }
237 265
     },
238 266
     medicineChange(e,val){
239
-      if(e.target.checked == true){
240
-        this.medicine_val = val
241
-      }else{
242
-        this.medicine_val =  this.medicine_val - val
267
+      const checkboxs=document.getElementsByClassName('checked6')
268
+      for(let i=0;i<checkboxs.length;i++){
269
+        if(val==checkboxs[i].value ){
270
+          console.log('vvvv',val,'bbbb',e.target.checked);
271
+          this.medicine_val = val
272
+          checkboxs[i].checked=true
273
+        }else{
274
+          checkboxs[i].checked = false
275
+        }
243 276
       }
244 277
     },
245 278
     // 历史评估

+ 45 - 19
src/xt_pages/user/evaluationtool/pressuresore.vue ファイルの表示

@@ -50,7 +50,7 @@
50 50
                       15~18分为低危;<br>
51 51
                       13~14分为中危;<br>
52 52
                       10~12分为高危;<br>
53
-                      ≤9分为极高危 
53
+                      ≤9分为极高危
54 54
                     </div>
55 55
                   </td>
56 56
                   <td rowspan="6" style="position: relative;vertical-align: top;">
@@ -72,7 +72,7 @@
72 72
                     <div class="jiange">
73 73
                       <label><input name="ball" type="checkbox" value="football" />&nbsp;其他</label>
74 74
                     </div>
75
-                    <div class="tianjia">
75
+                    <div class="tianjia" @click="add_press=true">
76 76
                       <!--  style="position: absolute;bottom: 0px;font-size: 17px;color:#4579C5;line-height: 40px;" -->
77 77
                       +添加
78 78
                     </div>
@@ -188,7 +188,7 @@
188 188
                   <th>D</th>
189 189
                   <th>E</th>
190 190
                   <th>F</th>
191
-                </tr> 
191
+                </tr>
192 192
               </thead>
193 193
               <tbody>
194 194
                 <tr>
@@ -202,34 +202,34 @@
202 202
                     </el-date-picker>
203 203
                   </td>
204 204
                   <td class="start">
205
-                    <el-input v-model="input" style="width:100px;"></el-input>
205
+                    <el-input v-model="ganzhi" style="width:80px;"></el-input>
206 206
                   </td>
207 207
                   <td class="start">
208
-                    <el-input v-model="input" style="width:100px"></el-input>
208
+                    <el-input v-model="shidu" style="width:80px"></el-input>
209 209
                   </td>
210 210
                   <td class="start">
211
-                    <el-input v-model="input" style="width:100px"></el-input>
211
+                    <el-input v-model="huodong" style="width:80px"></el-input>
212 212
                   </td>
213 213
                   <td class="start">
214
-                    <el-input v-model="input" style="width:100px"></el-input>
214
+                    <el-input v-model="yidong" style="width:80px"></el-input>
215 215
                   </td>
216 216
                   <td class="start">
217
-                    <el-input v-model="input" style="width:100px"></el-input>
217
+                    <el-input v-model="yingyang" style="width:80px"></el-input>
218 218
                   </td>
219 219
                   <td class="start">
220
-                    <el-input v-model="input" style="width:100px"></el-input>
220
+                    <el-input v-model="mocha" style="width:80px"></el-input>
221 221
                   </td>
222 222
                   <td class="start">
223
-                    <el-input v-model="input" style="width:100px"></el-input>
223
+                    <el-input v-model="mark" style="width:70px"></el-input>
224 224
                   </td>
225 225
                   <td class="start">
226
-                    <el-select v-model="value" placeholder="请选择" >
226
+                    <el-select v-model="value" placeholder="请选择" style="width:120px;">
227 227
                         <el-option
228 228
                           v-for="item in options"
229 229
                           :key="item.value"
230 230
                           :label="item.label"
231 231
                           :value="item.value"
232
-                          style="width:150px;">
232
+                          >
233 233
                         </el-option>
234 234
                     </el-select>
235 235
                   </td>
@@ -264,7 +264,7 @@
264 264
             </div>
265 265
             <div class="zhuangui">
266 266
                 <p style="display: inline-block; margin-right: 30px;">
267
-                    评估人签字: 
267
+                    评估人签字:
268 268
                     <el-input v-model="input" style="width:120px;"></el-input>
269 269
                 </p>
270 270
                 <p style="display: inline-block;">
@@ -280,7 +280,7 @@
280 280
             <div class="content_top">
281 281
               <div class="zhuangui">
282 282
                 <p style="display: inline-block; margin-right: 30px;">
283
-                    护士长签字: 
283
+                    护士长签字:
284 284
                     <el-select v-model="value" placeholder="请选择" style="width: 120px;">
285 285
                         <el-option
286 286
                         v-for="item in options"
@@ -318,7 +318,21 @@
318 318
 
319 319
         </div>
320 320
       </div>
321
-        
321
+      <!-- 添加弹窗页面 -->
322
+      <el-dialog
323
+        title="增加护理措施"
324
+        :visible.sync="add_press"
325
+        width="30%"
326
+      >
327
+        <span>
328
+          护理措施:
329
+          <input type="text" style="width: 290px;height: 36px;border: 1px solid #d7d7d7;">
330
+        </span>
331
+        <span slot="footer" class="dialog-footer">
332
+          <el-button @click="add_press = false">取 消</el-button>
333
+          <el-button type="primary" @click="add_press = false">确 定</el-button>
334
+        </span>
335
+      </el-dialog>
322 336
     </div>
323 337
 </template>
324 338
 <script>
@@ -335,20 +349,32 @@ export default {
335 349
       input:'',
336 350
       options:[],
337 351
       value:'',
338
-      zhuangui:['出院','死亡','其他']
352
+      ganzhi:null,
353
+      shidu:null,
354
+      huodong:null,
355
+      yidong:null,
356
+      yingyang:null,
357
+      mocha:null,
358
+      zhuangui:['出院','死亡','其他'],
359
+      add_press:false,
339 360
     }
340 361
    },
341 362
    methods:{
342 363
     yachaunghistory(){
343 364
       this.$router.push({path: '/patients/Pressure_history'})
344 365
     }
366
+   },
367
+   computed:{
368
+    mark(){
369
+      return this.ganzhi*1 + this.shidu*1 + this.huodong*1 + this.yidong*1 + this.mocha*1 + this.yingyang*1
370
+    }
345 371
    }
346 372
 }
347 373
 </script>
348 374
 <style lang="scss" scoped>
349 375
   .content_top{
350 376
     display: flex;
351
-    justify-content: space-between; 
377
+    justify-content: space-between;
352 378
   }
353 379
   .table{
354 380
         border: 1px solid #DCDFE6;
@@ -364,7 +390,7 @@ export default {
364 390
         tbody td{
365 391
            height: 40px;
366 392
            padding: 5px;
367
-           
393
+
368 394
         }
369 395
         .start{
370 396
           vertical-align: top;
@@ -401,4 +427,4 @@ export default {
401 427
     .zhuangui{
402 428
         margin-top: 10px;
403 429
     }
404
-</style>
430
+</style>

+ 110 - 24
src/xt_pages/user/evaluationtool/pruritusAssessment.vue ファイルの表示

@@ -24,14 +24,18 @@
24 24
               <tr>
25 25
                 <td class="start">痒的部位</td>
26 26
                 <td>
27
-                    <div class="jiange">
28
-                        <span v-for="item in buwei" class="rightjiange" @change="handleCheckedCitiesChange">
29
-                            <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
30
-                        </span> 
31
-                        <label @change="handleCheckedCitiesChange"><input type="checkbox" name="ball" value="其他" />
32
-                            &nbsp;其他 <el-input v-model="input" style="width: 100px;"></el-input>
33
-                        </label>
34
-                    </div>
27
+                  <div class="jiange">
28
+                    <span v-for="item in buwei" class="rightjiange" @change="handleCheckedCitiesChange">
29
+                        <label><input type="checkbox" class="check" name="ball" :value="item" />&nbsp;{{ item }}</label>
30
+                    </span>
31
+                    <label @change="handleCheckedCitiesChange"><input type="checkbox" class="check" name="ball" value="其他" />
32
+                        &nbsp;其他 <el-input v-model="input" style="width: 100px;"></el-input>
33
+                    </label>
34
+                    <!-- quan_change -->
35
+                    <label @change="handleCheckedCitiesChange">
36
+                      <input type="checkbox" class="check" name="ball" value="全身" />&nbsp;全身
37
+                    </label>
38
+                  </div>
35 39
                 </td>
36 40
                 <td class="start">{{checked_points}}</td>
37 41
                 <td class="saoyang">瘙痒部位:计分范围1~3分一个部位瘙痒计1分,最多得3分,选全身计3分</td>
@@ -44,9 +48,9 @@
44 48
                             <el-radio v-for="(item,index ) in chengdu" :label="item" :key="index" style="color: black;font-size: 15PX;">{{ item }}</el-radio>
45 49
                         </el-radio-group>
46 50
                     </div>
47
-                </td> 
51
+                </td>
48 52
                 <td class="start">{{radio1_points}}</td>
49
-                <td class="saoyang">瘙痒严重程度:计分范围1~5分</td>                          
53
+                <td class="saoyang">瘙痒严重程度:计分范围1~5分</td>
50 54
               </tr>
51 55
               <tr>
52 56
                 <td class="start">痒的频率</td>
@@ -112,10 +116,10 @@
112 116
           <div style="margin:5px 10px;">
113 117
               <el-button type="primary">确认</el-button>
114 118
           </div>
115
-        </div>  
119
+        </div>
116 120
       </div>
117 121
     </div>
118
-      
122
+
119 123
   </div>
120 124
 </template>
121 125
 <script>
@@ -138,7 +142,7 @@ export default {
138 142
       radio3_points:0,
139 143
       checked_points:0,
140 144
       // pruritus_Totalpoints:0,
141
-      buwei:['躯体','上肢','下肢','头皮','全身'],
145
+      buwei:['躯体','上肢','下肢','头皮'],
142 146
       chengdu:['不要抓(1)','要抓但没有抓痕(2)','抓出抓痕才能止痒(3)','经常抓出抓痕(4)','完全坐立不安(5)'],
143 147
       pinlv:['很少时候(1)','较少时候(2)','较多时候(3)','很多时候(4)','一直持续(5)'],
144 148
       yingxiang:['无影响(0)','一夜痒醒一次(2)','一夜痒醒两次(4)','一夜痒醒三次(6)'],
@@ -149,28 +153,110 @@ export default {
149 153
   },
150 154
   methods:{
151 155
     handleCheckedCitiesChange(e){
152
-      this.ball = e.target.value
153
-      console.log('1111111',this.ball)
156
+      const ball = e.target.value
157
+      // const checkboxs=document.getElementsByClassName('checkbox1')
158
+      const checkbox2=document.getElementsByClassName('check')
159
+      // if(checkboxs[0].checked==true){
160
+      //   // if(e.target.value == '全身'){
161
+      //     this.checked_points = 3
162
+      //   // }else{
163
+      //   //   var checked =1
164
+      //   //   this.checked_points = this.checked_points + checked
165
+      //   // }
166
+      // }else{
167
+      //   // if(e.target.value == '全身'){
168
+      //     this.checked_points = 0
169
+      //   // }else{
170
+      //   //   var checked =1
171
+      //   //   this.checked_points = this.checked_points - checked
172
+      //   // }
173
+      // }
174
+      // for(let i=0;i<checkbox2.length;i++){
175
+      //   if(ball=='全身'){
176
+      //     if(ball==checkbox2[i].value){
177
+      //       console.log('1111',this.checked_points);
178
+      //       checkbox2[i].checked=true
179
+      //       this.checked_points = 3
180
+      //     }else{
181
+      //       console.log('2222',this.checked_points);
182
+      //       checkbox2[i].checked=false
183
+      //     }
184
+      //   }else{
185
+      //     if(checkbox2[i].value=='全身'){
186
+      //       console.log('3333',this.checked_points);
187
+      //       this.checked_points=0
188
+      //       checkbox2[i].checked=false
189
+      //     }else{
190
+      //       if(checkbox2[i].value==ball){
191
+      //         console.log('4444',this.checked_points);
192
+      //         var checked =1
193
+      //         e.target.checked=true
194
+      //         this.checked_points = this.checked_points + checked
195
+      //         // return this.checked_points
196
+      //       }
197
+
198
+      //     }
199
+
200
+      //   }
201
+      //   // if(checkboxs[0].checked==true){
202
+      //   //   this.checked_points = 3
203
+      //   //   checkbox2[i].checked=false
204
+      //   // }else{
205
+      //   //   if(ball==checkbox2[i].value){
206
+      //   //     console.log('2222',checkbox2[1].value);
207
+      //   //     checkboxs[0].checked=false
208
+      //   //     checkbox2[i].checked=true
209
+      //   //     var checked =1
210
+      //   //     this.checked_points = this.checked_points + checked
211
+      //   //   }
212
+      //   // }
213
+      // }
214
+      // console.log('1111111',ball)
215
+      // for(let i=0;i<checkbox2.length;i++){
216
+      //   if(ball=='全身'){
217
+      //     checkboxs[0].checked=true
218
+      //     checkbox2[i].checked=false
219
+      //     this.checked_points = 3
220
+      //   }else{
221
+      //     var checked =1
222
+      //     checkboxs[0].checked=false
223
+      //     e.target.checked=true
224
+      //     this.checked_points = this.checked_points + checked
225
+      //   }
226
+      // }
227
+
228
+      // if(ball=='全身'){
229
+      //   checkboxs[0].checked=true
230
+      // }else{
231
+      //   checkboxs[0].checked=false
232
+      // }
233
+
154 234
       if(e.target.checked==true){
155 235
         if(e.target.value == '全身'){
156 236
           this.checked_points = 3
157
-          // this.pruritus_Totalpoints=this.pruritus_Totalpoints + this.checked_points
158 237
         }else{
159
-          var checked =1
160
-          this.checked_points = this.checked_points + checked
161
-          // this.pruritus_Totalpoints=this.pruritus_Totalpoints + checked
238
+          // if(this.checked_points<3){
239
+            var checked =1
240
+            this.checked_points = this.checked_points + checked
241
+          // }else{
242
+          //   this.checked_points = 3
243
+          // }
162 244
         }
163 245
       }else{
164 246
         if(e.target.value == '全身'){
165 247
           this.checked_points = 0
166
-          // this.pruritus_Totalpoints=this.pruritus_Totalpoints - 3
167 248
         }else{
168 249
           var checked =1
169 250
           this.checked_points = this.checked_points - checked
170
-          // this.pruritus_Totalpoints=this.pruritus_Totalpoints - checked
171 251
         }
172 252
       }
173 253
     },
254
+    quan_change(e){
255
+      const ball=e.target.value
256
+      if(ball=='全身'){
257
+
258
+      }
259
+    },
174 260
     radiochecked(e){
175 261
       const bal=e
176 262
       const jiequ =(bal.split('(')[1].split(')')[0]) * 1
@@ -198,7 +284,7 @@ export default {
198 284
 <style lang="scss" scoped>
199 285
     .content_top{
200 286
       display: flex;
201
-      justify-content: space-between; 
287
+      justify-content: space-between;
202 288
     }
203 289
     .table{
204 290
         border: 1px solid #DCDFE6;
@@ -241,6 +327,6 @@ export default {
241 327
     .bottoms{
242 328
         display: inline-block;
243 329
         margin-left: 10px;
244
-        margin-top: 5px; 
330
+        margin-top: 5px;
245 331
     }
246
-</style>
332
+</style>

+ 93 - 35
src/xt_pages/user/history/Children_history.vue ファイルの表示

@@ -58,7 +58,7 @@
58 58
             show-overflow-tooltip>
59 59
             <template slot-scope="scope">
60 60
               <el-button type="primary" icon="el-icon-edit-outline" @click="open_editor(scope.row)"></el-button>
61
-              <el-button type="primary" icon="el-icon-delete"></el-button>
61
+              <el-button type="primary" icon="el-icon-delete" @click="deletes(scope.row)"></el-button>
62 62
             </template>
63 63
           </el-table-column>
64 64
         </el-table>
@@ -230,7 +230,7 @@
230 230
             <td class="start">年龄</td>
231 231
             <td v-for="(item,index) in age" :key="index">
232 232
               <div class="jiange">
233
-                <label><input name="ball" type="checkbox"  :value="item.value" @click="ageChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
233
+                <label><input name="ball" class="checked1" type="checkbox" :value="item.value" @click="ageChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
234 234
               </div>
235 235
             </td>
236 236
           </tr>
@@ -241,7 +241,7 @@
241 241
             <td colspan="2" style="border-left: none;"></td>
242 242
             <td v-for="(item,index) in sex" :key="index">
243 243
               <div class="jiange">
244
-                <label><input name="ball" type="checkbox" :value="item.value" @click="sexChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
244
+                <label><input name="ball" class="checked2" type="checkbox" :value="item.value" @click="sexChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
245 245
               </div>
246 246
             </td>
247 247
           </tr>
@@ -249,7 +249,7 @@
249 249
             <td class="start">诊断</td>
250 250
             <td v-for="(item,index) in diagnosis" :key="index">
251 251
               <div class="jiange">
252
-                <label><input name="ball" type="checkbox" :value="item.value" @click="diagnosischange($event,item.value)"/>&nbsp;{{item.lable}}</label>
252
+                <label><input name="ball" class="checked3" type="checkbox" :value="item.value" @click="diagnosischange($event,item.value)"/>&nbsp;{{item.lable}}</label>
253 253
               </div>
254 254
             </td>
255 255
 
@@ -261,7 +261,7 @@
261 261
             <td style="border-left: none;"></td>
262 262
             <td v-for="(item,index) in cognize" :key="index">
263 263
               <div class="jiange">
264
-                <label><input name="ball" type="checkbox" :value="item.value" @click="cognizeChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
264
+                <label><input name="ball" class="checked4" type="checkbox" :value="item.value" @click="cognizeChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
265 265
               </div>
266 266
             </td>
267 267
 
@@ -270,7 +270,7 @@
270 270
             <td class="start">环境因素</td>
271 271
             <td v-for="(item,index) in environment" :key="index">
272 272
               <div class="jiange">
273
-                <label><input name="ball" type="checkbox" :value="item.value" @click="environChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
273
+                <label><input name="ball" class="checked5" type="checkbox" :value="item.value" @click="environChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
274 274
               </div>
275 275
             </td>
276 276
 
@@ -282,7 +282,7 @@
282 282
             <td style="border-left: none;"></td>
283 283
             <td v-for="(item,index) in medicine" :key="index">
284 284
               <div class="jiange">
285
-                <label><input name="ball" type="checkbox" :value="item.value" @click="medicineChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
285
+                <label><input name="ball" class="checked6" type="checkbox" :value="item.value" @click="medicineChange($event,item.value)"/>&nbsp;{{item.lable}}</label>
286 286
               </div>
287 287
             </td>
288 288
 
@@ -331,6 +331,18 @@
331 331
         </tbody>
332 332
       </table>
333 333
     </el-dialog>
334
+     <!--删除 -->
335
+     <el-dialog
336
+      title="提示"
337
+      :visible.sync="delete_centerDialogVisible"
338
+      width="20%"
339
+      center>
340
+      <span>是否删除该记录</span>
341
+      <span slot="footer" class="dialog-footer">
342
+        <el-button @click="delete_centerDialogVisible=false">取 消</el-button>
343
+        <el-button type="primary" @click="delete_childer">确 定</el-button>
344
+      </span>
345
+    </el-dialog>
334 346
   </div>
335 347
 </template>
336 348
 <script>
@@ -338,12 +350,14 @@ import print from 'print-js'
338 350
 export default{
339 351
   data(){
340 352
     return{
341
-      tableData:[{time:'2023-9-27',mark:'15',evaluate:'千亦雪'},{time:'2023-9-27',mark:'14',evaluate:'千任雪'}],
353
+      tableData:[{id:1,time:'2023-9-27',mark:'15',evaluate:'千亦雪'},{id:2,time:'2023-9-27',mark:'14',evaluate:'千任雪'}],
342 354
       multipleSelection:[],
343 355
       dialogVisible:false,
344 356
       mingxi_dialogVisible:false,
345 357
       editor_dialogVisible:false,
358
+      delete_centerDialogVisible:false,
346 359
 
360
+      row:'',
347 361
       value1:'',
348 362
       value:'',
349 363
       options:[],
@@ -374,6 +388,7 @@ export default{
374 388
       checked:'',
375 389
       checkList:[],
376 390
       text:'',
391
+
377 392
     }
378 393
   },
379 394
   methods:{
@@ -400,7 +415,18 @@ export default{
400 415
     open_editor(row){
401 416
       this.editor_dialogVisible =true
402 417
     },
403
-
418
+    deletes(row){
419
+      this.row=row.id
420
+      this.delete_centerDialogVisible = true
421
+    },
422
+    delete_childer(){
423
+      for(let i=0;i<this.tableData.length;i++){
424
+        if(this.row==this.tableData[i].id){
425
+          this.tableData.splice(i,1)
426
+        }
427
+      }
428
+      this.delete_centerDialogVisible=false
429
+    },
404 430
     print_pingfen(id){
405 431
       this.dialogVisible=false
406 432
       this.mingxi_dialogVisible=false
@@ -428,53 +454,85 @@ export default{
428 454
     },
429 455
 
430 456
     ageChange(e,val){
431
-      console.log('22222',val);
432
-      if(e.target.checked == true){
457
+      console.log('22222',e,val);
458
+      const checkboxs=document.getElementsByClassName('checked1')
459
+     for(let i=0;i<checkboxs.length;i++){
460
+      if(val==checkboxs[i].value){
433 461
         this.agevalue = val
462
+        checkboxs[i].value
463
+        checkboxs[i].checked=true
434 464
       }else{
435
-        this.agevalue = this.agevalue - val
465
+        checkboxs[i].checked = false
436 466
       }
467
+     }
437 468
     },
438 469
     sexChange(e,val){
439
-      if(e.target.checked == true){
440
-        this.sexvalue = val
441
-      }else{
442
-        this.sexvalue =  this.sexvalue - val
443
-      }
470
+      const checkboxs=document.getElementsByClassName('checked2')
471
+      for(let i=0;i<checkboxs.length;i++){
472
+        if(val==checkboxs[i].value ){
473
+          console.log('vvvv',val,'bbbb',e.target.checked);
474
+          this.sexvalue = val
475
+
476
+          checkboxs[i].checked=true
477
+
478
+        }else{
479
+          checkboxs[i].checked = false
480
+        }
481
+     }
444 482
     },
445 483
     diagnosischange(e,val){
446
-      if(e.target.checked == true){
447
-        this.diagnosis_val = val
448
-      }else{
449
-        this.diagnosis_val =  this.diagnosis_val - val
450
-      }
484
+      const checkboxs=document.getElementsByClassName('checked3')
485
+      for(let i=0;i<checkboxs.length;i++){
486
+        if(val==checkboxs[i].value ){
487
+          console.log('vvvv',val,'bbbb',e.target.checked);
488
+          this.diagnosis_val = val
489
+          checkboxs[i].checked=true
490
+        }else{
491
+          checkboxs[i].checked = false
492
+        }
493
+     }
451 494
     },
452 495
     cognizeChange(e,val){
453
-      if(e.target.checked == true){
454
-        this.cognize_val = val
455
-      }else{
456
-        this.cognize_val =  this.cognize_val - val
496
+      const checkboxs=document.getElementsByClassName('checked4')
497
+      for(let i=0;i<checkboxs.length;i++){
498
+        if(val==checkboxs[i].value ){
499
+          console.log('vvvv',val,'bbbb',e.target.checked);
500
+          this.cognize_val = val
501
+          checkboxs[i].checked=true
502
+        }else{
503
+          checkboxs[i].checked = false
504
+        }
457 505
       }
458 506
     },
459 507
     environChange(e,val){
460
-      if(e.target.checked == true){
461
-        this.environment_val = val
462
-      }else{
463
-        this.environment_val =  this.environment_val - val
508
+      const checkboxs=document.getElementsByClassName('checked5')
509
+      for(let i=0;i<checkboxs.length;i++){
510
+        if(val==checkboxs[i].value ){
511
+          console.log('vvvv',val,'bbbb',e.target.checked);
512
+          this.environment_val = val
513
+          checkboxs[i].checked=true
514
+        }else{
515
+          checkboxs[i].checked = false
516
+        }
464 517
       }
465 518
     },
466 519
     medicineChange(e,val){
467
-      if(e.target.checked == true){
468
-        this.medicine_val = val
469
-      }else{
470
-        this.medicine_val =  this.medicine_val - val
520
+      const checkboxs=document.getElementsByClassName('checked6')
521
+      for(let i=0;i<checkboxs.length;i++){
522
+        if(val==checkboxs[i].value ){
523
+          console.log('vvvv',val,'bbbb',e.target.checked);
524
+          this.medicine_val = val
525
+          checkboxs[i].checked=true
526
+        }else{
527
+          checkboxs[i].checked = false
528
+        }
471 529
       }
472 530
     },
473 531
   },
474 532
   computed:{
475 533
     pedia_Totalpoints(){
476 534
       return this.agevalue + this.sexvalue + this.diagnosis_val +this.cognize_val + this.environment_val + this.medicine_val
477
-    }
535
+    },
478 536
   }
479 537
 }
480 538
 </script>

+ 65 - 12
src/xt_pages/user/history/Pressure_history.vue ファイルの表示

@@ -94,7 +94,7 @@
94 94
             show-overflow-tooltip>
95 95
             <template slot-scope="scope">
96 96
               <el-button type="primary" icon="el-icon-edit-outline" @click="open_editor(scope.row)"></el-button>
97
-              <el-button type="primary" icon="el-icon-delete"></el-button>
97
+              <el-button type="primary" icon="el-icon-delete" @click="open_delete(scope.row)"></el-button>
98 98
             </template>
99 99
           </el-table-column>
100 100
         </el-table>
@@ -431,7 +431,7 @@
431 431
                   <div class="jiange">
432 432
                     <label><input name="ball" type="checkbox" value="football" />&nbsp;其他</label>
433 433
                   </div>
434
-                  <div class="tianjia">
434
+                  <div class="tianjia" @click="add_press=true">
435 435
                     <!--  style="position: absolute;bottom: 0px;font-size: 17px;color:#4579C5;line-height: 40px;" -->
436 436
                     +添加
437 437
                   </div>
@@ -561,34 +561,34 @@
561 561
                   </el-date-picker>
562 562
                 </td>
563 563
                 <td class="start">
564
-                  <el-input v-model="input" style="width:80px;"></el-input>
564
+                    <el-input v-model="ganzhi" style="width:80px;"></el-input>
565 565
                 </td>
566 566
                 <td class="start">
567
-                  <el-input v-model="input" style="width:80px"></el-input>
567
+                  <el-input v-model="shidu" style="width:80px"></el-input>
568 568
                 </td>
569 569
                 <td class="start">
570
-                  <el-input v-model="input" style="width:80px"></el-input>
570
+                  <el-input v-model="huodong" style="width:80px"></el-input>
571 571
                 </td>
572 572
                 <td class="start">
573
-                  <el-input v-model="input" style="width:80px"></el-input>
573
+                  <el-input v-model="yidong" style="width:80px"></el-input>
574 574
                 </td>
575 575
                 <td class="start">
576
-                  <el-input v-model="input" style="width:80px"></el-input>
576
+                  <el-input v-model="yingyang" style="width:80px"></el-input>
577 577
                 </td>
578 578
                 <td class="start">
579
-                  <el-input v-model="input" style="width:80px"></el-input>
579
+                  <el-input v-model="mocha" style="width:80px"></el-input>
580 580
                 </td>
581 581
                 <td class="start">
582
-                  <el-input v-model="input" style="width:80px"></el-input>
582
+                  <el-input v-model="mark" style="width:70px"></el-input>
583 583
                 </td>
584 584
                 <td class="start">
585
-                  <el-select v-model="value" placeholder="请选择" >
585
+                  <el-select v-model="value" placeholder="请选择"  style="width:120px;">
586 586
                       <el-option
587 587
                         v-for="item in options"
588 588
                         :key="item.value"
589 589
                         :label="item.label"
590 590
                         :value="item.value"
591
-                        style="width:150px;">
591
+                       >
592 592
                       </el-option>
593 593
                   </el-select>
594 594
                 </td>
@@ -666,6 +666,33 @@
666 666
           </div>
667 667
       </div>
668 668
     </el-dialog>
669
+    <!-- 编辑添加弹窗页面 -->
670
+    <el-dialog
671
+        title="增加护理措施"
672
+        :visible.sync="add_press"
673
+        width="30%"
674
+      >
675
+        <span>
676
+          护理措施:
677
+          <input type="text" style="width: 290px;height: 36px;border: 1px solid #d7d7d7;">
678
+        </span>
679
+        <span slot="footer" class="dialog-footer">
680
+          <el-button @click="add_press = false">取 消</el-button>
681
+          <el-button type="primary" @click="add_press = false">确 定</el-button>
682
+        </span>
683
+    </el-dialog>
684
+    <!--删除 -->
685
+    <el-dialog
686
+      title="提示"
687
+      :visible.sync="delete_centerDialogVisible"
688
+      width="20%"
689
+      center>
690
+      <span>是否删除该记录</span>
691
+      <span slot="footer" class="dialog-footer">
692
+        <el-button @click="delete_centerDialogVisible = false">取 消</el-button>
693
+        <el-button type="primary" @click="delete_press">确 定</el-button>
694
+      </span>
695
+    </el-dialog>
669 696
   </div>
670 697
 </template>
671 698
 <script>
@@ -673,18 +700,27 @@ import print from 'print-js'
673 700
 export default{
674 701
   data(){
675 702
     return{
676
-      tableData:[{time:'2023-9-27',ganzhi:'2',shidu:'2',huodong:'3',yidong:'4',yingyang:'1',mocha:'3',mark:'15',evaluate:'千亦雪'}],
703
+      tableData:[{id:1,time:'2023-9-27',ganzhi:'2',shidu:'2',huodong:'3',yidong:'4',yingyang:'1',mocha:'3',mark:'15',evaluate:'千亦雪'}],
677 704
       multipleSelection:[],
678 705
       dialogVisible:false,
679 706
       mingxi_dialogVisible:false,
680 707
       editor_dialogVisible:false,
708
+      delete_centerDialogVisible:false,
681 709
 
710
+      ganzhi:null,
711
+      shidu:null,
712
+      huodong:null,
713
+      yidong:null,
714
+      yingyang:null,
715
+      mocha:null,
716
+      add_press:false,
682 717
       zhuangui:['出院','死亡','其他'],
683 718
       value1:'',
684 719
       checkList:[],
685 720
       input:'',
686 721
       options:[],
687 722
       value:'',
723
+      row:''
688 724
     }
689 725
   },
690 726
   methods:{
@@ -711,6 +747,18 @@ export default{
711 747
     open_editor(row){
712 748
       this.editor_dialogVisible =true
713 749
     },
750
+    open_delete(row){
751
+      this.row=row.id
752
+      this.delete_centerDialogVisible=true
753
+    },
754
+    delete_press(){
755
+      for(let i=0;i<this.tableData.length;i++){
756
+        if(this.row==this.tableData[i].id){
757
+          this.tableData.splice(i,1)
758
+        }
759
+      }
760
+      this.delete_centerDialogVisible=false
761
+    },
714 762
     print_pingfen(id){
715 763
       const style= '@media print {.diedao_content{background-color: white; width:960px;  margin:0 auto; padding: 0 0 20px 0;} .table tr td{padding:5px}}'
716 764
       if(id==1){
@@ -732,6 +780,11 @@ export default{
732 780
       }
733 781
 
734 782
     },
783
+  },
784
+  computed:{
785
+    mark(){
786
+      return this.ganzhi*1 + this.shidu*1 + this.huodong*1 + this.yidong*1 + this.mocha*1 + this.yingyang*1
787
+    }
735 788
   }
736 789
 }
737 790
 </script>

+ 31 - 3
src/xt_pages/user/history/RASS_history.vue ファイルの表示

@@ -61,7 +61,7 @@
61 61
             align="center"
62 62
             show-overflow-tooltip>
63 63
             <template slot-scope="scope">
64
-              <el-button type="primary" icon="el-icon-delete"></el-button>
64
+              <el-button type="primary" icon="el-icon-delete" @click="RASS_delete(scope.row)"></el-button>
65 65
             </template>
66 66
           </el-table-column>
67 67
         </el-table>
@@ -288,6 +288,18 @@
288 288
         </div>
289 289
       </div>
290 290
     </el-dialog>
291
+     <!--删除 -->
292
+     <el-dialog
293
+      title="提示"
294
+      :visible.sync="delete_centerDialogVisible"
295
+      width="20%"
296
+      center>
297
+      <span>是否删除该记录</span>
298
+      <span slot="footer" class="dialog-footer">
299
+        <el-button @click="delete_centerDialogVisible = false">取 消</el-button>
300
+        <el-button type="primary" @click="deletes">确 定</el-button>
301
+      </span>
302
+    </el-dialog>
291 303
   </div>
292 304
 </template>
293 305
 <script>
@@ -301,7 +313,10 @@ export default{
301 313
       RASS_dialogVisible:false,
302 314
       teng_dialogVisible:false,
303 315
       mingxi_dialogVisible:false,
304
-      tableData:[{time:'2023-9-27',mark:'15',evaluate:'千亦雪'},{time:'2023-9-27',mark:'14',evaluate:'千任雪'}],
316
+      delete_centerDialogVisible:false,
317
+      row:'',
318
+
319
+      tableData:[{id:1,time:'2023-9-27',mark:'15',evaluate:'千亦雪'},{id:1,time:'2023-9-27',mark:'14',evaluate:'千任雪'}],
305 320
       LOS:[{title:'0分', value:'清醒'},{title:'1分', value:'有些昏昏欲睡,但容易唤醒'},
306 321
             {title:'2分', value:'频繁发生昏昏欲睡,容易唤醒,但不能持续处于觉醒状态'},
307 322
             {title:'3分', value:'无意识,无法唤醒'},{title:'S分', value:'正常意识,容易唤醒'}
@@ -374,7 +389,20 @@ export default{
374 389
       this.teng_dialogVisible=false
375 390
     },
376 391
     teng_dele(row){
377
-      this.tableData.splice(row, 1);
392
+      this.row=row.id
393
+      this.delete_centerDialogVisible=true
394
+    },
395
+    RASS_delete(row){
396
+      this.row=row.id
397
+      this.delete_centerDialogVisible=true
398
+    },
399
+    deletes(){
400
+      for(let i=0;i<this.tableData.length;i++){
401
+        if(this.row==this.tableData[i].id){
402
+          this.tableData.splice(i,1)
403
+        }
404
+      }
405
+      this.delete_centerDialogVisible=false
378 406
     }
379 407
   }
380 408
 }

+ 28 - 4
src/xt_pages/user/history/daoguan_history.vue ファイルの表示

@@ -79,7 +79,7 @@
79 79
             show-overflow-tooltip>
80 80
             <template slot-scope="scope">
81 81
               <el-button type="primary" icon="el-icon-edit-outline" @click="open_xiugai(scope.row)"></el-button>
82
-              <el-button type="primary" icon="el-icon-delete"></el-button>
82
+              <el-button type="primary" icon="el-icon-delete" @click="open_delete(scope.row)"></el-button>
83 83
             </template>
84 84
           </el-table-column>
85 85
         </el-table>
@@ -430,7 +430,18 @@
430 430
           <p>3.常规情况下,评分5~8分,至少每天评估一次;评分≥9,至少每班评估一次,紧急与特殊情况,应随时评估。</p>
431 431
       </div>
432 432
     </el-dialog>
433
-
433
+     <!--删除 -->
434
+     <el-dialog
435
+      title="提示"
436
+      :visible.sync="delete_centerDialogVisible"
437
+      width="20%"
438
+      center>
439
+      <span>是否删除该记录</span>
440
+      <span slot="footer" class="dialog-footer">
441
+        <el-button @click="delete_centerDialogVisible = false">取 消</el-button>
442
+        <el-button type="primary" @click="delete_daogaun">确 定</el-button>
443
+      </span>
444
+    </el-dialog>
434 445
   </div>
435 446
 </template>
436 447
 <script>
@@ -443,7 +454,8 @@ export default{
443 454
       dialogVisible:false,
444 455
       mingxi_dialogVisible:false,
445 456
       editor_dialogVisible:false,
446
-      tableData:[{time:'2023-9-27',mark:'15',evaluate:'千亦雪'},{time:'2023-9-27',mark:'14',evaluate:'千任雪'}],
457
+      delete_centerDialogVisible:false,
458
+      tableData:[{id:1,time:'2023-9-27',mark:'15',evaluate:'千亦雪'},{id:2,time:'2023-9-27',mark:'14',evaluate:'千任雪'}],
447 459
       tuoguan:['低危导管 (1分)','中危导管 (2分)','高危导管 (3分)'],
448 460
       yishi:['意识清醒 (0分)','中昏迷、深昏迷 (1分)','嗜睡、昏睡 (2分)','浅昏迷 (3分)','意识模糊 (4分)'],
449 461
       peihe:['完全配合 (1分)','部分配合 (2分)','不配合 (3分)'],
@@ -459,6 +471,7 @@ export default{
459 471
       options:[],
460 472
       input:'',
461 473
       value:'',
474
+      row:''
462 475
     }
463 476
   },
464 477
   methods:{
@@ -508,7 +521,18 @@ export default{
508 521
     open_xiugai(row){
509 522
       this.editor_dialogVisible=true
510 523
     },
511
-
524
+    open_delete(row){
525
+      this.row=row.id
526
+      this.delete_centerDialogVisible=true
527
+    },
528
+    delete_daogaun(){
529
+      for(let i=0;i<this.tableData.length;i++){
530
+        if(this.row==this.tableData[i].id){
531
+          this.tableData.splice(i,1)
532
+        }
533
+      }
534
+      this.delete_centerDialogVisible=false
535
+    },
512 536
     handleCheckedCitiesChange(e){
513 537
       const ball=e
514 538
       const jiequ =(ball.split('(')[1].split('分')[0]) * 1

+ 150 - 70
src/xt_pages/user/history/date_history.vue ファイルの表示

@@ -119,7 +119,7 @@
119 119
             >
120 120
             <template slot-scope="scope">
121 121
               <el-button type="primary" icon="el-icon-edit-outline" @click="open_xiugai(scope.row)"></el-button>
122
-              <el-button type="primary" icon="el-icon-delete"></el-button>
122
+              <el-button type="primary" icon="el-icon-delete" @click="open_delete(scope.row)"></el-button>
123 123
             </template>
124 124
           </el-table-column>
125 125
         </el-table>
@@ -373,13 +373,13 @@
373 373
               <tr class="bg_color">
374 374
                 <td class="start">进食</td>
375 375
                 <td v-for="(item,index) in jinshi" :key="index">
376
-                    <div class="jiange">
377
-                      <span>
378
-                        <label><input type="checkbox" name="ball" :value="item.value" @click="jinshiclick($event,item.value)"/>&nbsp;
379
-                            {{ item.label }}
380
-                        </label>
381
-                      </span>
382
-                    </div>
376
+                  <div class="jiange">
377
+                    <span>
378
+                      <label><input type="checkbox" class="checkbox1" name="ball" :value="item.value" @click="jinshiclick($event,item.value)"/>&nbsp;
379
+                          {{ item.label }}
380
+                      </label>
381
+                    </span>
382
+                  </div>
383 383
                 </td>
384 384
                 <td>&nbsp;</td>
385 385
               </tr>
@@ -388,7 +388,7 @@
388 388
                 <td v-for="(item,index) in xizao" :key="index">
389 389
                   <div class="jiange">
390 390
                     <span>
391
-                      <label><input type="checkbox" name="ball" :value="item.value" @click="xizaoclick($event,item.value)"/>&nbsp;
391
+                      <label><input type="checkbox" class="checkbox2" name="ball" :value="item.value" @click="xizaoclick($event,item.value)"/>&nbsp;
392 392
                           {{ item.label }}
393 393
                       </label>
394 394
                     </span>
@@ -402,7 +402,7 @@
402 402
                 <td v-for="(item,index) in xiushi" :key="index">
403 403
                     <div class="jiange">
404 404
                       <span>
405
-                        <label><input type="checkbox" name="ball" :value="item.value" @click="xiushiclick($event,item.value)"/>&nbsp;
405
+                        <label><input type="checkbox" class="checkbox3" name="ball" :value="item.value" @click="xiushiclick($event,item.value)"/>&nbsp;
406 406
                             {{item.label}}
407 407
                         </label>
408 408
                       </span>
@@ -416,7 +416,7 @@
416 416
                 <td v-for="(item,index) in chuanyi" :key="index">
417 417
                   <div class="jiange">
418 418
                     <span>
419
-                      <label><input type="checkbox" name="ball" :value="item.value" @click="chuanyiclick($event,item.value)"/>&nbsp;
419
+                      <label><input type="checkbox" class="checkbox4" name="ball" :value="item.value" @click="chuanyiclick($event,item.value)"/>&nbsp;
420 420
                           {{item.label}}
421 421
                       </label>
422 422
                     </span>
@@ -429,7 +429,7 @@
429 429
                 <td v-for="(item,index) in dabian" :key="index">
430 430
                   <div class="jiange">
431 431
                     <span>
432
-                      <label><input type="checkbox" name="ball" :value="item.value" @click="dabianclick($event,item.value)"/>&nbsp;
432
+                      <label><input type="checkbox" class="checkbox5" name="ball" :value="item.value" @click="dabianclick($event,item.value)"/>&nbsp;
433 433
                           {{item.label}}
434 434
                       </label>
435 435
                     </span>
@@ -442,7 +442,7 @@
442 442
                 <td v-for="(item,index) in xioabian" :key="index">
443 443
                   <div class="jiange">
444 444
                     <span>
445
-                      <label><input type="checkbox" name="ball" :value="item.value" @click="xioabianclick($event,item.value)"/>&nbsp;
445
+                      <label><input type="checkbox" class="checkbox6" name="ball" :value="item.value" @click="xiaobianclick($event,item.value)"/>&nbsp;
446 446
                           {{item.label}}
447 447
                       </label>
448 448
                     </span>
@@ -455,7 +455,7 @@
455 455
                 <td v-for="(item,index) in ruce" :key="index">
456 456
                   <div class="jiange">
457 457
                     <span>
458
-                      <label><input type="checkbox" name="ball" :value="item.value" @click="ruceclick($event,item.value)"/>&nbsp;
458
+                      <label><input type="checkbox" class="checkbox7" name="ball" :value="item.value" @click="ruceclick($event,item.value)"/>&nbsp;
459 459
                           {{item.label}}
460 460
                       </label>
461 461
                     </span>
@@ -468,7 +468,7 @@
468 468
                 <td v-for="(item,index) in chuangyi" :key="index">
469 469
                   <div class="jiange">
470 470
                     <span>
471
-                      <label><input type="checkbox" name="ball" :value="item.value" @click="chuangyiclick($event,item.value)"/>&nbsp;
471
+                      <label><input type="checkbox" class="checkbox8" name="ball" :value="item.value" @click="chuangyiclick($event,item.value)"/>&nbsp;
472 472
                           {{item.label}}
473 473
                       </label>
474 474
                     </span>
@@ -480,7 +480,7 @@
480 480
                 <td v-for="(item,index) in pingdi" :key="index">
481 481
                   <div class="jiange">
482 482
                     <span>
483
-                      <label><input type="checkbox" name="ball" :value="item.value" @click="pingdiclick($event,item.value)"/>&nbsp;
483
+                      <label><input type="checkbox" class="checkbox9" name="ball" :value="item.value" @click="pingdiclick($event,item.value)"/>&nbsp;
484 484
                           {{item.label}}
485 485
                       </label>
486 486
                     </span>
@@ -492,7 +492,7 @@
492 492
                 <td v-for="(item,index) in louti" :key="index">
493 493
                   <div class="jiange">
494 494
                     <span>
495
-                      <label><input type="checkbox" name="ball" :value="item.value" @click="louticlick($event,item.value)"/>&nbsp;
495
+                      <label><input type="checkbox" class="checkbox10" name="ball" :value="item.value" @click="louticlick($event,item.value)"/>&nbsp;
496 496
                           {{ item.label }}
497 497
                       </label>
498 498
                     </span>
@@ -544,6 +544,18 @@
544 544
         </table>
545 545
       </div>
546 546
     </el-dialog>
547
+     <!--删除 -->
548
+     <el-dialog
549
+      title="提示"
550
+      :visible.sync="delete_centerDialogVisible"
551
+      width="20%"
552
+      center>
553
+      <span>是否删除该记录</span>
554
+      <span slot="footer" class="dialog-footer">
555
+        <el-button @click="delete_centerDialogVisible = false">取 消</el-button>
556
+        <el-button type="primary" @click="delete_date">确 定</el-button>
557
+      </span>
558
+    </el-dialog>
547 559
   </div>
548 560
 </template>
549 561
 <script>
@@ -556,7 +568,8 @@ export default{
556 568
       dialogVisible:false,
557 569
       mingxi_dialogVisible:false,
558 570
       editor_dialogVisible:false,
559
-      tableData:[{time:'2023-9-27',mark:'15',evaluate:'千亦雪'},{time:'2023-9-27',mark:'14',evaluate:'千任雪'}],
571
+      delete_centerDialogVisible:false,
572
+      tableData:[{id:1,time:'2023-9-27',mark:'15',evaluate:'千亦雪'},{id:2,time:'2023-9-27',mark:'14',evaluate:'千任雪'}],
560 573
       jinshi:[{value:10,label:'可独立进食(10分)'},
561 574
               {value:5,label:'需部分帮助(如协助夹菜等)(5分)'},
562 575
               {value:0,label:'需极大帮助或完全依赖他人(0分)'}
@@ -575,7 +588,7 @@ export default{
575 588
               {value:5,label:'偶尔失禁(5分)'},
576 589
               {value:0,label:'完全失禁(0分)'}
577 590
             ],
578
-      xioabian:[{value:10,label:'可控制便(10分)'},
591
+      xioabian:[{value:10,label:'可控制便(10分)'},
579 592
               {value:5,label:'偶尔失禁(5分)'},
580 593
               {value:0,label:'完全失禁(0分)'}
581 594
             ],
@@ -612,6 +625,7 @@ export default{
612 625
       chuangyi_val:null,
613 626
       paingdi_val:null,
614 627
       louti_val:null,
628
+      row:''
615 629
     }
616 630
   },
617 631
   methods:{
@@ -664,76 +678,142 @@ export default{
664 678
     open_xiugai(row){
665 679
       this.editor_dialogVisible=true
666 680
     },
667
-
681
+    open_delete(row){
682
+      this.row=row.id
683
+      this.delete_centerDialogVisible=true
684
+    },
685
+    delete_date(){
686
+      for(let i=0;i<this.tableData.length;i++){
687
+        if(this.row==this.tableData[i].id){
688
+          this.tableData.splice(i,1)
689
+        }
690
+      }
691
+      this.delete_centerDialogVisible=false
692
+    },
668 693
     jinshiclick(e,val){
669
-     if(e.target.checked == true){
670
-      this.jinshi_val = val
671
-     }else{
672
-      this.jinshi_val =this.jinshi_val - val
673
-     }
694
+      const checkboxs=document.getElementsByClassName('checkbox1')
695
+      for(let i=0;i<checkboxs.length;i++){
696
+        if(val==checkboxs[i].value){
697
+          this.jinshi_val = val
698
+          checkboxs[i].value
699
+          checkboxs[i].checked=true
700
+        }else{
701
+          checkboxs[i].checked = false
702
+        }
703
+      }
674 704
     },
675 705
     xizaoclick(e,val){
676
-      if(e.target.checked == true){
677
-      this.xizao_val = val
678
-     }else{
679
-      this.xizao_val =this.xizao_val - val
680
-     }
706
+      const checkboxs=document.getElementsByClassName('checkbox2')
707
+      for(let i=0;i<checkboxs.length;i++){
708
+        if(val==checkboxs[i].value){
709
+          this.xizao_val = val
710
+          checkboxs[i].value
711
+          checkboxs[i].checked=true
712
+        }else{
713
+          checkboxs[i].checked = false
714
+        }
715
+      }
681 716
     },
682 717
     xiushiclick(e,val){
683
-     if(e.target.checked == true){
684
-      this.xiushi_val = val
685
-     }else{
686
-      this.xiushi_val =this.xiushi_val - val
687
-     }
718
+     const checkboxs=document.getElementsByClassName('checkbox3')
719
+      for(let i=0;i<checkboxs.length;i++){
720
+        if(val==checkboxs[i].value){
721
+          this.xiushi_val = val
722
+          checkboxs[i].value
723
+          checkboxs[i].checked=true
724
+        }else{
725
+          checkboxs[i].checked = false
726
+        }
727
+      }
688 728
     },
689 729
     chuanyiclick(e,val){
690
-      if(e.target.checked == true){
691
-      this.chuanyi_val = val
692
-     }else{
693
-      this.chuanyi_val =this.chuanyi_val - val
694
-     }
730
+     const checkboxs=document.getElementsByClassName('checkbox4')
731
+      for(let i=0;i<checkboxs.length;i++){
732
+        if(val==checkboxs[i].value){
733
+          this.chuanyi_val = val
734
+          checkboxs[i].value
735
+          checkboxs[i].checked=true
736
+        }else{
737
+          checkboxs[i].checked = false
738
+        }
739
+      }
695 740
     },
696 741
     dabianclick(e,val){
697
-     if(e.target.checked == true){
698
-      this.dabian_val = val
699
-     }else{
700
-      this.dabian_val =this.dabian_val - val
701
-     }
742
+     const checkboxs=document.getElementsByClassName('checkbox5')
743
+      for(let i=0;i<checkboxs.length;i++){
744
+        if(val==checkboxs[i].value){
745
+          this.dabian_val = val
746
+          checkboxs[i].value
747
+          checkboxs[i].checked=true
748
+        }else{
749
+          checkboxs[i].checked = false
750
+        }
751
+      }
702 752
     },
703 753
     xiaobianclick(e,val){
704
-      if(e.target.checked == true){
705
-      this.xiaobian_val = val
706
-     }else{
707
-      this.xiaobian_val =this.xiaobian_val - val
708
-     }
754
+     const checkboxs=document.getElementsByClassName('checkbox6')
755
+      for(let i=0;i<checkboxs.length;i++){
756
+        if(val==checkboxs[i].value){
757
+          this.xiaobian_val = val
758
+          checkboxs[i].value
759
+          checkboxs[i].checked=true
760
+        }else{
761
+          checkboxs[i].checked = false
762
+        }
763
+      }
709 764
     },
710 765
     ruceclick(e,val){
711
-     if(e.target.checked == true){
712
-      this.ruce_val = val
713
-     }else{
714
-      this.ruce_val =this.ruce_val - val
715
-     }
766
+     const checkboxs=document.getElementsByClassName('checkbox7')
767
+      for(let i=0;i<checkboxs.length;i++){
768
+        if(val==checkboxs[i].value){
769
+          this.ruce_val = val
770
+          checkboxs[i].value
771
+          checkboxs[i].checked=true
772
+        }else{
773
+          checkboxs[i].checked = false
774
+        }
775
+      }
716 776
     },
717 777
     chuangyiclick(e,val){
718
-      if(e.target.checked == true){
719
-      this.chuangyi_val = val
720
-     }else{
721
-      this.chuangyi_val =this.chuangyi_val - val
722
-     }
778
+     const checkboxs=document.getElementsByClassName('checkbox8')
779
+      for(let i=0;i<checkboxs.length;i++){
780
+        if(val==checkboxs[i].value){
781
+          this.chuangyi_val = val
782
+          checkboxs[i].value
783
+          checkboxs[i].checked=true
784
+        }else{
785
+          checkboxs[i].checked = false
786
+        }
787
+      }
723 788
     },
724 789
     pingdiclick(e,val){
725
-     if(e.target.checked == true){
726
-      this.paingdi_val = val
727
-     }else{
728
-      this.paingdi_val =this.paingdi_val - val
729
-     }
790
+    //  if(e.target.checked == true){
791
+    //   this.paingdi_val = val
792
+    //  }else{
793
+    //   this.paingdi_val =this.paingdi_val - val
794
+    //  }
795
+     const checkboxs=document.getElementsByClassName('checkbox9')
796
+      for(let i=0;i<checkboxs.length;i++){
797
+        if(val==checkboxs[i].value){
798
+          this.paingdi_val = val
799
+          checkboxs[i].value
800
+          checkboxs[i].checked=true
801
+        }else{
802
+          checkboxs[i].checked = false
803
+        }
804
+      }
730 805
     },
731 806
     louticlick(e,val){
732
-      if(e.target.checked == true){
733
-      this.louti_val = val
734
-     }else{
735
-      this.louti_val =this.louti_val - val
736
-     }
807
+     const checkboxs=document.getElementsByClassName('checkbox10')
808
+      for(let i=0;i<checkboxs.length;i++){
809
+        if(val==checkboxs[i].value){
810
+          this.louti_val = val
811
+          checkboxs[i].value
812
+          checkboxs[i].checked=true
813
+        }else{
814
+          checkboxs[i].checked = false
815
+        }
816
+      }
737 817
     },
738 818
   },
739 819
   computed:{

+ 38 - 12
src/xt_pages/user/history/mind_history.vue ファイルの表示

@@ -2,7 +2,7 @@
2 2
 <template>
3 3
   <div class="patient-container">
4 4
     <div class="patient-app-containers advice-container app-container">
5
-      <div style="display: flex;margin-bottom: 20px;"> 
5
+      <div style="display: flex;margin-bottom: 20px;">
6 6
         <div style="width: 50%;">
7 7
           <el-button type="text" icon="el-icon-arrow-left" style="font-size: 18px;" @click="fanhui">返回</el-button>
8 8
           <div class="history">历史评分</div>
@@ -16,7 +16,7 @@
16 16
           ref="multipleTable"
17 17
           :data="tableData"
18 18
           border
19
-          
19
+
20 20
           tooltip-effect="dark"
21 21
           :header-cell-style="{
22 22
             background:'#4579c5',
@@ -34,7 +34,7 @@
34 34
             label="评估日期"
35 35
             width="150"
36 36
             align="center">
37
-            
37
+
38 38
           </el-table-column>
39 39
           <el-table-column
40 40
             prop=""
@@ -74,7 +74,7 @@
74 74
             show-overflow-tooltip>
75 75
             <template slot-scope="scope">
76 76
               <el-button type="primary" icon="el-icon-edit-outline" @click="open_xiugai(scope.row)"></el-button>
77
-              <el-button type="primary" icon="el-icon-delete"></el-button>
77
+              <el-button type="primary" icon="el-icon-delete" @click="open_delet(scope.row)"></el-button>
78 78
             </template>
79 79
           </el-table-column>
80 80
         </el-table>
@@ -120,7 +120,7 @@
120 120
           </div>
121 121
         </div>
122 122
       </div>
123
-    </el-dialog>  
123
+    </el-dialog>
124 124
     <!-- 编辑 -->
125 125
     <el-dialog
126 126
       title="提示"
@@ -154,7 +154,7 @@
154 154
                             <el-radio v-for="(item,index ) in qingan" :label="item" :key="index" style="color: black;font-size: 15px;">{{ item }}</el-radio>
155 155
                         </el-radio-group>
156 156
                     </div>
157
-                </td>                           
157
+                </td>
158 158
             </tr>
159 159
             <tr class="bg_color">
160 160
                 <td class="start">自伤</td>
@@ -210,7 +210,19 @@
210 210
               <el-button type="primary">确认</el-button>
211 211
           </div>
212 212
       </div>
213
-    </el-dialog>  
213
+    </el-dialog>
214
+    <!-- 删除 -->
215
+    <el-dialog
216
+      title="提示"
217
+      :visible.sync="delete_centerDialogVisible"
218
+      width="20%"
219
+      center>
220
+      <span>是否删除该记录</span>
221
+      <span slot="footer" class="dialog-footer">
222
+        <el-button @click="delete_centerDialogVisible = false">取 消</el-button>
223
+        <el-button type="primary" @click="delete_mind">确 定</el-button>
224
+      </span>
225
+    </el-dialog>
214 226
   </div>
215 227
 </template>
216 228
 <script>
@@ -222,7 +234,9 @@ export default{
222 234
       multipleSelection:[],
223 235
       dialogVisible:false,
224 236
       editor_dialogVisible:false,
225
-      tableData:[{time:'2023-9-27',mark:'15',evaluate:'千亦雪'},{time:'2023-9-27',mark:'14',evaluate:'千任雪'}],
237
+      delete_centerDialogVisible:false,
238
+      row:'',
239
+      tableData:[{id:1,time:'2023-9-27',mark:'15',evaluate:'千亦雪'},{id:2,time:'2023-9-27',mark:'14',evaluate:'千任雪'}],
226 240
 
227 241
       checkList:'',
228 242
       radio1:'',
@@ -261,6 +275,18 @@ export default{
261 275
     },
262 276
     open_xiugai(row){
263 277
       this.editor_dialogVisible=true
278
+    },
279
+    open_delet(row){
280
+      this.row=row.id
281
+      this.delete_centerDialogVisible=true
282
+    },
283
+    delete_mind(){
284
+      for(let i=0;i<this.tableData.length;i++){
285
+        if(this.row==this.tableData[i].id){
286
+          this.tableData.splice(i,1)
287
+        }
288
+      }
289
+      this.delete_centerDialogVisible=false
264 290
     }
265 291
   }
266 292
 }
@@ -284,7 +310,7 @@ export default{
284 310
 }
285 311
 .content_top{
286 312
       display: flex;
287
-      justify-content: space-between; 
313
+      justify-content: space-between;
288 314
     }
289 315
 .tables{
290 316
     border: 1px solid #DCDFE6;
@@ -317,7 +343,7 @@ export default{
317 343
       margin-right: 40px;
318 344
       font-size: 15px;
319 345
     }
320
-    
346
+
321 347
     input{
322 348
         -webkit-appearance: checkbox;
323 349
     }
@@ -325,6 +351,6 @@ export default{
325 351
 .bottoms{
326 352
   display: inline-block;
327 353
   margin-left: 10px;
328
-  margin-top: 5px; 
354
+  margin-top: 5px;
329 355
 }
330
-</style>
356
+</style>

+ 34 - 8
src/xt_pages/user/history/nourishment_history.vue ファイルの表示

@@ -2,7 +2,7 @@
2 2
 <template>
3 3
   <div class="patient-container">
4 4
     <div class="patient-app-containers advice-container app-container">
5
-      <div style="display: flex;margin-bottom: 20px;"> 
5
+      <div style="display: flex;margin-bottom: 20px;">
6 6
         <div style="width: 50%;">
7 7
           <el-button type="text" icon="el-icon-arrow-left" style="font-size: 18px;" @click="fanhui">返回</el-button>
8 8
           <div class="history">历史评分</div>
@@ -17,7 +17,7 @@
17 17
           ref="multipleTable"
18 18
           :data="tableData"
19 19
           border
20
-          
20
+
21 21
           tooltip-effect="dark"
22 22
           :header-cell-style="{
23 23
             background:'#4579c5',
@@ -74,7 +74,7 @@
74 74
             show-overflow-tooltip>
75 75
             <template slot-scope="scope">
76 76
               <el-button type="primary" icon="el-icon-edit-outline" @click="open_xiugai(scope.row)"></el-button>
77
-              <el-button type="primary" icon="el-icon-delete"></el-button>
77
+              <el-button type="primary" icon="el-icon-delete" @click="open_delet(scope.row)"></el-button>
78 78
             </template>
79 79
           </el-table-column>
80 80
         </el-table>
@@ -120,7 +120,7 @@
120 120
           </div>
121 121
         </div>
122 122
       </div>
123
-    </el-dialog>  
123
+    </el-dialog>
124 124
      <!-- 打印明细 -->
125 125
      <el-dialog
126 126
       title="提示"
@@ -308,8 +308,8 @@
308 308
                       </tr>
309 309
                     </tbody>
310 310
                 </table>
311
-              </div> 
312
-              
311
+              </div>
312
+
313 313
               <div style="font-size: 16px;">打印时间:</div>
314 314
             </div>
315 315
           </div>
@@ -524,6 +524,18 @@
524 524
           </div>
525 525
       </div>
526 526
     </el-dialog>
527
+    <!-- 删除 -->
528
+    <el-dialog
529
+      title="提示"
530
+      :visible.sync="delete_centerDialogVisible"
531
+      width="20%"
532
+      center>
533
+      <span>是否删除该记录</span>
534
+      <span slot="footer" class="dialog-footer">
535
+        <el-button @click="delete_centerDialogVisible = false">取 消</el-button>
536
+        <el-button type="primary" @click="delete_niouris">确 定</el-button>
537
+      </span>
538
+    </el-dialog>
527 539
   </div>
528 540
 </template>
529 541
 <script>
@@ -536,7 +548,8 @@ export default{
536 548
       dialogVisible:false,
537 549
       mingxi_dialogVisible:false,
538 550
       editor_dialogVisible:false,
539
-      tableData:[{time:'2023-9-27',mark:'15',evaluate:'千亦雪'},{time:'2023-9-27',mark:'14',evaluate:'千任雪'}],
551
+      delete_centerDialogVisible:false,
552
+      tableData:[{id:1,time:'2023-9-27',mark:'15',evaluate:'千亦雪'},{id:2,time:'2023-9-27',mark:'14',evaluate:'千任雪'}],
540 553
       qingdu:['骸骨折','慢性疾病急性发作或有','COPD','血液透析','肝硬化','一般恶性肿瘤患者','糖尿病'],
541 554
       zhdu:['腹部大手术','脑卒中','重度肺炎','血液恶性肿瘤'],
542 555
       zhongsdu:['颅脑损伤','骨髓移植','大于APACHE分的ICU患者'],
@@ -553,6 +566,7 @@ export default{
553 566
       radio_val:null,
554 567
       radio1_val:null,
555 568
       radio2_val:null,
569
+      row:'',
556 570
     }
557 571
   },
558 572
   methods:{
@@ -597,6 +611,18 @@ export default{
597 611
     open_xiugai(row){
598 612
       this.editor_dialogVisible=true
599 613
     },
614
+    open_delet(row){
615
+      this.row=row.id
616
+      this.delete_centerDialogVisible=true
617
+    },
618
+    delete_niouris(){
619
+      for(let i=0;i<this.tableData.length;i++){
620
+        if(this.row==this.tableData[i].id){
621
+          this.tableData.splice(i,1)
622
+        }
623
+      }
624
+      this.delete_centerDialogVisible=false
625
+    },
600 626
     radio_change(e){
601 627
       const ball=e * 1
602 628
       console.log('1111',e);
@@ -688,4 +714,4 @@ input{
688 714
   display: flex;
689 715
   justify-content: space-between;
690 716
 }
691
-</style>
717
+</style>

+ 45 - 18
src/xt_pages/user/history/pruritus_history.vue ファイルの表示

@@ -2,7 +2,7 @@
2 2
 <template>
3 3
   <div class="patient-container">
4 4
     <div class="patient-app-containers advice-container app-container">
5
-      <div style="display: flex;margin-bottom: 20px;"> 
5
+      <div style="display: flex;margin-bottom: 20px;">
6 6
         <div style="width: 50%;">
7 7
           <el-button type="text" icon="el-icon-arrow-left" style="font-size: 18px;" @click="fanhui">返回</el-button>
8 8
           <div class="history">历史评分</div>
@@ -17,7 +17,7 @@
17 17
           ref="multipleTable"
18 18
           :data="tableData"
19 19
           border
20
-          
20
+
21 21
           tooltip-effect="dark"
22 22
           :header-cell-style="{
23 23
             background:'#4579c5',
@@ -80,7 +80,7 @@
80 80
             show-overflow-tooltip>
81 81
             <template slot-scope="scope">
82 82
               <el-button type="primary" icon="el-icon-edit-outline" @click="open_xiugai(scope.row)"></el-button>
83
-              <el-button type="primary" icon="el-icon-delete"></el-button>
83
+              <el-button type="primary" icon="el-icon-delete" @click="open_delet(scope.row)"></el-button>
84 84
             </template>
85 85
           </el-table-column>
86 86
         </el-table>
@@ -128,7 +128,7 @@
128 128
           </div>
129 129
         </div>
130 130
       </div>
131
-    </el-dialog>  
131
+    </el-dialog>
132 132
      <!-- 打印明细 -->
133 133
      <el-dialog
134 134
       title="提示"
@@ -168,7 +168,7 @@
168 168
                           <div class="jiange">
169 169
                               <span v-for="item in buwei" class="rightjiange" >
170 170
                                   <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
171
-                              </span> 
171
+                              </span>
172 172
                               <label ><input type="checkbox" name="ball" value="其他" />
173 173
                                   &nbsp;其他 <span style="display: inline-block;border-bottom:1px solid #DCDFE6;width: 60px;"></span>
174 174
                               </label>
@@ -185,9 +185,9 @@
185 185
                                   <el-radio v-for="(item,index ) in chengdu" :label="item" :key="index" style="color: black;font-size: 15PX;">{{ item }}</el-radio>
186 186
                               </el-radio-group>
187 187
                           </div>
188
-                      </td> 
188
+                      </td>
189 189
                       <td class="start">{{radio1_points}}</td>
190
-                      <td class="saoyang">瘙痒严重程度:计分范围1~5分</td>                          
190
+                      <td class="saoyang">瘙痒严重程度:计分范围1~5分</td>
191 191
                     </tr>
192 192
                     <tr>
193 193
                       <td class="start">痒的频率</td>
@@ -247,7 +247,7 @@
247 247
                     <div class="jiange">
248 248
                         <span v-for="item in buwei" class="rightjiange" @change="handleCheckedCitiesChange">
249 249
                             <label><input type="checkbox" name="ball" :value="item" />&nbsp;{{ item }}</label>
250
-                        </span> 
250
+                        </span>
251 251
                         <label @change="handleCheckedCitiesChange"><input type="checkbox" name="ball" value="其他" />
252 252
                             &nbsp;其他 <el-input v-model="input" style="width: 100px;"></el-input>
253 253
                         </label>
@@ -264,9 +264,9 @@
264 264
                             <el-radio v-for="(item,index ) in chengdu" :label="item" :key="index" style="color: black;font-size: 15PX;">{{ item }}</el-radio>
265 265
                         </el-radio-group>
266 266
                     </div>
267
-                </td> 
267
+                </td>
268 268
                 <td class="start">{{radio1_points}}</td>
269
-                <td class="saoyang">瘙痒严重程度:计分范围1~5分</td>                          
269
+                <td class="saoyang">瘙痒严重程度:计分范围1~5分</td>
270 270
               </tr>
271 271
               <tr>
272 272
                 <td class="start">痒的频率</td>
@@ -332,8 +332,20 @@
332 332
           <div style="margin:5px 10px;">
333 333
               <el-button type="primary">确认</el-button>
334 334
           </div>
335
-        </div>   
336
-    </el-dialog>  
335
+        </div>
336
+    </el-dialog>
337
+     <!-- 删除 -->
338
+    <el-dialog
339
+      title="提示"
340
+      :visible.sync="delete_centerDialogVisible"
341
+      width="20%"
342
+      center>
343
+      <span>是否删除该记录</span>
344
+      <span slot="footer" class="dialog-footer">
345
+        <el-button @click="delete_centerDialogVisible = false">取 消</el-button>
346
+        <el-button type="primary" @click="delete_pruritus">确 定</el-button>
347
+      </span>
348
+    </el-dialog>
337 349
   </div>
338 350
 </template>
339 351
 <script>
@@ -346,7 +358,9 @@ export default{
346 358
       dialogVisible:false,
347 359
       mingxi_dialogVisible:false,
348 360
       editor_dialogVisible:false,
349
-      tableData:[{time:'2023-9-27',mark:'15',evaluate:'千亦雪'},{time:'2023-9-27',mark:'14',evaluate:'千任雪'}],
361
+      delete_centerDialogVisible:false,
362
+
363
+      tableData:[{id:1,time:'2023-9-27',mark:'15',evaluate:'千亦雪'},{id:2,time:'2023-9-27',mark:'14',evaluate:'千任雪'}],
350 364
 
351 365
       buwei:['躯体','上肢','下肢','头皮','全身'],
352 366
       chengdu:['不要抓(1)','要抓但没有抓痕(2)','抓出抓痕才能止痒(3)','经常抓出抓痕(4)','完全坐立不安(5)'],
@@ -365,6 +379,7 @@ export default{
365 379
       options:[],
366 380
       value:'',
367 381
       value1:'',
382
+      row:'',
368 383
     }
369 384
   },
370 385
   methods:{
@@ -404,11 +419,23 @@ export default{
404 419
         })
405 420
         this.mingxi_dialogVisible=false
406 421
       }
407
-      
422
+
408 423
     },
409 424
     open_xiugai(row){
410 425
       this.editor_dialogVisible=true
411 426
     },
427
+    open_delet(row){
428
+      this.row=row.id
429
+      this.delete_centerDialogVisible=true
430
+    },
431
+    delete_pruritus(){
432
+      for(let i=0;i<this.tableData.length;i++){
433
+        if(this.row==this.tableData[i].id){
434
+          this.tableData.splice(i,1)
435
+        }
436
+      }
437
+      this.delete_centerDialogVisible=false
438
+    },
412 439
     handleCheckedCitiesChange(e){
413 440
       this.ball = e.target.value
414 441
       console.log('1111111',this.ball)
@@ -445,7 +472,7 @@ export default{
445 472
         this.radio3_points =jiequ
446 473
       }
447 474
     },
448
-    
475
+
449 476
   },
450 477
   computed:{
451 478
     pruritus_Totalpoints(){
@@ -473,7 +500,7 @@ export default{
473 500
 }
474 501
 .content_top{
475 502
       display: flex;
476
-      justify-content: space-between; 
503
+      justify-content: space-between;
477 504
 }
478 505
 .table{
479 506
     border: 1px solid #DCDFE6;
@@ -516,6 +543,6 @@ export default{
516 543
 .bottoms{
517 544
     display: inline-block;
518 545
     margin-left: 10px;
519
-    margin-top: 5px; 
546
+    margin-top: 5px;
520 547
 }
521
-</style>
548
+</style>

+ 54 - 12
src/xt_pages/user/history/tumble_history.vue ファイルの表示

@@ -604,6 +604,37 @@
604 604
         </div>
605 605
       </div>
606 606
     </el-dialog>
607
+    <!--删除 -->
608
+    <el-dialog
609
+      title="提示"
610
+      :visible.sync="delete_centerDialogVisible"
611
+      width="20%"
612
+      center>
613
+      <span>是否删除该记录</span>
614
+      <span slot="footer" class="dialog-footer">
615
+        <el-button @click="delete_centerDialogVisible = false">取 消</el-button>
616
+        <el-button type="primary" @click="delete_tumble">确 定</el-button>
617
+      </span>
618
+    </el-dialog>
619
+    <!-- 添加弹窗页面 -->
620
+    <el-dialog
621
+        title="添加"
622
+        :visible.sync="add_centerDialogVisible"
623
+        width="30%"
624
+        center>
625
+        <span>
626
+          <el-input
627
+            type="textarea"
628
+            :autosize="{ minRows: 4, maxRows: 6}"
629
+            placeholder="请输入需要添加的内容.."
630
+            v-model="textarea2">
631
+          </el-input>
632
+        </span>
633
+        <span slot="footer" class="dialog-footer">
634
+          <el-button @click="add_centerDialogVisible = false">取 消</el-button>
635
+          <el-button type="primary" @click="add_tumble">确 定</el-button>
636
+        </span>
637
+      </el-dialog>
607 638
   </div>
608 639
 </template>
609 640
 <script>
@@ -611,12 +642,15 @@ import print from 'print-js'
611 642
 export default{
612 643
   data(){
613 644
     return{
614
-      tableData:[{time:'2023-9-27',mark:'15',measures:'无',evaluate:'千亦雪'},{time:'2023-9-27',mark:'14',measures:'无',evaluate:'千任雪'}],
645
+      tableData:[{id:1,time:'2023-9-27',mark:'15',measures:'无',evaluate:'千亦雪'},{id:2,time:'2023-9-27',mark:'14',measures:'无',evaluate:'千任雪'}],
615 646
       multipleSelection:[],
616 647
       dialogVisible:false,
617 648
       mingxi_dialogVisible:false,
618 649
       bianji_dialogVisible:false,
650
+      delete_centerDialogVisible:false,
651
+      add_centerDialogVisible:false,
619 652
 
653
+      row:'',
620 654
       pingdate:'',
621 655
       Nurse:'',
622 656
       input:'',
@@ -646,21 +680,16 @@ export default{
646 680
       console.log('0000',this.multipleSelection);
647 681
     },
648 682
     open_pingfen(ids){
649
-      if(ids==1){
650
-        if(this.multipleSelection.length==0){
651
-          this.$message('至少选择一条数据')
652
-        }else{
683
+      if(this.multipleSelection.length==0){
684
+        this.$message('请选择需要打印的记录')
685
+      }else{
686
+        if(ids==1){
653 687
           this.dialogVisible=true
654
-        }
655
-      }
656
-      if(ids==2){
657
-        if(this.multipleSelection.length==0){
658
-          this.$message('至少选择一条数据')
659 688
         }else{
660 689
           this.mingxi_dialogVisible=true
661 690
         }
662
-      }
663 691
 
692
+      }
664 693
     },
665 694
     // open_mingxi(){
666 695
     //   if(this.multipleSelection.length==0){
@@ -696,11 +725,24 @@ export default{
696 725
       console.log('1111',row);
697 726
     },
698 727
     delete_fall(row){
728
+      this.row=row.id
729
+      this.delete_centerDialogVisible=true
699 730
       console.log('3333',row);
700 731
       // this.tableData.splice(row)
701 732
     },
733
+    delete_tumble(){
734
+      for(let i=0;i<this.tableData.length;i++){
735
+        if(this.row==this.tableData[i].id){
736
+          this.tableData.splice(i,1)
737
+        }
738
+      }
739
+      this.delete_centerDialogVisible=false
740
+    },
741
+    add_tumble(){
742
+      this.add_centerDialogVisible = false
743
+    },
702 744
     add(){
703
-      this.centerDialogVisible =true
745
+      this.add_centerDialogVisible =true
704 746
     },
705 747
     handleCheckedCitiesChange(e){
706 748
       var ball = e.target.value

+ 12 - 12
src/xt_pages/workforce/components/ScheduleItem.vue ファイルの表示

@@ -2,17 +2,17 @@
2 2
   <!-- 排班表填充内容 -->
3 3
     <div >
4 4
 
5
-            <div>
6
-                <span :class='modeColor(scheduleDetail.mode_name)'>{{scheduleDetail.patient}}</span>
7
-                <template v-if="schedulMode">
8
-                  <br/>
9
-                  <span v-if="scheduleDetail.mode_name.length>0"  :class='modeColor(scheduleDetail.mode_name)' >{{'('+scheduleDetail.mode_name+')'}}</span>
10
-                </template>
11
-                <template v-if="schedulFlag">
12
-                  <br/><span >{{scheduleDetail.dialysis_machine_name}}</span>
13
-                </template>
14
-                
15
-            </div>
5
+      <div>
6
+          <span :class='modeColor(scheduleDetail.mode_name)'>{{scheduleDetail.patient}}</span>
7
+          <template v-if="schedulMode">
8
+            <br/>
9
+            <span v-if="scheduleDetail.mode_name.length>0"  :class='modeColor(scheduleDetail.mode_name)' >{{'('+scheduleDetail.mode_name+')'}}</span>
10
+          </template>
11
+          <template v-if="schedulFlag">
12
+            <br/><span >{{scheduleDetail.dialysis_machine_name}}</span>
13
+          </template>
14
+
15
+      </div>
16 16
     </div>
17 17
 </template>
18 18
 
@@ -43,7 +43,7 @@ export default {
43 43
   },
44 44
   data() {
45 45
     return {
46
-      
46
+
47 47
     }
48 48
   },
49 49