Browse Source

添加面包屑

csx 6 years ago
parent
commit
3d01944d8f

+ 5 - 1
src/xt_pages/data/druguse.vue View File

1
 <template>
1
 <template>
2
 <div class="main-contain">
2
 <div class="main-contain">
3
   <div class="position">
3
   <div class="position">
4
-    <bread-crumb></bread-crumb>
4
+    <bread-crumb :crumbs='crumbs'></bread-crumb>
5
   </div>
5
   </div>
6
   <div class="tab-container">
6
   <div class="tab-container">
7
     <el-tabs >
7
     <el-tabs >
427
   components: {BreadCrumb},
427
   components: {BreadCrumb},
428
   data() {
428
   data() {
429
     return {
429
     return {
430
+      crumbs: [
431
+        { path: false, name: '数据字典' },
432
+        { path: '/patients/patients', name: '字段配置' },
433
+      ],
430
       currentIndex: -1,
434
       currentIndex: -1,
431
       isEdit: false,
435
       isEdit: false,
432
       dialogTitle: "",
436
       dialogTitle: "",

+ 7 - 3
src/xt_pages/data/druguseTemplate.vue View File

1
 <template>
1
 <template>
2
 <div class="main-contain">
2
 <div class="main-contain">
3
   <div class="position">
3
   <div class="position">
4
-    <bread-crumb></bread-crumb>
4
+    <bread-crumb :crumbs='crumbs'></bread-crumb>
5
   </div>
5
   </div>
6
   <div class="app-container">
6
   <div class="app-container">
7
     <el-tabs >
7
     <el-tabs >
151
                     type="danger"
151
                     type="danger"
152
                     icon="el-icon-delete"
152
                     icon="el-icon-delete"
153
                     @click="handleDeleteAdviceTemplate(scope.row, scope.$index)"
153
                     @click="handleDeleteAdviceTemplate(scope.row, scope.$index)"
154
-                  > 
154
+                  >
155
                   </el-button>
155
                   </el-button>
156
-                </el-tooltip> 
156
+                </el-tooltip>
157
               </template>
157
               </template>
158
             </el-table-column>
158
             </el-table-column>
159
 
159
 
1018
     components: {BreadCrumb},
1018
     components: {BreadCrumb},
1019
     data() {
1019
     data() {
1020
       return {
1020
       return {
1021
+        crumbs: [
1022
+          { path: false, name: '数据字典' },
1023
+          { path: 'data/druguse', name: '医嘱模版' },
1024
+        ],
1021
         rowIndex: -1,
1025
         rowIndex: -1,
1022
         current_template_id: 0,
1026
         current_template_id: 0,
1023
         currentObject: {},
1027
         currentObject: {},

+ 6 - 1
src/xt_pages/data/index.vue View File

1
 <template>
1
 <template>
2
 <div class="main-contain">
2
 <div class="main-contain">
3
   <div class="position">
3
   <div class="position">
4
-     <bread-crumb></bread-crumb>
4
+    <bread-crumb :crumbs='crumbs'></bread-crumb>
5
+
5
   </div>
6
   </div>
6
   <div class="app-container">
7
   <div class="app-container">
7
     <el-tabs  v-model="activeName" >
8
     <el-tabs  v-model="activeName" >
28
   components: { tabPane,tableson,BreadCrumb},
29
   components: { tabPane,tableson,BreadCrumb},
29
   data() {
30
   data() {
30
     return {
31
     return {
32
+      crumbs: [
33
+        { path: false, name: '数据字典' },
34
+        { path: 'data/dictionary', name: '字段配置' },
35
+      ],
31
       tabMapOptions: [
36
       tabMapOptions: [
32
         { label: this.$t("data_config.patient"), key: 'patient' },
37
         { label: this.$t("data_config.patient"), key: 'patient' },
33
         { label: this.$t("data_config.hemodialysis"), key: 'hemodialysis' },
38
         { label: this.$t("data_config.hemodialysis"), key: 'hemodialysis' },

+ 5 - 1
src/xt_pages/data/template.vue View File

1
 <template>
1
 <template>
2
 <div class="main-contain">
2
 <div class="main-contain">
3
   <div class="position">
3
   <div class="position">
4
-    <bread-crumb></bread-crumb>
4
+    <bread-crumb :crumbs='crumbs'></bread-crumb>
5
   </div>
5
   </div>
6
   <div class="app-container">
6
   <div class="app-container">
7
     <el-tabs v-model="activeName" >
7
     <el-tabs v-model="activeName" >
26
   components: { tabPane,BreadCrumb},
26
   components: { tabPane,BreadCrumb},
27
   data() {
27
   data() {
28
     return {
28
     return {
29
+      crumbs: [
30
+        { path: false, name: '数据字典' },
31
+        { path: 'data/template', name: '模版配置' },
32
+      ],
29
       tabMapOptions: [
33
       tabMapOptions: [
30
         { label: this.$t("data_config.education"), key: 'education' },
34
         { label: this.$t("data_config.education"), key: 'education' },
31
         { label: this.$t("data_config.summary"), key: 'summary' },
35
         { label: this.$t("data_config.summary"), key: 'summary' },

+ 12 - 7
src/xt_pages/device/group_main.vue View File

1
 <template>
1
 <template>
2
 <div class="main-contain">
2
 <div class="main-contain">
3
     <div class="position">
3
     <div class="position">
4
-        <bread-crumb></bread-crumb>
5
-        <el-button size="small" icon="el-icon-circle-plus-outline" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="addGroupAction">新增</el-button>
4
+      <bread-crumb :crumbs='crumbs'></bread-crumb>
5
+
6
+      <el-button size="small" icon="el-icon-circle-plus-outline" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="addGroupAction">新增</el-button>
6
     </div>
7
     </div>
7
     <div class="app-container" v-loading="loading">
8
     <div class="app-container" v-loading="loading">
8
         <el-row>
9
         <el-row>
17
                            <el-tooltip class="item" effect="dark" content="删除" placement="top">
18
                            <el-tooltip class="item" effect="dark" content="删除" placement="top">
18
                             <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="danger" icon="el-icon-delete" size="small" @click="deleteGroupAt(scope.row)"></el-button>
19
                             <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="danger" icon="el-icon-delete" size="small" @click="deleteGroupAt(scope.row)"></el-button>
19
                            </el-tooltip>
20
                            </el-tooltip>
20
-                        </template>  
21
+                        </template>
21
                     </el-table-column>
22
                     </el-table-column>
22
                 </el-table>
23
                 </el-table>
23
             </el-col>
24
             </el-col>
51
     name: "DeviceGroupMain",
52
     name: "DeviceGroupMain",
52
     data() {
53
     data() {
53
         return {
54
         return {
55
+          crumbs: [
56
+            { path: false, name: '设备管理' },
57
+            { path: '/device/groups', name: '分组管理' },
58
+          ],
54
             loading: false,
59
             loading: false,
55
             groups: [],
60
             groups: [],
56
             group_form:{
61
             group_form:{
62
         }
67
         }
63
     },
68
     },
64
     components:{
69
     components:{
65
-      BreadCrumb 
70
+      BreadCrumb
66
     },
71
     },
67
     created() {
72
     created() {
68
         this.loading = true
73
         this.loading = true
106
                                 this.$message.error(resp.msg)
111
                                 this.$message.error(resp.msg)
107
                             }
112
                             }
108
                         })
113
                         })
109
-                        
114
+
110
                     } else {
115
                     } else {
111
                         modifyGroup(this.group_form.id, this.group_form.name).then(rs => {
116
                         modifyGroup(this.group_form.id, this.group_form.name).then(rs => {
112
                             var resp = rs.data
117
                             var resp = rs.data
125
                             }
130
                             }
126
                         })
131
                         })
127
                     }
132
                     }
128
-                    
133
+
129
                 } else {
134
                 } else {
130
                     return false
135
                     return false
131
                 }
136
                 }
143
                         if (index > -1) {
148
                         if (index > -1) {
144
                             this.groups.splice(index, 1)
149
                             this.groups.splice(index, 1)
145
                         }
150
                         }
146
-                        
151
+
147
                     } else {
152
                     } else {
148
                         this.$message.error(resp.msg)
153
                         this.$message.error(resp.msg)
149
                     }
154
                     }

+ 8 - 3
src/xt_pages/device/main.vue View File

1
 <template>
1
 <template>
2
 <div class="main-contain">
2
 <div class="main-contain">
3
      <div class="position">
3
      <div class="position">
4
-         <bread-crumb></bread-crumb>
4
+       <bread-crumb :crumbs='crumbs'></bread-crumb>
5
+
5
      </div>
6
      </div>
6
     <div class="app-container">
7
     <div class="app-container">
7
         <el-row :gutter="15">
8
         <el-row :gutter="15">
32
     },
33
     },
33
     data() {
34
     data() {
34
         return {
35
         return {
36
+          crumbs: [
37
+            { path: false, name: '设备管理' },
38
+            { path: '/device/main', name: '透析机管理' },
39
+          ],
35
             zones: [],
40
             zones: [],
36
             groups: [],
41
             groups: [],
37
             device_numbers: [],
42
             device_numbers: [],
45
                 this.zones.push(...resp.data.zones)
50
                 this.zones.push(...resp.data.zones)
46
                 this.groups.push(...resp.data.groups)
51
                 this.groups.push(...resp.data.groups)
47
                 this.device_numbers.push(...resp.data.numbers)
52
                 this.device_numbers.push(...resp.data.numbers)
48
-                
53
+
49
             } else {
54
             } else {
50
                 this.$message.error(resp.msg)
55
                 this.$message.error(resp.msg)
51
             }
56
             }
58
             } else {
63
             } else {
59
                 this.$refs.device_detail.set_device(0, 1)
64
                 this.$refs.device_detail.set_device(0, 1)
60
             }
65
             }
61
-            
66
+
62
         },
67
         },
63
         did_update_device: function(device) {
68
         did_update_device: function(device) {
64
             this.$refs.device_list.update_device(device)
69
             this.$refs.device_list.update_device(device)

+ 14 - 9
src/xt_pages/device/number_main.vue View File

1
 <template>
1
 <template>
2
 <div class="main-contain">
2
 <div class="main-contain">
3
     <div class="position">
3
     <div class="position">
4
-        <bread-crumb></bread-crumb>
4
+      <bread-crumb :crumbs='crumbs'></bread-crumb>
5
+
5
         <el-button size="small" icon="el-icon-circle-plus-outline" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="addDeviceNumberAction">新增</el-button>
6
         <el-button size="small" icon="el-icon-circle-plus-outline" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="addDeviceNumberAction">新增</el-button>
6
     </div>
7
     </div>
7
     <div class="app-container" v-loading="loading">
8
     <div class="app-container" v-loading="loading">
11
                     <el-table-column prop="number" label="床位号" align="center"> </el-table-column>
12
                     <el-table-column prop="number" label="床位号" align="center"> </el-table-column>
12
                     <el-table-column prop="zone_name" label="所属分区" align="center"></el-table-column>
13
                     <el-table-column prop="zone_name" label="所属分区" align="center"></el-table-column>
13
                     <el-table-column prop="group_name" label="所属分组" align="center"></el-table-column>
14
                     <el-table-column prop="group_name" label="所属分组" align="center"></el-table-column>
14
-                    <el-table-column label="操作" align="center"> 
15
+                    <el-table-column label="操作" align="center">
15
                         <template slot-scope="scope">
16
                         <template slot-scope="scope">
16
                            <el-tooltip class="item" effect="dark" content="编辑" placement="top">
17
                            <el-tooltip class="item" effect="dark" content="编辑" placement="top">
17
                             <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" icon="el-icon-edit-outline" size="small" @click="modifyDeviceNumberAt(scope.row)"></el-button>
18
                             <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" icon="el-icon-edit-outline" size="small" @click="modifyDeviceNumberAt(scope.row)"></el-button>
18
                            </el-tooltip>
19
                            </el-tooltip>
19
-                           <el-tooltip class="item" effect="dark" content="删除" placement="top">                           
20
+                           <el-tooltip class="item" effect="dark" content="删除" placement="top">
20
                             <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="danger" icon="el-icon-delete" size="small" @click="deleteDeviceNumberAt(scope.row)"></el-button>
21
                             <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="danger" icon="el-icon-delete" size="small" @click="deleteDeviceNumberAt(scope.row)"></el-button>
21
-                           </el-tooltip>                           
22
-                        </template>  
22
+                           </el-tooltip>
23
+                        </template>
23
                     </el-table-column>
24
                     </el-table-column>
24
                 </el-table>
25
                 </el-table>
25
             </el-col>
26
             </el-col>
62
     name: "DeviceNumberMain",
63
     name: "DeviceNumberMain",
63
     data() {
64
     data() {
64
         return {
65
         return {
66
+          crumbs: [
67
+            { path: false, name: '设备管理' },
68
+            { path: '/device/numbers', name: '床位管理' },
69
+          ],
65
             loading: false,
70
             loading: false,
66
             number_form:{
71
             number_form:{
67
                 id: 0,
72
                 id: 0,
89
                 this.zones.push(...resp.data.zones)
94
                 this.zones.push(...resp.data.zones)
90
                 this.groups.push(...resp.data.groups)
95
                 this.groups.push(...resp.data.groups)
91
                 this.device_numbers.push(...resp.data.numbers)
96
                 this.device_numbers.push(...resp.data.numbers)
92
-                
97
+
93
             } else {
98
             } else {
94
                 this.$message.error(resp.msg)
99
                 this.$message.error(resp.msg)
95
             }
100
             }
129
                                 this.$message.error(resp.msg)
134
                                 this.$message.error(resp.msg)
130
                             }
135
                             }
131
                         })
136
                         })
132
-                        
137
+
133
                     } else {
138
                     } else {
134
                         modifyDeviceNumber(this.number_form.id, this.number_form.number, this.number_form.zone, this.number_form.group).then(rs => {
139
                         modifyDeviceNumber(this.number_form.id, this.number_form.number, this.number_form.zone, this.number_form.group).then(rs => {
135
                             var resp = rs.data
140
                             var resp = rs.data
153
                             }
158
                             }
154
                         })
159
                         })
155
                     }
160
                     }
156
-                    
161
+
157
                 } else {
162
                 } else {
158
                     return false
163
                     return false
159
                 }
164
                 }
