Browse Source

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

zhengchengwu 6 years ago
parent
commit
20a3b32fad

+ 33 - 1
src/styles/index.scss View File

463
 .el-select-dropdown{
463
 .el-select-dropdown{
464
   // z-index: 2003!important;
464
   // z-index: 2003!important;
465
 }
465
 }
466
-
466
+// .patient-app-container {
467
+//   margin-bottom: 4px;
468
+//   height: 36px;
469
+//   line-height: 36px;
470
+// }
471
+.patient-app-container {
472
+  margin-left: 180px;
473
+  margin-right: 0;
474
+  background: #fff; 
475
+}
476
+.patient-name{
477
+  color: #606266;
478
+  font-size: 14px;
479
+  padding: 15px 0 15px 0;
480
+  display: block;
481
+  border-bottom: 1px #E4E7ED solid;
482
+  margin: 0 18px;
483
+  flex: 1;
484
+  
485
+}
486
+.el-button+.el-button{
487
+  // margin-left: 0;
488
+}
489
+// 病人管理-病程管理
490
+.filter_title {
491
+  font-size: 14px;
492
+  color: gray;
493
+  margin-right: 6px;
494
+}
495
+.Total{
496
+ margin:0 0 10px 0;
497
+ float: right;
498
+}

+ 1 - 5
src/xt_pages/sign/index.vue View File

606
     background: #6fb5fa;
606
     background: #6fb5fa;
607
 }
607
 }
608
 
608
 
609
- .patient-app-container {
610
-    margin-bottom: 4px;
611
-    height: 36px;
612
-    line-height: 36px;
613
-  }
609
+
614
 
610
 
615
   .button{
611
   .button{
616
       float: right;
612
       float: right;

+ 3 - 18
src/xt_pages/user/components/PatientSidebar.1.vue View File

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
-
4
-
5
     <div class="patient-menu">
3
     <div class="patient-menu">
6
 
4
 
7
       <el-autocomplete
5
       <el-autocomplete
8
-        style="margin: 5px"
6
+        style="margin:13px 5px"
9
         popper-class="my-autocomplete"
7
         popper-class="my-autocomplete"
10
         v-model="value"
8
         v-model="value"
11
         :fetch-suggestions="querySearchAsync"
9
         :fetch-suggestions="querySearchAsync"
23
         </template>
21
         </template>
24
       </el-autocomplete>
22
       </el-autocomplete>
25
 
23
 
26
-
27
-
28
-      <el-select v-model="selectID" style="margin-top:10px;text-align: center;" @change="changePatient"
24
+      <el-select v-model="selectID" style="margin:0 5px 0px 5px;text-align: center;" @change="changePatient"
29
                  placeholder="请选择">
25
                  placeholder="请选择">
30
         <el-option
26
         <el-option
31
           v-for="item in patientsList"
27
           v-for="item in patientsList"
210
     content: '';
206
     content: '';
211
   }
207
   }
212
 
208
 
213
-  .patient-app-container {
214
-    margin-left: 180px;
215
-    background: #fff; 
216
-  }
217
-   .patient-name{
218
-      color: #303133;
219
-      font-size: 15px;
220
-      padding-top: 15px;
221
-      padding-left: 15px;
222
-      display: inline-block;
223
-      
224
-    }
209
+ 
225
 </style>
210
 </style>

+ 201 - 222
src/xt_pages/user/components/PatientSidebar.vue View File

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
-
4
-
5
     <div class="patient-menu">
3
     <div class="patient-menu">
6
-
7
       <el-autocomplete
4
       <el-autocomplete
8
-        style="margin: 5px"
5
+        style="margin:13px 5px"
9
         popper-class="my-autocomplete"
6
         popper-class="my-autocomplete"
10
         v-model="value"
7
         v-model="value"
11
         :fetch-suggestions="querySearchAsync"
8
         :fetch-suggestions="querySearchAsync"
13
         placeholder="病人名字或者透析号"
10
         placeholder="病人名字或者透析号"
14
         @select="handleSelect"
11
         @select="handleSelect"
15
        >
12
        >
16
-        <i
17
-          class="el-icon-search el-input__icon"
18
-          slot="suffix"
19
-         >
20
-        </i>
13
+        <i class="el-icon-search el-input__icon" slot="suffix" > </i>
21
         <template slot-scope="{ item }">
14
         <template slot-scope="{ item }">
22
           <div class="name">{{ item.name }}</div>
15
           <div class="name">{{ item.name }}</div>
23
         </template>
16
         </template>
24
       </el-autocomplete>
17
       </el-autocomplete>
25
-
26
-
27
-
28
-      <el-select v-model="selectID" style="margin:10px 5px 0px 5px;text-align: center;" @change="changePatient" placeholder="请选择">
18
+      <el-select v-model="selectID" style="margin:0 5px 0px 5px;text-align: center;" @change="changePatient" placeholder="请选择">
29
         <el-option
19
         <el-option
30
           v-for="item in patientsList"
20
           v-for="item in patientsList"
31
           :key="item.id"
21
           :key="item.id"
52
 
42
 
53
 </template>
43
 </template>
54
 <script>
44
 <script>
45
+import { fetchAllList, PostSearch } from "@/api/patient";
46
+import { jsGetAge, uParseTime } from "@/utils/tools";
55
 
47
 
