瀏覽代碼

Merge branch 'superman' of http://git.shengws.com/zhangbj/xt_vue into superman

柳香萍 6 年之前
父節點
當前提交
2573e06e68
共有 43 個文件被更改,包括 957 次插入856 次删除
  1. 519 523
      src/router/index.js
  2. 3 3
      src/xt_pages/dialysis/bulletinBoard.vue
  3. 2 2
      src/xt_pages/dialysis/dialysisPrintOrder.vue
  4. 1 1
      src/xt_pages/qcd/dialysisTotal.vue
  5. 1 1
      src/xt_pages/qcd/outcomeIndicators/query.vue
  6. 4 2
      src/xt_pages/qcd/patientAnalysis/person/components/personInfo.vue
  7. 1 1
      src/xt_pages/qcd/patientAnalysis/total.vue
  8. 7 7
      src/xt_pages/role/admin.vue
  9. 4 4
      src/xt_pages/role/role.vue
  10. 69 32
      src/xt_pages/sign/index.vue
  11. 2 2
      src/xt_pages/statistics/index.vue
  12. 4 0
      src/xt_pages/stock/Dialog/salesReturnDialog.vue
  13. 3 0
      src/xt_pages/stock/Dialog/stockInDialog.vue
  14. 2 2
      src/xt_pages/stock/cancelStockOrder.vue
  15. 2 2
      src/xt_pages/stock/cancelStockOrderAdd.vue
  16. 2 2
      src/xt_pages/stock/cancelStockOrderDetail.vue
  17. 2 2
      src/xt_pages/stock/cancelStockOrderEdit.vue
  18. 2 4
      src/xt_pages/stock/detail/cancelStockDetail.vue
  19. 2 4
      src/xt_pages/stock/detail/salesReturnDetail.vue
  20. 2 4
      src/xt_pages/stock/detail/stockInDetail.vue
  21. 2 4
      src/xt_pages/stock/detail/stockOutDetail.vue
  22. 1 1
      src/xt_pages/stock/otherCancelStockOrder.vue
  23. 1 1
      src/xt_pages/stock/otherSalesReturnOrder.vue
  24. 1 1
      src/xt_pages/stock/otherStockInOrder.vue
  25. 1 1
      src/xt_pages/stock/otherStockOutOrder.vue
  26. 1 1
      src/xt_pages/stock/salesReturnOrder.vue
  27. 2 2
      src/xt_pages/stock/salesReturnOrderAdd.vue
  28. 2 2
      src/xt_pages/stock/salesReturnOrderDetail.vue
  29. 1 1
      src/xt_pages/stock/stockDetail.vue
  30. 1 1
      src/xt_pages/stock/stockInOrder.vue
  31. 2 2
      src/xt_pages/stock/stockInOrderAdd.vue
  32. 2 2
      src/xt_pages/stock/stockInOrderDetail.vue
  33. 2 2
      src/xt_pages/stock/stockInOrderEdit.vue
  34. 1 1
      src/xt_pages/stock/stockOutOrder.vue
  35. 2 2
      src/xt_pages/stock/stockOutOrderAdd.vue
  36. 2 2
      src/xt_pages/stock/stockOutOrderDetail.vue
  37. 2 2
      src/xt_pages/stock/stockOutOrderEdit.vue
  38. 2 2
      src/xt_pages/stock/stockQuery.vue
  39. 25 9
      src/xt_pages/user/components/PatientForm.vue
  40. 5 5
      src/xt_pages/user/components/PatientSidebar.vue
  41. 248 201
      src/xt_pages/user/rescueRecord.vue
  42. 4 0
      src/xt_pages/workforce/appointment.vue
  43. 13 13
      src/xt_permission.js

文件差異過大導致無法顯示
+ 519 - 523
src/router/index.js


+ 3 - 3
src/xt_pages/dialysis/bulletinBoard.vue 查看文件

158
       }
158
       }
159
     },
159
     },
160
     created() {
160
     created() {
161
-        // this.orgname = xtuser.org.org_name;
162
-        this.orgname = "遂溪方济医院";
161
+        var xtuser = this.$store.getters.xt_user
162
+        this.orgname = xtuser.org.org_name;
163
+        // this.orgname = "遂溪方济医院";
163
         this.modeOptions = this.$store.getters.treatment_mode;
164
         this.modeOptions = this.$store.getters.treatment_mode;
164
         this.initData();
165
         this.initData();
165
     },
166
     },
210
                   return false;
211
                   return false;