171
                         if (index > -1) {
176
                         if (index > -1) {
172
                             this.device_numbers.splice(index, 1)
177
                             this.device_numbers.splice(index, 1)
173
                         }
178
                         }
174
-                        
179
+
175
                     } else {
180
                     } else {
176
                         this.$message.error(resp.msg)
181
                         this.$message.error(resp.msg)
177
                     }
182
                     }

+ 15 - 10
src/xt_pages/device/zone_main.vue View File

1
 <template>
1
 <template>
2
 <div class="main-contain">
2
 <div class="main-contain">
3
     <div class="position">
3
     <div class="position">
4
-        <bread-crumb></bread-crumb>
5
-        <el-button size="small" icon="el-icon-circle-plus-outline" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="addZoneAction">新增</el-button>     
4
+      <bread-crumb :crumbs='crumbs'></bread-crumb>
5
+
6
+        <el-button size="small" icon="el-icon-circle-plus-outline" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" @click="addZoneAction">新增</el-button>
6
     </div>
7
     </div>
7
     <div class="app-container" v-loading="loading">
8
     <div class="app-container" v-loading="loading">
8
         <el-row>
9
         <el-row>
14
                             <span>{{ getZoneTypeLabel(scope.row.type) }}</span>
15
                             <span>{{ getZoneTypeLabel(scope.row.type) }}</span>