56
-  import {fetchAllList,PostSearch} from "@/api/patient";
57
-  import {jsGetAge, uParseTime} from "@/utils/tools";
58
-
59
-  export default {
60
-    name: "patientSidebar",
61
-    value:'',
62
-    searchArray:[],
63
-    props: {
64
-      id: 0,
65
-      defaultActive: {
66
-        type: String,
67
-        default: '1-1',
68
-      },
69
-
70
-    },
71
-    data() {
72
-      return {
73
-        thedefaultActive: 1,
74
-        patientsList: null,
75
-        currentPatient: {},
76
-        selectID: 0,
77
-        keyword:'',
78
-        value:'',
79
-        treeKey:'',
80
-        treeData:[
81
-          {
82
-            name:'1',
83
-            label: '电子病历',
84
-            children: [
85
-              {
86
-                name:'1-1',
87
-                label: '基本信息',
88
-              },
89
-              {
90
-                name:'1-4',
91
-                label: '医嘱管理',
92
-              },
93
-              {
94
-                name:'1-2',
95
-                label: '病程管理',
96
-              },
97
-              {
98
-                name:'1-3',
99
-                label: '检验检查',
100
-              },
101
-              {
102
-                name:'1-5',
103
-                label: '抢救记录',
104
-              }
105
-            ]
106
-          },
107
-          {
108
-            name:'2',
109
-            label: '透析管理',
110
-            children: [
111
-              {
112
-                name:'2-1',
113
-                label: '长期透析处方',
114
-              },
115
-              {
116
-                name:'2-2',
117
-                label: '透析记录',
118
-              },
119
-              {
120
-                name:'2-4',
121
-                label: '排班信息',
122
-              },
123
-              {
124
-                name:'2-5',
125
-                label: '宣教信息',
126
-              }
127
-            ]
128
-          }
129
-        ],
48
+export default {
49
+  name: "patientSidebar",
50
+  value: "",
51
+  searchArray: [],
52
+  props: {
53
+    id: 0,
54
+    defaultActive: {
55
+      type: String,
56
+      default: "1-1"
57
+    }
58
+  },
59
+  data() {
60
+    return {
61
+      thedefaultActive: 1,
62
+      patientsList: null,
63
+      currentPatient: {},
64
+      selectID: 0,
65
+      keyword: "",
66
+      value: "",
67
+      treeKey: "",
68
+      treeData: [
69
+        {
70
+          name: "1",
71
+          label: "电子病历",
72
+          children: [
73
+            {
74
+              name: "1-1",
75
+              label: "基本信息"
76
+            },
77
+            {
78
+              name: "1-4",
79
+              label: "医嘱管理"
80
+            },
81
+            {
82
+              name: "1-2",
83
+              label: "病程管理"
84
+            },
85
+            {
86
+              name: "1-3",
87
+              label: "检验检查"
88
+            },
89
+            {
90
+              name: "1-5",
91
+              label: "抢救记录"
92
+            }
93
+          ]
94
+        },
95
+        {
96
+          name: "2",
97
+          label: "透析管理",
98
+          children: [
99
+            {
100
+              name: "2-1",
101
+              label: "长期透析处方"
102
+            },
103
+            {
104
+              name: "2-2",
105
+              label: "透析记录"
106
+            },
107
+            {
108
+              name: "2-4",
109
+              label: "排班信息"
110
+            },
111
+            {
112
+              name: "2-5",
113
+              label: "宣教信息"
114
+            }
115
+          ]
116
+        }
117
+      ]
118
+    };
119
+  },
120
+  methods: {
121
+    handleNodeClick(data) {
122
+      var name = data.name;
123
+      if (name == "1-1") {
124
+        this.$router.push({ path: "/patients/patient/" + this.id });
125
+      } else if (name == "1-2") {
126
+        this.$router.push({ path: "/patients/course?id=" + this.id });
127
+      } else if (name == "1-3") {
128
+        this.$router.push({ path: "/patients/inspection?id=" + this.id });
129
+      } else if (name == "1-4") {
130
+        this.$router.push({
131
+          path: "/patients/patient/" + this.id + "/doctorAdvice"
132
+        });
133
+      } else if (name == "1-5") {
134
+        this.$router.push({ path: "/patients/rescue?id=" + this.id });
135
+      } else if (name == "2-1") {
136
+        this.$router.push({
137
+          path: "/patients/patient/" + this.id + "/dialysisSolution"
138
+        });
139
+      } else if (name == "2-2") {
140
+        this.$router.push({
141
+          path: "/patients/patient/" + this.id + "/dialysisRecord"
142
+        });
143
+      } else if (name == "2-4") {
144
+        this.$router.push({
145
+          path: "/patients/patient/" + this.id + "/scheduling"
146
+        });
147
+      } else if (name == "2-5") {
148
+        this.$router.push({
149
+          path: "/patients/patient/" + this.id + "/proeducation"
150
+        });
130
       }
151
       }
131
     },
152
     },
132
-    methods: {
133
-      
134
-      handleNodeClick(data) {
135
-        var name = data.name;
136
-        if (name=='1-1') {
137
-          this.$router.push({path:'/patients/patient/' + this.id});
138
-        } else if (name=='1-2') {
139
-          this.$router.push({path:'/patients/course?id='+this.id});
140
-        } else if (name=='1-3') {
141
-          this.$router.push({path:'/patients/inspection?id='+this.id});
142
-        } else if (name=='1-4') {
143
-          this.$router.push({path:'/patients/patient/'+this.id+'/doctorAdvice'});
144
-        } else if (name=='1-5') {
145
-          this.$router.push({path:'/patients/rescue?id='+this.id});
146
-        } else if (name=='2-1') {
147
-          this.$router.push({path:'/patients/patient/'+this.id+'/dialysisSolution'});
148
-        }else if (name=='2-2') {
149
-          this.$router.push({path:'/patients/patient/'+this.id+'/dialysisRecord'});
150
-        }else if (name=='2-4') {
151
-          this.$router.push({path:'/patients/patient/'+this.id+'/scheduling'});
152
-        }else if (name=='2-5') {
153
-          this.$router.push({path:'/patients/patient/'+this.id+'/proeducation'});
154
-        }
155
-      },
156
-      changePatient(value) {
157
-        console.log(value)
158
-        this.$router.push("/patients/patient/" + value);
159
-      },
160
-      getList() {
161
-        fetchAllList().then(response => {
162
-          if (response.data.state == 1) {
163
-            this.patientsList = response.data.data.patients;
164
-            var len = this.patientsList.length;
165
-            if (len > 0) {
166
-              for (let index = 0; index < len; index++) {
167
-                if (this.patientsList[index].id == this.id) {
168
-                  this.currentPatient = this.patientsList[index];
153
+    changePatient(value) {
154
+      console.log(value);
155
+      this.$router.push("/patients/patient/" + value);
156
+    },
157
+    getList() {
158
+      fetchAllList().then(response => {
159
+        if (response.data.state == 1) {
160
+          this.patientsList = response.data.data.patients;
161
+          var len = this.patientsList.length;
162
+          if (len > 0) {
163
+            for (let index = 0; index < len; index++) {
164
+              if (this.patientsList[index].id == this.id) {
165
+                this.currentPatient = this.patientsList[index];
169
 
166
 
170
-                  this.selectID = this.patientsList[index].id;
171
-                  this.$emit('tran-patient', this.currentPatient);
172
-                  break;
173
-                }
167
+                this.selectID = this.patientsList[index].id;
168
+                this.$emit("tran-patient", this.currentPatient);
169
+                break;
174
               }
170
               }
175
             }
171
             }
176
           }
172
           }
177
-        });
178
-      },
179
-      tranAge(birthday) {
180
-        var birth = uParseTime(birthday, '{y}-{m}-{d}');
181
-        return jsGetAge(birth, '-');
182
-      },
183
-      tranSex(gender) {
184
-        var sex = "未知";
185
-        switch (gender) {
186
-          case 1:
187
-            sex = "男"
188
-            break;
189
-          case 2:
190
-            sex = "女"
191
-            break;
192
-          default:
193
-            break;
194
-        }
195
-        return sex;
196
-      },querySearchAsync(keyword,cb){
197
-        let key = ""
198
-        if(keyword != undefined){
199
-          key = keyword
200
         }
173
         }
201
-        let searchArray = []
202
-        PostSearch(key).then(response => {
203
-          if (response.data.state == 1) {
204
-            searchArray =response.data.data.patient
205
-            cb(searchArray)
206
-          }else{
207
-            this.$message.error(response.data.msg);
208
-            cb([])
209
-
210
-          }
211
-
212
-        });
213
-
214
-      },handleSelect(val){
215
-        this.$router.push("/patients/patient/" + val.id);
216
-
217
-
174
+      });
175
+    },
176
+    tranAge(birthday) {
177
+      var birth = uParseTime(birthday, "{y}-{m}-{d}");
178
+      return jsGetAge(birth, "-");
179
+    },
180
+    tranSex(gender) {
181
+      var sex = "未知";
182
+      switch (gender) {
183
+        case 1:
184
+          sex = "男";
185
+          break;
186
+        case 2:
187
+          sex = "女";
188
+          break;
189
+        default:
190
+          break;
218
       }
191
       }
219
-
192
+      return sex;
220
     },
193
     },
221
-    created() {
222
-      this.treeKey = this.defaultActive;
223
-      this.getList();
194
+    querySearchAsync(keyword, cb) {
195
+      let key = "";
196
+      if (keyword != undefined) {
197
+        key = keyword;
198
+      }
199
+      let searchArray = [];
200
+      PostSearch(key).then(response => {
201
+        if (response.data.state == 1) {
202
+          searchArray = response.data.data.patient;
203
+          cb(searchArray);
204
+        } else {
205
+          this.$message.error(response.data.msg);
206
+          cb([]);
207
+        }
208
+      });
224
     },
209
     },
225
-  };
226
-</script>
227
-
228
-<style>
229
-
230
-    .el-tree-node__content {
231
-        font-size: 14px;
232
-        height: 40px;
233
-        font-weight: 400;
234
-    }
235
-    .el-tree-node__label:hover {
236
-        color: #0593D3;
237
-    }
238
-    .el-tree-node:focus>.el-tree-node__content {
239
-        color: #0593D3;
240
-    }
241
-    .el-tree-node .el-tree-node.is-current>.el-tree-node__content{
242
-        color: #0593D3;
243
-        /* background-color: transparent; */
210
+    handleSelect(val) {
211
+      this.$router.push("/patients/patient/" + val.id);
244
     }
212
     }
245
-    .el-tree {
246
-      background: #f6f8f9;
247
-    }
248
-  .patient-menu {
249
-    -webkit-transition: width 0.28s;
250
-    transition: width 0.28s;
251
-    width: 180px !important;
252
-    height: 100%;
253
-    position: relative;
254
-    font-size: 0px;
255
-    top: 0;
256
-    float: left;
257
-    bottom: 0;
258
-    left: 0;
259
-    /* z-index: 99; */
260
-    overflow: hidden;
213
+  },
214
+  created() {
215
+    this.treeKey = this.defaultActive;
216
+    this.getList();
261
   }
217
   }
218
+};
219
+</script>
262
 
