Browse Source

9月27,48号打印单

yq1 6 months ago
parent
commit
2a723b6e2e
1 changed files with 101 additions and 83 deletions
  1. 101 83
      src/xt_pages/outpatientCharges/summary.vue

+ 101 - 83
src/xt_pages/outpatientCharges/summary.vue View File

6
     <div class="app-container">
6
     <div class="app-container">
7
       <div style=" display: flex; justify-content: space-between;  margin-bottom: 10px;">
7
       <div style=" display: flex; justify-content: space-between;  margin-bottom: 10px;">
8
         <div class="content_top" style="margin-right: 10px;">
8
         <div class="content_top" style="margin-right: 10px;">
9
-          <el-input  style="width: 120px"
10
-            v-model="keywords" @input="searchAction"
11
-            @keyup.enter.native="searchAction"
12
-            class="filter-item" placeholder="请输入患者姓名"
13
-          />
14
-          <el-button  class="filter-item" type="primary" @click="searchAction">
15
-            搜索
16
-          </el-button>
17
-          <el-select  v-model="sort_type"
18
-            placeholder="请选择"
19
-            style="width: 120px;"
20
-            @change="changeSortType"
21
-          >
22
-            <el-option
23
-              v-for="(item, index) in sort_types"
24
-              :key="index"
25
-              :label="item.label"
26
-              :value="item.value"
9
+          <div style="width: 60%;">
10
+            <el-input  style="width: 60%"
11
+              v-model="keywords" @input="searchAction"
12
+              @keyup.enter.native="searchAction"
13
+              class="filter-item" placeholder="请输入患者姓名"
14
+            />
15
+            <el-button  class="filter-item" type="primary" @click="searchAction">
16
+              搜索
17
+            </el-button>
18
+          </div>
19
+          
20
+          <div>
21
+            <el-select  v-model="sort_type"
22
+              placeholder="请选择"
23
+              style="width: 100%;"
24
+              @change="changeSortType"
27
             >
25
             >
28
-            </el-option>
29
-          </el-select>
30
-          <el-select v-model="sch_type" placeholder="请选择班次" @change="handleSchType" style="width: 120px;">
31
-            <el-option label="全部" value="0"></el-option>
32
-            <el-option label="上午" value="1"></el-option>
33
-            <el-option label="下午" value="2"></el-option>
34
-            <el-option label="晚上" value="3"></el-option>
35
-          </el-select>
36
-
37
-          <el-select v-model="zoneVal" placeholder="请选择分区" style="width: 120px;" @change="handleZoneChange">
38
-            <el-option
39
-              v-for="item in zone_options"
40
-              :key="item.id"
41
-              :label="item.text"
42
-              :value="item.id">
43
-            </el-option>
44
-          </el-select>
26
+              <el-option
27
+                v-for="(item, index) in sort_types"
28
+                :key="index"
29
+                :label="item.label"
30
+                :value="item.value"
31
+              >
32
+              </el-option>
33
+            </el-select>
34
+          </div>
35
+          
36
+          <div>
37
+            <el-select v-model="sch_type" placeholder="请选择班次" @change="handleSchType" style="width: 100%;">
38
+              <el-option label="全部" value="0"></el-option>
39
+              <el-option label="上午" value="1"></el-option>
40
+              <el-option label="下午" value="2"></el-option>
41
+              <el-option label="晚上" value="3"></el-option>
42
+            </el-select>
43
+          </div>
44
+
45
+          <div>
46
+            <el-select v-model="zoneVal" placeholder="请选择分区" style="width: 100%;" @change="handleZoneChange">
47
+              <el-option
48
+                v-for="item in zone_options"
49
+                :key="item.id"
50
+                :label="item.text"
51
+                :value="item.id">
52
+              </el-option>
53
+            </el-select>
54
+          </div>
45
         </div>
55
         </div>
46
-        <div class="content_top">
56
+        <div class="content_button"  style="">
47
           <el-button
57
           <el-button
48
             v-if="$store.getters.xt_user.org_id == 10138 || $store.getters.xt_user.org_id == 10278 ||
58
             v-if="$store.getters.xt_user.org_id == 10138 || $store.getters.xt_user.org_id == 10278 ||
49
                 $store.getters.xt_user.org_id == 10610 || $store.getters.xt_user.org_id == 0"
59
                 $store.getters.xt_user.org_id == 10610 || $store.getters.xt_user.org_id == 0"
53
           >报表下载
63
           >报表下载
54
           </el-button
64
           </el-button
55
           >
65
           >
56
-          <el-button v-if="$store.getters.xt_user.org_id == 10106 || $store.getters.xt_user.org_id == 0" size="small"
66
+          <el-button v-if="$store.getters.xt_user.org_id == 10106 " size="small"
57
                      type="primary" @click="export_detail_ten">报表下载2
67
                      type="primary" @click="export_detail_ten">报表下载2
58
           </el-button>
68
           </el-button>