211
               } else {
212
               } else {
212
                   if(r.data.boards.length==0) {
213
                   if(r.data.boards.length==0) {
213
-                      console.log("getBoards this.currentPage", this.currentPage);
214
                       this.currentPage = 1;
214
                       this.currentPage = 1;
215
                       this.getBoards();
215
                       this.getBoards();
216
                   }else {
216
                   }else {

+ 2 - 2
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

1008
 </template>
1008
 </template>
1009
 
1009
 
1010
 <script>
1010
 <script>
1011
-  import { getDialysisRecord } from '@/api/dialysis'
1011
+import { getDialysisRecord } from '@/api/dialysis'
1012
 import { getDataConfig } from '@/utils/data'
1012
 import { getDataConfig } from '@/utils/data'
1013
 import { jsGetAge, uParseTime } from '@/utils/tools'
1013
 import { jsGetAge, uParseTime } from '@/utils/tools'
1014
 import LabelBox from './printItem/LabelBox'
1014
 import LabelBox from './printItem/LabelBox'
1015
-  import print from 'print-js'
1015
+import print from 'print-js'
1016
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
1016
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
1017
 
1017
 
1018
 export default {
1018
 export default {

+ 1 - 1
src/xt_pages/qcd/dialysisTotal.vue 查看文件

141
     return {
141
     return {
142
       crumbs:[
142
       crumbs:[
143
         {path:false, name:'科室质控'},
143
         {path:false, name:'科室质控'},
144
-        {path:'/qcd/dialysistotal', name:'透析总量'},
144
+        {path:false, name:'透析总量'},
145
       ],
145
       ],
146
       total: 0,
146
       total: 0,
147
       totitle:'全部',
147
       totitle:'全部',

+ 1 - 1
src/xt_pages/qcd/outcomeIndicators/query.vue 查看文件

15
             <el-input v-model="listQuery.search" placeholder="姓名/透析号"></el-input>
15
             <el-input v-model="listQuery.search" placeholder="姓名/透析号"></el-input>
16
           </el-form-item>
16
           </el-form-item>
17
           <el-form-item>
17
           <el-form-item>
18
-            <el-button type="primary" @click="onSearch">搜索</el-button>
18
+            <el-button type="primary" @click="onSearch"  icon="el-icon-search">搜索</el-button>
19
           </el-form-item>
19
           </el-form-item>
20
         </el-form>
20
         </el-form>
21
       </div>
21
       </div>

+ 4 - 2
src/xt_pages/qcd/patientAnalysis/person/components/personInfo.vue 查看文件

59
 }
59
 }
60
 </script>
60
 </script>
61
 <style scoped>
61
 <style scoped>
62
+.patient-info-container {
63
+  margin: 10px 0px;
64
+}
62
 .patient-info-container .patient-info {
65
 .patient-info-container .patient-info {
63
-    font-size: 20px;
64
-    font-weight: bold;
66
+    font-size: 16px;
65
 }
67
 }
66
 </style>
68
 </style>
67
 
69
 

+ 1 - 1
src/xt_pages/qcd/patientAnalysis/total.vue 查看文件

12
             <el-input v-model="listQuery.search" placeholder="姓名/透析号"></el-input>
12
             <el-input v-model="listQuery.search" placeholder="姓名/透析号"></el-input>
13
           </el-form-item>
13
           </el-form-item>
14
           <el-form-item>
14
           <el-form-item>
15
-            <el-button type="primary" @click="onSearch">搜索</el-button>
15
+            <el-button type="primary" @click="onSearch" icon="el-icon-search">搜索</el-button>
16
           </el-form-item>
16
           </el-form-item>
17
         </el-form>
17
         </el-form>
18
       </div>
18
       </div>

+ 7 - 7
src/xt_pages/role/admin.vue 查看文件

8
   </div>
8
   </div>
9
   <div class="app-container">
9
   <div class="app-container">
10
     <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" style="width:100%;" ref="table" border :data="admins" v-loading="is_loading_admins">
10
     <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" style="width:100%;" ref="table" border :data="admins" v-loading="is_loading_admins">
11
-      <el-table-column label="用户名" prop="user_name" min-width="160"></el-table-column>
12
-      <el-table-column label="最后登录IP" prop="ip" min-width="150"></el-table-column>
13
-      <el-table-column label="最后登录时间" prop="last_login_time" min-width="170">
11
+      <el-table-column label="用户名" prop="user_name" min-width="160" align="center"></el-table-column>
12
+      <el-table-column label="最后登录IP" prop="ip" min-width="150" align="center"></el-table-column>
13
+      <el-table-column label="最后登录时间" prop="last_login_time" min-width="170" align="center">
14
         <template slot-scope="scope">
14
         <template slot-scope="scope">
15
           <span>{{ scope.row.last_login_time == 0 ? '' : (_parseTime(scope.row.last_login_time, '{y}-{m}-{d} {h}:{i}'))}}</span>
15
           <span>{{ scope.row.last_login_time == 0 ? '' : (_parseTime(scope.row.last_login_time, '{y}-{m}-{d} {h}:{i}'))}}</span>
16
         </template>
16
         </template>
17
       </el-table-column>
17
       </el-table-column>
18
-      <el-table-column label="角色" prop="role_name" min-width="160"></el-table-column>
19
-      <el-table-column label="职称" prop="title_name" min-width="160"></el-table-column>
20
-      <el-table-column label="状态" min-width="100">
18
+      <el-table-column label="角色" prop="role_name" min-width="160" align="center"></el-table-column>
19
+      <el-table-column label="职称" prop="title_name" min-width="160" align="center"></el-table-column>
20
+      <el-table-column label="状态" min-width="100" align="center">
21
         <template slot-scope="scope">
21
         <template slot-scope="scope">
22
           <div v-if="scope.row.status == 1" style="color: #67C23A; font-size:20px;">
22
           <div v-if="scope.row.status == 1" style="color: #67C23A; font-size:20px;">
23
             <li class="el-icon-success"></li>
23
             <li class="el-icon-success"></li>
27
           </div>
27
           </div>
28
         </template>
28
         </template>
29
       </el-table-column>
29
       </el-table-column>
30
-      <el-table-column label="操作" width="120">
30
+      <el-table-column label="操作" width="120" align="center">
31
         <template slot-scope="scope">
31
         <template slot-scope="scope">
32
           <!-- <router-link :to="{ path:'/role/admin/edit', query:{ id:scope.row.user_id }}"> -->
32
           <!-- <router-link :to="{ path:'/role/admin/edit', query:{ id:scope.row.user_id }}"> -->
33
             <el-tooltip class="item" effect="dark" content="编辑" placement="top">
33
             <el-tooltip class="item" effect="dark" content="编辑" placement="top">

+ 4 - 4
src/xt_pages/role/role.vue 查看文件

6
   </div>
6
   </div>
7
   <div class="app-container">
7
   <div class="app-container">
8
     <el-table :data="roles" v-loading="loading_roles" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}">
8
     <el-table :data="roles" v-loading="loading_roles" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}">
9
-      <el-table-column label="角色名称" prop="name" min-width="20%"></el-table-column>
10
-      <el-table-column label="角色描述" prop="intro" min-width="25%"></el-table-column>
11
-      <el-table-column label="状态" min-width="15%">
9
+      <el-table-column label="角色名称" prop="name" min-width="20%" align="center"></el-table-column>
10
+      <el-table-column label="角色描述" prop="intro" min-width="25%" align="center"></el-table-column>
11
+      <el-table-column label="状态" min-width="15%" align="center">
12
         <template slot-scope="scope">
12
         <template slot-scope="scope">
13
           <div v-if="scope.row.status == 1" style="color: #67C23A; font-size:20px;">
13
           <div v-if="scope.row.status == 1" style="color: #67C23A; font-size:20px;">
14
             <li class="el-icon-success"></li>
14
             <li class="el-icon-success"></li>
18
           </div>
18
           </div>
19
         </template>
19
         </template>
20
       </el-table-column>
20
       </el-table-column>
21
-      <el-table-column label="操作" width="180">
21
+      <el-table-column label="操作" width="180" align="center">
22
         <template slot-scope="scope">
22
         <template slot-scope="scope">
23
           <router-link :to='{ path:"/role/perview", query:{ id:scope.row.id }}'>
23
           <router-link :to='{ path:"/role/perview", query:{ id:scope.row.id }}'>
24
             <el-tooltip class="item" effect="dark" content="权限设置" placement="top">
24
             <el-tooltip class="item" effect="dark" content="权限设置" placement="top">

+ 69 - 32
src/xt_pages/sign/index.vue 查看文件

5
         <bread-crumb :crumbs='crumbs'></bread-crumb>
5
         <bread-crumb :crumbs='crumbs'></bread-crumb>
6
     </div>
6
     </div>
7
     <div class="app-container sign-and-weigh-box">
7
     <div class="app-container sign-and-weigh-box">
8
-        <el-row :gutter="20">
9
-            <el-col :span="7">
8
+        <el-row :gutter="24">
9
+            <el-col :span="8">
10
                 <div class="dataTitle">患者列表</div>
10
                 <div class="dataTitle">患者列表</div>
11
                 <div style="margin-bottom: 10px;">
11
                 <div style="margin-bottom: 10px;">
12
                     <el-input v-model="queryParams.keywords" placeholder="姓名/透析号" style="width: 180px;" @change="changeSearch"></el-input>
12
                     <el-input v-model="queryParams.keywords" placeholder="姓名/透析号" style="width: 180px;" @change="changeSearch"></el-input>
15
                     </el-select>
15
                     </el-select>
16
                 </div>
16
                 </div>
17
                 <el-table  :data="patients" :class="signAndWeighBoxPatients" style="width: 100%" border highlight-current-row :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)'}" max-height="300" @current-change="handleCurrentChange">  
17
                 <el-table  :data="patients" :class="signAndWeighBoxPatients" style="width: 100%" border highlight-current-row :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)'}" max-height="300" @current-change="handleCurrentChange">  
18
-                    <el-table-column type="index" label="序号" min-width="30" align="center"></el-table-column>
19
-                   <el-table-column prop="name" label="姓名" min-width="30" align="center">
18
+                    <el-table-column type="index" label="序号" width="50px" align="center"></el-table-column>
19
+                    <el-table-column prop="name" label="姓名" min-width="20" align="center">
20
                        <template slot-scope="scope">
20
                        <template slot-scope="scope">
21
                             {{scope.row.name}}({{scope.row.dialysis_no}})
21
                             {{scope.row.name}}({{scope.row.dialysis_no}})
22
                         </template> 
22
                         </template> 
43
                 </el-table>
43
                 </el-table>
44
             </el-col>
44
             </el-col>
45
 
45
 
46
-            <el-col :span="17">
46
+            <el-col :span="16">
47
                 <div class="dataTitle">患者信息</div>
47
                 <div class="dataTitle">患者信息</div>
48
                 <el-form class="information" label-position="left">
48
                 <el-form class="information" label-position="left">
49
-                   <div class="span"><span class="span">姓名:{{weigh_form.name}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;透析号:{{weigh_form.dialysis_no}} &nbsp;&nbsp;</span></div>
50
-                   <div class="patient-app-container">
51
-                      <span class="button"><el-button  @click="change()">修改</el-button></span>
52
-                    </div>
49
+                  <div class="inforTitle">
50
+                  <el-button  @click="change()" style="float:right;">修改</el-button>
51
+                   <span class="name">姓名:{{weigh_form.name}} &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;透析号:{{weigh_form.dialysis_no}} &nbsp;&nbsp;</span>
52
+                   </div>   
53
                     <div class="border"></div>
53
                     <div class="border"></div>
54
-                    <div style="margin-bottom:20px;color:rgb(96,96,96)">
54
+                    <div style="margin-bottom:20px;color:rgb(96,96,96);font-size:14px">
55
                     透前体重(kg):&nbsp;<el-input v-model="weigh_list.weight_before" :disabled="disa" style="width:200px"></el-input> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
55
                     透前体重(kg):&nbsp;<el-input v-model="weigh_list.weight_before" :disabled="disa" style="width:200px"></el-input> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
56
                     干体重(kg):&nbsp;<el-input v-model="weigh_list.dry_weight" :disabled="disa" style="width:200px"></el-input><br>
56
                     干体重(kg):&nbsp;<el-input v-model="weigh_list.dry_weight" :disabled="disa" style="width:200px"></el-input><br>
57
                     </div>
57
                     </div>
58
-                    <div style="margin-bottom:12px;color:rgb(96,96,96)">
58
+                    <div style="margin-bottom:12px;color:rgb(96,96,96);font-size:14px">
59
                      体温(℃):&nbsp;<el-input v-model="weigh_list.temperature" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
59
                      体温(℃):&nbsp;<el-input v-model="weigh_list.temperature" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
60
                      脉搏(次/分):&nbsp;<el-input v-model="weigh_list.pulse_frequency" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
60
                      脉搏(次/分):&nbsp;<el-input v-model="weigh_list.pulse_frequency" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
61
                      呼吸(次/分):&nbsp;<el-input v-model="weigh_list.breathing_rate" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
61
                      呼吸(次/分):&nbsp;<el-input v-model="weigh_list.breathing_rate" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
62
                      血压(mmHg):&nbsp;<el-input v-model="weigh_list.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input><span> / </span> <el-input v-model="weigh_list.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
62
                      血压(mmHg):&nbsp;<el-input v-model="weigh_list.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input><span> / </span> <el-input v-model="weigh_list.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
63
                     </div>
63
                     </div>
64
                     <div class="border"></div>  
64
                     <div class="border"></div>  
65
-                    <div style="margin-bottom:20px;color:rgb(96,96,96)">
65
+                    <div style="margin-bottom:20px;color:rgb(96,96,96);font-size:14px">
66
                      透后称重(kg):&nbsp;<el-input v-model="weigh_infor.weight_after" style="width:200px" :disabled="disa"></el-input>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
66
                      透后称重(kg):&nbsp;<el-input v-model="weigh_infor.weight_after" style="width:200px" :disabled="disa"></el-input>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
67
                      干体重(kg):&nbsp;<el-input v-model="weigh_list.dry_weight" :disabled="disa" style="width:200px"></el-input>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
67
                      干体重(kg):&nbsp;<el-input v-model="weigh_list.dry_weight" :disabled="disa" style="width:200px"></el-input>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
68
                     </div> 
68
                     </div> 
69
-                    <div style="margin-bottom:12px;color:rgb(96,96,96)">
69
+                    <div style="margin-bottom:12px;color:rgb(96,96,96);font-size:14px">
70
                       体温(℃):&nbsp;<el-input v-model="weigh_infor.temperature" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
70
                       体温(℃):&nbsp;<el-input v-model="weigh_infor.temperature" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
71
                       脉搏(次/分):&nbsp;<el-input v-model="weigh_infor.pulse_frequency" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
71
                       脉搏(次/分):&nbsp;<el-input v-model="weigh_infor.pulse_frequency" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
72
                       呼吸(次/分):&nbsp;<el-input v-model="weigh_infor.breathing_rate" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
72
                       呼吸(次/分):&nbsp;<el-input v-model="weigh_infor.breathing_rate" :disabled="disa" style="width:70px"></el-input>&nbsp;&nbsp;&nbsp;
73
                       血压(mmHg):&nbsp;<el-input v-model="weigh_infor.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input> <span> / </span><el-input v-model="weigh_infor.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
73
                       血压(mmHg):&nbsp;<el-input v-model="weigh_infor.systolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input> <span> / </span><el-input v-model="weigh_infor.diastolic_blood_pressure" style="width: 70px" :disabled="disa"></el-input>
74
                     </div>               
74
                     </div>               
75
-                    <!-- <el-row :gutter="20">
76
-                    </el-row>
77
-                    <el-row :gutter="20">
78
-                        <el-col :span="5">
79
-                            <el-form-item label="脉搏(次/分):" label-width="90px">
80
-                                <el-input v-model="weigh_infor.pulse_frequency" :disabled="disa" style="width:70px"></el-input>
81
-                            </el-form-item>
82
-                        </el-col>
83
-                    </el-row> -->
84
-                    
75
+                   
85
                     <div class="border"></div>
76
                     <div class="border"></div>
86
                     <div v-if="show">
77
                     <div v-if="show">
87
                     <el-row :gutter="20">
78
                     <el-row :gutter="20">
289
       //     dialysis_no:'',
280
       //     dialysis_no:'',
290
       // };
281
       // };
291
       this.disa = true
282
       this.disa = true
283
+      this.show=false
292
       this.weigh_form.choose = true
284
       this.weigh_form.choose = true
293
       this.weigh_form.name = row.name
285
       this.weigh_form.name = row.name
294
       this.weigh_form.dialysis_no = row.dialysis_no
286
       this.weigh_form.dialysis_no = row.dialysis_no
385
         if (response.data.data.patientlist != null) {
377
         if (response.data.data.patientlist != null) {
386
           var patientlist = response.data.data.patientlist
378
           var patientlist = response.data.data.patientlist
387
           this.weigh_list.dry_weight = patientlist.dry_weight
379
           this.weigh_list.dry_weight = patientlist.dry_weight
380
+          console.log("干体重:"+this.weigh_list.dry_weight)
381
+          if(this.weigh_list.dry_weight == 0){
382
+              this.weigh_list.dry_weight = ""
383
+          }
388
           this.weigh_list.weight_before = patientlist.weight_before
384
           this.weigh_list.weight_before = patientlist.weight_before
385
+          if(this.weigh_list.weight_before == 0){
386
+              this.weigh_list.weight_before = ""
387
+          }
389
           this.weigh_list.temperature = patientlist.temperature
388
           this.weigh_list.temperature = patientlist.temperature
389
+          if(this.weigh_list.temperature == 0){
390
+              this.weigh_list.temperature = ""
391
+          }
390
           this.weigh_list.pulse_frequency = patientlist.pulse_frequency
392
           this.weigh_list.pulse_frequency = patientlist.pulse_frequency
393
+          if(this.weigh_list.pulse_frequency == 0){
394
+              this.weigh_list.pulse_frequency = ""
395
+          }
391
           this.weigh_list.breathing_rate = patientlist.breathing_rate
396
           this.weigh_list.breathing_rate = patientlist.breathing_rate
397
+          if(this.weigh_list.breathing_rate == 0){
398
+              this.weigh_list.breathing_rate = ""
399
+          }
392
           this.weigh_list.systolic_blood_pressure = patientlist.systolic_blood_pressure
400
           this.weigh_list.systolic_blood_pressure = patientlist.systolic_blood_pressure
401
+          if(this.weigh_list.systolic_blood_pressure == 0){
402
+             this.weigh_list.systolic_blood_pressure = ""
403
+          }
393
           this.weigh_list.diastolic_blood_pressure = patientlist.diastolic_blood_pressure
404
           this.weigh_list.diastolic_blood_pressure = patientlist.diastolic_blood_pressure
405
+          if(this.weigh_list.diastolic_blood_pressure == 0){
406
+               this.weigh_list.diastolic_blood_pressure = ""
407
+          }
394
         }
408
         }
395
       })