220
 
263
-  .patient-center-menu .el-icon-arrow-down:before {
264
-    content: '';
265
-  }
221
+<style>
222
+.el-tree-node__content {
223
+  font-size: 14px;
224
+  height: 40px;
225
+  font-weight: 400;
226
+}
227
+.el-tree-node__label:hover {
228
+  color:#409eff;
229
+}
230
+.el-tree-node:focus > .el-tree-node__content {
231
+  color:#409eff;
232
+}
233
+.el-tree-node .el-tree-node.is-current > .el-tree-node__content {
234
+  color:#409eff;
235
+  /* background-color: transparent; */
236
+}
237
+.el-tree {
238
+  background: #f6f8f9;
239
+}
240
+.patient-menu {
241
+  -webkit-transition: width 0.28s;
242
+  transition: width 0.28s;
243
+  width: 180px !important;
244
+  height: 100%;
245
+  position: relative;
246
+  font-size: 0px;
247
+  top: 0;
248
+  float: left;
249
+  bottom: 0;
250
+  left: 0;
251
+  /* z-index: 99; */
252
+  overflow: hidden;
253
+}
266
 
254
 
267
-  .patient-app-container {
268
-    margin-left: 180px;
269
-    background: #fff; 
270
-  }
271
-   .patient-name{
272
-      color: #303133;
273
-      font-size: 15px;
274
-      padding-top: 15px;
275
-      padding-left: 15px;
276
-      display: inline-block;
277
-      
278
-    }
255
+.patient-center-menu .el-icon-arrow-down:before {
256
+  content: "";
257
+}
279
 </style>
258
 </style>

+ 41 - 42
src/xt_pages/user/courseOfDisease.vue View File

5
     </div> -->
5
     </div> -->
6
     <div class="patient-container ">
6
     <div class="patient-container ">
7
         <patient-sidebar :id="patient_id" defaultActive="1-2"></patient-sidebar>
7
         <patient-sidebar :id="patient_id" defaultActive="1-2"></patient-sidebar>
8
-        <div class="container" v-loading="loading">
9
-            <div>
10
-                <span class="filter_title">日期查询</span>
11
-                <el-date-picker v-model="date" type="daterange" range-separator="至" start-placeholde="开始日期" end-placeholde="结束日期" value-format="timestamp" :clearable="false" @change="requestCourseRecords()"></el-date-picker>
12
-                <span style="margin-left: 10px;">
13
-                    <el-button type="primary" @click="show_dialog = true">新增</el-button>
14
-                    <el-button v-show="selectingRows.length > 0" type="danger" @click="deleteAction">删除</el-button>
15
-                </span>
16
-            </div>
17
-            <div class="record">
18
-                <el-row :gutter="15">
19
-                    <el-col :span="10">
20
-                        <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">
21
-                            <el-table-column type="selection" width="40" align="center"></el-table-column>
22
-                            <el-table-column label="记录时间" align="center">
23
-                                <template slot-scope="scope">
24
-                                    {{ recordTime(scope.row.record_time) }}
25
-                                </template>
26
-                            </el-table-column>
27
-                            <el-table-column label="记录医生" align="center">
28
-                                <template slot-scope="scope">
29
-                                    {{ doctorName(scope.row.recorder) }}
30
-                                </template>
31
-                            </el-table-column>
32
-                        </el-table>
33
-                    </el-col>
34
-                    <el-col :span="14">
35
-                        <div class="record_content_panel">
36
-                            <div class="title">病程内容</div>
37
-                            <div class="content">
38
-                                {{ current_select_record == null ? "" : current_select_record.content }}
8
+        <!-- <div class="app-container"> -->
9
+            <div class="container" v-loading="loading">
10
+                <div>
11
+                    <span class="filter_title">日期查询</span>
12
+                    <el-date-picker size="small" v-model="date" type="daterange" range-separator="至" start-placeholde="开始日期" end-placeholde="结束日期" value-format="timestamp" :clearable="false" @change="requestCourseRecords()"></el-date-picker>
13
+                    <span style="margin-left: 10px;">
14
+                        <el-button type="primary" icon="el-icon-circle-plus-outline" size="small" @click="show_dialog = true">新增</el-button>
15
+                        <el-button  size="small" v-show="selectingRows.length > 0" type="danger" @click="deleteAction">删除</el-button>
16
+                    </span>
17
+                </div>
18
+                <div class="record">
19
+                    <el-row :gutter="15">
20
+                        <el-col :span="10">
21
+                            <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">
22
+                                <el-table-column type="selection" width="40" align="center"></el-table-column>
23
+                                <el-table-column label="记录时间" align="center">
24
+                                    <template slot-scope="scope">
25
+                                        {{ recordTime(scope.row.record_time) }}
26
+                                    </template>
27
+                                </el-table-column>
28
+                                <el-table-column label="记录医生" align="center">
29
+                                    <template slot-scope="scope">
30
+                                        {{ doctorName(scope.row.recorder) }}
31
+                                    </template>
32
+                                </el-table-column>
33
+                            </el-table>
34
+                        </el-col>
35
+                        <el-col :span="14">
36
+                            <div class="record_content_panel">
37
+                                <div class="title">病程内容</div>
38
+                                <div class="content">
39
+                                    {{ current_select_record == null ? "" : current_select_record.content }}
40
+                                </div>
39
                             </div>
41
                             </div>
40
-                        </div>
41
-                    </el-col>
42
-                </el-row>
42
+                        </el-col>
43
+                    </el-row>
44
+                </div>
43
             </div>
45
             </div>
44
-        </div>
45
-
46
+        <!-- </div> -->
46
         <el-dialog title="新增病程记录" width="40%" top="5vh" :visible.sync="show_dialog" :before-close="willCloseDialog">
47
         <el-dialog title="新增病程记录" width="40%" top="5vh" :visible.sync="show_dialog" :before-close="willCloseDialog">
47
             <div>
48
             <div>
48
                 <div class="new_record_form">
49
                 <div class="new_record_form">
232
 <style rel="stylesheet/css" lang="scss" scoped>
233
 <style rel="stylesheet/css" lang="scss" scoped>
233
 .container {
234
 .container {
234
     margin-left: 180px;
235
     margin-left: 180px;
235
-    padding: 0 20px;
236
+    padding: 20px;
237
+    background: #fff;
238
+    min-height: calc(100vh - 173px);
239
+    margin-bottom: 15px;
236
 
240
 
237
     .record {
241
     .record {
238
         padding-top: 20px;
242
         padding-top: 20px;
239
     }
243
     }
240
 }
244
 }