59
-          <el-button v-if="$store.getters.xt_user.org_id == 10318 || $store.getters.xt_user.org_id == 0" size="small"
69
+          <el-button v-if="$store.getters.xt_user.org_id == 10318" size="small"
60
                      type="primary" @click="export_detail_ten_two">报表下载3
70
                      type="primary" @click="export_detail_ten_two">报表下载3
61
           </el-button>
71
           </el-button>
62
 
72
 
68
 
78
 
69
       <div style=" display: flex; justify-content: space-between;  margin-bottom: 10px;">
79
       <div style=" display: flex; justify-content: space-between;  margin-bottom: 10px;">
70
         <div class="content_top" style="margin-right: 10px;">
80
         <div class="content_top" style="margin-right: 10px;">
71
-          <el-date-picker size="small" v-model="start_time" prefix-icon="el-icon-date" 
72
-            @change="handleStartTimeChange":editable="false" :clearable="false" 
73
-            style="width: 150px;"
74
-            type="date"
75
-            placeholder="选择开始日期"
76
-            format="yyyy-MM-dd"
77
-            value-format="yyyy-MM-dd"
78
-            align="right"
79
-          ></el-date-picker>
80
-          <span style="text-align: center;">-</span>
81
-          <el-date-picker
82
-            size="small"
83
-            v-model="end_time"
84
-            prefix-icon="el-icon-date"
85
-            @change="handleEndTimeChange"
86
-            :editable="false"
87
-            :clearable="false"
88
-            style="width: 150px; "
89
-            type="date"
90
-            placeholder="选择结束日期"
91
-            format="yyyy-MM-dd"
92
-            value-format="yyyy-MM-dd"
93
-            align="right"
94
-          ></el-date-picker>
81
+          <div style="">
82
+            <el-date-picker size="small" v-model="start_time" prefix-icon="el-icon-date" 
83
+              @change="handleStartTimeChange":editable="false" :clearable="false" 
84
+              style="width: 45%;"
85
+              type="date"
86
+              placeholder="选择开始日期"
87
+              format="yyyy-MM-dd"
88
+              value-format="yyyy-MM-dd"
89
+              align="right"
90
+            ></el-date-picker>
91
+            <span style="text-align: center;">-</span>
92
+            <el-date-picker
93
+              size="small"
94
+              v-model="end_time"
95
+              prefix-icon="el-icon-date"
96
+              @change="handleEndTimeChange"
97
+              :editable="false"
98
+              :clearable="false"
99
+              style="width: 45%;"
100
+              type="date"
101
+              placeholder="选择结束日期"
102
+              format="yyyy-MM-dd"
103
+              value-format="yyyy-MM-dd"
104
+              align="right"
105
+            ></el-date-picker>
106
+          </div>
107
+          <div>
108
+            <el-select  v-model="staff" placeholder="请选择缴费人员"
109
+                   style="width:100%;" >
110
+              <el-option
111
+                v-for="item,index in admins"
112
+                :key="index"
113
+                :label="item.user_name"
114
+                :value="item.user_name">
115
+              </el-option>
116
+            </el-select>
117
+          </div>
118
+          <div>
119
+            <el-select v-model="medTypeVal" @change="handleMedChange"
120
+              placeholder="请选择医疗类别" style="width: 100%;"
121
+            >
122
+              <el-option
123
+                v-for="item in med_options"
124
+                :key="item.id"
125
+                :label="item.text"
126
+                :value="item.id">
127
+              </el-option>
128
+            </el-select>
129
+          </div>
95
 
130
 
96
-          <el-select size="small" v-model="staff" placeholder="请选择缴费人员"
97
-                   style="width:120px;" >
98
-            <el-option
99
-              v-for="item,index in admins"
100
-              :key="index"
101
-              :label="item.user_name"
102
-              :value="item.user_name">
103
-            </el-option>
104
-          </el-select>
105
-
106
-          <el-select v-model="medTypeVal" @change="handleMedChange"
107
-            placeholder="请选择医疗类别" style="width: 120px;"
108
-          >
109
-            <el-option
110
-              v-for="item in med_options"
111
-              :key="item.id"
112
-              :label="item.text"
113
-              :value="item.id">
114
-            </el-option>
115
-          </el-select>
131
+          
116
         </div>
132
         </div>
117
         <div class="content_button">
133
         <div class="content_button">
118
           <el-button size="small" type="primary" @click="export_detail_three" v-if="$store.getters.xt_user.org_id == 10265 || $store.getters.xt_user.org_id == 0">报表下载12</el-button>
134
           <el-button size="small" type="primary" @click="export_detail_three" v-if="$store.getters.xt_user.org_id == 10265 || $store.getters.xt_user.org_id == 0">报表下载12</el-button>
4054
   .content_button{
4070
   .content_button{
4055
     flex: 1; 
4071
     flex: 1; 
4056
     display: flex;
4072
     display: flex;
4057
-    justify-content:space-around;
4073
+    text-align: right;
4074
+    justify-content: flex-end;
4075
+    //justify-content:space-around;
4058
   }
4076
   }
4059
   .butt_1{
4077
   .butt_1{
4060
     margin-left:10px;
4078
     margin-left:10px;