409
       })
396
     },
410
     },
401
           var patientinfor = response.data.data.patientinfor
415
           var patientinfor = response.data.data.patientinfor
402
           console.log(patientinfor)
416
           console.log(patientinfor)
403
           this.weigh_infor.dry_weight = patientinfor.dry_weight
417
           this.weigh_infor.dry_weight = patientinfor.dry_weight
418
+          if(this.weigh_infor.dry_weight == 0){
419
+              this.weigh_infor.dry_weight = ""
420
+          }
421
+
404
           this.weigh_infor.weight_after = patientinfor.weight_after
422
           this.weigh_infor.weight_after = patientinfor.weight_after
405
-          console.log(patientinfor.weight_after)
423
+          if(this.weigh_infor.weight_after == 0){
424
+              this.weigh_infor.weight_after = ""
425
+          }
426
+         
406
           this.weigh_infor.temperature = patientinfor.temperature
427
           this.weigh_infor.temperature = patientinfor.temperature
428
+          if(this.weigh_infor.temperature == 0){
429
+               this.weigh_infor.temperature = ""
430
+          }
407
           this.weigh_infor.pulse_frequency = patientinfor.pulse_frequency
431
           this.weigh_infor.pulse_frequency = patientinfor.pulse_frequency
432
+          if(this.weigh_infor.pulse_frequency == 0 ){
433
+              this.weigh_infor.pulse_frequency = ""
434
+          }
408
           this.weigh_infor.breathing_rate = patientinfor.breathing_rate
435
           this.weigh_infor.breathing_rate = patientinfor.breathing_rate
436
+          if(this.weigh_infor.breathing_rate == 0){
437
+              this.weigh_infor.breathing_rate = ""
438
+          }
409
           this.weigh_infor.systolic_blood_pressure = patientinfor.systolic_blood_pressure
439
           this.weigh_infor.systolic_blood_pressure = patientinfor.systolic_blood_pressure
440
+          if(this.weigh_infor.systolic_blood_pressure == 0){
441
+              this.weigh_infor.systolic_blood_pressure = ""
442
+          }
443
+
410
           this.weigh_infor.diastolic_blood_pressure = patientinfor.diastolic_blood_pressure
444
           this.weigh_infor.diastolic_blood_pressure = patientinfor.diastolic_blood_pressure
445
+           if(this.weigh_infor.diastolic_blood_pressure == 0){
446
+              this.weigh_infor.diastolic_blood_pressure = ""
447
+           }
448
+
411
         }
449
         }
412
       })
450
       })
413
     },
451
     },
586
 
624
 
587
 <style rel="stylesheet/css" lang="scss" scoped>
625
 <style rel="stylesheet/css" lang="scss" scoped>
