瀏覽代碼

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

XMLWAN 4 年之前
父節點
當前提交
d2488035f2

+ 4 - 3
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 查看文件

6
     <div class="app-container" style="display:flex;flex: 1;padding: 20px 20px 0px 20px;">
6
     <div class="app-container" style="display:flex;flex: 1;padding: 20px 20px 0px 20px;">
7
       <div class="mainLeft">
7
       <div class="mainLeft">
8
         <div class="mainCell" style="justify-content: space-between;">
8
         <div class="mainCell" style="justify-content: space-between;">
9
-        <p>未就诊:<span>1</span>人</p>
10
-        <p>已就诊:<span>0</span>人</p>
9
+        <p style="font-size:14px;">未就诊:<span>1</span>人</p>
10
+        <p style="font-size:14px;">已就诊:<span>0</span>人</p>
11
         </div>
11
         </div>
12
         <div class="mainCell">
12
         <div class="mainCell">
13
         <el-radio-group v-model="radio" @change="changeRadio">
13
         <el-radio-group v-model="radio" @change="changeRadio">
117
                   <ul class="basicUl">
117
                   <ul class="basicUl">
118
                     <li style="width:50%;">医生:{{ info.doctor }}</li>
118
                     <li style="width:50%;">医生:{{ info.doctor }}</li>
119
                     <li style="width:50%;">科室:{{ info.departments }}</li>
119
                     <li style="width:50%;">科室:{{ info.departments }}</li>
120
-                    <li style="width:50%;">总费用:{{ getTotal() }}</li>
120
+                    <li style="width:100%;">总费用:{{ getTotal() }}</li>
121
 
121
 
122
                     <li style="width:100%;">判断结果:{{info.diagnosis}}</li>
122
                     <li style="width:100%;">判断结果:{{info.diagnosis}}</li>
123
                     <li style="width:100%;">是否有传染病:</li>
123
                     <li style="width:100%;">是否有传染病:</li>
776
     margin-left: 5px;
776
     margin-left: 5px;
777
     display: flex;
777
     display: flex;
778
     flex-direction: column;
778
     flex-direction: column;
779
+    overflow-y: auto;
779
   }
780
   }
780
 
781
 