15
                         </template>
16
                         </template>
16
                     </el-table-column>
17
                     </el-table-column>
17
-                    <el-table-column label="操作" align="center"> 
18
+                    <el-table-column label="操作" align="center">
18
                         <template slot-scope="scope">
19
                         <template slot-scope="scope">
19
                           <el-tooltip class="item" effect="dark" content="编辑" placement="top">
20
                           <el-tooltip class="item" effect="dark" content="编辑" placement="top">
20
                             <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" icon="el-icon-edit-outline" size="small" @click="modifyZoneAt(scope.row)"></el-button>
21
                             <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="primary" icon="el-icon-edit-outline" size="small" @click="modifyZoneAt(scope.row)"></el-button>
21
-                          </el-tooltip>  
22
-                          <el-tooltip class="item" effect="dark" content="删除" placement="top">                          
22
+                          </el-tooltip>
23
+                          <el-tooltip class="item" effect="dark" content="删除" placement="top">
23
                             <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="danger" icon="el-icon-delete" size="small" @click="deleteZoneAt(scope.row)"></el-button>
24
                             <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" type="danger" icon="el-icon-delete" size="small" @click="deleteZoneAt(scope.row)"></el-button>
24
-                          </el-tooltip>  
25
-                        </template>  
25
+                          </el-tooltip>
26
+                        </template>
26
                     </el-table-column>