588
 .information {
626
 .information {
589
-    border: 1px #dcdfe6 solid;
627
+    border: 1px #EBEEF5 solid;
590
     padding: 30px 20px 30px 20px;
628
     padding: 30px 20px 30px 20px;
591
 
629
 
592
     .border {
630
     .border {
614
 
652
 
615
 <style>
653
 <style>
616
 .sign-and-weigh-box .sign-and-weigh-box-patients .cell{
654
 .sign-and-weigh-box .sign-and-weigh-box-patients .cell{
617
-    font-size: 12px;
655
+    font-size: 14px;
618
 }
656
 }
619
 
657
 
620
 .sign-and-weigh-box .sign-and-weigh-box-patients .current-row>td{
658
 .sign-and-weigh-box .sign-and-weigh-box-patients .current-row>td{
623
 
661
 
624
   .button{
662
   .button{
625
       float: right;
663
       float: right;
626
-      margin-bottom:0px
664
+      margin-bottom:0px;
627
   }
665
   }
628
 
666
 
629
-  .patient-app-container{
630
-
631
-    line-height: 20px;
667
+  .inforTitle{
668
+    line-height: 40px;
632
     height: 50px;
669
     height: 50px;
633
   }
670
   }
634
 
671
 
635
-  .span{
636
-    height:1px;
672
+  .el-table th .cell, .el-table td .cell{
673
+    padding: 0!important;
637
   }
674
   }
638
 </style>
675
 </style>

+ 2 - 2
src/xt_pages/statistics/index.vue 查看文件

114
   data() {
114
   data() {
115
     return {
115
     return {
116
       crumbs: [
116
       crumbs: [
117
-        { path: 'statistics', name: '科室质控' },
118
-        { path: 'statistics', name: '统计分析' },
117
+        { path: false, name: '科室质控' },
118
+        { path: false, name: '统计分析' },
119
       ],
119
       ],
120
         pageLoad:true,
120
         pageLoad:true,
121
         patientCount:0,
121
         patientCount:0,

+ 4 - 0
src/xt_pages/stock/Dialog/salesReturnDialog.vue 查看文件

29
           border
29
           border
30
           ref="multipleTable"
30
           ref="multipleTable"
31
           max-height="250"
31
           max-height="250"
32
+          @row-click="clickRow"
32
           @selection-change="changeGoodInfoTableData"
33
           @selection-change="changeGoodInfoTableData"
33
           @select-all="changeAllGoodInfoTableData"
34
           @select-all="changeAllGoodInfoTableData"
34
           row-key="row_key"
35
           row-key="row_key"
163
         this.multipleSelection = val
164
         this.multipleSelection = val
164
       }, changeAllGoodInfoTableData: function(val) {
165
       }, changeAllGoodInfoTableData: function(val) {
165
         this.multipleSelection = val
166
         this.multipleSelection = val
167
+      },clickRow:function(row) {
168
+        this.$refs.multipleTable.toggleRowSelection(row)
169
+
166
       }
170
       }
167
     }
171
     }
168
   }
172
   }

+ 3 - 0
src/xt_pages/stock/Dialog/stockInDialog.vue 查看文件

29
           border
29
           border
30
           ref="multipleTable"
30
           ref="multipleTable"
31
           max-height="250"
31
           max-height="250"
32
+          @row-click="clickRow"
32
           @selection-change="changeGoodInfoTableData"
33
           @selection-change="changeGoodInfoTableData"
33
           @select-all="changeAllGoodInfoTableData"
34
           @select-all="changeAllGoodInfoTableData"
34
           row-key="row_key"
35
           row-key="row_key"
175
         this.multipleSelection = val
176
         this.multipleSelection = val
176
       }, changeAllGoodInfoTableData: function(val) {
177
       }, changeAllGoodInfoTableData: function(val) {
177
         this.multipleSelection = val
178
         this.multipleSelection = val
179
+      },clickRow:function(row) {
180
+        this.$refs.multipleTable.toggleRowSelection(row)
178
       }
181
       }
179
     }
182
     }
180
   }
183
   }

+ 2 - 2
src/xt_pages/stock/cancelStockOrder.vue 查看文件

12
 
12
 
13
 
13
 
14
       <div class="cell clearfix" >
14
       <div class="cell clearfix" >
15
-        <el-input style="width: 300px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/厂商"/>
15
+        <el-input style="width: 400px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/厂商"/>
16
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
16
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
17
       </div>
17
       </div>
18
 
18
 