241
-.filter_title {
242
-    font-size: 14px;
243
-    color: gray;
244
-    margin-right: 6px;
245
-}
246
 .record_content_panel {
245
 .record_content_panel {
247
     border-width: 1px;
246
     border-width: 1px;
248
     border-style: solid;
247
     border-style: solid;

+ 3 - 10
src/xt_pages/user/dialysisSolution.1.vue View File

239
   <el-dialog
239
   <el-dialog
240
     :title="isEdit?'编辑透析方案':'新增透析方案'"
240
     :title="isEdit?'编辑透析方案':'新增透析方案'"
241
     :visible.sync="dialogVisible"
241
     :visible.sync="dialogVisible"
242
-    width="700px">
242
+    width="1010px">
243
     <el-form ref="addPlan" :model="addPlan" :rules="addPlanRules" label-width="85px">
243
     <el-form ref="addPlan" :model="addPlan" :rules="addPlanRules" label-width="85px">
244
       <el-row :gutter="20"> 
244
       <el-row :gutter="20"> 
245
         <el-col style="" :span="12"  >
245
         <el-col style="" :span="12"  >
317
       </el-form-item>
317
       </el-form-item>
318
     </el-form>
318
     </el-form>
319
     <div slot="footer" class="dialog-footer">
319
     <div slot="footer" class="dialog-footer">
320
-      <el-button type="warning" @click="submitEditChildSolution('childPlan')" v-if="isChildEdit">保 存</el-button>
320
+      <el-button type="primary" @click="submitEditChildSolution('childPlan')" v-if="isChildEdit">保 存</el-button>
321
       <el-button type="primary" @click="submitNewChildSolution('childPlan')" v-else>保 存</el-button>
321
       <el-button type="primary" @click="submitNewChildSolution('childPlan')" v-else>保 存</el-button>
322
       <el-button @click="dialogFormVisible = false">取 消</el-button>
322
       <el-button @click="dialogFormVisible = false">取 消</el-button>
323
     </div>
323
     </div>
979
       margin: 0 20px 0 0;
979
       margin: 0 20px 0 0;
980
     }
980
     }
981
   }
981
   }
982
-  .sum {
983
-    border: 1px #ebeef5 solid;
984
-    border-top: none;
985
-    border-bottom: none;
986
-    padding: 10px 0 10px 15px;
987
-    font-size: 15px;
988
-    color: #909399;
989
-  }
982
+
990
 }
983
 }