27
                     </el-table-column>
27
                 </el-table>
28
                 </el-table>
28
             </el-col>
29
             </el-col>
61
     name: "DeviceZoneMain",
62
     name: "DeviceZoneMain",
62
     data() {
63
     data() {
63
         return {
64
         return {
65
+          crumbs: [
66
+            { path: false, name: '设备管理' },
67
+            { path: '/device/zones', name: '分区管理' },
68
+          ],
64
             loading: false,
69
             loading: false,
65
             zones: [],
70
             zones: [],
66
             zone_form:{
71
             zone_form:{
137
                                 this.$message.error(resp.msg)
142
                                 this.$message.error(resp.msg)
138
                             }
143
                             }
139
                         })
144
                         })
140
-                        
145
+
141
                     } else {
146
                     } else {
142
                         modifyZone(this.zone_form.id, this.zone_form.name, this.zone_form.type).then(rs => {
147
                         modifyZone(this.zone_form.id, this.zone_form.name, this.zone_form.type).then(rs => {
143
                             var resp = rs.data
148
                             var resp = rs.data
157
                             }
162
                             }
158
                         })
163
                         })
159
                     }
164
                     }
160
-                    
165
+
161
                 } else {
166
                 } else {
162
                     return false
167
                     return false
163
                 }
168
                 }
175
                         if (index > -1) {
180
                         if (index > -1) {
176
                             this.zones.splice(index, 1)
181
                             this.zones.splice(index, 1)
177
                         }
182
                         }
178
-                        
183
+
179
                     } else {
184
                     } else {
180
                         this.$message.error(resp.msg)
185
                         this.$message.error(resp.msg)
181
                     }
186
                     }

+ 12 - 7
src/xt_pages/dialysis/bloodPresssWatch.vue View File

1
 <template>
1
 <template>
2
 <div class="main-contain">
2
 <div class="main-contain">
3
   <div class="position">
3
   <div class="position">
4
-    <bread-crumb></bread-crumb>
4
+    <bread-crumb :crumbs='crumbs'></bread-crumb>
5
+
5
   </div>
6
   </div>
6
   <div class="app-container">
7
   <div class="app-container">
7
     <div class="cell">
8
     <div class="cell">
49
         align="center"
50
         align="center"
50
        >
51
        >
51
       </el-table-column>
52
       </el-table-column>
52
-      <el-table-column 
53
+      <el-table-column
53
         label="排班日期"
54
         label="排班日期"
54
         prop="sch_time"
55
         prop="sch_time"
55
         align="center"
56
         align="center"
139
     name: "Patient",
140
     name: "Patient",