162
       return {
162
       return {
163
         crumbs: [
163
         crumbs: [
164
           { path: false, name: '库存管理' },
164
           { path: false, name: '库存管理' },
165
-          { path: '/stock/cancel', name: '出库退库单' }
165
+          { path: false, name: '出库退库单' }
166
         ],
166
         ],
167
         searchKey:'',
167
         searchKey:'',
168
         type: 1,
168
         type: 1,

+ 2 - 2
src/xt_pages/stock/cancelStockOrderAdd.vue 查看文件

142
       return {
142
       return {
143
         crumbs: [
143
         crumbs: [
144
           { path: false, name: '库存管理' },
144
           { path: false, name: '库存管理' },
145
-          { path: '/stock/return', name: '退库单' },
146
-          { path: '/stock/return/add', name: '新增退库单' }
145
+          { path: false, name: '退库单' },
146
+          { path: false, name: '新增退库单' }
147
         ],
147
         ],
148
 
148
 
149
         type: this.$route.query.type,
149
         type: this.$route.query.type,

+ 2 - 2
src/xt_pages/stock/cancelStockOrderDetail.vue 查看文件

82
       return {
82
       return {
83
         crumbs: [
83
         crumbs: [
84
           { path: false, name: '库存管理' },
84
           { path: false, name: '库存管理' },
85
-          { path: '/stock/cancel', name: '退库单' },
86
-          { path: '/stock/cancel/add', name: '退库单详情' }
85
+          { path: false, name: '退库单' },
86
+          { path: false, name: '退库单详情' }
87
         ],
87
         ],
88
         isEdit: 0,
88
         isEdit: 0,
89
         checked: false,
89
         checked: false,

+ 2 - 2
src/xt_pages/stock/cancelStockOrderEdit.vue 查看文件

117
       return {
117
       return {
118
         crumbs: [
118
         crumbs: [
119
           { path: false, name: '库存管理' },
119
           { path: false, name: '库存管理' },
120
-          { path: '/stock/cancel', name: '退库单' },
121
-          { path: '/stock/cancel/detail', name: '编辑退库单' }
120
+          { path: false, name: '退库单' },
121
+          { path: false, name: '编辑退库单' }
122
         ],
122
         ],
123
         signAndWeighBoxPatients: 'sign-and-weigh-box-patients',
123
         signAndWeighBoxPatients: 'sign-and-weigh-box-patients',
124
         warehousing_time: '',
124
         warehousing_time: '',

+ 2 - 4
src/xt_pages/stock/detail/cancelStockDetail.vue 查看文件

1
 <template>
1
 <template>
2
-  <div class="main-contain">
3
-    <div class="app-container">
2
+    <div>
4
       <div class="cell clearfix" >
3
       <div class="cell clearfix" >
5
-        <el-input style="width: 300px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/商品"/>
4
+        <el-input style="width: 400px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/商品"/>
6
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
5
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
7
       </div>
6
       </div>
8
 
7
 
105
 
104
 
106
       </el-row>
105
       </el-row>
107
     </div>
106
     </div>
108
-  </div>
109
 </template>
107
 </template>
110
 
108
 
111
 <script>
109
 <script>

+ 2 - 4
src/xt_pages/stock/detail/salesReturnDetail.vue 查看文件

1
 <template>
1
 <template>
2
-  <div class="main-contain">
3
-    <div class="app-container">
2
+    <div>
4
       <div class="cell clearfix" >
3
       <div class="cell clearfix" >
5
-        <el-input style="width: 300px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/商品"/>
4
+        <el-input style="width: 400px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/商品"/>
6
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
5
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
7
       </div>
6
       </div>
8
 
7
 
108
 
107
 
109
       </el-row>
108
       </el-row>
110
     </div>
109
     </div>
111
-  </div>
112
 </template>
110
 </template>
113
 
111
 
114
 <script>
112
 <script>

+ 2 - 4
src/xt_pages/stock/detail/stockInDetail.vue 查看文件

1
 <template>
1
 <template>
2
-  <div class="main-contain">
3
-    <div class="app-container">
2
+    <div>
4
       <div class="cell clearfix">
3
       <div class="cell clearfix">
5
-        <el-input style="width: 300px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/商品"/>
4
+        <el-input style="width: 400px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/商品"/>
6
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
5
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
7
       </div>
6
       </div>
8
 
7
 
114
 
113
 
115
       </el-row>
114
       </el-row>
116
     </div>
115
     </div>
117
-  </div>
118
 </template>
116
 </template>
119
 
117
 
120
 <script>
118
 <script>

+ 2 - 4
src/xt_pages/stock/detail/stockOutDetail.vue 查看文件

1
 <template>
1
 <template>
2
-  <div class="main-contain">
3
-    <div class="app-container">
2
+    <div>
4
       <div class="cell clearfix" >
3
       <div class="cell clearfix" >
5
-        <el-input style="width: 300px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/商品"/>
4
+        <el-input style="width: 400px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/商品"/>
6
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
5
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
7
       </div>
6
       </div>
8
 
7
 
118
 
117
 
119
       </el-row>
118
       </el-row>
120
     </div>
119
     </div>
121
-  </div>
122
 </template>
120
 </template>
123
 
121
 
124
 <script>
122
 <script>

+ 1 - 1
src/xt_pages/stock/otherCancelStockOrder.vue 查看文件

11
     <div class="app-container">
11
     <div class="app-container">
12
 
12
 
13
       <div class="cell clearfix">
13
       <div class="cell clearfix">
14
-        <el-input style="width: 300px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/厂商"/>
14
+        <el-input style="width: 400px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/厂商"/>
15
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
15
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
16
       </div>
16
       </div>
17
 
17
 

+ 1 - 1
src/xt_pages/stock/otherSalesReturnOrder.vue 查看文件

172
         searchKey:'',
172
         searchKey:'',
173
         crumbs: [
173
         crumbs: [
174
           { path: false, name: '库存管理' },
174
           { path: false, name: '库存管理' },
175
-          { path: '/stock/return', name: '其他退货单' }
175
+          { path: false, name: '其他退货单' }
176
         ],
176
         ],
177
         type: 2,
177
         type: 2,
178
         page: 1,
178
         page: 1,

+ 1 - 1
src/xt_pages/stock/otherStockInOrder.vue 查看文件

166
         searchKey:'',
166
         searchKey:'',
167
         crumbs: [
167
         crumbs: [
168
           { path: false, name: '库存管理' },
168
           { path: false, name: '库存管理' },
169
-          { path: '/stock/in/other', name: '其他入库单' }
169
+          { path: false, name: '其他入库单' }
170
         ],
170
         ],
171
         page: 1,
171
         page: 1,
172
         limit: 7,
172
         limit: 7,

+ 1 - 1
src/xt_pages/stock/otherStockOutOrder.vue 查看文件

163
     return {
163
     return {
164
       crumbs: [
164
       crumbs: [
165
         { path: false, name: "库存管理" },
165
         { path: false, name: "库存管理" },
166
-        { path: "/stock/out", name: "其他出库单" }
166
+        { path: false, name: "其他出库单" }
167
       ],
167
       ],
168
       searchKey:'',
168
       searchKey:'',
169
       page: 1,
169
       page: 1,

+ 1 - 1
src/xt_pages/stock/salesReturnOrder.vue 查看文件

167
         searchKey:'',
167
         searchKey:'',
168
         crumbs: [
168
         crumbs: [
169
           { path: false, name: '库存管理' },
169
           { path: false, name: '库存管理' },
170
-          { path: '/stock/return', name: '退货单' }
170
+          { path: false, name: '退货单' }
171
         ],
171
         ],
172
         type: 1,
172
         type: 1,
173
         page: 1,
173
         page: 1,

+ 2 - 2
src/xt_pages/stock/salesReturnOrderAdd.vue 查看文件

148
       return {
148
       return {
149
         crumbs: [
149
         crumbs: [
150
           { path: false, name: '库存管理' },
150
           { path: false, name: '库存管理' },
151
-          { path: '/stock/return', name: '退回单' },
152
-          { path: '/stock/return/add', name: '新增退货单' }
151
+          { path: false, name: '退回单' },
152
+          { path: false, name: '新增退货单' }
153
         ],
153
         ],
154
 
154
 
155
         type: this.$route.query.type,
155
         type: this.$route.query.type,

+ 2 - 2
src/xt_pages/stock/salesReturnOrderDetail.vue 查看文件

82
       return {
82
       return {
83
         crumbs: [
83
         crumbs: [
84
           { path: false, name: '库存管理' },
84
           { path: false, name: '库存管理' },
85
-          { path: '/stock/return', name: '退货单' },
86
-          { path: '/stock/return/detail', name: '退货单详情' }
85
+          { path: false, name: '退货单' },
86
+          { path: false, name: '退货单详情' }
87
         ],
87
         ],
88
         isEdit: 0,
88
         isEdit: 0,
89
         checked: false,
89
         checked: false,

+ 1 - 1
src/xt_pages/stock/stockDetail.vue 查看文件

12
 
12
 
13
 
13
 
14
       <div class="cell clearfix" >
14
       <div class="cell clearfix" >
15
-        <el-input style="width: 300px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/厂商"/>
15
+        <el-input style="width: 400px;" class="filter-item" v-model="searchKey" placeholder="单据编码/制单人/厂商"/>
16
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
16
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
17
       </div>
17
       </div>
18
 
18
 

+ 1 - 1
src/xt_pages/stock/stockInOrder.vue 查看文件

165
 
165
 
166
         crumbs: [
166
         crumbs: [
167
           { path: false, name: '库存管理' },
167
           { path: false, name: '库存管理' },
168
-          { path: '/stock/in', name: '入库单' }
168
+          { path: false, name: '入库单' }
169
         ],
169
         ],
170
         searchKey:'',
170
         searchKey:'',
171
         type: 1,
171
         type: 1,

+ 2 - 2
src/xt_pages/stock/stockInOrderAdd.vue 查看文件

221
       return {
221
       return {
222
         crumbs: [
222
         crumbs: [
223
           { path: false, name: '库存管理' },
223
           { path: false, name: '库存管理' },
224
-          { path: '/stock/in', name: '入库单' },
225
-          { path: '/stock/in/add', name: '新增入库单' }
224
+          { path: false, name: '入库单' },
225
+          { path: false, name: '新增入库单' }
226
         ],
226
         ],
227
         signAndWeighBoxPatients: 'sign-and-weigh-box-patients',
227
         signAndWeighBoxPatients: 'sign-and-weigh-box-patients',
228
         warehousing_time: '',
228
         warehousing_time: '',

+ 2 - 2
src/xt_pages/stock/stockInOrderDetail.vue 查看文件

122
       return {
122
       return {
123
         crumbs: [
123
         crumbs: [
124
           { path: false, name: '库存管理' },
124
           { path: false, name: '库存管理' },
125
-          { path: '/stock/in', name: '入库单' },
126
-          { path: '/stock/in/detail', name: '入库单详情' }
125
+          { path: false, name: '入库单' },
126
+          { path: false, name: '入库单详情' }
127
         ],
127
         ],
128
         isEdit: 0,
128
         isEdit: 0,
129
         checked: false,
129
         checked: false,

+ 2 - 2
src/xt_pages/stock/stockInOrderEdit.vue 查看文件

195
       return {
195
       return {
196
         crumbs: [
196
         crumbs: [
197
           { path: false, name: '库存管理' },
197
           { path: false, name: '库存管理' },
198
-          { path: '/stock/in', name: '入库单' },
199
-          { path: '/stock/in/detail', name: '编辑入库单' }
198
+          { path: false, name: '入库单' },
199
+          { path: false, name: '编辑入库单' }
200
         ],
200
         ],
201
         signAndWeighBoxPatients: 'sign-and-weigh-box-patients',
201
         signAndWeighBoxPatients: 'sign-and-weigh-box-patients',
202
         warehousing_time: '',
202
         warehousing_time: '',

+ 1 - 1
src/xt_pages/stock/stockOutOrder.vue 查看文件

163
       searchKey:"",
163
       searchKey:"",
164
       crumbs: [
164
       crumbs: [
165
         { path: false, name: "库存管理" },
165
         { path: false, name: "库存管理" },
166
-        { path: "/stock/out", name: "出库单" }
166
+        { path: false, name: "出库单" }
167
       ],
167
       ],
168
       page: 1,
168
       page: 1,
169
       limit: 7,
169
       limit: 7,

+ 2 - 2
src/xt_pages/stock/stockOutOrderAdd.vue 查看文件

168
       return {
168
       return {
169
         crumbs: [
169
         crumbs: [
170
           { path: false, name: '库存管理' },
170
           { path: false, name: '库存管理' },
171
-          { path: '/stock/out', name: '出库单' },
172
-          { path: '/stock/out/add', name: '新增出库单' }
171
+          { path: false, name: '出库单' },
172
+          { path: false, name: '新增出库单' }
173
         ],
173
         ],
174
         type: this.$route.query.type,
174
         type: this.$route.query.type,
175
         signAndWeighBoxPatients: 'sign-and-weigh-box-patients',
175
         signAndWeighBoxPatients: 'sign-and-weigh-box-patients',

+ 2 - 2
src/xt_pages/stock/stockOutOrderDetail.vue 查看文件

108
       return {
108
       return {
109
         crumbs: [
109
         crumbs: [
110
           { path: false, name: '库存管理' },
110
           { path: false, name: '库存管理' },
111
-          { path: '/stock/out', name: '出库单' },
112
-          { path: '/stock/out/detail', name: '出库单详情' }
111
+          { path: false, name: '出库单' },
112
+          { path: false, name: '出库单详情' }
113
         ],
113
         ],
114
         isEdit: 0,
114
         isEdit: 0,
115
         checked: false,
115
         checked: false,

+ 2 - 2
src/xt_pages/stock/stockOutOrderEdit.vue 查看文件

143
       return {
143
       return {
144
         crumbs: [
144
         crumbs: [
145
           { path: false, name: '库存管理' },
145
           { path: false, name: '库存管理' },
146
-          { path: '/stock/out', name: '出库单' },
147
-          { path: '/stock/out/detail', name: '编辑出库单' }
146
+          { path: false, name: '出库单' },
147
+          { path: false, name: '编辑出库单' }
148
         ],
148
         ],
149
         signAndWeighBoxPatients: 'sign-and-weigh-box-patients',
149
         signAndWeighBoxPatients: 'sign-and-weigh-box-patients',
150
 
150
 

+ 2 - 2
src/xt_pages/stock/stockQuery.vue 查看文件

23
         </el-table-column>
23
         </el-table-column>
24
         <el-table-column label="入库数量" align="center" >
24
         <el-table-column label="入库数量" align="center" >
25
           <template slot-scope="scope">
25
           <template slot-scope="scope">
26
-            <span @click="showStockInDetailDialog(scope.row.good_id)" style="color: blue">{{stockInCount(scope.row)}}</span>
26
+            <span @click="showStockInDetailDialog(scope.row.good_id)" style="color: #579ef8">{{stockInCount(scope.row)}}</span>
27
           </template>
27
           </template>
28
         </el-table-column>
28
         </el-table-column>
29
         <el-table-column label="入库退货" align="center">
29
         <el-table-column label="入库退货" align="center">
39
         </el-table-column>
39
         </el-table-column>
40
         <el-table-column label="出库数量" align="center">
40
         <el-table-column label="出库数量" align="center">
41
           <template slot-scope="scope">
41
           <template slot-scope="scope">
42
-            <span @click="showStockOutDetailDialog(scope.row.good_id)" style="color: blue">{{stockOutCount(scope.row)}}</span>
42
+            <span @click="showStockOutDetailDialog(scope.row.good_id)" style="color: #579ef8">{{stockOutCount(scope.row)}}</span>
43
 
43
 
44
           </template>
44
           </template>
45
         </el-table-column>
45
         </el-table-column>

+ 25 - 9
src/xt_pages/user/components/PatientForm.vue 查看文件

1
 <template>
1
 <template>
2
 <div class="main-contain">
2
 <div class="main-contain">
3
-    
3
+  <div class="position">
4
+    <bread-crumb v-if="!isEdit" :crumbs='crumbs'></bread-crumb>
5
+
6
+    <!-- <div class="" style="float:right;">
7
+       <el-button @click="$router.back(-1)" icon="el-icon-refresh" size="small">取消</el-button>
8
+       <el-button :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" type="primary" v-if="this.isEdit==false" @click="resetForm('form')"  icon="el-icon-circle-plus-outline" size="small">新增</el-button>
9
+       <el-button :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" @click="onSubmit('form')"  size="small" type="success" icon="el-icon-setting" >保存</el-button>
10
+       <el-button v-if="this.isEdit==false" @click="onReSubmit('form')" :disabled="$store.getters.xt_user.subscibe.state==3||!subscibeFlag?true:false" icon="el-icon-document-add" size="small" type="warning" >保存并继续新增</el-button>
11
+    </div> -->
12
+  </div>
4
   <div class="app-container " v-loading="pageLoad">
13
   <div class="app-container " v-loading="pageLoad">
5
     <el-form ref="form" :rules="rules" :model="form" label-width="124px" class="clearfix" >
14
     <el-form ref="form" :rules="rules" :model="form" label-width="124px" class="clearfix" >
6
         <div class="" style="z-index: 99;position: absolute;right: 20px;">
15
         <div class="" style="z-index: 99;position: absolute;right: 20px;">
18
                   <el-input v-model="form.name" ></el-input>
27
                   <el-input v-model="form.name" ></el-input>
19
               </el-form-item>
28
               </el-form-item>
20
             </el-col>
29
             </el-col>
30
+            <el-col :span="8" :style="isEdit?'width:360px':''" style="height:59px;" >
31
+              <el-form-item label="性别 : " class="is-required" prop="gender" >
32
+                <el-radio-group v-model="form.gender" @change="changeGender">
33
+                  <el-radio v-for="item in sexOptions" :key="item.value" :label="item.value" :value="item.value" >{{item.label}}</el-radio>
34
+                </el-radio-group>
35
+              </el-form-item>
36
+            </el-col>
37
+
38
+
21
             <el-col :span="8" :style="isEdit?'width:360px':''">
39
             <el-col :span="8" :style="isEdit?'width:360px':''">
22
               <el-form-item label="身份证号 : "  class="is-required" prop="idCardNo" >
40
               <el-form-item label="身份证号 : "  class="is-required" prop="idCardNo" >
23
                   <el-input v-model="form.idCardNo" @blur="checkIdCardNo" ></el-input>
41
                   <el-input v-model="form.idCardNo" @blur="checkIdCardNo" ></el-input>
24
               </el-form-item>
42
               </el-form-item>
25
             </el-col>
43
             </el-col>
26
 
44
 
27
-            <template v-if="this.isEdit">
45
+            <template v-if="isEdit">
28
               <!-- <el-col  :span="8" :style="isEdit?'width:360px':''">
46
               <!-- <el-col  :span="8" :style="isEdit?'width:360px':''">
29
                 <el-form-item label="患者类型 : " class="is-required" >
47
                 <el-form-item label="患者类型 : " class="is-required" >
30
                   <el-select v-model="form.patientType"  placeholder="请选择患者类型" disabled >
48
                   <el-select v-model="form.patientType"  placeholder="请选择患者类型" disabled >
47
                   </el-select>
65
                   </el-select>
48
                 </el-form-item>
66
                 </el-form-item>
49
               </el-col> -->
67
               </el-col> -->
50
-              <el-col :span="8" :style="isEdit?'width:360px':''" style="height:58px;" >
51
-                <el-form-item label="性别 : " class="is-required" prop="gender" >
52
-                  <el-radio-group v-model="form.gender" @change="changeGender">
53
-                    <el-radio v-for="item in sexOptions" :key="item.value" :label="item.value" :value="item.value" >{{item.label}}</el-radio>
54
-                  </el-radio-group>
55
-                </el-form-item>
56
-              </el-col>
68
+
57
               <el-col :span="8" >
69
               <el-col :span="8" >
58
                 <el-form-item label="透析号 : " class="is-required" prop="dialysisNo" >
70
                 <el-form-item label="透析号 : " class="is-required" prop="dialysisNo" >
59
                     <el-input v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 2%;" ></el-input>
71
                     <el-input v-model="form.dialysisNo" placeholder="填写或自动生成" style="width:62%;float:left;margin-right: 2%;" ></el-input>
486
     }
498
     }
487
 
499
 
488
     return {
500
     return {
501
+      crumbs:[
502
+        {path:false, name:'病人管理'},
503
+        {path:false, name:'新增病人'},
504
+      ],
489
       generic_info_fold: true,
505
       generic_info_fold: true,
490
       treat_info_fold: true,
506
       treat_info_fold: true,
491
 
507
 

+ 5 - 5
src/xt_pages/user/components/PatientSidebar.vue 查看文件

219
 </script>
219
 </script>
220
 
220
 
221
 <style>
221
 <style>
222
-.el-tree-node__content {
222
+.patient-menu .el-tree-node__content {
223
   font-size: 14px;
223
   font-size: 14px;
224
   height: 40px;
224
   height: 40px;
225
   font-weight: 400;
225
   font-weight: 400;
226
 }
226
 }
227
-.el-tree-node__label:hover {
227
+.patient-menu .el-tree-node__label:hover {
228
   color:#409eff;
228
   color:#409eff;
229
 }
229
 }
230
-.el-tree-node:focus > .el-tree-node__content {
230
+.patient-menu .el-tree-node:focus > .el-tree-node__content {
231
   color:#409eff;
231
   color:#409eff;
232
 }
232
 }
233
-.el-tree-node .el-tree-node.is-current > .el-tree-node__content {
233
+.patient-menu .el-tree-node .el-tree-node.is-current > .el-tree-node__content {
234
   color:#409eff;
234
   color:#409eff;
235
 }
235
 }
236
-.el-tree {
236
+.patient-menu .el-tree {
237
   background: #f6f8f9;
237
   background: #f6f8f9;
238
 }
238
 }
239
 .patient-menu {
239
 .patient-menu {

+ 248 - 201
src/xt_pages/user/rescueRecord.vue 查看文件

1
 <template>
1
 <template>
2
-    <div class="patient-container">
3
-        <patient-sidebar :id="patient_id" defaultActive="1-5"></patient-sidebar>
4
-        <div class="container" v-loading="loading">
5
-            <div>
2
+  <div class="patient-container">
3
+    <patient-sidebar :id="patient_id" defaultActive="1-5"></patient-sidebar>
4
+    <div v-loading="loading">
5
+      <div class="patient-app-container advice-container app-container">
6
+
7
+        <div>
6
                 <span style="margin-left: 10px;float:right;">
8
                 <span style="margin-left: 10px;float:right;">
7
-                    <el-button size="small" icon="el-icon-circle-plus-outline" type="primary" @click="show_dialog = true">新增</el-button>
8
-                    <el-button size="small" icon="el-icon-delete" v-show="selectingRows.length > 0" type="danger" @click="deleteAction">删除</el-button>
9
+                    <el-button size="small" icon="el-icon-circle-plus-outline" type="primary"
10
+                               @click="show_dialog = true">新增</el-button>
11
+                    <el-button size="small" icon="el-icon-delete" v-show="selectingRows.length > 0" type="danger"
12
+                               @click="deleteAction">删除</el-button>
9
                 </span>
13
                 </span>
10
-                <span class="filter_title">日期查询</span>
11
-                <el-date-picker size="small" v-model="date" type="daterange" range-separator="至" start-placeholde="开始日期" end-placeholde="结束日期" value-format="timestamp" :clearable="false" @change="requestRescueRecords()"></el-date-picker>
12
-            </div>
13
-            <div class="record">
14
-                <el-row :gutter="15">
15
-                    <el-col :span="10">
16
-                        <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" ref="record_table" :data="records" border highlight-current-row @current-change="didChangeCurrentRecord" @selection-change="didSelectionChange">
17
-                            <el-table-column type="selection" width="40" align="center"></el-table-column>
18
-                            <el-table-column label="记录时间" align="center">
19
-                                <template slot-scope="scope">
20
-                                    {{ recordTime(scope.row.record_time) }}
21
-                                </template>
22
-                            </el-table-column>
23
-                            <el-table-column label="记录医生" align="center">
24
-                                <template slot-scope="scope">
25
-                                    {{ doctorName(scope.row.recorder) }}
26
-                                </template>
27
-                            </el-table-column>
28
-                        </el-table>
29
-                    </el-col>
30
-                    <el-col :span="14">
31
-                        <div class="record_content_panel">
32
-                            <div class="title">抢救内容</div>
33
-                            <div class="content">
34
-                                {{ current_select_record == null ? "" : current_select_record.content }}
35
-                            </div>
36
-                        </div>
37
-                    </el-col>
38
-                </el-row>
39
-            </div>
14
+          <!--<span class="filter_title">日期查询</span>-->
15
+          <!--<el-date-picker size="small" v-model="date" type="daterange" range-separator="至" start-placeholde="开始日期" end-placeholde="结束日期" value-format="timestamp" :clearable="false" @change="requestRescueRecords()"></el-date-picker>-->
16
+        </div>
17
+        <div class="cell clearfix">
18
+          <label class="title"><span class="name">日期查询</span> : </label>
19
+          <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
20
+                          type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
21
+                          value-format="yyyy-MM-dd" @change="startTimeChange"></el-date-picker>
22
+          <span class="">-</span>
23
+          <el-date-picker v-model="end_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
24
+                          type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd"
25
+                          value-format="yyyy-MM-dd" @change="endTimeChange"></el-date-picker>
26
+        </div>
27
+        <div class="record">
28
+          <el-row :gutter="15">
29
+            <el-col :span="10">
30
+              <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" ref="record_table" :data="records"
31
+                        border highlight-current-row @current-change="didChangeCurrentRecord"
32
+                        @selection-change="didSelectionChange">
33
+                <el-table-column type="selection" width="40" align="center"></el-table-column>
34
+                <el-table-column label="记录时间" align="center">
35
+                  <template slot-scope="scope">
36
+                    {{ recordTime(scope.row.record_time) }}
37
+                  </template>
38
+                </el-table-column>
39
+                <el-table-column label="记录医生" align="center">
40
+                  <template slot-scope="scope">
41
+                    {{ doctorName(scope.row.recorder) }}
42
+                  </template>
43
+                </el-table-column>
44
+              </el-table>
45
+            </el-col>
46
+            <el-col :span="14">
47
+              <div class="record_content_panel">
48
+                <div class="title">抢救内容</div>
49
+                <div class="content">
50
+                  {{ current_select_record == null ? '' : current_select_record.content }}
51
+                </div>
52
+              </div>
53
+            </el-col>
54
+          </el-row>
40
         </div>
55
         </div>
56
+      </div>
41
 
57
 
42
-        <el-dialog title="新增抢救记录" width="40%" top="5vh" :visible.sync="show_dialog">
43
-            <div>
44
-                <div class="new_record_form">
45
-                    <diV>
46
-                        <span class="filter_title">日常抢救:</span>
47
-                        <el-select v-model="select_template" placeholder="可选择抢救模板"  @change="didSelectTemplate">
48
-                            <el-option v-for="(option, index) in templates" :key="index" :label="option.title" :value="option.content"></el-option>
49
-                        </el-select>
50
-                    </diV>
51
-                    <div class="textarea_panel">
52
-                        <el-input v-model="new_content" type="textarea" rows="6" resize="none"></el-input>
53
-                    </div>
58
+      <el-dialog title="新增抢救记录" width="40%" top="5vh" :visible.sync="show_dialog">
59
+        <div>
60
+          <div class="new_record_form">
61
+            <diV>
62
+              <span class="filter_title">日常抢救:</span>
63
+              <el-select v-model="select_template" placeholder="可选择抢救模板" @change="didSelectTemplate">
64
+                <el-option v-for="(option, index) in templates" :key="index" :label="option.title"
65
+                           :value="option.content"></el-option>
66
+              </el-select>
67
+            </diV>
68
+            <div class="textarea_panel">
69
+              <el-input v-model="new_content" type="textarea" rows="6" resize="none"></el-input>
70
+            </div>
54
 
71
 
55
-                    <div style="text-align: right; padding-right: 0px; padding-top: 10px; padding-bottom: 10px;">
56
-                        <el-button @click="show_dialog = false">取消</el-button>
57
-                        <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="createAction" :loading="uploading_new_record">确定</el-button>
58
-                    </div>
59
-                </div>
72
+            <div style="text-align: right; padding-right: 0px; padding-top: 10px; padding-bottom: 10px;">
73
+              <el-button @click="show_dialog = false">取消</el-button>
74
+              <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary"
75
+                         @click="createAction" :loading="uploading_new_record">确定
76
+              </el-button>
60
             </div>
77
             </div>
61
-        </el-dialog>
78
+          </div>
79
+        </div>
80
+      </el-dialog>
62
     </div>
81
     </div>
82
+  </div>
63
 </template>
83
 </template>
64
 
84
 
65
 <script>
85
 <script>
66
-import PatientSidebar from "./components/PatientSidebar"
67
-import { getRescueRecords, createRescueRecord, deleteRescueRecords } from "@/api/patient"
68
-import { parseTime } from "@/utils"
86
+  import PatientSidebar from './components/PatientSidebar'
87
+  import { createRescueRecord, deleteRescueRecords, getRescueRecords } from '@/api/patient'
88
+  import { parseTime } from '@/utils'
69
 
89
 
70
-export default {
71
-    name: "RescueRecord",
72
-    components: { 
73
-        PatientSidebar 
90
+  export default {
91
+    name: 'RescueRecord',
92
+    components: {
93
+      PatientSidebar
74
     },
94
     },
75
     data() {
95
     data() {
76
-        return {
77
-            loading: false,
78
-
79
-            patient_id: 0,
80
-            date: [],
96
+      return {
97
+        loading: false,
81
 
98
 
82
-            records: [],
83
-            doctors: [],
84
-            current_select_record: null,
99
+        patient_id: 0,
100
+        date: [],
101
+        start_time: '',
102
+        end_time: '',
103
+        records: [],
104
+        doctors: [],
105
+        current_select_record: null,
85
 
106
 
86
-            show_dialog: false,
87
-            uploading_new_record: false,
88
-            templates: this.$store.getters.configlist.rescue_record,
89
-            select_template: [],
90
-            new_content: "",
107
+        show_dialog: false,
108
+        uploading_new_record: false,
109
+        templates: this.$store.getters.configlist.rescue_record,
110
+        select_template: [],
111
+        new_content: '',
91
 
112
 
92
-            selectingRows: [],
93
-        }
113
+        selectingRows: []
114
+      }
94
     },
115
     },
95
     created() {
116
     created() {
96
-        this.patient_id = parseInt(this.$route.query.id)
97
-        if (isNaN(this.patient_id) || this.patient_id <= 0) {
98
-            this.$notify.error({
99
-                title: "错误",
100
-                message: "无效的id"
101
-            })
102
-            this.$router.push("/patients/patients")
103
-            return
104
-        }
105
-        var now = new Date()
106
-        this.date = [now.getTime() - (7 * 24 * 60 * 60 * 1000), now.getTime()]
117
+      this.patient_id = parseInt(this.$route.query.id)
118
+      if (isNaN(this.patient_id) || this.patient_id <= 0) {
119
+        this.$notify.error({
120
+          title: '错误',
121
+          message: '无效的id'
122
+        })
123
+        this.$router.push('/patients/patients')
124
+        return
125
+      }
126
+      var now = new Date()
127
+      this.date = [now.getTime() - (7 * 24 * 60 * 60 * 1000), now.getTime()]
107
 
128
 
108
-        this.requestRescueRecords()
129
+      var year = new Date().getFullYear()
130
+      var month = new Date().getMonth() + 1
131
+      var day = new Date().getDate()
132
+      if (parseInt(month) < 10) {
133
+        month = '0' + month
134
+      }
135
+      if (parseInt(day) < 10) {
136
+        day = '0' + day
137
+      }
138
+      const endTime = year + '-' + month + '-' + day
139
+      this.end_time = endTime
140
+
141
+      var year = new Date().getFullYear()
142
+      var month = new Date().getMonth()
143
+      var day = new Date().getDate()
144
+      if (parseInt(month) < 10) {
145
+        month = '0' + month
146
+      }
147
+      if (parseInt(day) < 10) {
148
+        day = '0' + day
149
+      }
150
+      const startTime = year + '-' + month + '-' + day
151
+      this.start_time = startTime
152
+
153
+      this.requestRescueRecords()
109
     },
154
     },
110
     methods: {
155
     methods: {
111
-        requestRescueRecords: function() {
112
-            var startTime = new Date(this.date[0])
113
-            var endTime = new Date(this.date[1])
114
-            this.loading = true
115
-            getRescueRecords(this.patient_id, parseTime(startTime, "{y}-{m}-{d}"), parseTime(endTime, "{y}-{m}-{d}")).then(rs => {
116
-                this.loading = false
117
-                var resp = rs.data
118
-                if (resp.state == 1) {
119
-                    this.current_select_record = null
120
-                    this.records = resp.data.records
121
-                    this.doctors = resp.data.doctors
122
-                    
123
-                } else {
124
-                    this.$message.error(resp.msg)
125
-                }
126
-            }).catch(error => {
127
-                this.loading = false
128
-                this.$message.error(error)
129
-            })
130
-        },
156
+      requestRescueRecords: function() {
157
+        var startTime = new Date(this.date[0])
158
+        var endTime = new Date(this.date[1])
159
+        this.loading = true
160
+        getRescueRecords(this.patient_id, this.start_time, this.end_time).then(rs => {
161
+          this.loading = false
162
+          var resp = rs.data
163
+          if (resp.state == 1) {
164
+            this.current_select_record = null
165
+            this.records = resp.data.records
166
+            this.doctors = resp.data.doctors
131
 
167
 
132
-        didChangeCurrentRecord: function(record) {
133
-            this.current_select_record = record
134
-        },
135
-        recordTime: function(timestamp) {
136
-            var time = new Date(timestamp * 1000)
137
-            return parseTime(time, "{y}-{m}-{d}")
138
-        },
139
-        doctorName: function(doctor_id) {
140
-            for (let index = 0; index < this.doctors.length; index++) {
141
-                const doctor = this.doctors[index];
142
-                if (doctor.id == doctor_id) {
143
-                    return doctor.name
144
-                }
145
-            }
146
-            return ""
147
-        },
168
+          } else {
169
+            this.$message.error(resp.msg)
170
+          }
171
+        }).catch(error => {
172
+          this.loading = false
173
+          this.$message.error(error)
174
+        })
175
+      },
148
 
176
 
149
-        createAction: function() {
150
-            if (this.new_content.length == 0) {
151
-                this.$message.error("请填写抢救内容")
152
-                return
153
-            }
154
-            this.uploading_new_record = true
155
-            createRescueRecord(this.patient_id, this.new_content).then(rs => {
156
-                this.uploading_new_record = false
157
-                var resp = rs.data
158
-                if (resp.state == 1) {
159
-                    this.records.unshift(resp.data.record)
160
-                    // this.$refs.record_table.setCurrentRow()
161
-                    this.$refs.record_table.setCurrentRow(this.records[0])
162
-                    // this.current_select_record = this.records[0]
163
-                    this.show_dialog = false
164
-                    this.new_content = ""
177
+      didChangeCurrentRecord: function(record) {
178
+        this.current_select_record = record
179
+      },
180
+      recordTime: function(timestamp) {
181
+        var time = new Date(timestamp * 1000)
182
+        return parseTime(time, '{y}-{m}-{d}')
183
+      },
184
+      doctorName: function(doctor_id) {
185
+        for (let index = 0; index < this.doctors.length; index++) {
186
+          const doctor = this.doctors[index]
187
+          if (doctor.id == doctor_id) {
188
+            return doctor.name
189
+          }
190
+        }
191
+        return ''
192
+      },
165
 
193
 
166
-                } else {
167
-                    this.$message.error(resp.msg)
168
-                }
194
+      createAction: function() {
195
+        if (this.new_content.length == 0) {
196
+          this.$message.error('请填写抢救内容')
197
+          return
198
+        }
199
+        this.uploading_new_record = true
200
+        createRescueRecord(this.patient_id, this.new_content).then(rs => {
201
+          this.uploading_new_record = false
202
+          var resp = rs.data
203
+          if (resp.state == 1) {
204
+            this.records.unshift(resp.data.record)
205
+            // this.$refs.record_table.setCurrentRow()
206
+            this.$refs.record_table.setCurrentRow(this.records[0])
207
+            // this.current_select_record = this.records[0]
208
+            this.show_dialog = false
209
+            this.new_content = ''
169
 
210
 
170
-            }).catch(error => {
171
-                this.uploading_new_record = false
172
-                this.$message.error(error)
173
-            })
174
-        },
175
-        didSelectTemplate: function(templateContent) {
176
-            this.new_content = this.new_content.length > 0 ? (this.new_content + templateContent) : templateContent
211
+          } else {
212
+            this.$message.error(resp.msg)
213
+          }
177
 
214
 
178
-            this.select_template = ""
179
-        },
215
+        }).catch(error => {
216
+          this.uploading_new_record = false
217
+          this.$message.error(error)
218
+        })
219
+      },
220
+      didSelectTemplate: function(templateContent) {
221
+        this.new_content = this.new_content.length > 0 ? (this.new_content + templateContent) : templateContent
222
+      },
180
 
223
 
181
-        didSelectionChange: function(selectRows) {
182
-            this.selectingRows = selectRows
183
-        },
184
-        deleteAction: function() {
185
-            if (this.selectingRows.length == 0) {
186
-                return
187
-            }
188
-            var ids = []
189
-            for (let index = 0; index < this.selectingRows.length; index++) {
190
-                const row = this.selectingRows[index];
191
-                ids.push(row.id)
224
+      didSelectionChange: function(selectRows) {
225
+        this.selectingRows = selectRows
226
+      },
227
+      deleteAction: function() {
228
+        if (this.selectingRows.length == 0) {
229
+          return
230
+        }
231
+        var ids = []
232
+        for (let index = 0; index < this.selectingRows.length; index++) {
233
+          const row = this.selectingRows[index]
234
+          ids.push(row.id)
235
+        }
236
+        var ids_str = ids.join(',')
237
+        this.loading = true
238
+        deleteRescueRecords(this.patient_id, ids_str).then(rs => {
239
+          var resp = rs.data
240
+          if (resp.state == 1) {
241
+            for (let id_index = 0; id_index < ids.length; id_index++) {
242
+              for (let record_index = 0; record_index < this.records.length; record_index++) {
243
+                if (ids[id_index] == this.records[record_index].id) {
244
+                  this.records.splice(record_index, 1)
245
+                  break
246
+                }
247
+              }
192
             }
248
             }
193
-            var ids_str = ids.join(",")
194
-            this.loading = true
195
-            deleteRescueRecords(this.patient_id, ids_str).then(rs => {
196
-                var resp = rs.data
197
-                if (resp.state == 1) {
198
-                    for (let id_index = 0; id_index < ids.length; id_index++) {
199
-                        for (let record_index = 0; record_index < this.records.length; record_index++) {
200
-                            if (ids[id_index] == this.records[record_index].id) {
201
-                                this.records.splice(record_index, 1)
202
-                                break
203
-                            }
204
-                        }
205
-                    }
206
-                    this.selectingRows = []
207
-                    this.$message.success("已删除")
249
+            this.selectingRows = []
250
+            this.$message.success('已删除')
208
 
251
 
209
-                } else {
210
-                    this.$message.error(resp.msg)
211
-                }
212
-                this.loading = false
213
-            }).catch(err => {
214
-                this.loading = false
215
-                this.$message.error(err)
216
-            })
217
-        },
218
-    },
219
-}
252
+          } else {
253
+            this.$message.error(resp.msg)
254
+          }
255
+          this.loading = false
256
+        }).catch(err => {
257
+          this.loading = false
258
+          this.$message.error(err)
259
+        })
260
+      }, startTimeChange(val) {
261
+        this.requestRescueRecords()
262
+      }, endTimeChange(val) {
263
+        this.requestRescueRecords()
264
+      }
265
+    }
266
+  }
220
 </script>
267
 </script>
221
 
268
 
222
 <style rel="stylesheet/css" lang="scss" scoped>
269
 <style rel="stylesheet/css" lang="scss" scoped>
223
-.container {
270
+  .container {
224
     margin-left: 180px;
271
     margin-left: 180px;
225
     padding: 20px;
272
     padding: 20px;
226
     background: #fff;
273
     background: #fff;
227
     min-height: calc(100vh - 173px);
274
     min-height: calc(100vh - 173px);
228
     margin-bottom: 15px;
275
     margin-bottom: 15px;
229
 
276
 
230
-    .record {
231
-        padding-top: 20px;
232
-    }
233
-}
277
+  .record {
278
+    padding-top: 20px;
279
+  }
280
+
281
+  }
234
 
282
 
235
-.record_content_panel {
283
+  .record_content_panel {
236
     border-width: 1px;
284
     border-width: 1px;
237
     border-style: solid;
285
     border-style: solid;
238
     border-color: #ebeef5;
286
     border-color: #ebeef5;
258
     }
306
     }
259
 }
307
 }
260
 
308
 
261
-.new_record_form {
262
-    // padding: 10px, 25px;
309
+  .new_record_form {
310
+  .textarea_panel {
311
+    margin-top: 10px;
312
+  }
263
 
313
 
264
-    .textarea_panel {
265
-        margin-top: 10px;
266
-    }
267
-}
314
+  }
268
 </style>
315
 </style>

+ 4 - 0
src/xt_pages/workforce/appointment.vue 查看文件

274
 </script>
274
 </script>
275
 
275
 
276
 <style rel="stylesheet/css" lang="scss">
276
 <style rel="stylesheet/css" lang="scss">
277
+
278
+.schedule-table-cell-disable {
279
+    background-color: #F5F5F5 !important;
280
+}
277
 </style>
281
 </style>
278
 
282
 

+ 13 - 13
src/xt_permission.js 查看文件

10
 
10
 
11
 router.beforeEach((to, from, next) => {
11
 router.beforeEach((to, from, next) => {
12
   // 线上注释
12
   // 线上注释
13
-  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
14
-    store.dispatch('VerifyConfigList', []).then(() => {
15
-      next()
16
-    })
17
-  }
18
-  if (store.getters.permission_routers === undefined) {
19
-    store.dispatch('xt_GenerateRoutes', []).then(() => {
20
-      next()
21
-    })
22
-  } else {
23
-    next()
24
-  }
25
-  return
13
+  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
14
+  //   store.dispatch('VerifyConfigList', []).then(() => {
15
+  //     next()
16
+  //   })
17
+  // }
18
+  // if (store.getters.permission_routers === undefined) {
19
+  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
20
+  //     next()
21
+  //   })
22
+  // } else {
23
+  //   next()
24
+  // }
25
+  // return
26
   // 线上注释
26
   // 线上注释
27
 
27
 
28
   NProgress.start()
28
   NProgress.start()