991
 .form-table {
984
 .form-table {
992
   border: 1px #ebeef5 solid;
985
   border: 1px #ebeef5 solid;

+ 35 - 42
src/xt_pages/user/dialysisSolution.vue View File

4
    <div class="patient-app-container app-container">
4
    <div class="patient-app-container app-container">
5
     <div class="Total">
5
     <div class="Total">
6
       <!-- <div class="plan" >透析计划</div> -->
6
       <!-- <div class="plan" >透析计划</div> -->
7
-      <table-title title="长期透析处方"></table-title>
7
+      <!-- <table-title title="长期透析处方"></table-title> -->
8
       <div class="sum">
8
       <div class="sum">
9
         <!-- <span>透析总频率:<el-input :value="totalrate" disabled style="width:180px"></el-input></span> -->
9
         <!-- <span>透析总频率:<el-input :value="totalrate" disabled style="width:180px"></el-input></span> -->
10
-        <el-button type="primary" icon="el-icon-plus" size="medium" @click="openNew" :disabled="$store.getters.xt_user.subscibe.state==3?true:false">新增透析处方</el-button>
10
+        <el-button type="primary" size="small" icon="el-icon-plus"  @click="openNew" :disabled="$store.getters.xt_user.subscibe.state==3?true:false">新增透析处方</el-button>
11
       </div>
11
       </div>
12
     </div>
12
     </div>
13
     <el-table ref="solutionTable" :data="tableData" border fit highlight-current-row
13
     <el-table ref="solutionTable" :data="tableData" border fit highlight-current-row
129
   <el-dialog
129
   <el-dialog
130
     :title="isEdit?'编辑透析处方':'新增透析处方'"
130
     :title="isEdit?'编辑透析处方':'新增透析处方'"
131
     :visible.sync="dialogVisible"
131
     :visible.sync="dialogVisible"
132
-    width="850px">
132
+    width="1010px">
133
     <el-form ref="addPlan" :model="addPlan" :rules="addPlanRules" label-width="160px">
133
     <el-form ref="addPlan" :model="addPlan" :rules="addPlanRules" label-width="160px">
134
       <el-row :gutter="20">
134
       <el-row :gutter="20">
135
-        <el-col style="width:380px" :span="12"  >
136
-            <el-form-item label="透析模式:" prop="mode">
135
+        <el-col  :span="8" style="height:59px;" >
136
+            <el-form-item label="透析模式:" prop="mode" >
137
               <el-select v-model="addPlan.mode" @change="addPlanModeChange" :disabled="isEdit?true:false" >
137
               <el-select v-model="addPlan.mode" @change="addPlanModeChange" :disabled="isEdit?true:false" >
138
                 <el-option v-for="item in modeOptions"  :label="item.name" :key="item.id" :value="item.id"></el-option>
138
                 <el-option v-for="item in modeOptions"  :label="item.name" :key="item.id" :value="item.id"></el-option>
139
               </el-select>
139
               </el-select>
140
             </el-form-item>
140
             </el-form-item>
141
         </el-col>
141
         </el-col>
142
 
142
 
143
-        <el-col style="width:380px" :span="12"  >
143
+        <el-col  :span="8"  >
144
           <el-form-item label="透析时长(h):" prop="dialysis_duration">
144
           <el-form-item label="透析时长(h):" prop="dialysis_duration">
145
             <!-- <el-input v-model="addPlan.dialysis_duration"></el-input> -->
145
             <!-- <el-input v-model="addPlan.dialysis_duration"></el-input> -->
146
              <el-time-picker
146
              <el-time-picker
159
           </el-form-item>
159
           </el-form-item>
160
         </el-col>
160
         </el-col>
161
 
161
 
162
-        <!-- <el-col style="width:380px"  :span="12">
162
+        <!-- <el-col   :span="8">
163
           <el-form-item label="透析器:" prop="dialyzer">
163
           <el-form-item label="透析器:" prop="dialyzer">
164
               <el-select v-model="addPlan.dialyzer" placeholder="" >
164
               <el-select v-model="addPlan.dialyzer" placeholder="" >
165
                 <el-option v-for="item in deviceList"  :label="item.name" :key="item.id" :value="item.id"></el-option>
165
                 <el-option v-for="item in deviceList"  :label="item.name" :key="item.id" :value="item.id"></el-option>
166
               </el-select>
166
               </el-select>
167
           </el-form-item>
167
           </el-form-item>
168
         </el-col> -->
168
         </el-col> -->
169
-        <!-- <el-col style="width:380px"  :span="12">
169
+        <!-- <el-col   :span="8">
170
           <el-form-item label="透析器:" prop="hemodialysis_machine">
170
           <el-form-item label="透析器:" prop="hemodialysis_machine">
171
               <el-select v-model="addPlan.hemodialysis_machine" placeholder="" >
171
               <el-select v-model="addPlan.hemodialysis_machine" placeholder="" >
172
                 <el-option v-for="item in hemodialysis_machines"  :label="item.name" :key="item.id" :value="item.id"></el-option>
172
                 <el-option v-for="item in hemodialysis_machines"  :label="item.name" :key="item.id" :value="item.id"></el-option>
173
               </el-select>
173
               </el-select>
174
           </el-form-item>
174
           </el-form-item>
175
         </el-col> -->
175
         </el-col> -->
176
-        <!-- <el-col style="width:380px"  :span="12">
176
+        <!-- <el-col   :span="8">
177
           <el-form-item label="灌流器:" prop="perfusion_apparatus">
177
           <el-form-item label="灌流器:" prop="perfusion_apparatus">
178
               <el-select v-model="addPlan.perfusion_apparatus" placeholder="" >
178
               <el-select v-model="addPlan.perfusion_apparatus" placeholder="" >
179
                 <el-option v-for="item in perfusion_apparatus"  :label="item.name" :key="item.id" :value="item.id"></el-option>
179
                 <el-option v-for="item in perfusion_apparatus"  :label="item.name" :key="item.id" :value="item.id"></el-option>
180
               </el-select>
180
               </el-select>
181
           </el-form-item>
181
           </el-form-item>
182
         </el-col> -->
182
         </el-col> -->
183
-        <el-col style="width:380px" :span="12">
183
+        <el-col  :span="8">
184
           <el-form-item label="血流量(ml/min):" prop="blood_flow_volume">
184
           <el-form-item label="血流量(ml/min):" prop="blood_flow_volume">
185
             <el-input v-model="addPlan.blood_flow_volume" ></el-input>
185
             <el-input v-model="addPlan.blood_flow_volume" ></el-input>
186
           </el-form-item>
186
           </el-form-item>
187
         </el-col>
187
         </el-col>
188
-        <el-col style="width:380px" :span="12">
188
+        <el-col  :span="8">
189
           <el-form-item label="目标超滤量(ml) : " prop="target_ultrafiltration">
189
           <el-form-item label="目标超滤量(ml) : " prop="target_ultrafiltration">
190
             <el-input v-model="addPlan.target_ultrafiltration" type="number"></el-input>
190
             <el-input v-model="addPlan.target_ultrafiltration" type="number"></el-input>
191
           </el-form-item>
191
           </el-form-item>
192
         </el-col>
192
         </el-col>
193
 
193
 
194
-        <el-col style="width:380px" :span="12">
194
+        <el-col  :span="8">
195
           <el-form-item label="透析液配方:" prop="dialysate_formulation" >
195
           <el-form-item label="透析液配方:" prop="dialysate_formulation" >
196
             <el-select v-model="addPlan.dialysate_formulation"  >
196
             <el-select v-model="addPlan.dialysate_formulation"  >
197
               <el-option v-for="item in dialysate_formulation"  :label="item.name" :key="item.id" :value="item.id"></el-option>
197
               <el-option v-for="item in dialysate_formulation"  :label="item.name" :key="item.id" :value="item.id"></el-option>
198
             </el-select>
198
             </el-select>
199
          </el-form-item>
199
          </el-form-item>
200
         </el-col>
200
         </el-col>
201
-        <!-- <el-col style="width:380px" :span="12">
201
+        <!-- <el-col  :span="12">
202
           <el-form-item label="脱水量(L):" prop="dewater">
202
           <el-form-item label="脱水量(L):" prop="dewater">
203
             <el-input v-model="addPlan.dewater" ></el-input>
203
             <el-input v-model="addPlan.dewater" ></el-input>
204
           </el-form-item>
204
           </el-form-item>
205
         </el-col> -->
205
         </el-col> -->
206
-        <!-- <el-col style="width:380px" :span="12">
206
+        <!-- <el-col  :span="12">
207
           <el-form-item label="置换液(L):" prop="displace_liqui">
207
           <el-form-item label="置换液(L):" prop="displace_liqui">
208
             <el-input v-model="addPlan.displace_liqui" ></el-input>
208
             <el-input v-model="addPlan.displace_liqui" ></el-input>
209
           </el-form-item>
209
           </el-form-item>
210
         </el-col>
210
         </el-col>
211
-        <el-col style="width:380px" :span="12">
211
+        <el-col  :span="12">
212
           <el-form-item label="置换方式:" prop="replacement_way" >
212
           <el-form-item label="置换方式:" prop="replacement_way" >
213
             <el-select v-model="addPlan.replacement_way"  >
213
             <el-select v-model="addPlan.replacement_way"  >
214
               <el-option v-for="item in replacementWays"  :label="item.name" :key="item.id" :value="item.id"></el-option>
214
               <el-option v-for="item in replacementWays"  :label="item.name" :key="item.id" :value="item.id"></el-option>
215
             </el-select>
215
             </el-select>
216
           </el-form-item>
216
           </el-form-item>
217
         </el-col> -->
217
         </el-col> -->
218
-        <el-col style="width:380px" :span="12">
218
+        <el-col  :span="8">
219
           <el-form-item label="抗凝剂:" prop="anticoagulant" >
219
           <el-form-item label="抗凝剂:" prop="anticoagulant" >
220
             <el-select v-model="addPlan.anticoagulant" @change="changeThisAnticoagulant" >
220
             <el-select v-model="addPlan.anticoagulant" @change="changeThisAnticoagulant" >
221
               <el-option v-for="item in anticoagulantsConfit"  :label="item.name" :key="item.id" :value="item.id"></el-option>
221
               <el-option v-for="item in anticoagulantsConfit"  :label="item.name" :key="item.id" :value="item.id"></el-option>
222
             </el-select>
222
             </el-select>
223
          </el-form-item>
223
          </el-form-item>
224
         </el-col>
224
         </el-col>
225
-        <el-col style="width:380px" :span="12" v-if="anticoagulant.shouji != -1">
225
+        <el-col  :span="8" v-if="anticoagulant.shouji != -1">
226
             <el-form-item :label="'首剂('+anticoagulant.shouji_unit+'): '" prop="anticoagulant_shouji" >
226
             <el-form-item :label="'首剂('+anticoagulant.shouji_unit+'): '" prop="anticoagulant_shouji" >
227
              <el-input v-model="addPlan.anticoagulant_shouji" :disabled="anticoagulant.shouji==1?false:true"></el-input>
227
              <el-input v-model="addPlan.anticoagulant_shouji" :disabled="anticoagulant.shouji==1?false:true"></el-input>
228
             </el-form-item>
228
             </el-form-item>
229
         </el-col>
229
         </el-col>
230
-        <el-col style="width:380px" :span="12"  v-if="anticoagulant.weichi != -1">
230
+        <el-col  :span="8"  v-if="anticoagulant.weichi != -1">
231
             <el-form-item :label="'维持('+anticoagulant.weichi_unit+'): '" prop="anticoagulant_weichi" >
231
             <el-form-item :label="'维持('+anticoagulant.weichi_unit+'): '" prop="anticoagulant_weichi" >
232
              <el-input v-model="addPlan.anticoagulant_weichi" :disabled="anticoagulant.weichi==1?false:true"></el-input>
232
              <el-input v-model="addPlan.anticoagulant_weichi" :disabled="anticoagulant.weichi==1?false:true"></el-input>
233
             </el-form-item>
233
             </el-form-item>
234
         </el-col>
234
         </el-col>
235
-        <el-col style="width:380px" :span="12" v-if="anticoagulant.zongliang != -1">
235
+        <el-col  :span="8" v-if="anticoagulant.zongliang != -1">
236
             <el-form-item :label="'总量('+anticoagulant.zongliang_unit+'): '" prop="anticoagulant_zongliang" >
236
             <el-form-item :label="'总量('+anticoagulant.zongliang_unit+'): '" prop="anticoagulant_zongliang" >
237
              <el-input v-model="addPlan.anticoagulant_zongliang" :disabled="anticoagulant.zongliang==1?false:true" ></el-input>
237
              <el-input v-model="addPlan.anticoagulant_zongliang" :disabled="anticoagulant.zongliang==1?false:true" ></el-input>
238
             </el-form-item>
238
             </el-form-item>
239
         </el-col>
239
         </el-col>
240
-        <el-col style="width:380px" :span="12" v-if="anticoagulant.gaimingcheng != -1">
240
+        <el-col  :span="8" v-if="anticoagulant.gaimingcheng != -1">
241
             <el-form-item :label="'钙('+anticoagulant.gaimingcheng_unit+'): '" prop="anticoagulant_gaimingcheng">
241
             <el-form-item :label="'钙('+anticoagulant.gaimingcheng_unit+'): '" prop="anticoagulant_gaimingcheng">
242
              <el-input v-model="addPlan.anticoagulant_gaimingcheng" :disabled="anticoagulant.gaimingcheng==1?false:true" placeholder="钙名称" ></el-input>
242
              <el-input v-model="addPlan.anticoagulant_gaimingcheng" :disabled="anticoagulant.gaimingcheng==1?false:true" placeholder="钙名称" ></el-input>
243
             </el-form-item>
243
             </el-form-item>
244
         </el-col>
244
         </el-col>
245
-        <el-col style="width:380px" :span="12"  v-if="anticoagulant.gaijiliang != -1">
245
+        <el-col  :span="8"  v-if="anticoagulant.gaijiliang != -1">
246
             <el-form-item prop="anticoagulant_gaijiliang">
246
             <el-form-item prop="anticoagulant_gaijiliang">
247
              <el-input v-model="addPlan.anticoagulant_gaijiliang" :disabled="anticoagulant.gaijiliang==1?false:true"  placeholder="钙剂量"></el-input>
247
              <el-input v-model="addPlan.anticoagulant_gaijiliang" :disabled="anticoagulant.gaijiliang==1?false:true"  placeholder="钙剂量"></el-input>
248
             </el-form-item>
248
             </el-form-item>
249
         </el-col>
249
         </el-col>
250
-        <el-col style="width:380px" :span="12">
250
+        <el-col  :span="8">
251
           <el-form-item label="置换量(L) : " prop="replacement_total">
251
           <el-form-item label="置换量(L) : " prop="replacement_total">
252
             <el-input v-model="addPlan.replacement_total" type="number"></el-input>
252
             <el-input v-model="addPlan.replacement_total" type="number"></el-input>
253
           </el-form-item>
253
           </el-form-item>
254
         </el-col>
254
         </el-col>
255
 
255
 
256
         
256
         
257
-        <el-col style="width:380px" :span="12" >
257
+        <el-col  :span="8" >
258
           <el-form-item label="钾(mmol/L): " prop="kalium">
258
           <el-form-item label="钾(mmol/L): " prop="kalium">
259
             <el-input v-model="addPlan.kalium" ></el-input>
259
             <el-input v-model="addPlan.kalium" ></el-input>
260
           </el-form-item>
260
           </el-form-item>
261
         </el-col>
261
         </el-col>
262
-        <el-col style="width:380px" :span="12" >
262
+        <el-col  :span="8" >
263
           <el-form-item label="钠(mmol/L): " prop="sodium">
263
           <el-form-item label="钠(mmol/L): " prop="sodium">
264
             <el-input v-model="addPlan.sodium" ></el-input>
264
             <el-input v-model="addPlan.sodium" ></el-input>
265
           </el-form-item>
265
           </el-form-item>
266
         </el-col>
266
         </el-col>
267
-        <el-col style="width:380px" :span="12" >
267
+        <el-col  :span="8" >
268
           <el-form-item label="钙(mmol/L): " prop="calcium">
268
           <el-form-item label="钙(mmol/L): " prop="calcium">
269
             <el-input v-model="addPlan.calcium" ></el-input>
269
             <el-input v-model="addPlan.calcium" ></el-input>
270
           </el-form-item>
270
           </el-form-item>
271
         </el-col>
271
         </el-col>
272
-        <el-col style="width:380px" :span="12" >
272
+        <el-col  :span="8" >
273
            <el-form-item label="碳酸氢根(mmol/L): " prop="bicarbonate">
273
            <el-form-item label="碳酸氢根(mmol/L): " prop="bicarbonate">
274
              <el-input v-model="addPlan.bicarbonate" ></el-input>
274
              <el-input v-model="addPlan.bicarbonate" ></el-input>
275
            </el-form-item>
275
            </el-form-item>
276
         </el-col>
276
         </el-col>
277
-        <el-col style="width:380px" :span="12">
277
+        <el-col  :span="8">
278
           <el-form-item label="葡萄糖(mmol/L): "  prop="glucose">
278
           <el-form-item label="葡萄糖(mmol/L): "  prop="glucose">
279
               <el-input v-model="addPlan.glucose"></el-input>
279
               <el-input v-model="addPlan.glucose"></el-input>
280
           </el-form-item>
280
           </el-form-item>
281
         </el-col>
281
         </el-col>
282
 
282
 
283
-        <!-- <el-col style="width:380px" :span="12">
283
+        <!-- <el-col  :span="8">
284
           <el-form-item label="干体重(kg): "   prop="dry_weight">
284
           <el-form-item label="干体重(kg): "   prop="dry_weight">
285
               <el-input v-model="addPlan.dry_weight"></el-input>
285
               <el-input v-model="addPlan.dry_weight"></el-input>
286
           </el-form-item>
286
           </el-form-item>
287
         </el-col> -->
287
         </el-col> -->
288
 
288
 
289
 
289
 
290
-        <el-col style="width:380px" :span="12">
290
+        <el-col  :span="8">
291
           <el-form-item label="透析液流量(ml/min): " prop="dialysate_flow">
291
           <el-form-item label="透析液流量(ml/min): " prop="dialysate_flow">
292
               <el-input v-model="addPlan.dialysate_flow"></el-input>
292
               <el-input v-model="addPlan.dialysate_flow"></el-input>
293
           </el-form-item>
293
           </el-form-item>
294
         </el-col>
294
         </el-col>
295
-        <el-col style="width:380px" :span="12">
295
+        <el-col  :span="8">
296
           <el-form-item label="透析液温度(℃): "  prop="dialysate_temperature">
296
           <el-form-item label="透析液温度(℃): "  prop="dialysate_temperature">
297
               <el-input v-model="addPlan.dialysate_temperature"></el-input>
297
               <el-input v-model="addPlan.dialysate_temperature"></el-input>
298
           </el-form-item>
298
           </el-form-item>
299
         </el-col>
299
         </el-col>
300
 
300
 
301
-        <el-col style="width:380px" :span="12">
301
+        <el-col  :span="8">
302
           <el-form-item label="电导率(mS/cm): " prop="conductivity">
302
           <el-form-item label="电导率(mS/cm): " prop="conductivity">
303
               <el-input v-model="addPlan.conductivity"></el-input>
303
               <el-input v-model="addPlan.conductivity"></el-input>
304
           </el-form-item>
304
           </el-form-item>
305
         </el-col>
305
         </el-col>
306
       </el-row>
306
       </el-row>
307
-      <el-row :gutter="20">
308
-        <el-col style="width:760px" :span="24">
307
+      <el-row :gutter="24">
308
+        <el-col  :span="24">
309
           <el-form-item label="备注: "  prop="remark">
309
           <el-form-item label="备注: "  prop="remark">
310
               <el-input
310
               <el-input
311
               type="textarea"
311
               type="textarea"
319
      </el-form>
319
      </el-form>
320
       <span slot="footer" class="dialog-footer">
320
       <span slot="footer" class="dialog-footer">
321
         <el-button @click="dialogVisible = false">取 消</el-button>
321
         <el-button @click="dialogVisible = false">取 消</el-button>
322
-        <el-button type="warning" @click="submitEditSolution('addPlan')" v-if="isEdit" :disabled="$store.getters.xt_user.subscibe.state==3?true:false">保 存</el-button>
322
+        <el-button type="primary" @click="submitEditSolution('addPlan')" v-if="isEdit" :disabled="$store.getters.xt_user.subscibe.state==3?true:false">保 存</el-button>
323
         <el-button type="primary" @click="submitNewSolution('addPlan')" v-else :disabled="$store.getters.xt_user.subscibe.state==3?true:false">保 存</el-button>
323
         <el-button type="primary" @click="submitNewSolution('addPlan')" v-else :disabled="$store.getters.xt_user.subscibe.state==3?true:false">保 存</el-button>
324
       </span>
324
       </span>
325
   </el-dialog>
325
   </el-dialog>
1121
       margin: 0 20px 0 0;
1121
       margin: 0 20px 0 0;
1122
     }
1122
     }