140
     data() {
141
     data() {
141
       return {
142
       return {
143
+        crumbs: [
144
+          { path: false, name: '透析管理' },
145
+          { path: '/dialysis/watch', name: '透析监测' },
146
+        ],
142
         loading: false,
147
         loading: false,
143
         time: '',
148
         time: '',
144
 
149
 
278
       // },
283
       // },
279
       // changeOtherSearch() {
284
       // changeOtherSearch() {
280
       //   this.getList();
285
       //   this.getList();
281
-      // }, 
286
+      // },
282
       getAllZone: function () {
287
       getAllZone: function () {
283
         GetAllZone().then(response => {
288
         GetAllZone().then(response => {
284
           if (response.data.state == 0) {
289
           if (response.data.state == 0) {
289
             this.partitionArr.unshift({"id": 0, "name": '全部'})
294
             this.partitionArr.unshift({"id": 0, "name": '全部'})
290
           }
295
           }
291
         });
296
         });
292
-      }, 
297
+      },
293
       getSchedualPatientList: function () {
298
       getSchedualPatientList: function () {
294
         this.loading = true
299
         this.loading = true
295
         if (this.search_mode == 1) {
300
         if (this.search_mode == 1) {
352
         }else{
357
         }else{
353
           return ''
358
           return ''
354
         }
359
         }
355
-      }, 
360
+      },
356
       handleCurrentChange(val) {
361
       handleCurrentChange(val) {
357
         this.listQuery.page = val;
362
         this.listQuery.page = val;
358
         this.getSchedualPatientList();
363
         this.getSchedualPatientList();
373
         this.getSchedualPatientList()
378
         this.getSchedualPatientList()
374
       },
379
       },
375
 
380
 
376
-     
381
+
377
     }
382
     }
378
   }
383
   }
379
 </script>
384
 </script>
418
         cursor: pointer;
423
         cursor: pointer;
419
       }
424
       }
420
     }
425
     }
421
-    
426
+
422
     .amount {
427
     .amount {
423
       font-weight: normal;
428
       font-weight: normal;
424
       padding: 10px 0 0 0;
429
       padding: 10px 0 0 0;

+ 33 - 17
src/xt_pages/dialysis/bulletinBoard.vue View File

1
 <template>
1
 <template>
2
-    <div class="app-container" id="dialysis-board-box" >
3
-        <el-row>
4
-            <el-button type="primary" @click="fullscreenboard"> 全屏投影</el-button>
5
-        </el-row>
6
-        <bulletinboard></bulletinboard>
2
+  <div class="main-contain">
3
+    <div class="position">
4
+      <bread-crumb :crumbs='crumbs'></bread-crumb>
7
     </div>
5
     </div>
6
+    <div class="app-container" id="dialysis-board-box">
7
+      <el-row>
8
+        <el-button type="primary" @click="fullscreenboard"> 全屏投影</el-button>
9
+      </el-row>
10
+      <bulletinboard></bulletinboard>
11
+    </div>
12
+  </div>
13
+
8
 </template>
14
 </template>
9
 
15
 
10
 <script>
16
 <script>
11
-import { getBoards } from "@/api/board";
12
-import bulletinboard from "./components/bulletinboard";
13
-import { parseTime } from "@/utils";
17
+  import { getBoards } from '@/api/board'
18
+  import bulletinboard from './components/bulletinboard'
19
+  import { parseTime } from '@/utils'
20
+  import BreadCrumb from '../components/bread-crumb'
14
 
21
 
15
-export default {
16
-    components: { bulletinboard },
22
+  export default {
23
+    components: { BreadCrumb, bulletinboard },
17
     name: 'bulletinBoard',
24
     name: 'bulletinBoard',
18
-    
19
-    methods:{
20
-        fullscreenboard:function(){
21
-            let routeData = this.$router.resolve({ path: '/fullscreenboard'});
22
-            window.open(routeData.href, '_blank');
23
-        },
25
+    data(){
26
+      return{
27
+        crumbs: [
28
+          { path: false, name: '透析管理' },
29
+          { path: 'dialysis/board', name: '数据看板' },
30
+        ],
31
+
32
+      }
33
+    },
34
+
35
+    methods: {
36
+      fullscreenboard: function() {
37
+        let routeData = this.$router.resolve({ path: '/fullscreenboard' })
38
+        window.open(routeData.href, '_blank')
39
+      }
24
     }
40
     }
25
-}
41
+  }
26
 </script>
42
 </script>

+ 7 - 3
src/xt_pages/dialysis/schedualPatient.vue View File

1
 <template>
1
 <template>
2
 <div class="main-contain">
2
 <div class="main-contain">
3
   <div class="position">
3
   <div class="position">
4
-    <bread-crumb></bread-crumb>
4
+    <bread-crumb :crumbs='crumbs'></bread-crumb>
5
   </div>
5
   </div>
6
   <div class="app-container">
6
   <div class="app-container">
7
     <div class="cell">
7
     <div class="cell">
8
-      <label class="title"><span class="name">病人查询</span> : </label>      
8
+      <label class="title"><span class="name">病人查询</span> : </label>
9
       <el-input size="small" style="width: 280px;" v-model="search_input" class="filter-item"/>
9
       <el-input size="small" style="width: 280px;" v-model="search_input" class="filter-item"/>
10
       <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="searchAction">搜索</el-button>
10
       <el-button size="small" class="filter-item" type="primary" icon="el-icon-search" @click="searchAction">搜索</el-button>
11
     </div>
11
     </div>
60
     },
60
     },
