|
@@ -0,0 +1,644 @@
|
|
1
|
+<template>
|
|
2
|
+ <div class="main-contain new-main-contain">
|
|
3
|
+ <div class="position">
|
|
4
|
+ <bread-crumb :crumbs="crumbs"></bread-crumb>
|
|
5
|
+ </div>
|
|
6
|
+ <div
|
|
7
|
+ class="app-container"
|
|
8
|
+ style="display: flex; flex: 1; padding: 10px 20px 0px 20px"
|
|
9
|
+ >
|
|
10
|
+ <div class="mainLeft">
|
|
11
|
+ <div>
|
|
12
|
+ <div
|
|
13
|
+ style="
|
|
14
|
+ margin: 10px 0;
|
|
15
|
+ display: flex;
|
|
16
|
+ justify-content: space-between;
|
|
17
|
+ "
|
|
18
|
+ >
|
|
19
|
+ <el-input
|
|
20
|
+ size="small"
|
|
21
|
+ style="width: 130px"
|
|
22
|
+ v-model="keywords"
|
|
23
|
+ class="filter-item"
|
|
24
|
+ placeholder="请输入患者名称"
|
|
25
|
+ />
|
|
26
|
+ <el-button
|
|
27
|
+ size="small"
|
|
28
|
+ class="filter-item"
|
|
29
|
+ type="primary"
|
|
30
|
+ @click="searchAction"
|
|
31
|
+ >搜索
|
|
32
|
+ </el-button>
|
|
33
|
+ </div>
|
|
34
|
+
|
|
35
|
+ <el-table
|
|
36
|
+ :row-class-name="tableRowClassName"
|
|
37
|
+ @row-click="onRowClick"
|
|
38
|
+ :data="patientTableData"
|
|
39
|
+ :height="tableHeight"
|
|
40
|
+ border
|
|
41
|
+ style="width: 100%"
|
|
42
|
+ :row-style="{ color: '#303133' }"
|
|
43
|
+ :header-cell-style="{
|
|
44
|
+ backgroundColor: 'rgb(245, 247, 250)',
|
|
45
|
+ color: '#606266',
|
|
46
|
+ }"
|
|
47
|
+ highlight-current-row
|
|
48
|
+ ref="singleTable"
|
|
49
|
+ @current-change="handleCurrentChange"
|
|
50
|
+ >
|
|
51
|
+ <el-table-column align="center" prop="name" label="姓名" wdith="89">
|
|
52
|
+ <template slot-scope="scope">{{ scope.row.name }}</template>
|
|
53
|
+ </el-table-column>
|
|
54
|
+ </el-table>
|
|
55
|
+ </div>
|
|
56
|
+ </div>
|
|
57
|
+ <div class="mainRight">
|
|
58
|
+ <el-date-picker
|
|
59
|
+ v-model="chargeDate"
|
|
60
|
+ type="daterange"
|
|
61
|
+ value-format="yyyy-MM-dd"
|
|
62
|
+ range-separator="至"
|
|
63
|
+ start-placeholder="开始日期"
|
|
64
|
+ @change="changeDate"
|
|
65
|
+ end-placeholder="结束日期"
|
|
66
|
+ >
|
|
67
|
+ </el-date-picker>
|
|
68
|
+ <el-button size="small" type="primary" @click="exportList">导出</el-button>
|
|
69
|
+ <el-table
|
|
70
|
+ :data="tableList"
|
|
71
|
+ border
|
|
72
|
+ style="width: 100%">
|
|
73
|
+ <el-table-column prop="date" label="姓名" width="100" align="center">
|
|
74
|
+ <template slot-scope="scope" >
|
|
75
|
+ {{ scope.row.name }}
|
|
76
|
+ </template>
|
|
77
|
+ </el-table-column>
|
|
78
|
+ <el-table-column prop="date" label="身份证" width="200" align="center">
|
|
79
|
+ <template slot-scope="scope" >
|
|
80
|
+ {{ scope.row.id_card_no }}
|
|
81
|
+ </template>
|
|
82
|
+ </el-table-column>
|
|
83
|
+ <el-table-column prop="name" label="医保类型" width="100" align="center">
|
|
84
|
+ <template slot-scope="scope" >
|
|
85
|
+ <span v-if="scope.row.insutype == 0">居民</span>
|
|
86
|
+ <span v-if="scope.row.insutype == 310">职工</span>
|
|
87
|
+ <span v-if="scope.row.insutype == 390">居民</span>
|
|
88
|
+ </template>
|
|
89
|
+ </el-table-column>
|
|
90
|
+ <el-table-column prop="address" label="年" width="50" align="center">
|
|
91
|
+ <template slot-scope="scope" >
|
|
92
|
+ {{getTime(scope.row.settle_accounts_date)}}
|
|
93
|
+ </template>
|
|
94
|
+ </el-table-column>
|
|
95
|
+ <el-table-column prop="address" label="月" width="50" align="center">
|
|
96
|
+ <template slot-scope="scope">
|
|
97
|
+ {{getTimeOne(scope.row.settle_accounts_date)}}
|
|
98
|
+ </template>
|
|
99
|
+ </el-table-column>
|
|
100
|
+ <el-table-column prop="address" label="收费项目" width="100" align="center">
|
|
101
|
+ <template slot-scope="scope" >
|
|
102
|
+ <span v-if="scope.row.med_chrgitm_type == '01'">床位费</span>
|
|
103
|
+ <span v-if="scope.row.med_chrgitm_type == '02'">诊察费</span>
|
|
104
|
+ <span v-if="scope.row.med_chrgitm_type == '03'">检查费</span>
|
|
105
|
+ <span v-if="scope.row.med_chrgitm_type == '04'">化验费</span>
|
|
106
|
+ <span v-if="scope.row.med_chrgitm_type == '05'">治疗费</span>
|
|
107
|
+ <span v-if="scope.row.med_chrgitm_type == '06'">手术费</span>
|
|
108
|
+ <span v-if="scope.row.med_chrgitm_type == '08'">材料费</span>
|
|
109
|
+ <span v-if="scope.row.med_chrgitm_type == '09'">西药费</span>
|
|
110
|
+ <span v-if="scope.row.med_chrgitm_type == '11'">中成费</span>
|
|
111
|
+ <span v-if="scope.row.med_chrgitm_type == '14'">其他费</span>
|
|
112
|
+ </template>
|
|
113
|
+ </el-table-column>
|
|
114
|
+ <el-table-column prop="address" label="数量" width="100" align="center">
|
|
115
|
+ <template slot-scope="scope" >
|
|
116
|
+ {{getCount(scope.row.child)}}
|
|
117
|
+ </template>
|
|
118
|
+ </el-table-column>
|
|
119
|
+
|
|
120
|
+ <el-table-column prop="address" label="金额" width="130" align="center">
|
|
121
|
+ <template slot-scope="scope" >
|
|
122
|
+ {{getAllPrice(scope.row.child)}}
|
|
123
|
+ </template>
|
|
124
|
+ </el-table-column>
|
|
125
|
+ </el-table>
|
|
126
|
+ </div>
|
|
127
|
+ </div>
|
|
128
|
+ </div>
|
|
129
|
+</template>
|
|
130
|
+
|
|
131
|
+<script>
|
|
132
|
+import { GetDetailPatients,getHisAdviceOrderList } from "@/api/his/his_tools";
|
|
133
|
+import BreadCrumb from "@/xt_pages/components/bread-crumb";
|
|
134
|
+const moment = require("moment");
|
|
135
|
+import { uParseTime } from '@/utils/tools'
|
|
136
|
+export default {
|
|
137
|
+ components: {
|
|
138
|
+ BreadCrumb,
|
|
139
|
+ },
|
|
140
|
+ data() {
|
|
141
|
+ return {
|
|
142
|
+ currentRowIndex: 0,
|
|
143
|
+ patientTableData: [],
|
|
144
|
+ tableHeight: 400,
|
|
145
|
+ crumbs: [
|
|
146
|
+ { path: false, name: "His工具" },
|
|
147
|
+ { path: false, name: "明细汇总统计" },
|
|
148
|
+ ],
|
|
149
|
+ titleType: "明细",
|
|
150
|
+ patient_id: 0,
|
|
151
|
+ keywords: "",
|
|
152
|
+ tableList:[],
|
|
153
|
+ tableData:[],
|
|
154
|
+ chargeDate: [
|
|
155
|
+ moment(new Date()).add("year", 0).format("YYYY-MM-DD"),
|
|
156
|
+ moment(new Date()).add("year", 0).format("YYYY-MM-DD"),
|
|
157
|
+ ],
|
|
158
|
+ start_time:"",
|
|
159
|
+ end_time:"",
|
|
160
|
+
|
|
161
|
+ };
|
|
162
|
+ },
|
|
163
|
+
|
|
164
|
+ // beforeRouteEnter(to, from, next){
|
|
165
|
+ // if(from.path == '/hisTool/detailPrint'){
|
|
166
|
+ // next((vm) => {
|
|
167
|
+ // vm.titleType = "明细"
|
|
168
|
+ // })
|
|
169
|
+ // }else if(from.path == '/hisTool/gatherPrint'){
|
|
170
|
+ // vm.titleType = "汇总"
|
|
171
|
+ // next((vm) => {
|
|
172
|
+ // vm.titleType = "汇总"
|
|
173
|
+ // })
|
|
174
|
+ // }else{
|
|
175
|
+ // next()
|
|
176
|
+ // }
|
|
177
|
+ // },
|
|
178
|
+
|
|
179
|
+ //判断列表页是否刷新
|
|
180
|
+ beforeRouteLeave(to, from, next) {
|
|
181
|
+ console.log(to, "beforeRouteEnter");
|
|
182
|
+ if (to.path != "/hisTool/detailPrint"&&to.path != "/hisTool/gatherPrint") {
|
|
183
|
+ this.$store.getters.pagedata.list.table_id = 0
|
|
184
|
+ next()
|
|
185
|
+ } else {
|
|
186
|
+ next()
|
|
187
|
+ }
|
|
188
|
+ },
|
|
189
|
+
|
|
190
|
+ watch:{
|
|
191
|
+ 'titleType':{
|
|
192
|
+ handler(val){
|
|
193
|
+ this.$store.commit('SET_PAGENAME',val)
|
|
194
|
+ }
|
|
195
|
+ }
|
|
196
|
+ },
|
|
197
|
+
|
|
198
|
+ methods: {
|
|
199
|
+ getPatientList() {
|
|
200
|
+ var params = {
|
|
201
|
+ keyword: this.keywords,
|
|
202
|
+ };
|
|
203
|
+ GetDetailPatients(params).then((response) => {
|
|
204
|
+ if (response.data.state == 0) {
|
|
205
|
+ this.$message.error(response.data.msg);
|
|
206
|
+ return false;
|
|
207
|
+ } else {
|
|
208
|
+ this.patientTableData = response.data.data.patient;
|
|
209
|
+ this.patient_id = this.patientTableData[0].id;
|
|
210
|
+ if (this.$store.getters.pagedata.list.table_id == 0) {
|
|
211
|
+ this.$refs.singleTable.setCurrentRow(this.patientTableData[0]);
|
|
212
|
+ } else {
|
|
213
|
+ this.$refs.singleTable.setCurrentRow(
|
|
214
|
+ this.patientTableData[
|
|
215
|
+ this.$store.getters.pagedata.list.table_id
|
|
216
|
+ ]
|
|
217
|
+ );
|
|
218
|
+ }
|
|
219
|
+ }
|
|
220
|
+ });
|
|
221
|
+ },
|
|
222
|
+
|
|
223
|
+ tableRowClassName({ row, rowIndex }) {
|
|
224
|
+ row.row_index = rowIndex;
|
|
225
|
+ },
|
|
226
|
+
|
|
227
|
+ onRowClick(row, event, column) {
|
|
228
|
+ this.currentRowIndex = row.row_index;
|
|
229
|
+ this.$store.commit("SET_PAGEDATA", {
|
|
230
|
+ table_id: this.currentRowIndex,
|
|
231
|
+ });
|
|
232
|
+ // console.log(this.$store.getters.pagedata.list.table_id, "列表行id");
|
|
233
|
+ },
|
|
234
|
+ searchAction() {
|
|
235
|
+ this.getPatientList();
|
|
236
|
+ },
|
|
237
|
+ handleCurrentChange(row) {
|
|
238
|
+ this.patient_id = row.id;
|
|
239
|
+ this.tableList = []
|
|
240
|
+ this.tableData = []
|
|
241
|
+ this.getHisAdviceOrderList(row.id)
|
|
242
|
+ },
|
|
243
|
+ getHisAdviceOrderList(id){
|
|
244
|
+ var params = {
|
|
245
|
+ patient_id:id,
|
|
246
|
+ start_time:this.start_time,
|
|
247
|
+ end_time:this.end_time,
|
|
248
|
+ }
|
|
249
|
+ getHisAdviceOrderList(params).then(response=>{
|
|
250
|
+
|
|
251
|
+ })
|
|
252
|
+ },
|
|
253
|
+ changeDate(){
|
|
254
|
+ this.start_time = this.chargeDate[0];
|
|
255
|
+ this.end_time = this.chargeDate[1];
|
|
256
|
+ this.tableData = []
|
|
257
|
+ this.tableList = []
|
|
258
|
+ this.getHisAdviceOrderList(this.patient_id)
|
|
259
|
+ },
|
|
260
|
+ getTime(val) {
|
|
261
|
+ if(val < 0){
|
|
262
|
+ return ""
|
|
263
|
+ }
|
|
264
|
+ if(val == ""){
|
|
265
|
+ return ""
|
|
266
|
+ }else {
|
|
267
|
+ return uParseTime(val, '{y}')
|
|
268
|
+ }
|
|
269
|
+ },
|
|
270
|
+ getTimeOne(val) {
|
|
271
|
+ if(val < 0){
|
|
272
|
+ return ""
|
|
273
|
+ }
|
|
274
|
+ if(val == ""){
|
|
275
|
+ return ""
|
|
276
|
+ }else {
|
|
277
|
+ return uParseTime(val, '{m}')
|
|
278
|
+ }
|
|
279
|
+ },
|
|
280
|
+ getCount(val){
|
|
281
|
+ var count = 0
|
|
282
|
+ for(let i=0;i<val.length;i++){
|
|
283
|
+ count +=val[i].cnt
|
|
284
|
+ }
|
|
285
|
+ if(count >0){
|
|
286
|
+ return count
|
|
287
|
+ }else{
|
|
288
|
+ return ""
|
|
289
|
+ }
|
|
290
|
+ },
|
|
291
|
+ getAllPrice(val){
|
|
292
|
+ var total_price = 0
|
|
293
|
+ for(let i=0;i<val.length;i++){
|
|
294
|
+ total_price +=val[i].cnt * val[i].pric
|
|
295
|
+ }
|
|
296
|
+ if(total_price >0){
|
|
297
|
+ return total_price.toFixed(2)
|
|
298
|
+ }else{
|
|
299
|
+ return ""
|
|
300
|
+ }
|
|
301
|
+ },
|
|
302
|
+ exportList(){
|
|
303
|
+ import('@/vendor/Export2Excel').then(excel => {
|
|
304
|
+ for(let i=0;i<this.tableData.length;i++){
|
|
305
|
+ if(this.tableData[i].insutype == 310){
|
|
306
|
+ this.tableData[i].insutype = "职工"
|
|
307
|
+ }
|
|
308
|
+ if(this.tableData[i].insutype == 390){
|
|
309
|
+ this.tableData[i].insutype = "居民"
|
|
310
|
+ }
|
|
311
|
+
|
|
312
|
+ this.tableData[i].year = this.getTime(this.tableData[i].settle_accounts_date)
|
|
313
|
+ this.tableData[i].month = this.getTimeOne(this.tableData[i].settle_accounts_date)
|
|
314
|
+
|
|
315
|
+ if(this.tableData[i].med_chrgitm_type == "01"){
|
|
316
|
+ this.tableData[i].med_chrgitm_type = "床位费"
|
|
317
|
+ }
|
|
318
|
+ if(this.tableData[i].med_chrgitm_type == "02"){
|
|
319
|
+ this.tableData[i].med_chrgitm_type = "诊察费"
|
|
320
|
+ }
|
|
321
|
+ if(this.tableData[i].med_chrgitm_type == "03"){
|
|
322
|
+ this.tableData[i].med_chrgitm_type = "检查费"
|
|
323
|
+ }
|
|
324
|
+ if(this.tableData[i].med_chrgitm_type == "04"){
|
|
325
|
+ this.tableData[i].med_chrgitm_type = "化验费"
|
|
326
|
+ }
|
|
327
|
+ if(this.tableData[i].med_chrgitm_type == "05"){
|
|
328
|
+ this.tableData[i].med_chrgitm_type = "治疗费"
|
|
329
|
+ }
|
|
330
|
+ if(this.tableData[i].med_chrgitm_type == "06"){
|
|
331
|
+ this.tableData[i].med_chrgitm_type = "治疗费"
|
|
332
|
+ }
|
|
333
|
+ if(this.tableData[i].med_chrgitm_type == "08"){
|
|
334
|
+ this.tableData[i].med_chrgitm_type = "材料费"
|
|
335
|
+ }
|
|
336
|
+ if(this.tableData[i].med_chrgitm_type == "09"){
|
|
337
|
+ this.tableData[i].med_chrgitm_type = "西药费"
|
|
338
|
+ }
|
|
339
|
+ if(this.tableData[i].med_chrgitm_type == "11"){
|
|
340
|
+ this.tableData[i].med_chrgitm_type = "中成费"
|
|
341
|
+ }
|
|
342
|
+ if(this.tableData[i].med_chrgitm_type == "14"){
|
|
343
|
+ this.tableData[i].med_chrgitm_type = "其他费"
|
|
344
|
+ }
|
|
345
|
+
|
|
346
|
+ this.tableData[i].sum_count = this.getCount(this.tableData[i].child)
|
|
347
|
+
|
|
348
|
+ this.tableData[i].find_price = this.getAllPrice(this.tableData[i].child)
|
|
349
|
+ }
|
|
350
|
+ const tHeader = ['姓名','身份证','医保类型','年','月','收费项目','数量','金额']
|
|
351
|
+ const filterVal = ['name', 'id_card_no','insutype','year','month','med_chrgitm_type','sum_count','find_price']
|
|
352
|
+
|
|
353
|
+ const data = this.formatJson(filterVal,this.tableData)
|
|
354
|
+
|
|
355
|
+ excel.export_json_to_excel({
|
|
356
|
+ header: tHeader,
|
|
357
|
+ data,
|
|
358
|
+ filename: '药品信息'
|
|
359
|
+ })
|
|
360
|
+ this.downloadLoading = false
|
|
361
|
+
|
|
362
|
+ })
|
|
363
|
+ },
|
|
364
|
+ formatJson(filterVal, jsonData) {
|
|
365
|
+ return jsonData.map(v => filterVal.map(j => v[j]))
|
|
366
|
+ },
|
|
367
|
+ },
|
|
368
|
+ created() {
|
|
369
|
+
|
|
370
|
+ let type = this.$store.getters.pagedata.pagestate
|
|
371
|
+ if(type == ""){
|
|
372
|
+ this.titleType = "明细"
|
|
373
|
+ }else{
|
|
374
|
+ this.titleType = type
|
|
375
|
+ }
|
|
376
|
+ const tableHeight = document.body.clientHeight - 290;
|
|
377
|
+ this.tableHeight = tableHeight;
|
|
378
|
+ this.start_time = moment(new Date()).add("year", 0).format("YYYY-MM-DD")
|
|
379
|
+ this.end_time = moment(new Date()).add("year", 0).format("YYYY-MM-DD")
|
|
380
|
+ this.getPatientList();
|
|
381
|
+
|
|
382
|
+ },
|
|
383
|
+
|
|
384
|
+ mounted() {}
|
|
385
|
+};
|
|
386
|
+</script>
|
|
387
|
+
|
|
388
|
+<style lang="scss" scoped>
|
|
389
|
+.new-main-contain {
|
|
390
|
+ height: 100%;
|
|
391
|
+ display: flex;
|
|
392
|
+ flex-direction: column;
|
|
393
|
+}
|
|
394
|
+
|
|
395
|
+.app-container {
|
|
396
|
+ height: 100%;
|
|
397
|
+}
|
|
398
|
+
|
|
399
|
+.mainCell {
|
|
400
|
+ height: 36px;
|
|
401
|
+ display: flex;
|
|
402
|
+ align-items: center;
|
|
403
|
+}
|
|
404
|
+
|
|
405
|
+.mainLeft {
|
|
406
|
+ width: 200px;
|
|
407
|
+ height: 100%;
|
|
408
|
+ display: flex;
|
|
409
|
+ flex-direction: column;
|
|
410
|
+
|
|
411
|
+ .el-radio {
|
|
412
|
+ margin-right: 5px;
|
|
413
|
+ }
|
|
414
|
+}
|
|
415
|
+.mainRight {
|
|
416
|
+ margin-left: 10px;
|
|
417
|
+ flex: 1;
|
|
418
|
+ height: 100%;
|
|
419
|
+ display: flex;
|
|
420
|
+ flex-direction: column;
|
|
421
|
+ overflow-y: auto;
|
|
422
|
+
|
|
423
|
+ .cellSpan {
|
|
424
|
+ min-width: 80px;
|
|
425
|
+ display: inline-block;
|
|
426
|
+ margin-right: 10px;
|
|
427
|
+ }
|
|
428
|
+}
|
|
429
|
+.mainCenter {
|
|
430
|
+ display: flex;
|
|
431
|
+ flex: 1;
|
|
432
|
+}
|
|
433
|
+
|
|
434
|
+.centerLeft {
|
|
435
|
+ flex: 1;
|
|
436
|
+ display: flex;
|
|
437
|
+ flex-direction: column;
|
|
438
|
+ position: relative;
|
|
439
|
+
|
|
440
|
+ .el-form-item {
|
|
441
|
+ width: 32%;
|
|
442
|
+ margin-right: 1%;
|
|
443
|
+ float: left;
|
|
444
|
+ }
|
|
445
|
+
|
|
446
|
+ .el-form-item__label {
|
|
447
|
+ text-align: left;
|
|
448
|
+ }
|
|
449
|
+}
|
|
450
|
+.backColor {
|
|
451
|
+ background: #f6f8f9;
|
|
452
|
+ height: 5px;
|
|
453
|
+ margin-bottom: 5px;
|
|
454
|
+}
|
|
455
|
+
|
|
456
|
+.tabsBox {
|
|
457
|
+ position: relative;
|
|
458
|
+ height: 76%;
|
|
459
|
+ overflow-y: auto;
|
|
460
|
+ margin-bottom: 60px;
|
|
461
|
+
|
|
462
|
+ .el-tabs__item {
|
|
463
|
+ padding: 0 10px;
|
|
464
|
+ }
|
|
465
|
+}
|
|
466
|
+.preTabs {
|
|
467
|
+ height: 100%;
|
|
468
|
+ display: flex;
|
|
469
|
+ flex-direction: column;
|
|
470
|
+
|
|
471
|
+ .el-tabs__content {
|
|
472
|
+ flex: 1;
|
|
473
|
+ overflow-y: auto;
|
|
474
|
+ }
|
|
475
|
+}
|
|
476
|
+
|
|
477
|
+.costBox {
|
|
478
|
+ width: 100%;
|
|
479
|
+ height: 60px;
|
|
480
|
+ background: #fff;
|
|
481
|
+ position: absolute;
|
|
482
|
+ bottom: 0;
|
|
483
|
+ display: flex;
|
|
484
|
+ align-items: center;
|
|
485
|
+}
|
|
486
|
+
|
|
487
|
+.addTab {
|
|
488
|
+ position: absolute;
|
|
489
|
+ right: 0;
|
|
490
|
+ top: 14px;
|
|
491
|
+ z-index: 20;
|
|
492
|
+}
|
|
493
|
+
|
|
494
|
+.centerRight {
|
|
495
|
+ width: 300px;
|
|
496
|
+ margin-left: 10px;
|
|
497
|
+ display: flex;
|
|
498
|
+ flex-direction: column;
|
|
499
|
+ position: relative;
|
|
500
|
+}
|
|
501
|
+
|
|
502
|
+.rightTab {
|
|
503
|
+ height: 40px;
|
|
504
|
+ width: 100%;
|
|
505
|
+ border: 1px solid #d2d2d2;
|
|
506
|
+ box-sizing: border-box;
|
|
507
|
+
|
|
508
|
+ p {
|
|
509
|
+ width: 50%;
|
|
510
|
+ height: 40px;
|
|
511
|
+ line-height: 40px;
|
|
512
|
+ text-align: center;
|
|
513
|
+ background: #eee;
|
|
514
|
+ float: left;
|
|
515
|
+ }
|
|
516
|
+
|
|
517
|
+ > p:last-child {
|
|
518
|
+ border-left: 1px solid #d2d2d2;
|
|
519
|
+ float: right;
|
|
520
|
+ }
|
|
521
|
+
|
|
522
|
+ .activeP {
|
|
523
|
+ background: #409eff;
|
|
524
|
+ color: #fff;
|
|
525
|
+ }
|
|
526
|
+}
|
|
527
|
+.comfirmBox {
|
|
528
|
+ width: 100%;
|
|
529
|
+ height: 60px;
|
|
530
|
+ background: #fff;
|
|
531
|
+ position: absolute;
|
|
532
|
+ bottom: 0;
|
|
533
|
+ display: flex;
|
|
534
|
+ align-items: center;
|
|
535
|
+ justify-content: space-between;
|
|
536
|
+}
|
|
537
|
+
|
|
538
|
+.mainHeader {
|
|
539
|
+ width: 100%;
|
|
540
|
+ background: #fff;
|
|
541
|
+ position: fixed;
|
|
542
|
+ z-index: 100;
|
|
543
|
+ height: 36px;
|
|
544
|
+}
|
|
545
|
+
|
|
546
|
+.titleBox {
|
|
547
|
+ position: fixed;
|
|
548
|
+ z-index: 99;
|
|
549
|
+ background: #fff;
|
|
550
|
+}
|
|
551
|
+
|
|
552
|
+.fixedCell {
|
|
553
|
+ position: fixed;
|
|
554
|
+ z-index: 99;
|
|
555
|
+ right: 30px;
|
|
556
|
+ background: #fff;
|
|
557
|
+ width: 300px;
|
|
558
|
+ display: flex;
|
|
559
|
+ justify-content: space-between;
|
|
560
|
+}
|
|
561
|
+</style>
|
|
562
|
+
|
|
563
|
+<style lang="scss">
|
|
564
|
+.centerLeft {
|
|
565
|
+ .el-form-item__label {
|
|
566
|
+ text-align: left;
|
|
567
|
+ }
|
|
568
|
+}
|
|
569
|
+.tabsBox {
|
|
570
|
+ .el-tabs__item {
|
|
571
|
+ padding: 0 10px;
|
|
572
|
+ }
|
|
573
|
+
|
|
574
|
+ .el-tabs--bottom
|
|
575
|
+ .el-tabs--left
|
|
576
|
+ > .el-tabs__header
|
|
577
|
+ .el-tabs__item:nth-child(2),
|
|
578
|
+ .el-tabs--bottom
|
|
579
|
+ .el-tabs--right
|
|
580
|
+ > .el-tabs__header
|
|
581
|
+ .el-tabs__item:nth-child(2),
|
|
582
|
+ .el-tabs--bottom.el-tabs--border-card
|
|
583
|
+ > .el-tabs__header
|
|
584
|
+ .el-tabs__item:nth-child(2),
|
|
585
|
+ .el-tabs--bottom.el-tabs--card > .el-tabs__header .el-tabs__item:nth-child(2),
|
|
586
|
+ .el-tabs--top .el-tabs--left > .el-tabs__header .el-tabs__item:nth-child(2),
|
|
587
|
+ .el-tabs--top .el-tabs--right > .el-tabs__header .el-tabs__item:nth-child(2),
|
|
588
|
+ .el-tabs--top.el-tabs--border-card
|
|
589
|
+ > .el-tabs__header
|
|
590
|
+ .el-tabs__item:nth-child(2),
|
|
591
|
+ .el-tabs--top.el-tabs--card > .el-tabs__header .el-tabs__item:nth-child(2) {
|
|
592
|
+ padding: 0 10px;
|
|
593
|
+ }
|
|
594
|
+
|
|
595
|
+ .el-tabs--bottom .el-tabs--left > .el-tabs__header .el-tabs__item:last-child,
|
|
596
|
+ .el-tabs--bottom .el-tabs--right > .el-tabs__header .el-tabs__item:last-child,
|
|
597
|
+ .el-tabs--bottom.el-tabs--border-card
|
|
598
|
+ > .el-tabs__header
|
|
599
|
+ .el-tabs__item:last-child,
|
|
600
|
+ .el-tabs--bottom.el-tabs--card > .el-tabs__header .el-tabs__item:last-child,
|
|
601
|
+ .el-tabs--top .el-tabs--left > .el-tabs__header .el-tabs__item:last-child,
|
|
602
|
+ .el-tabs--top .el-tabs--right > .el-tabs__header .el-tabs__item:last-child,
|
|
603
|
+ .el-tabs--top.el-tabs--border-card
|
|
604
|
+ > .el-tabs__header
|
|
605
|
+ .el-tabs__item:last-child,
|
|
606
|
+ .el-tabs--top.el-tabs--card > .el-tabs__header .el-tabs__item:last-child {
|
|
607
|
+ padding: 0 10px;
|
|
608
|
+ }
|
|
609
|
+
|
|
610
|
+ .el-tabs--card > .el-tabs__header .el-tabs__item.is-active.is-closable {
|
|
611
|
+ padding: 0 10px;
|
|
612
|
+ }
|
|
613
|
+}
|
|
614
|
+.centerRight {
|
|
615
|
+ .el-tabs__nav-scroll {
|
|
616
|
+ display: flex;
|
|
617
|
+ }
|
|
618
|
+
|
|
619
|
+ .el-tabs__nav {
|
|
620
|
+ margin: 0 auto;
|
|
621
|
+ }
|
|
622
|
+
|
|
623
|
+ .el-table th .cell,
|
|
624
|
+ .el-table td .cell {
|
|
625
|
+ padding: 0 2px;
|
|
626
|
+ }
|
|
627
|
+}
|
|
628
|
+.preTabs {
|
|
629
|
+ .el-tabs__content {
|
|
630
|
+ }
|
|
631
|
+}
|
|
632
|
+.rightTabs {
|
|
633
|
+ height: 100%;
|
|
634
|
+
|
|
635
|
+ .el-tabs__content {
|
|
636
|
+ }
|
|
637
|
+}
|
|
638
|
+.centerDialog {
|
|
639
|
+ .el-dialog__body {
|
|
640
|
+ max-height: calc(100vh - 100px) !important;
|
|
641
|
+ padding: 0 20px;
|
|
642
|
+ }
|
|
643
|
+}
|
|
644
|
+</style>
|