1123
   }
1123
   }
1124
-  .sum {
1125
-    border: 1px #ebeef5 solid;
1126
-    border-top: none;
1127
-    border-bottom: none;
1128
-    padding: 10px 0 10px 15px;
1129
-    font-size: 15px;
1130
-    color: #909399;
1131
-  }
1124
+  
1132
 }
1125
 }
1133
 .form-table {
1126
 .form-table {
1134
   border: 1px #ebeef5 solid;
1127
   border: 1px #ebeef5 solid;

+ 14 - 10
src/xt_pages/user/doctorAdvice.vue View File

3
         <patient-sidebar :id="patientID" defaultActive="1-4" v-on:tran-patient="onTranPatient"></patient-sidebar>
3
         <patient-sidebar :id="patientID" defaultActive="1-4" v-on:tran-patient="onTranPatient"></patient-sidebar>
4
         <div class="patient-app-container advice-container app-container">
4
         <div class="patient-app-container advice-container app-container">
5
             <div class="filter-container">
5
             <div class="filter-container">
6
-                <el-input   style="width: 400px;" v-model="listQuery.keywords" class="filter-item" />
7
-                <el-button  class="filter-item" type="primary" icon="el-icon-search" @click="changeKey" >搜索</el-button>
8
-                <el-button  class="filter-item" style="float:right;" @click="printThisInfo()" :type="adviceType==1 || adviceType == 3?'primary':'warning'" icon="el-icon-printer" >打印医嘱</el-button>
9
-                <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" class="filter-item" style="float:right;" @click="openNew" type="primary" icon="el-icon-plus" >新增医嘱</el-button>
6
+                <el-input   style="width: 400px;" v-model="listQuery.keywords" class="filter-item" size="small" />
7
+                <el-button  class="filter-item" size="small" type="primary" icon="el-icon-search" @click="changeKey" >搜索</el-button>
8
+                <el-button  class="filter-item" size="small" style="float:right;" @click="printThisInfo()" :type="adviceType==1 || adviceType == 3?'primary':'warning'" icon="el-icon-printer" >打印</el-button>
9
+                <el-button :disabled="$store.getters.xt_user.subscibe.state==3?true:false" size="small" class="filter-item" style="float:right;" @click="openNew" type="primary" icon="el-icon-circle-plus-outline" >新增</el-button>
10
             </div>
10
             </div>
11
             <div class="cell clearfix">
11
             <div class="cell clearfix">
12
                 <label class="title"><span class="name">医嘱类型</span> : </label>
12
                 <label class="title"><span class="name">医嘱类型</span> : </label>
26
             </div>
26
             </div>
27
             <div class="cell clearfix">
27
             <div class="cell clearfix">
28
                 <label class="title"><span class="name">日期查询</span> : </label>
28
                 <label class="title"><span class="name">日期查询</span> : </label>
29
-                <el-date-picker v-model="listQuery.start_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" :picker-options="pickerOptions"  format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
29
+                <el-date-picker size="small" v-model="listQuery.start_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" :picker-options="pickerOptions"  format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
30
                 <span class="">-</span>
30
                 <span class="">-</span>
31
-                <el-date-picker v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" :picker-options="pickerOptions"  format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>
31
+                <el-date-picker size="small" v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" :picker-options="pickerOptions"  format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>
32
             </div>
32
             </div>
33
             <el-table @cell-click="clickuseradvicecell" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"  row-class-name="user-advice-table-row" :span-method="mergeSpan" ref="multipleTable" :data="adviceTableData" border fit highlight-current-row @select="selectAdvice" @selection-change="changeAdvice" style="width: 100%;margin-top: 10px;" >
33
             <el-table @cell-click="clickuseradvicecell" :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}"  row-class-name="user-advice-table-row" :span-method="mergeSpan" ref="multipleTable" :data="adviceTableData" border fit highlight-current-row @select="selectAdvice" @selection-change="changeAdvice" style="width: 100%;margin-top: 10px;" >
34
 
34
 
190
                 </template> -->
190
                 </template> -->
191
                   <el-table-column  label="操作" width="180" align="center"  fixed="right">
191
                   <el-table-column  label="操作" width="180" align="center"  fixed="right">
192
                       <template slot-scope="scope">
192
                       <template slot-scope="scope">
193
-                        <el-button-group>
194
-                          <el-button type="primary" size="mini" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" @click="scope.row.groupno>0?openEditGroupAdvice(scope.row.groupno):openEdit(scope.$index, scope.row)" v-if="isShowStartTime(scope.$index, scope.row)">编辑</el-button>
195
-                          <el-button type="danger" size="mini" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" @click="scope.row.groupno>0?DeleteGroupAdvice(scope.row.groupno):openDelete(scope.$index, scope.row)" v-if="isShowStartTime(scope.$index, scope.row)">删除</el-button>
196
-                        </el-button-group>
193
+                        <!-- <el-button-group> -->
194
+                          <el-tooltip  class="item" effect="dark" content="编辑" placement="top">
195
+                            <el-button icon="el-icon-edit-outline" type="primary"  size="small" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" @click="scope.row.groupno>0?openEditGroupAdvice(scope.row.groupno):openEdit(scope.$index, scope.row)" v-if="isShowStartTime(scope.$index, scope.row)"></el-button>
196
+                          </el-tooltip>
197
+                          <el-tooltip class="item" effect="dark" content="删除" placement="top">
198
+                            <el-button icon="el-icon-delete" type="danger" size="small" :disabled="$store.getters.xt_user.subscibe.state==3?true:false" @click="scope.row.groupno>0?DeleteGroupAdvice(scope.row.groupno):openDelete(scope.$index, scope.row)" v-if="isShowStartTime(scope.$index, scope.row)"></el-button>
199
+                          </el-tooltip>
200
+                      <!-- </el-button-group> -->
197
                       </template>
201
                       </template>
198
                   </el-table-column>
202
                   </el-table-column>
199
             </el-table>
203
             </el-table>

+ 3 - 3
src/xt_pages/user/inspection.vue View File

22
         </el-col>
22
         </el-col>
23
         <el-col :span="17" v-loading="itemLoading">
23
         <el-col :span="17" v-loading="itemLoading">
24
           <div class="filter-container" style="float:right">
24
           <div class="filter-container" style="float:right">
25
-            <el-button class="filter-item" type="primary" @click="openNew()" icon="el-icon-plus" :disabled="project?false:true">新增</el-button>
26
-            <el-button class="filter-item" type="primary" icon="el-icon-edit" @click="openEdit()" :disabled="itemDate?false:true">修改</el-button>
27
-            <el-button class="filter-item" type="danger" icon="el-icon-delete" @click="deleteInspection()" :disabled="itemDate?false:true">删除</el-button>
25
+            <el-button size="small" class="filter-item" type="primary" @click="openNew()" icon="el-icon-circle-plus-outline" :disabled="project?false:true">新增</el-button>
26
+            <el-button size="small" class="filter-item" type="primary" icon="el-icon-edit-outline" @click="openEdit()" :disabled="itemDate?false:true">修改</el-button>
27
+            <el-button size="small" class="filter-item" type="danger" icon="el-icon-delete" @click="deleteInspection()" :disabled="itemDate?false:true">删除</el-button>
28
           </div>
28
           </div>
29
           <div class="filter-container" >
29
           <div class="filter-container" >
30
             <el-button class="filter-item" type="text" style="color:#000">{{itemName}} <span v-if="itemDate">(检查日期:{{itemDate}})</span></el-button>
30
             <el-button class="filter-item" type="text" style="color:#000">{{itemName}} <span v-if="itemDate">(检查日期:{{itemDate}})</span></el-button>

+ 2 - 2
src/xt_pages/user/patient.vue View File

13
     </div> -->
13
     </div> -->
14
     <div class="cell clearfix">
14
     <div class="cell clearfix">
15
 	    <label class="title"><span class="name">日期查询</span> : </label>
15
 	    <label class="title"><span class="name">日期查询</span> : </label>
16
-       <el-date-picker v-model="listQuery.start_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" :picker-options="pickerOptions1"  format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
16
+       <el-date-picker size="small" v-model="listQuery.start_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
17
        <span class="">-</span>
17
        <span class="">-</span>
18
-       <el-date-picker v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" :picker-options="pickerOptions1"  format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>       
18
+       <el-date-picker size="small" v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>       
19
     </div>
19
     </div>
20
     <div class="cell clearfix">
20
     <div class="cell clearfix">
21
 	    <label class="title"><span class="name">排班班次</span> : </label>
21
 	    <label class="title"><span class="name">排班班次</span> : </label>

+ 2 - 2
src/xt_pages/user/patients.vue View File

13
 
13
 
14
     <div class="cell clearfix">
14
     <div class="cell clearfix">
15
       <label class="title"><span class="name">日期查询</span> : </label>
15
       <label class="title"><span class="name">日期查询</span> : </label>
16
-      <el-date-picker clearable v-model="listQuery.start_time" size="small"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
16
+      <el-date-picker size="small" clearable v-model="listQuery.start_time"   prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
17
       <span class="">-</span>
17
       <span class="">-</span>
18
-      <el-date-picker clearable v-model="listQuery.end_time" size="small"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>
18
+      <el-date-picker size="small" clearable v-model="listQuery.end_time"   prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"   format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>
19
     </div>
19
     </div>
20
     <div class="cell clearfix">
20
     <div class="cell clearfix">
21
       <label class="title"><span class="name">排班班次</span> : </label>
21
       <label class="title"><span class="name">排班班次</span> : </label>

+ 2 - 2
src/xt_pages/user/proeducation.vue View File

4
         <div class="patient-app-container advice-container app-container">
4
         <div class="patient-app-container advice-container app-container">
5
             <div class="cell clearfix">
5
             <div class="cell clearfix">
6
                 <label class="title"><span class="name">日期查询</span> : </label>
6
                 <label class="title"><span class="name">日期查询</span> : </label>
7
-                <el-date-picker v-model="listQuery.start_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
7
+                <el-date-picker size="small" v-model="listQuery.start_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right" format="yyyy-MM-dd" value-format="yyyy-MM-dd" > </el-date-picker>
8
                 <span class="">-</span>
8
                 <span class="">-</span>
9
-                <el-date-picker v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"  format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>       
9
+                <el-date-picker size="small" v-model="listQuery.end_time"  prefix-icon="el-icon-date" @change="changeTime" :editable="false" style="width: 196px;" type="date" placeholder="选择日期时间" align="right"  format="yyyy-MM-dd" value-format="yyyy-MM-dd"> </el-date-picker>       
10
             </div>  
10
             </div>  
11
             <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" ref="multipleTable" :data="edusTableData" border fit highlight-current-row  style="width: 100%;margin-top: 10px;" >
11
             <el-table :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)'}" ref="multipleTable" :data="edusTableData" border fit highlight-current-row  style="width: 100%;margin-top: 10px;" >