61
     data() {
61
     data() {
62
       return {
62
       return {
63
+        crumbs: [
64
+          { path: false, name: '透析管理' },
65
+          { path: 'dialysis/dialysisrecord', name: '透析记录' },
66
+        ],
63
         selected_date: new Date(), // this.$store.getters.app.dialysis_area.schedule_date,
67
         selected_date: new Date(), // this.$store.getters.app.dialysis_area.schedule_date,
64
         schedule_type_selected: 0, // this.$store.getters.app.dialysis_area.schedule_type_select_index,
68
         schedule_type_selected: 0, // this.$store.getters.app.dialysis_area.schedule_type_select_index,
65
         schedule_type_options: [
69
         schedule_type_options: [
318
         cursor: pointer;
322
         cursor: pointer;
319
       }
323
       }
320
     }
324
     }
321
-  
325
+
322
     .amount {
326
     .amount {
323
       font-weight: normal;
327
       font-weight: normal;
324
       padding: 10px 0 0 0;
328
       padding: 10px 0 0 0;

+ 12 - 7
src/xt_pages/statistics/index.vue View File

1
 <template>
1
 <template>
2
 <div class="main-contain">
2
 <div class="main-contain">
3
     <div class="position">
3
     <div class="position">
4
-        <bread-crumb></bread-crumb>
4
+      <bread-crumb :crumbs='crumbs'></bread-crumb>
5
+
5
     </div>
6
     </div>
6
     <div class="app-container" v-loading="pageLoad">
7
     <div class="app-container" v-loading="pageLoad">
7
         <el-row :gutter="40" class="panel-group">
8
         <el-row :gutter="40" class="panel-group">
61
         <line-chart :options="modelLineOpstions" title="透析模式" v-if="modeLineFlag" />
62
         <line-chart :options="modelLineOpstions" title="透析模式" v-if="modeLineFlag" />
62
         </el-row>
63
         </el-row>
63
 
64
 
64
-        
65
+
65
         <el-row >
66
         <el-row >
66
         <el-table
67
         <el-table
67
             :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
68
             :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"
112
   name: "Statistics",
113
   name: "Statistics",
113
   data() {
114
   data() {
114
     return {
115
     return {
116
+      crumbs: [
117
+        { path: 'statistics', name: '统计分析' },
118
+
119
+      ],
115
         pageLoad:true,
120
         pageLoad:true,
116
         patientCount:0,
121
         patientCount:0,
117
         todayDialysisCount:0,
122
         todayDialysisCount:0,
236
                               item.name = "其他";
241
                               item.name = "其他";
237
                               break;
242
                               break;
238
                       }
243
                       }
239
-                      
244
+
240
                       this.ageOptions.legend.push(item.name);
245
                       this.ageOptions.legend.push(item.name);
241
                       this.ageOptions.series.push({
246
                       this.ageOptions.series.push({
242
                           value:item.count,name:item.name
247
                           value:item.count,name:item.name
258
 
263
 
259
                   var thisDate = new Date()
264
                   var thisDate = new Date()
260
                   var thisYear = thisDate.getFullYear()
265
                   var thisYear = thisDate.getFullYear()
261
-             
266
+
262
                   for (let index = 1; index <= 12; index++) {
267
                   for (let index = 1; index <= 12; index++) {
263
                       var month = index < 10 ? ('0' + index) : ('' + index);
268
                       var month = index < 10 ? ('0' + index) : ('' + index);
264
                       this.modelLineOpstions.xAxis.push(thisYear + '-' + month);
269
                       this.modelLineOpstions.xAxis.push(thisYear + '-' + month);
271
                       for ( var key in modeCountMap) {
276
                       for ( var key in modeCountMap) {
272
 
277
 
273
                           if(key == this.modelLineOpstions.xAxis[index]) {
278
                           if(key == this.modelLineOpstions.xAxis[index]) {
274
-                              
279
+
275
                               if (1 in modeCountMap[key]) {
280
                               if (1 in modeCountMap[key]) {
276
                                 hd = modeCountMap[key][1]["count"];
281
                                 hd = modeCountMap[key][1]["count"];
277
                               }
282
                               }
295
                             continue;
300
                             continue;
296
                           }
301
                           }
297
                       }
302
                       }
298
-                      
303
+
299
                     this.modelLineOpstions.series["HD"].push(hd);
304
                     this.modelLineOpstions.series["HD"].push(hd);
300
                     this.modelLineOpstions.series["HDF"].push(hdf);
305
                     this.modelLineOpstions.series["HDF"].push(hdf);
301
                     this.modelLineOpstions.series["HD+HP"].push(hdhp);
306
                     this.modelLineOpstions.series["HD+HP"].push(hdhp);
302
                     this.modelLineOpstions.series["HP"].push(hp);
307
                     this.modelLineOpstions.series["HP"].push(hp);
303
                   }
308
                   }
304
-                  
309
+
305
                   this.diseaseFlag = true;
310
                   this.diseaseFlag = true;
306
                   this.genderFlag = true;
311
                   this.genderFlag = true;
307
                   this.ageFlag = true;
312
                   this.ageFlag = true;

+ 2 - 2
src/xt_pages/stock/cancelStockOrder.vue View File

11
     <div class="app-container">
11
     <div class="app-container">
12
 
12
 
13
 
13
 
14
-      <div class="cell" style="margin-top:20px">
15
-        <el-input style="width: 300px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
14
+      <div class="cell">
15
+        <el-input style="width: 400px;" class="filter-item" 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
 

+ 2 - 2
src/xt_pages/stock/otherCancelStockOrder.vue View File

10
 
10
 
11
     <div class="app-container">
11
     <div class="app-container">
12
 
12
 
13
-      <div class="cell" style="margin-top:20px">
14
-        <el-input style="width: 300px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
13
+      <div class="cell" >
14
+        <el-input style="width: 400px;" class="filter-item" 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
 

+ 2 - 2
src/xt_pages/stock/otherSalesReturnOrder.vue View File

10
 
10
 
11
     <div class="app-container">
11
     <div class="app-container">
12
 
12
 
13
-      <div class="cell" style="margin-top:20px">
14
-        <el-input style="width: 300px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
13
+      <div class="cell">
14
+        <el-input style="width: 400px;" class="filter-item" 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 - 116
src/xt_pages/stock/otherStockOutOrder.vue View File

9
     </div>
9
     </div>
10
     <div class="app-container">
10
     <div class="app-container">
11
       <div class="cell">
11
       <div class="cell">
12
-        <el-input style="width: 300px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
12
+        <el-input style="width: 400px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
13
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
13
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
14
       </div>
14
       </div>
15
 
15
 
16
-
17
       <div class="cell">
16
       <div class="cell">
18
         <label class="title"><span class="name">出库时间</span> : </label>
17
         <label class="title"><span class="name">出库时间</span> : </label>
19
 
18
 
367
   }
366
   }
368
 </script>
367
 </script>
369
 
368
 
370
-<style rel="stylesheet/scss" lang="scss" scoped>
371
-  .app-container {
372
-
373
-    font-size: 15px;
374
-
375
-  .filter-container {
376
-    padding-bottom: 5px;
377
-  }
378
-
379
-  .search-component {
380
-    width: 500px;
381
-
382
-  .searchBox {
383
-    width: 300px;
384
-    height: 36px;
385
-    line-height: 36px;
386
-    padding-left: 15px;
387
-    border: 1px #dcdfe6 solid;
388
-    border-right: none;
389
-    outline: none;
390
-    float: left;
391
-    border-radius: 6px 0 0 6px;
392
-    font-size: 14px;
393
-    color: #333;
394
-    background: #fff;
395
-    box-shadow: 3px 3px 4px rgba(135, 135, 135, 0.05);
396
-  }
397
-
398
-  .searchBtn {
399
-    background-color: #409eff;
400
-    color: #fff;
401
-    font-size: 15px;
402
-    text-align: center;
403
-    height: 36px;
404
-    line-height: 36px;
405
-    float: left;
406
-    outline: none;
407
-    width: 70px;
408
-    border: none;
409
-    border-radius: 0 6px 6px 0;
410
-    font-family: "Microsoft Yahei";
411
-    cursor: pointer;
412
-  }
413
-
414
-  }
415
-  .cell {
416
-    margin: 0px 0 15px 0;
417
-    -moz-box-sizing: border-box;
418
-    -webkit-box-sizing: border-box;
419
-    -o-box-sizing: border-box;
420
-    -ms-box-sizing: border-box;
421
-    box-sizing: border-box;
422
-    display: -webkit-box;
423
-    display: -ms-flexbox;
424
-    -webkit-box-align: flex-start;
425
-    -ms-flex-align: flex-start;
426
-    align-items: flex-start;
427
-    text-align: left;
428
-    justify-content: flex-start;
429
-    color: #333;
430
-
431
-
432
-  .time {
433
-    -webkit-box-flex: 1;
434
-    -ms-flex: 1;
435
-    flex: 1;
436
-
437
-  ul {
438
-    padding: 0;
439
-    margin: 0;
440
-
441
-  li {
442
-    float: left;
443
-    list-style: none;
444
-    cursor: pointer;
445
-    padding: 3px 0;
446
-    width: 70px;
447
-    color: #606266;
448
-    border-radius: 4px;
449
-    margin: 0 10px 0 0;
450
-    color: #409eff;
451
-    border: 1px #409eff solid;
452
-    text-align: center;
453
-
454
-  &
455
-  :hover {
456
-    background: #409eff;
457
-    color: #fff;
458
-  }
459
-
460
-  }
461
-  .active {
462
-    background: #409eff;
463
-    color: #fff;
464
-  }
465
-
466
-  }
467
-  }
468
-  }
469
-  .amount {
470
-    font-weight: normal;
471
-    padding: 10px 0 0 0;
472
-    color: #606266;
473
-    font-size: 14px;
474
-
475
-  span {
476
-    color: #ef2525;
477
-    font-family: "Arial";
478
-    padding: 0 2px;
479
-  }
480
-
481
-  }
482
-  }
483
-</style>
484
 
369
 

+ 1 - 1
src/xt_pages/stock/salesReturnOrder.vue View File

10
 
10
 
11
     <div class="app-container">
11
     <div class="app-container">
12
 
12
 
13
-      <div class="filter-container" >
13
+      <div class="cell" >
14
         <el-input style="width: 400px;" class="filter-item" placeholder="单据日期/单据编码/制单人/供应商"/>
14
         <el-input style="width: 400px;" class="filter-item" 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>

+ 0 - 103
src/xt_pages/stock/stockOutOrder.vue View File

11
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
11
         <el-button class="filter-item" type="primary" icon="el-icon-search" @click="search">搜索</el-button>
12
       </div>
12
       </div>
13
 
13
 
14
-
15
       <div class="cell">
14
       <div class="cell">
16
         <label class="title"><span class="name">出库时间</span> : </label>
15
         <label class="title"><span class="name">出库时间</span> : </label>
17
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
16
         <el-date-picker v-model="start_time" prefix-icon="el-icon-date" :editable="false" style="width: 196px;"
370
   }
369
   }
371
 </script>
370
 </script>
372
 
371
 
373
-<style rel="stylesheet/scss" lang="scss" scoped>
374
-  .app-container {
375
-  // margin: 20px;
376
-    font-size: 15px;
377
-  .filter-container {
378
-    padding-bottom: 5px;
379
-  }
380
-  .search-component {
381
-    width: 500px;
382
-  .searchBox {
383
-    width: 300px;
384
-    height: 36px;
385
-    line-height: 36px;
386
-    padding-left: 15px;
387
-    border: 1px #dcdfe6 solid;
388
-    border-right: none;
389
-    outline: none;
390
-    float: left;
391
-    border-radius: 6px 0 0 6px;
392
-    font-size: 14px;
393
-    color: #333;
394
-    background: #fff;
395
-    box-shadow: 3px 3px 4px rgba(135, 135, 135, 0.05);
396
-  }
397
-  .searchBtn {
398
-    background-color: #409eff;
399
-    color: #fff;
400
-    font-size: 15px;
401
-    text-align: center;
402
-    height: 36px;
403
-    line-height: 36px;
404
-    float: left;
405
-    outline: none;
406
-    width: 70px;
407
-    border: none;
408
-    border-radius: 0 6px 6px 0;
409
-    font-family: "Microsoft Yahei";
410
-    cursor: pointer;
411
-  }
412
-  }
413
-  .cell {
414
-    margin: 0px 0 15px 0;
415
-    -moz-box-sizing: border-box;
416
-    -webkit-box-sizing: border-box;
417
-    -o-box-sizing: border-box;
418
-    -ms-box-sizing: border-box;
419
-    box-sizing: border-box;
420
-    display: -webkit-box;
421
-    display: -ms-flexbox;
422
-  // display: flex;
423
-    -webkit-box-align: flex-start;
424
-    -ms-flex-align: flex-start;
425
-    align-items: flex-start;
426
-    text-align: left;
427
-    justify-content: flex-start;
428
-    color: #333;
429
-
430
-  .time {
431
-    -webkit-box-flex: 1;
432
-    -ms-flex: 1;
433
-    flex: 1;
434
-  ul {
435
-    padding: 0;
436
-    margin: 0;
437
-  li {
438
-    float: left;
439
-    list-style: none;
440
-    cursor: pointer;
441
-    padding: 3px 0;
442
-    width: 70px;
443
-    color: #606266;
444
-    border-radius: 4px;
445
-    margin: 0 10px 0 0;
446
-    color: #409eff;
447
-    border: 1px #409eff solid;
448
-    text-align:center;
449
-  &:hover {
450
-     background: #409eff;
451
-     color: #fff;
452
-   }
453
-  }
454
-  .active {
455
-    background: #409eff;
456
-    color: #fff;
457
-  }
458
-  }
459
-  }
460
-  }
461
-  .amount {
462
-    font-weight: normal;
463
-    padding: 10px 0 0 0;
464
-    color: #606266;
465
-    font-size: 14px;
466
-  span {
467
-    color: #ef2525;
468
-    font-family: "Arial";
469
-    padding: 0 2px;
470
-  }
471
-  }
472
-  }
473
-</style>
474
-