781
   .RP {
782
   .RP {

+ 1 - 1
src/xt_pages/outpatientCharges/print.vue 查看文件

218
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
218
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
219
 
219
 
220
       const style =
220
       const style =
221
-        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain p{width: 50%;line-height: 1px;}.prescriptionBox{padding:0 10px;height:750px;}.Rp{font-size: 22px;font-weight: bold;line-height:1px;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox p{line-height: 1px;padding-bottom:10px !important;} .drugsOne{line-height: 1px;margin-bottom:10px !important;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';
221
+        '@media print {#prescription-print{font-size:14px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{padding:0 10px;min-height:450px;}.Rp{font-size: 22px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;} .drugsOne{line-height: 1px;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';
222
       printJS({
222
       printJS({
223
         printable: "prescription-print",
223
         printable: "prescription-print",
224
         type: "html",
224
         type: "html",

+ 15 - 15
src/xt_pages/outpatientCharges/template/printOne.vue 查看文件

7
             <p>年龄:12岁</p>
7
             <p>年龄:12岁</p>
8
         </div>
8
         </div>
9
         <div class="infoMain">
9
         <div class="infoMain">
10
-            <p style="margin-bottom: 10px;">门诊号:111111111111</p>
11
-            <p style="margin-bottom: 10px;">科室:全科</p>
12
-            <p style="margin-bottom: 10px;">医保卡号:111111111111</p>
13
-            <p style="margin-bottom: 10px;">电话:111111111111</p>
14
-            <p>地址:加上来看待就卢萨卡的及拉丝机的了</p>
15
-            <p>临床诊断:拉胯手机上的拉丝机的</p>
10
+            <div style="margin-bottom: 10px;">门诊号:111111111111</div>
11
+            <div style="margin-bottom: 10px;">科室:全科</div>
12
+            <div style="margin-bottom: 10px;">医保卡号:111111111111</div>
13
+            <div style="margin-bottom: 10px;">电话:111111111111</div>
14
+            <div>地址:加上来看待就卢萨卡的及拉丝机的了</div>
15
+            <div>临床诊断:拉胯手机上的拉丝机的</div>
16
         </div>
16
         </div>
17
         <div class="prescriptionBox">
17
         <div class="prescriptionBox">
18
-            <p class="Rp">Rp:</p>
18
+            <div class="Rp">Rp:</div>
19
             <div class="drugsBox">
19
             <div class="drugsBox">
20
-                <p class="drugsOne">重组人促红素(CHO细胞)注射液&nbsp;&nbsp;0.5毫升&nbsp;×&nbsp; 2支</p>
21
-                <p style="margin-left:100px;"><span>用法:0.5毫升</span>&nbsp;&nbsp;<span>一天一次</span>&nbsp;&nbsp;<span>静脉注射</span></p>
20
+                <div class="drugsOne">重组人促红素(CHO细胞)注射液&nbsp;&nbsp;0.5毫升&nbsp;×&nbsp; 2支</div>
21
+                <div style="margin-left:100px;"><span>用法:0.5毫升</span>&nbsp;&nbsp;<span>一天一次</span>&nbsp;&nbsp;<span>静脉注射</span></div>
22
             </div>
22
             </div>
23
             <div class="drugsBox">
23
             <div class="drugsBox">
24
-                <p class="drugsOne">重组人促红素(CHO细胞)注射液&nbsp;&nbsp;0.5毫升&nbsp;×&nbsp; 2支</p>
25
-                <p style="margin-left:100px;"><span>用法:0.5毫升</span>&nbsp;&nbsp;<span>一天一次</span>&nbsp;&nbsp;<span>静脉注射</span></p>
24
+                <div class="drugsOne">重组人促红素(CHO细胞)注射液&nbsp;&nbsp;0.5毫升&nbsp;×&nbsp; 2支</div>
25
+                <div style="margin-left:100px;"><span>用法:0.5毫升</span>&nbsp;&nbsp;<span>一天一次</span>&nbsp;&nbsp;<span>静脉注射</span></div>
26
             </div>
26
             </div>
27
         </div>
27
         </div>
28
         <div class="doctorBox">
28
         <div class="doctorBox">
63
     border-bottom: 2px solid #000;
63
     border-bottom: 2px solid #000;
64
     padding:0 10px;
64
     padding:0 10px;
65
 }
65
 }
66
-.infoMain p{
66
+.infoMain div{
67
     width: 50%;
67
     width: 50%;
68
     line-height: 24px;
68
     line-height: 24px;
69
 }
69
 }
70
 .prescriptionBox{
70
 .prescriptionBox{
71
     padding:0 10px;
71
     padding:0 10px;
72
-    height:600px;
72
+    min-height:450px;
73
 }
73
 }
74
 .Rp{
74
 .Rp{
75
     font-size: 22px;
75
     font-size: 22px;
79
     padding-left: 40px;
79
     padding-left: 40px;
80
     margin-bottom: 10px;
80
     margin-bottom: 10px;
81
 }
81
 }
82
-.drugsBox p{
83
-    line-height: 30px;
82
+.drugsBox div{
83
+    line-height: 20px;
84
 }
84
 }
85
 .drugsOne{
85
 .drugsOne{
86
     line-height: 24px;
86
     line-height: 24px;

+ 172 - 124
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

1
 <template>
1
 <template>
2
-  <div style="height: calc(100% - 36px);display: flex;flex-direction: column;margin-top: 36px;">
2
+  <div style="height: calc(100% - 54px);display: flex;flex-direction: column;margin-top: 54px;">
3
     <!-- <div style="border-top:1px solid #e5e5e5;margin-top:5px;">
3
     <!-- <div style="border-top:1px solid #e5e5e5;margin-top:5px;">
4
       <div class="mainCell" style="margin-bottom:10px;float:right">
4
       <div class="mainCell" style="margin-bottom:10px;float:right">
5
         <el-button size="small" @click="open(1)" type="primary" style="margin-left:10px;">保存</el-button>
5
         <el-button size="small" @click="open(1)" type="primary" style="margin-left:10px;">保存</el-button>
8
         <el-button size="small" @click="open(5)" type="primary">存模板</el-button>
8
         <el-button size="small" @click="open(5)" type="primary">存模板</el-button>
9
       </div>
9
       </div>
10
     </div> -->
10
     </div> -->
11
-    <div class="backColor"></div>
11
+    <!-- <div class="backColor"></div> -->
12
     <div class="mainCenter">
12
     <div class="mainCenter">
13
       <div class="centerLeft">
13
       <div class="centerLeft">
14
-        <el-form :model="form" ref="form" label-width="80px">
14
+        <el-form :model="form" ref="form" label-width="80px" style="display: flex;flex-wrap: wrap;justify-content: space-between;">
15
           <el-form-item label="姓名:" prop="name">
15
           <el-form-item label="姓名:" prop="name">
16
             <el-input v-model="patientInfo.name" placeholder="" readonly></el-input>
16
             <el-input v-model="patientInfo.name" placeholder="" readonly></el-input>
17
           </el-form-item>
17
           </el-form-item>
22
           <!--<el-input v-model="hisPatientInfo.register_type" placeholder="" readonly></el-input>-->
22
           <!--<el-input v-model="hisPatientInfo.register_type" placeholder="" readonly></el-input>-->
23
           <!--</el-form-item>-->
23
           <!--</el-form-item>-->
24
           <el-form-item label="挂号类型: " prop="name">
24
           <el-form-item label="挂号类型: " prop="name">
25
-            <el-select style="margin-right:5px;" v-model="register_type" placeholder="">
25
+            <el-select style="width:100%;" v-model="register_type" placeholder="">
26
               <el-option
26
               <el-option
27
                 v-for="(item,index) in this.register_types"
27
                 v-for="(item,index) in this.register_types"
28
                 :key="index"
28
                 :key="index"
32
             </el-select>
32
             </el-select>
33
           </el-form-item>
33
           </el-form-item>
34
           <el-form-item label="医疗类型: " prop="name">
34
           <el-form-item label="医疗类型: " prop="name">
35
-            <el-select style="margin-right:5px;" v-model="register_type" placeholder="">
35
+            <el-select style="width:100%;" v-model="register_type" placeholder="">
36
               <el-option
36
               <el-option
37
                 v-for="(item,index) in getDictionaryDataConfig('system','register_type')"
37
                 v-for="(item,index) in getDictionaryDataConfig('system','register_type')"
38
                 :key="index"
38
                 :key="index"
43
           </el-form-item>
43
           </el-form-item>
44
           <el-form-item label="诊断:" prop="name">
44
           <el-form-item label="诊断:" prop="name">
45
 
45
 
46
-            <el-select style="margin-right:5px;" v-model="state1" placeholder="">
46
+            <el-select style="width:100%;" v-model="state1" placeholder="">
47
               <el-option
47
               <el-option
48
                 v-for="(item,index) in sick"
48
                 v-for="(item,index) in sick"
49
                 :key="index"
49
                 :key="index"
66
         <div class="tabsBox">
66
         <div class="tabsBox">
67
 
67
 
68
           <!--<el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>-->
68
           <!--<el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>-->
69
-          <el-tabs class="preTabs" v-model="editableTabsValue" type="card" closable @tab-remove="removeTab"
69
+          <el-tabs class="preTabs" v-model="editableTabsValue" type="border-card" closable @tab-remove="removeTab"
70
                    :before-leave="moreState" @tab-click="tabclickEvent">
70
                    :before-leave="moreState" @tab-click="tabclickEvent">
71
             <el-tab-pane
71
             <el-tab-pane
72
               v-for="(item, index) in prescriptions"
72
               v-for="(item, index) in prescriptions"
112
         </div>
112
         </div>
113
       </div>
113
       </div>
114
       <div class='centerRight'>
114
       <div class='centerRight'>
115
-        <div class="rightTab">
115
+        <!-- <div class="rightTab">
116
           <p :class="rightTab == 1 ? 'activeP' : ''" @click="clickTab(1)">药品</p>
116
           <p :class="rightTab == 1 ? 'activeP' : ''" @click="clickTab(1)">药品</p>
117
           <p :class="rightTab == 2 ? 'activeP' : ''" @click="clickTab(2)">项目</p>
117
           <p :class="rightTab == 2 ? 'activeP' : ''" @click="clickTab(2)">项目</p>
118
-        </div>
119
-        <template>
120
-          <div style="height:84%;overflow-y: auto;margin-bottom: 60px;" v-show="showOne">
121
-            <el-tabs class="rightTabs" v-model="activeName">
122
-              <el-tab-pane label="药品列表" name="1">
123
-                <div style="margin-bottom:5px;display:flex;">
124
-                  <el-input style="width:50%;"  @input="searchAction" @keyup.enter.native='searchAction' v-model.trim="search_keyword"
125
-                            placeholder="请输入药品名字"></el-input>
126
-                  <el-select style="margin-left:5px;width:50%;" v-model="value" placeholder="" @change="changeKind">
127
-                    <el-option
128
-                      label="全部"
129
-                      value="0">
130
-                    </el-option>
131
-                    <el-option
132
-                      v-for="(item,index) in getDictionaryDataConfig('system','drug_type')"
133
-                      :key="index"
134
-                      :label="item.name"
135
-                      :value="item.id">
136
-                    </el-option>
137
-                  </el-select>
138
-                </div>
139
-                <el-table ref="multipleTable" :data="drugs" border @select='selectDrugs'
140
-                          style="width: 100%;flex:1;overflow-y: auto;"
141
-                          :row-style="{ color: '#303133' }"
142
-                          @select-all="changeAllGoodInfoTableData"
143
-                          :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
144
-                          highlight-current-row>
145
-                  <el-table-column type="selection" width="40" align="center"></el-table-column>
146
-                  <el-table-column prop="name" label="名称">
147
-                    <template slot-scope="scope">{{ scope.row.drug_name }}</template>
148
-                  </el-table-column>
149
-                  <el-table-column label="规格" width="60">
150
-                    <template slot-scope="scope">{{ scope.row.drug_spec }}</template>
151
-                  </el-table-column>
152
-                  <el-table-column label="单价" width="40">
153
-                    <template slot-scope="scope">{{ scope.row.retail_price }}</template>
154
-                  </el-table-column>
155
-                </el-table>
156
-
118
+        </div> -->
119
+        <el-tabs class="borderCard" type="border-card" v-model="rightTab" @tab-click="clickTab">
120
+              <el-tab-pane label="药品" :name="1">
121
+                
157
               </el-tab-pane>
122
               </el-tab-pane>
158
-              <el-tab-pane label="医嘱模板" name="2">
159
-                <div style="margin-bottom:5px;">
160
-                  <!--<el-input style="width:50%;" v-model="input" placeholder=""></el-input>-->
161
-                  <el-select style="float: right;width: 49%;" v-model="value" placeholder="">
162
-                    <el-option
163
-                      v-for="item in options"
164
-                      :key="item.value"
165
-                      :label="item.label"
166
-                      :value="item.value">
167
-                    </el-option>
168
-                  </el-select>
169
-                </div>
170
-                <el-table ref="multipleTableTwo" :data="advices_template" border
171
-                          style="width: 100%;flex:1;overflow-y: auto;"
172
-                          :row-style="{ color: '#303133' }"
173
-                          :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
174
-                          highlight-current-row>
175
-                  <el-table-column type="selection" width="40" align="center"></el-table-column>
176
-                  <el-table-column prop="name" label="名称">
177
-                    <template slot-scope="scope">{{}}</template>
178
-                  </el-table-column>
179
-                  <el-table-column label="规格" width="60">
180
-                    <template slot-scope="scope">33</template>
181
-                  </el-table-column>
182
-                  <el-table-column label="库存" width="60">
183
-                    <template slot-scope="scope">22</template>
184
-                  </el-table-column>
185
-                  <el-table-column label="单价" width="40">
186
-                    <template slot-scope="scope">12</template>
187
-                  </el-table-column>
188
-                </el-table>
123
+              <el-tab-pane label="项目" :name="2">
124
+                
189
               </el-tab-pane>
125
               </el-tab-pane>
190
-            </el-tabs>
191
-          </div>
126
+              <div style="height:100%;" v-show="showOne">
127
+                  <el-tabs class="rightTabs" v-model="activeName">
128
+                    <el-tab-pane label="药品列表" name="1">
129
+                      <div style="margin-bottom:5px;display:flex;">
130
+                        <el-input style="width:50%;"  @input="searchAction" @keyup.enter.native='searchAction' v-model.trim="search_keyword"
131
+                                  placeholder="请输入药品名字"></el-input>
132
+                        <el-select style="margin-left:5px;width:50%;" v-model="value" placeholder="" @change="changeKind">
133
+                          <el-option
134
+                            label="全部"
135
+                            value="0">
136
+                          </el-option>
137
+                          <el-option
138
+                            v-for="(item,index) in getDictionaryDataConfig('system','drug_type')"
139
+                            :key="index"
140
+                            :label="item.name"
141
+                            :value="item.id">
142
+                          </el-option>
143
+                        </el-select>
144
+                      </div>
145
+                      <div style="width: 100%;flex:1;overflow-y: auto;">
146
+                        <el-table ref="multipleTable" :data="drugs" border @select='selectDrugs'
147
+                                  :row-style="{ color: '#303133' }"
148
+                                  @select-all="changeAllGoodInfoTableData"
149
+                                  :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
150
+                                  highlight-current-row>
151
+                          <el-table-column type="selection" width="40" align="center"></el-table-column>
152
+                          <el-table-column prop="name" label="名称">
153
+                            <template slot-scope="scope">{{ scope.row.drug_name }}</template>
154
+                          </el-table-column>
155
+                          <el-table-column label="规格" width="60">
156
+                            <template slot-scope="scope">{{ scope.row.drug_spec }}</template>
157
+                          </el-table-column>
158
+                          <el-table-column label="单价" width="40">
159
+                            <template slot-scope="scope">{{ scope.row.retail_price }}</template>
160
+                          </el-table-column>
161
+                        </el-table>
162
+                      </div>
163
+
164
+                    </el-tab-pane>
165
+                    <el-tab-pane label="医嘱模板" name="2">
166
+                      <div style="margin-bottom:5px;">
167
+                        <!--<el-input style="width:50%;" v-model="input" placeholder=""></el-input>-->
168
+                        <el-select style="float: right;width: 49%;" v-model="value" placeholder="">
169
+                          <el-option
170
+                            v-for="item in options"
171
+                            :key="item.value"
172
+                            :label="item.label"
173
+                            :value="item.value">
174
+                          </el-option>
175
+                        </el-select>
176
+                      </div>
177
+                      <div style="width: 100%;flex:1;overflow-y: auto;">
178
+                        <el-table ref="multipleTableTwo" :data="advices_template" border
179
+                                  :row-style="{ color: '#303133' }"
180
+                                  :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
181
+                                  highlight-current-row>
182
+                          <el-table-column type="selection" width="40" align="center"></el-table-column>
183
+                          <el-table-column prop="name" label="名称">
184
+                            <template slot-scope="scope">{{}}</template>
185
+                          </el-table-column>
186
+                          <el-table-column label="规格" width="60">
187
+                            <template slot-scope="scope">33</template>
188
+                          </el-table-column>
189
+                          <el-table-column label="库存" width="60">
190
+                            <template slot-scope="scope">22</template>
191
+                          </el-table-column>
192
+                          <el-table-column label="单价" width="40">
193
+                            <template slot-scope="scope">12</template>
194
+                          </el-table-column>
195
+                        </el-table>
196
+                      </div>
197
+                    </el-tab-pane>
198
+                  </el-tabs>
199
+              </div>
200
+              <div style="height:100%;" v-show="showTwo">
201
+                <el-tabs class="rightTabs" v-model="activeName">
202
+                  <el-tab-pane label="项目列表" name="1">
203
+                    <div style="width: 100%;flex:1;overflow-y: auto;">
204
+                      <el-table ref="tables" :data="tabProject" border @select='selectChange'
205
+                                :row-style="{ color: '#303133' }"
206
+                                @select-all="changeAllGoodInfoTableDataTwo"
207
+                                :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
208
+                                highlight-current-row>
209
+                        <el-table-column type="selection" width="40" align="center"></el-table-column>
210
+                        <el-table-column prop="name" label="名称">
211
+                          <template slot-scope="scope">{{ scope.row.project_name }}</template>
212
+                        </el-table-column>
213
+                        <el-table-column label="规格" width="60">
214
+                          <template slot-scope="scope">{{ scope.row.single_dose }}</template>
215
+                        </el-table-column>
216
+                        <el-table-column label="单价" width="40">
217
+                          <template slot-scope="scope">{{ scope.row.price }}</template>
218
+                        </el-table-column>
219
+                      </el-table>
220
+                    </div>
221
+                  </el-tab-pane>
222
+                  <el-tab-pane label="项目组套" name="2">
223
+                    <div style="width: 100%;flex:1;overflow-y: auto;">
224
+                      <el-table :data="tabPrjectTeam" border
225
+                                :row-style="{ color: '#303133' }"
226
+                                :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
227
+                                highlight-current-row
228
+                                @select='selectTeam'>
229
+                        <el-table-column type="selection" width="40" align="center"></el-table-column>
230
+                        <el-table-column prop="name" label="名称">
231
+                          <template slot-scope="scope">{{scope.row.project_team}}</template>
232
+                        </el-table-column>
233
+                      </el-table>
234
+                    </div>
235
+                  </el-tab-pane>
236
+                </el-tabs>
237
+              </div>
238
+        </el-tabs>
239
+        <template>
240
+          
192
 
241
 
193
-          <div style="height:84%;overflow-y: auto;margin-bottom: 60px;" v-show="showTwo">
194
-            <el-tabs class="rightTabs" v-model="activeName">
195
-              <el-tab-pane label="项目列表" name="1">
196
-                <el-table ref="tables" :data="tabProject" border @select='selectChange'
197
-                          style="width: 100%;flex:1;overflow-y: auto;"
198
-                          :row-style="{ color: '#303133' }"
199
-                          @select-all="changeAllGoodInfoTableDataTwo"
200
-                          :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
201
-                          highlight-current-row>
202
-                  <el-table-column type="selection" width="40" align="center"></el-table-column>
203
-                  <el-table-column prop="name" label="名称">
204
-                    <template slot-scope="scope">{{ scope.row.project_name }}</template>
205
-                  </el-table-column>
206
-                  <el-table-column label="规格" width="60">
207
-                    <template slot-scope="scope">{{ scope.row.single_dose }}</template>
208
-                  </el-table-column>
209
-                  <el-table-column label="单价" width="40">
210
-                    <template slot-scope="scope">{{ scope.row.price }}</template>
211
-                  </el-table-column>
212
-                </el-table>
213
-              </el-tab-pane>
214
-              <el-tab-pane label="项目组套" name="2">
215
-                <el-table :data="tabPrjectTeam" border style="width: 100%;flex:1;overflow-y: auto;"
216
-                          :row-style="{ color: '#303133' }"
217
-                          :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}"
218
-                          highlight-current-row
219
-                          @select='selectTeam'>
220
-                  <el-table-column type="selection" width="40" align="center"></el-table-column>
221
-                  <el-table-column prop="name" label="名称">
222
-                    <template slot-scope="scope">{{scope.row.project_team}}</template>
223
-                  </el-table-column>
224
-                </el-table>
225
-              </el-tab-pane>
226
-            </el-tabs>
227
-          </div>
242
+          
228
 
243
 
229
           <div class="comfirmBox">
244
           <div class="comfirmBox">
230
             <!-- <div>
245
             <!-- <div>
242
                 </el-option>
257
                 </el-option>
243
               </el-select>
258
               </el-select>
244
             </div> -->
259
             </div> -->
245
-            <el-button type="primary" size="small" @click="comfirm">确定添加</el-button>
260
+            <el-button type="primary" size="small" style="width:100%;" @click="comfirm">确定添加</el-button>
246
           </div>
261
           </div>
247
         </template>
262
         </template>
248
       </div>
263
       </div>
733
           })
748
           })
734
 
749
 
735
       },
750
       },
736
-      clickTab(index) {
751
+      clickTab(tab) {
752
+        let index = parseInt(tab.name)
737
         if (index == 1) {
753
         if (index == 1) {
738
           if (this.curPrescriptions.advices.length == 0 && this.curPrescriptions.project.length > 0) {
754
           if (this.curPrescriptions.advices.length == 0 && this.curPrescriptions.project.length > 0) {
739
             this.$message.error('当前处方为项目,无法切换为药品,需要新开处方')
755
             this.$message.error('当前处方为项目,无法切换为药品,需要新开处方')
1047
   .mainCenter {
1063
   .mainCenter {
1048
     display: flex;
1064
     display: flex;
1049
     flex: 1;
1065
     flex: 1;
1066
+    height: 100%;
1050
   }
1067
   }
1051
 
1068
 
1052
   .centerLeft {
1069
   .centerLeft {
1056
     position: relative;
1073
     position: relative;
1057
 
1074
 
1058
   .el-form-item {
1075
   .el-form-item {
1059
-    width: 32%;
1060
-    margin-right: 1%;
1061
-    float: left;
1076
+    width: 33%;
1077
+    margin-bottom: 14px;
1062
   }
1078
   }
1063
 
1079
 
1064
   .el-form-item__label {
1080
   .el-form-item__label {
1074
 
1090
 
1075
   .RP {
1091
   .RP {
1076
     color: #409EFF;
1092
     color: #409EFF;
1077
-    font-size: 20px;
1093
+    font-size: 14px;
1078
     margin-bottom: 5px;
1094
     margin-bottom: 5px;
1079
   }
1095
   }
1080
 
1096
 
1083
     height: 76%;
1099
     height: 76%;
1084
     overflow-y: auto;
1100
     overflow-y: auto;
1085
     margin-bottom: 60px;
1101
     margin-bottom: 60px;
1086
-
1102
+    margin-top: 4px;
1087
   .el-tabs__item {
1103
   .el-tabs__item {
1088
     padding: 0 10px;
1104
     padding: 0 10px;
1089
   }
1105
   }
1120
 
1136
 
1121
   .centerRight {
1137
   .centerRight {
1122
     width: 300px;
1138
     width: 300px;
1123
-    margin-left: 5px;
1139
+    margin-left: 10px;
1124
     display: flex;
1140
     display: flex;
1125
     flex-direction: column;
1141
     flex-direction: column;
1126
     position: relative;
1142
     position: relative;
1167
     align-items: center;
1183
     align-items: center;
1168
     justify-content: space-between;
1184
     justify-content: space-between;
1169
   }
1185
   }
1186
+  .borderCard{
1187
+    height: 100%;
1188
+    display: flex;
1189
+    flex-direction: column;
1190
+    margin-bottom: 60px;
1191
+    .el-tabs--border-card>.el-tabs__content{
1192
+      padding: 0;
1193
+    }
1194
+  }
1170
 </style>
1195
 </style>
1171
 
1196
 
1172
 <style lang="scss">
1197
 <style lang="scss">
1198
+.borderCard{
1199
+  .el-tabs__nav{
1200
+    width: 100%;
1201
+  }
1202
+  .el-tabs__item{
1203
+    width: 50%;
1204
+    text-align: center;
1205
+  }
1206
+  .el-tabs__content{
1207
+    padding: 5px;
1208
+    flex: 1;
1209
+  }
1210
+}
1173
   .centerLeft {
1211
   .centerLeft {
1174
 
1212
 
1175
   .el-form-item__label {
1213
   .el-form-item__label {
1216
   .el-tabs__content {
1254
   .el-tabs__content {
1217
     flex: 1;
1255
     flex: 1;
1218
     overflow-y: auto;
1256
     overflow-y: auto;
1257
+    padding: 5px 0 5px 5px;
1219
   }
1258
   }
1220
 
1259
 
1221
   }
1260
   }
1222
   .rightTabs {
1261
   .rightTabs {
1223
     height: 100%;
1262
     height: 100%;
1224
-
1263
+    .el-tabs__nav{
1264
+      width: auto;
1265
+    }
1266
+    .el-tabs__header{
1267
+      margin-bottom: 5px;
1268
+    }
1269
+  .el-tabs__item{
1270
+    width: auto;
1271
+    text-align: inherit;
1272
+  }
1225
   .el-tabs__content {
1273
   .el-tabs__content {
1226
     flex: 1;
1274
     flex: 1;
1227
     overflow-y: auto;
1275
     overflow-y: auto;

+ 1 - 2
src/xt_pages/outpatientDoctorStation/components/deskRecord.vue 查看文件

1
 <template>
1
 <template>
2
-  <div class="deskRecord" style="margin-top:36px;">
2
+  <div class="deskRecord" style="margin-top:54px;">
3
     <!-- <div style="overflow:hidden;border-top:1px solid #e5e5e5;margin-top:5px;">
3
     <!-- <div style="overflow:hidden;border-top:1px solid #e5e5e5;margin-top:5px;">
4
       <div class="mainCell" style="margin-bottom:10px;float:right">
4
       <div class="mainCell" style="margin-bottom:10px;float:right">
5
         <el-button size="small" @click="open(1)" type="primary" style="margin-left:10px;">保存</el-button>
5
         <el-button size="small" @click="open(1)" type="primary" style="margin-left:10px;">保存</el-button>
8
         <el-button size="small" @click="open(4)" type="primary">存模板</el-button>
8
         <el-button size="small" @click="open(4)" type="primary">存模板</el-button>
9
       </div>
9
       </div>
10
     </div> -->
10
     </div> -->
11
-    <div class="backColor"></div>
12
     <div class="mainTitle">基本信息:</div>
11
     <div class="mainTitle">基本信息:</div>
13
     <el-form class="basicForm" :model="patientInfo" ref="form" label-width="120px">
12
     <el-form class="basicForm" :model="patientInfo" ref="form" label-width="120px">
14
       <el-form-item label="姓名:" prop="name">
13
       <el-form-item label="姓名:" prop="name">

+ 14 - 11
src/xt_pages/outpatientDoctorStation/doctorDesk.vue 查看文件

3
     <div class="position">
3
     <div class="position">
4
       <bread-crumb :crumbs='crumbs'></bread-crumb>
4
       <bread-crumb :crumbs='crumbs'></bread-crumb>
5
     </div>
5
     </div>
6
-    <div class="app-container" style="display:flex;flex: 1;padding: 20px 20px 0px 20px;">
6
+    <div class="app-container" style="display:flex;flex: 1;padding: 10px 20px 0px 20px;">
7
       <div class="mainLeft">
7
       <div class="mainLeft">
8
         <div class="mainCell" style="justify-content: space-between;">
8
         <div class="mainCell" style="justify-content: space-between;">
9
-          <p>未就诊:<span>{{cal_one}}</span>人</p>
10
-          <p>已就诊:<span>{{cal_two}}</span>人</p>
9
+          <p style="font-size:14px;">未就诊:<span>{{cal_one}}</span>人</p>
10
+          <p style="font-size:14px;">已就诊:<span>{{cal_two}}</span>人</p>
11
         </div>
11
         </div>
12
         <div class="mainCell">
12
         <div class="mainCell">
13
           <el-radio-group v-model="radio" @change="change">
13
           <el-radio-group v-model="radio" @change="change">
40
       </div>
40
       </div>
41
       <div class="mainRight">
41
       <div class="mainRight">
42
         <div class="mainHeader">
42
         <div class="mainHeader">
43
-          <el-radio-group class="titleBox" v-model="titleType" @change="changeTab">
44
-            <el-radio-button label="电子处方"></el-radio-button>
45
-            <el-radio-button label="电子病历"></el-radio-button>
46
-          </el-radio-group>
43
+          <el-tabs v-model="titleType" @tab-click="handleClick" style="position: fixed;width: calc(100% - 490px);background:#fff;">
44
+            <el-tab-pane label="电子处方" name="电子处方"></el-tab-pane>
45
+            <el-tab-pane label="电子病历" name="电子病历"></el-tab-pane>
46
+          </el-tabs>
47
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子处方'">
47
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子处方'">
48
-            <el-button size="small" ref="button_one"   @click="open(1)" type="primary" style="margin-left:10px;">保存</el-button>
48
+            <el-button size="small" ref="button_one"   @click="open(1)" type="primary">保存</el-button>
49
             <el-popover
49
             <el-popover
50
               placement="bottom"
50
               placement="bottom"
51
               width="200"
51
               width="200"
58
             <el-button size="small" ref="button_four"  @click="open(5)" type="primary">存模板</el-button>
58
             <el-button size="small" ref="button_four"  @click="open(5)" type="primary">存模板</el-button>
59
           </div>
59
           </div>
60
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子病历'">
60
           <div class="mainCell fixedCell" style="float:right" v-if="titleType == '电子病历'">
61
-            <el-button size="small" @click="opentwo(1)" type="primary" style="margin-left:10px;">保存</el-button>
61
+            <el-button size="small" @click="opentwo(1)" type="primary">保存</el-button>
62
             <el-button size="small" @click="opentwo(2)" type="primary">打印</el-button>
62
             <el-button size="small" @click="opentwo(2)" type="primary">打印</el-button>
63
             <el-button size="small" @click="opentwo(3)" type="primary">病历调用</el-button>
63
             <el-button size="small" @click="opentwo(3)" type="primary">病历调用</el-button>
64
             <el-button size="small" @click="opentwo(4)" type="primary">存模板</el-button>
64
             <el-button size="small" @click="opentwo(4)" type="primary">存模板</el-button>
456
 
456
 
457
   }
457
   }
458
   .mainRight {
458
   .mainRight {
459
-    margin-left: 20px;
459
+    margin-left: 10px;
460
     flex: 1;
460
     flex: 1;
461
     height: 100%;
461
     height: 100%;
462
     display: flex;
462
     display: flex;
532
 
532
 
533
   .centerRight {
533
   .centerRight {
534
     width: 300px;
534
     width: 300px;
535
-    margin-left: 5px;
535
+    margin-left: 10px;
536
     display: flex;
536
     display: flex;
537
     flex-direction: column;
537
     flex-direction: column;
538
     position: relative;
538
     position: relative;
591
     z-index: 99;
591
     z-index: 99;
592
     right: 30px;
592
     right: 30px;
593
     background: #fff;
593
     background: #fff;
594
+    width: 300px;
595
+    display: flex;
596
+    justify-content: space-between;
594
   }
597
   }
595
 </style>
598
 </style>
596
 
599
 

+ 6 - 2
src/xt_pages/outpatientDoctorStation/print.vue 查看文件

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 :crumbs="crumbs"></bread-crumb> -->
4
+      <bread-crumb :crumbs="crumbs"></bread-crumb>
5
        <template>
5
        <template>
6
         <el-button
6
         <el-button
7
           :loading="loading"
7
           :loading="loading"
59
   },
59
   },
60
   data() {
60
   data() {
61
     return {
61
     return {
62
+      crumbs: [
63
+        { path: false, name: '门诊医生站' },
64
+        { path: false, name: '打印' }
65
+      ],
62
        record_date:"",
66
        record_date:"",
63
        patientTableData:[],
67
        patientTableData:[],
64
        advicePrint:[],
68
        advicePrint:[],
77
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
81
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
78
 
82
 
79
       const style =
83
       const style =
80
-        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain p{width: 50%;line-height: 1px;}.prescriptionBox{padding:0 10px;height:750px;}.Rp{font-size: 22px;font-weight: bold;line-height:1px;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox p{line-height: 1px;padding-bottom:10px !important;} .drugsOne{line-height: 1px;margin-bottom:10px !important;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';
84
+        '@media print {#prescription-print{font-size:14px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{padding:0 10px;min-height:450px;}.Rp{font-size: 22px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;} .drugsOne{line-height: 1px;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';
81
       printJS({
85
       printJS({
82
         printable: "prescription-print",
86
         printable: "prescription-print",
83
         type: "html",
87
         type: "html",

+ 1 - 1
src/xt_pages/outpatientDoctorStation/printtwo.vue 查看文件

74
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
74
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
75
 
75
 
76
       const style =
76
       const style =
77
-        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain p{width: 50%;line-height: 1px;}.prescriptionBox{padding:0 10px;height:750px;}.Rp{font-size: 22px;font-weight: bold;line-height:1px;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox p{line-height: 1px;padding-bottom:10px !important;} .drugsOne{line-height: 1px;margin-bottom:10px !important;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';
77
+        '@media print {#prescription-print{font-size:14px;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{padding:0 10px;min-height:450px;}.Rp{font-size: 22px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;} .drugsOne{line-height: 1px;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';
78
       printJS({
78
       printJS({
79
         printable: "prescription-print",
79
         printable: "prescription-print",
80
         type: "html",
80
         type: "html",

+ 1 - 1
src/xt_pages/outpatientDoctorStation/recordPrint.vue 查看文件

101
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
101
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
102
 
102
 
103
       const style =
103
       const style =
104
-        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;line-height: 1px;padding:0 10px;}.infoTitle p{width: 200px;}.otherInfo{display: flex;margin-top:10px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;}.recordTitle p{width: 200px;}}';
104
+        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;margin-top:10px;padding:0 10px;}.infoTitle div{width: 200px;}.otherInfo{display: flex;margin-top:20px;padding:0 10px;}.otherInfo span{display:inline-block;}.recordTitle{display: flex;margin-top:10px;line-height: 24px;padding:0 10px;border-bottom: 2px solid #000;}.recordTitle div{width: 200px;}}';
105
       printJS({
105
       printJS({
106
         printable: "prescription-print",
106
         printable: "prescription-print",
107
         type: "html",
107
         type: "html",

+ 42 - 42
src/xt_pages/outpatientDoctorStation/recordTemplate/printOne.vue 查看文件

2
     <div id='prescription-print' class="prescription-print">
2
     <div id='prescription-print' class="prescription-print">
3
         <div class="printTitle">门诊病历</div>
3
         <div class="printTitle">门诊病历</div>
4
         <div class="infoTitle">
4
         <div class="infoTitle">
5
-            <p>姓名:{{patient.name}}</p>
6
-            <p>性别:
5
+            <div>姓名:{{patient.name}}</div>
6
+            <div>性别:
7
                 <span v-if="patient.gender == 1">男</span>
7
                 <span v-if="patient.gender == 1">男</span>
8
                 <span v-if="patient.gender == 2">女</span>
8
                 <span v-if="patient.gender == 2">女</span>
9
-            </p>
10
-            <p>年龄:{{patient.age}}岁</p>
9
+            </div>
10
+            <div>年龄:{{patient.age}}岁</div>
11
         </div>
11
         </div>
12
         <div class="infoTitle">
12
         <div class="infoTitle">
13
-            <p>婚姻状况:
13
+            <div>婚姻状况:
14
               <span v-if="patient.marital_status == 1">已婚 </span>
14
               <span v-if="patient.marital_status == 1">已婚 </span>
15
               <span v-if="patient.marital_status == 2">未婚 </span>
15
               <span v-if="patient.marital_status == 2">未婚 </span>
16
-            </p>
17
-            <p>职业:{{getProfession(patient.profession)}}</p>
16
+            </div>
17
+            <div>职业:{{getProfession(patient.profession)}}</div>
18
         </div>
18
         </div>
19
         <div class="otherInfo">
19
         <div class="otherInfo">
20
-            <p>医保号:</p>
21
-            <p style="flex:1;">{{patient.health_care_no}}</p>
20
+            <div>医保号:</div>
21
+            <div style="flex:1;">{{patient.health_care_no}}</div>
22
         </div>
22
         </div>
23
         <div class="otherInfo">
23
         <div class="otherInfo">
24
-            <p>联系电话:</p>
25
-            <p style="flex:1;">{{patient.phone}}</p>
24
+            <div>联系电话:</div>
25
+            <div style="flex:1;">{{patient.phone}}</div>
26
         </div>
26
         </div>
27
         <div class="otherInfo">
27
         <div class="otherInfo">
28
-            <p>通讯地址:</p>
29
-            <p style="flex:1;">{{patient.home_address}}</p>
28
+            <div>通讯地址:</div>
29
+            <div style="flex:1;">{{patient.home_address}}</div>
30
         </div>
30
         </div>
31
         <div class="otherInfo">
31
         <div class="otherInfo">
32
-            <p>药物过敏史:</p>
33
-            <p style="flex:1;">{{patient.past_history}}</p>
32
+            <div>药物过敏史:</div>
33
+            <div style="flex:1;">{{patient.past_history}}</div>
34
         </div>
34
         </div>
35
         <div class="otherInfo">
35
         <div class="otherInfo">
36
-            <p>病历编号:</p>
37
-            <p style="flex:1;">{{patient.id}}</p>
36
+            <div>病历编号:</div>
37
+            <div style="flex:1;">{{patient.id}}</div>
38
         </div>
38
         </div>
39
         <div style="page-break-after:always;margin-top:50px;"></div>
39
         <div style="page-break-after:always;margin-top:50px;"></div>
40
 
40
 
41
 
41
 
42
         <div class="printTitle">病历内容</div>
42
         <div class="printTitle">病历内容</div>
43
         <div class="recordTitle">
43
         <div class="recordTitle">
44
-            <p>科别:{{hispatient.departments}}</p>
45
-            <p>姓名:{{hispatient.name}}</p>
46
-            <p>性别:
44
+            <div>科别:{{hispatient.departments}}</div>
45
+            <div>姓名:{{hispatient.name}}</div>
46
+            <div>性别:
47
                 <span v-if="hispatient.gender == 1">男</span>
47
                 <span v-if="hispatient.gender == 1">男</span>
48
                 <span v-if="hispatient.gender == 2">女</span>
48
                 <span v-if="hispatient.gender == 2">女</span>
49
-            </p>
50
-            <p>年龄:{{hispatient.age}}岁</p>
49
+            </div>
50
+            <div>年龄:{{hispatient.age}}岁</div>
51
         </div>
51
         </div>
52
         <div class="otherInfo">
52
         <div class="otherInfo">
53
-            <p class="otherName">主诉:</p>
54
-            <p style="flex:1;">{{history.chief_conplaint}}</p>
53
+            <div class="otherName">主诉:</div>
54
+            <div style="flex:1;">{{history.chief_conplaint}}</div>
55
         </div>
55
         </div>
56
         <div class="otherInfo">
56
         <div class="otherInfo">
57
-            <p class="otherName">现病史:</p>
58
-            <p style="flex:1;">{{history.history_of_present_illness}}</p>
57
+            <div class="otherName">现病史:</div>
58
+            <div style="flex:1;">{{history.history_of_present_illness}}</div>
59
         </div>
59
         </div>
60
         <div class="otherInfo">
60
         <div class="otherInfo">
61
-            <p class="otherName">既往史:</p>
62
-            <p style="flex:1;">{{history.past_history}}</p>
61
+            <div class="otherName">既往史:</div>
62
+            <div style="flex:1;">{{history.past_history}}</div>
63
         </div>
63
         </div>
64
         <div class="otherInfo">
64
         <div class="otherInfo">
65
-            <p class="otherName">药物过敏史:</p>
66
-            <p style="flex:1;">{{history.past_history}}</p>
65
+            <div class="otherName">药物过敏史:</div>
66
+            <div style="flex:1;">{{history.past_history}}</div>
67
         </div>
67
         </div>
68
         <div class="otherInfo">
68
         <div class="otherInfo">
69
-            <p class="otherName">个人史:</p>
70
-            <p style="flex:1;">{{history.personal_history}}</p>
69
+            <div class="otherName">个人史:</div>
70
+            <div style="flex:1;">{{history.personal_history}}</div>
71
         </div>
71
         </div>
72
         <div class="otherInfo">
72
         <div class="otherInfo">
73
-            <p class="otherName">家族史:</p>
74
-            <p style="flex:1;">{{history.family_history}}</p>
73
+            <div class="otherName">家族史:</div>
74
+            <div style="flex:1;">{{history.family_history}}</div>
75
         </div>
75
         </div>
76
         <div class="otherInfo">
76
         <div class="otherInfo">
77
-            <p class="otherName">体格检查:</p>
78
-            <p style="flex:1;">无</p>
77
+            <div class="otherName">体格检查:</div>
78
+            <div style="flex:1;">无</div>
79
         </div>
79
         </div>
80
         <div class="otherInfo">
80
         <div class="otherInfo">
81
-            <p class="otherName">门诊诊断:</p>
82
-            <p style="flex:1;">{{history.diagnostic}}</p>
81
+            <div class="otherName">门诊诊断:</div>
82
+            <div style="flex:1;">{{history.diagnostic}}</div>
83
         </div>
83
         </div>
84
         <div class="otherInfo">
84
         <div class="otherInfo">
85
-            <p class="otherName">门诊医嘱:</p>
86
-            <p style="flex:1;">{{history.doctor_advice}}</p>
85
+            <div class="otherName">门诊医嘱:</div>
86
+            <div style="flex:1;">{{history.doctor_advice}}</div>
87
         </div>
87
         </div>
88
         <div style="margin-top:20px;text-align:right;">
88
         <div style="margin-top:20px;text-align:right;">
89
             医生签名:{{getDoctor(history.doctor)}}
89
             医生签名:{{getDoctor(history.doctor)}}
160
     line-height: 24px;
160
     line-height: 24px;
161
     padding:0 10px;
161
     padding:0 10px;
162
 }
162
 }
163
-.infoTitle p{
163
+.infoTitle div{
164
     width: 200px;
164
     width: 200px;
165
 }
165
 }
166
 .otherInfo{
166
 .otherInfo{
176
     padding:0 10px;
176
     padding:0 10px;
177
     border-bottom: 2px solid #000;
177
     border-bottom: 2px solid #000;
178
 }
178
 }
179
-.recordTitle p{
179
+.recordTitle div{
180
     width: 200px;
180
     width: 200px;
181
 }
181
 }
182
 
182
 

+ 13 - 13
src/xt_pages/outpatientDoctorStation/template/printOne.vue 查看文件

10
             <p>年龄:{{patient.age}}岁</p>
10
             <p>年龄:{{patient.age}}岁</p>
11
         </div>
11
         </div>
12
         <div class="infoMain">
12
         <div class="infoMain">
13
-            <p style="margin-bottom: 10px;">门诊号:{{this.hisPatient.number?this.hisPatient.number:""}}</p>
14
-            <p style="margin-bottom: 10px;">科室:{{getDepart(this.hisPatient.departments?this.hisPatient.departments:"")}}</p>
15
-            <p style="margin-bottom: 10px;">医保卡号:{{this.hisPatient.number?this.hisPatient.number:""}}</p>
16
-            <p style="margin-bottom: 10px;">电话:{{patient.phone}}</p>
17
-            <p>地址:{{patient.home_address}}</p>
18
-            <p>临床诊断:{{patient.diagnose}}</p>
13
+            <div style="margin-bottom: 10px;">门诊号:{{this.hisPatient.number?this.hisPatient.number:""}}</div>
14
+            <div style="margin-bottom: 10px;">科室:{{getDepart(this.hisPatient.departments?this.hisPatient.departments:"")}}</div>
15
+            <div style="margin-bottom: 10px;">医保卡号:{{this.hisPatient.number?this.hisPatient.number:""}}</div>
16
+            <div style="margin-bottom: 10px;">电话:{{patient.phone}}</div>
17
+            <div>地址:{{patient.home_address}}</div>
18
+            <div style="display:flex;width:50%;">临床诊断:{{patient.diagnose}}</div>
19
         </div>
19
         </div>
20
         <div class="prescriptionBox">
20
         <div class="prescriptionBox">
21
-            <p class="Rp">Rp:</p>
21
+            <div class="Rp">Rp:</div>
22
             <div class="drugsBox" v-for="(item,index) in advicePrint" :key="index">
22
             <div class="drugsBox" v-for="(item,index) in advicePrint" :key="index">
23
-                <p class="drugsOne">{{item.advice_name?item.advice_name:""}}&nbsp;&nbsp;{{item.single_dose}}{{item.single_dose_unit}}&nbsp;×&nbsp; {{item.prescribing_number}}{{item.prescribing_number_unit}}</p>
24
-                <p style="margin-left:100px;"><span>用法:{{item.single_dose}}{{item.single_dose_unit}}</span>&nbsp;&nbsp;<span>{{item.execution_frequency}}</span>&nbsp;&nbsp;<span>{{item.advice_desc}}</span></p>
23
+                <div class="drugsOne">{{item.advice_name?item.advice_name:""}}&nbsp;&nbsp;{{item.single_dose}}{{item.single_dose_unit}}&nbsp;×&nbsp; {{item.prescribing_number}}{{item.prescribing_number_unit}}</div>
24
+                <div style="margin-left:100px;"><span>用法:{{item.single_dose}}{{item.single_dose_unit}}</span>&nbsp;&nbsp;<span>{{item.execution_frequency}}</span>&nbsp;&nbsp;<span>{{item.advice_desc}}</span></div>
25
             </div>
25
             </div>
26
         </div>
26
         </div>
27
         <div class="doctorBox">
27
         <div class="doctorBox">
182
     border-bottom: 2px solid #000;
182
     border-bottom: 2px solid #000;
183
     padding:0 10px;
183
     padding:0 10px;
184
 }
184
 }
185
-.infoMain p{
185
+.infoMain div{
186
     width: 50%;
186
     width: 50%;
187
     line-height: 24px;
187
     line-height: 24px;
188
 }
188
 }
189
 .prescriptionBox{
189
 .prescriptionBox{
190
     padding:0 10px;
190
     padding:0 10px;
191
-    height:600px;
191
+    min-height:450px;
192
 }
192
 }
193
 .Rp{
193
 .Rp{
194
     font-size: 22px;
194
     font-size: 22px;
198
     padding-left: 40px;
198
     padding-left: 40px;
199
     margin-bottom: 10px;
199
     margin-bottom: 10px;
200
 }
200
 }
201
-.drugsBox p{
202
-    line-height: 30px;
201
+.drugsBox div{
202
+    line-height: 20px;
203
 }
203
 }
204
 .drugsOne{
204
 .drugsOne{
205
     line-height: 24px;
205
     line-height: 24px;

+ 13 - 13
src/xt_pages/outpatientDoctorStation/template/printTwo.vue 查看文件

10
             <p>年龄:{{patient.age}}岁</p>
10
             <p>年龄:{{patient.age}}岁</p>
11
         </div>
11
         </div>
12
         <div class="infoMain">
12
         <div class="infoMain">
13
-            <p style="margin-bottom: 10px;">门诊号:{{this.hisPatient.number?this.hisPatient.number:""}}</p>
14
-            <p style="margin-bottom: 10px;">科室:{{getDepart(this.hisPatient.departments?this.hisPatient.departments:"")}}</p>
15
-            <p style="margin-bottom: 10px;">医保卡号:{{this.hisPatient.number?this.hisPatient.number:""}}</p>
16
-            <p style="margin-bottom: 10px;">电话:{{patient.phone}}</p>
17
-            <p>地址:{{patient.home_address}}</p>
18
-            <p>临床诊断:{{patient.diagnose}}</p>
13
+            <div style="margin-bottom: 10px;">门诊号:{{this.hisPatient.number?this.hisPatient.number:""}}</div>
14
+            <div style="margin-bottom: 10px;">科室:{{getDepart(this.hisPatient.departments?this.hisPatient.departments:"")}}</div>
15
+            <div style="margin-bottom: 10px;">医保卡号:{{this.hisPatient.number?this.hisPatient.number:""}}</div>
16
+            <div style="margin-bottom: 10px;">电话:{{patient.phone}}</div>
17
+            <div>地址:{{patient.home_address}}</div>
18
+            <div style="display:flex;width:50%;">临床诊断:{{patient.diagnose}}</div>
19
         </div>
19
         </div>
20
         <div class="prescriptionBox">
20
         <div class="prescriptionBox">
21
-            <p class="Rp">Rp:</p>
21
+            <div class="Rp">Rp:</div>
22
             <div class="drugsBox" v-for="(item,index) in advicePrint" :key="index">
22
             <div class="drugsBox" v-for="(item,index) in advicePrint" :key="index">
23
-                <p class="drugsOne">{{item.advice_name?item.advice_name:""}}&nbsp;&nbsp;{{item.single_dose}}{{item.single_dose_unit}}&nbsp;×&nbsp; {{item.prescribing_number}}{{item.prescribing_number_unit}}</p>
24
-                <p style="margin-left:100px;"><span>用法:{{item.single_dose}}{{item.single_dose_unit}}</span>&nbsp;&nbsp;<span>{{item.execution_frequency}}</span>&nbsp;&nbsp;<span>{{item.advice_desc}}</span></p>
23
+                <div class="drugsOne">{{item.advice_name?item.advice_name:""}}&nbsp;&nbsp;{{item.single_dose}}{{item.single_dose_unit}}&nbsp;×&nbsp; {{item.prescribing_number}}{{item.prescribing_number_unit}}</div>
24
+                <div style="margin-left:100px;"><span>用法:{{item.single_dose}}{{item.single_dose_unit}}</span>&nbsp;&nbsp;<span>{{item.execution_frequency}}</span>&nbsp;&nbsp;<span>{{item.advice_desc}}</span></div>
25
             </div>
25
             </div>
26
         </div>
26
         </div>
27
         <div class="doctorBox">
27
         <div class="doctorBox">
182
     border-bottom: 2px solid #000;
182
     border-bottom: 2px solid #000;
183
     padding:0 10px;
183
     padding:0 10px;
184
 }
184
 }
185
-.infoMain p{
185
+.infoMain div{
186
     width: 50%;
186
     width: 50%;
187
     line-height: 24px;
187
     line-height: 24px;
188
 }
188
 }
189
 .prescriptionBox{
189
 .prescriptionBox{
190
     padding:0 10px;
190
     padding:0 10px;
191
-    height:600px;
191
+    min-height:450px;
192
 }
192
 }
193
 .Rp{
193
 .Rp{
194
     font-size: 22px;
194
     font-size: 22px;
198
     padding-left: 40px;
198
     padding-left: 40px;
199
     margin-bottom: 10px;
199
     margin-bottom: 10px;
200
 }
200
 }
201
-.drugsBox p{
202
-    line-height: 30px;
201
+.drugsBox div{
202
+    line-height: 20px;
203
 }
203
 }
204
 .drugsOne{
204
 .drugsOne{
205
     line-height: 24px;
205
     line-height: 24px;

+ 1 - 1
src/xt_pages/outpatientDoctorStation/treatPrint.vue 查看文件

76
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
76
       this.print_time = uParseTime(ptime, "{y}-{m}-{d} {h}:{i}");
77
 
77
 
78
       const style =
78
       const style =
79
-        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 300px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain p{width: 50%;line-height: 1px;}.prescriptionBox{padding:0 10px;height:600px;}.Rp{font-size: 22px;font-weight: bold;line-height:1px;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox p{line-height: 1px;padding-bottom:10px !important;} .drugsOne{line-height: 1px;margin-bottom:10px !important;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';
79
+        '@media print {.printTitle{font-size: 22px;text-align: center;font-weight: bold;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 300px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain p{width: 50%;line-height: 1px;}.prescriptionBox{padding:0 10px;min-height:600px;}.Rp{font-size: 22px;font-weight: bold;line-height:1px;}.drugsBox{padding-left: 40px;margin-bottom: 10px;margin-bottom: 10px;}.drugsBox p{line-height: 1px;padding-bottom:10px !important;} .drugsOne{line-height: 1px;margin-bottom:10px !important;} .drugsOne span{margin-right: 20px;} .doctorBox{display: flex; justify-content: space-between; padding:0 10px; line-height: 1px; border-bottom: 2px solid #000;} .actionBar{display: flex; justify-content: space-between; line-height: 1px; padding:0 10px;} .actionBar p{width:150px;}}';
80
       printJS({
80
       printJS({
81
         printable: "prescription-print",
81
         printable: "prescription-print",
82
         type: "html",
82
         type: "html",

+ 1 - 1
src/xt_pages/outpatientDoctorStation/treatTemplate/printOne.vue 查看文件

220
 }
220
 }
221
 .prescriptionBox{
221
 .prescriptionBox{
222
     padding:0 10px;
222
     padding:0 10px;
223
-    height:600px;
223
+    min-height:600px;
224
 }
224
 }
225
 .Rp{
225
 .Rp{
226
     font-size: 22px;
226
     font-size: 22px;