12
                 <el-table-column type="index"  label="序号" width="60px" align="center"></el-table-column>
12
                 <el-table-column type="index"  label="序号" width="60px" align="center"></el-table-column>

+ 8 - 9
src/xt_pages/user/rescueRecord.vue View File

4
         <div class="container" v-loading="loading">
4
         <div class="container" v-loading="loading">
5
             <div>
5
             <div>
6
                 <span class="filter_title">日期查询</span>
6
                 <span class="filter_title">日期查询</span>
7
-                <el-date-picker v-model="date" type="daterange" range-separator="至" start-placeholde="开始日期" end-placeholde="结束日期" value-format="timestamp" :clearable="false" @change="requestRescueRecords()"></el-date-picker>
7
+                <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>
8
                 <span style="margin-left: 10px;">
8
                 <span style="margin-left: 10px;">
9
-                    <el-button type="primary" @click="show_dialog = true">新增</el-button>
10
-                    <el-button v-show="selectingRows.length > 0" type="danger" @click="deleteAction">删除</el-button>
9
+                    <el-button size="small" icon="el-icon-circle-plus-outline" type="primary" @click="show_dialog = true">新增</el-button>
10
+                    <el-button size="small" icon="el-icon-delete" v-show="selectingRows.length > 0" type="danger" @click="deleteAction">删除</el-button>
11
                 </span>
11
                 </span>
12
             </div>
12
             </div>
13
             <div class="record">
13
             <div class="record">
222
 <style rel="stylesheet/css" lang="scss" scoped>
222
 <style rel="stylesheet/css" lang="scss" scoped>
223
 .container {
223
 .container {
224
     margin-left: 180px;
224
     margin-left: 180px;
225
-    padding: 0 20px;
225
+    padding: 20px;
226
+    background: #fff;
227
+    min-height: calc(100vh - 173px);
228
+    margin-bottom: 15px;
226
 
229
 
227
     .record {
230
     .record {
228
         padding-top: 20px;
231
         padding-top: 20px;
229
     }
232
     }
230
 }
233
 }
231
-.filter_title {
232
-    font-size: 14px;
233
-    color: gray;
234
-    margin-right: 6px;
235
-}
234
+
236
 .record_content_panel {
235
 .record_content_panel {
237
     border-width: 1px;
236
     border-width: 1px;
238
     border-style: solid;
237
     border-style: solid;

+ 1 - 9
src/xt_pages/user/scheduling.vue View File

2
   <div class="patient-container">
2
   <div class="patient-container">
3
     <patient-sidebar :id="patientID" defaultActive="2-4"></patient-sidebar>
3
     <patient-sidebar :id="patientID" defaultActive="2-4"></patient-sidebar>
4
     <div class="patient-app-container app-container ">
4
     <div class="patient-app-container app-container ">
5
-      <table-title title="排班记录列表"></table-title>
5
+      <!-- <table-title title="排班记录列表"></table-title> -->
6
       <div class="sum">
6
       <div class="sum">
7
           <!-- <span>治疗频率 : 两周5次 </span> -->
7
           <!-- <span>治疗频率 : 两周5次 </span> -->
8
       </div> 
8
       </div> 
144
 </script>
144
 </script>
145
 
145
 
146
 <style rel="stylesheet/css" lang="scss" scoped>
146
 <style rel="stylesheet/css" lang="scss" scoped>
147
- .sum{
148
-    border: 1px #ebeef5 solid;
149
-    border-top: none;  
150
-    border-bottom: none;  
151
-    padding:10px 0 10px 15px;
152
-    font-size: 15px;
153
-    color: #909399;  
154
-  }
155
 
147
 
156
 </style>
148
 </style>

+ 1 - 6
src/xt_pages/user/weight.vue View File

216
 </script>
216
 </script>
217
 <style rel="stylesheet/css" lang="scss" scoped>
217
 <style rel="stylesheet/css" lang="scss" scoped>
218
 .sum{
218
 .sum{
219
-    border: 1px #ebeef5 solid;
220
-    border-top: none;  
221
-    border-bottom: none;  
222
-    padding:10px 0 10px 15px;
223
-    font-size: 15px;
224
-    color: #909399;
219
+
225
     .weight,
220
     .weight,
226
     .Adjust{
221
     .Adjust{
227
         margin: 0 0 0 4px;
222
         margin: 0 0 0 4px;