|
@@ -29,6 +29,8 @@
|
29
|
29
|
</el-radio-group>
|
30
|
30
|
</div>
|
31
|
31
|
<div class="mainCell" style="margin-bottom:10px;">
|
|
32
|
+ <el-input size="small" v-model="key" class="filter-item"/>
|
|
33
|
+
|
32
|
34
|
<el-input size="small" @keyup.enter.native='searchAction' v-model.trim="search_input" class="filter-item"/>
|
33
|
35
|
<el-button size="small" style="margin-left:10px;" class="filter-item" type="primary" @click="searchAction">
|
34
|
36
|
搜索
|
|
@@ -69,17 +71,36 @@
|
69
|
71
|
</el-button>
|
70
|
72
|
|
71
|
73
|
|
72
|
|
- <el-button size="small" @click="open(7)" type="primary"
|
73
|
|
- >对账
|
74
|
|
- </el-button>
|
|
74
|
+ <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(7)" type="primary"-->
|
|
75
|
+ <!-->对账-->
|
|
76
|
+ <!--</el-button>-->
|
75
|
77
|
|
76
|
78
|
|
77
|
|
- <el-button size="small" @click="open(8)" type="primary"
|
78
|
|
- >明细对账
|
79
|
|
- </el-button>
|
80
|
|
- <el-button size="small" @click="open(9)" type="primary"
|
|
79
|
+ <!--<el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(8)" type="primary"-->
|
|
80
|
+ <!-->明细对账-->
|
|
81
|
+ <!--</el-button>-->
|
|
82
|
+ <el-button v-if="this.info.prescription_status >= 2" size="small" @click="open(9)" type="primary"
|
81
|
83
|
>结算单
|
82
|
84
|
</el-button>
|
|
85
|
+
|
|
86
|
+ <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(10)" type="primary"-->
|
|
87
|
+ <!-->退号-->
|
|
88
|
+ <!--</el-button>-->
|
|
89
|
+
|
|
90
|
+ <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(11)" type="primary"-->
|
|
91
|
+ <!-->撤销明细-->
|
|
92
|
+ <!--</el-button>-->
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+ <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(12)" type="primary"-->
|
|
96
|
+ <!-->查编码-->
|
|
97
|
+ <!--</el-button>-->
|
|
98
|
+
|
|
99
|
+ <!--<el-button v-if="$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919" size="small" @click="open(13)" type="primary"-->
|
|
100
|
+ <!-->查待遇-->
|
|
101
|
+ <!--</el-button>-->
|
|
102
|
+
|
|
103
|
+
|
83
|
104
|
</div>
|
84
|
105
|
|
85
|
106
|
<div class="mainCenter">
|
|
@@ -157,70 +178,59 @@
|
157
|
178
|
</div>
|
158
|
179
|
</el-tab-pane>
|
159
|
180
|
<!--<el-tab-pane label="月结" name="second">-->
|
160
|
|
- <!--<div style="display:flex;height:100%;">-->
|
161
|
|
- <!--<div class="centerLeft">-->
|
162
|
|
- <!--<div class="tabsBox">-->
|
163
|
|
- <!--<!–<el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>–>-->
|
164
|
|
- <!--<el-tabs class="preTabs" v-model="editableTabsValue" type="card" closable>-->
|
165
|
|
- <!--<el-tab-pane-->
|
166
|
|
- <!--v-for="(item, index) in editableTabs"-->
|
167
|
|
- <!--:key="index"-->
|
168
|
|
- <!--:label="item.title"-->
|
169
|
|
- <!--:name="item.name"-->
|
170
|
|
- <!-->-->
|
171
|
|
- <!--<div class="RP">-->
|
172
|
|
- <!--Rp-->
|
173
|
|
- <!--<el-date-picker-->
|
174
|
|
- <!--style="width:420px;"-->
|
175
|
|
- <!--v-model="value1"-->
|
176
|
|
- <!--type="daterange"-->
|
177
|
|
- <!--range-separator="至"-->
|
178
|
|
- <!--start-placeholder="开始日期"-->
|
179
|
|
- <!--end-placeholder="结束日期">-->
|
180
|
|
- <!--</el-date-picker>-->
|
181
|
|
- <!--</div>-->
|
182
|
|
- <!--<prescription-table :preTableData='preTableData'></prescription-table>-->
|
183
|
|
- <!--</el-tab-pane>-->
|
184
|
|
- <!--<!–<el-tab-pane name="more" closable><span slot="label"><i class="el-icon-plus" @click="addTab"></i></span></el-tab-pane>–>-->
|
185
|
|
- <!--</el-tabs>-->
|
186
|
|
-
|
187
|
|
- <!--</div>-->
|
188
|
|
- <!--<div class="costBox">-->
|
189
|
|
- <!--<span>处方编号:2134348971237883</span>-->
|
190
|
|
- <!--<span>当前处方总费用:<span style="color:red;">{{ total }}元</span></span>-->
|
191
|
|
- <!--<span>{{ state }}</span>-->
|
192
|
|
- <!--</div>-->
|
193
|
|
- <!--</div>-->
|
194
|
|
- <!--<div class="centerRight">-->
|
195
|
|
- <!--<p class="centerRightTitle">人员信息</p>-->
|
196
|
|
- <!--<div style="display:flex;justify-content: space-between;line-height:30px;">-->
|
197
|
|
- <!--<span style="font-size:14px;">人员编码:</span>-->
|
198
|
|
- <!--<span style="font-size:14px;">日期:{{start_time}}</span>-->
|
199
|
|
- <!--</div>-->
|
200
|
|
- <!--<ul class="basicUl">-->
|
201
|
|
- <!--<li style="width:50%;">姓名:{{ patientInfo.name }}</li>-->
|
202
|
|
- <!--<li style="width:50%;">性别:{{ patientInfo && patientInfo.gend == 1 ? '男' : "女" }}</li>-->
|
203
|
|
- <!--<li style="width:50%;">年龄:{{ patientInfo.age }}</li>-->
|
204
|
|
- <!--<li style="width:50%;">身高:</li>-->
|
205
|
|
- <!--<li style="width:50%;">体重:</li>-->
|
206
|
|
- <!--<li style="width:50%;">电话:</li>-->
|
207
|
|
- <!--<li style="width:100%;">地址:</li>-->
|
208
|
|
- <!--<li style="width:100%;">过敏史:</li>-->
|
209
|
|
- <!--</ul>-->
|
210
|
|
- <!--<p class="centerRightTitle">诊断信息</p>-->
|
211
|
|
- <!--<div style="display:flex;justify-content: space-between;line-height:30px;">-->
|
212
|
|
- <!--<span style="font-size:14px;">门诊编号:676273816287361</span>-->
|
213
|
|
- <!--</div>-->
|
214
|
|
- <!--<ul class="basicUl">-->
|
215
|
|
- <!--<li style="width:50%;">医生:{{ doctor.name }}</li>-->
|
216
|
|
- <!--<li style="width:50%;">科室:{{ doctor.department }}</li>-->
|
217
|
|
- <!--<li style="width:100%;">费用:{{ doctor.total }}元</li>-->
|
218
|
|
- <!--<li style="width:100%;">判断结果:</li>-->
|
219
|
|
- <!--<li style="width:100%;">是否有传染病:</li>-->
|
220
|
|
- <!--<li style="width:100%;">血压:</li>-->
|
221
|
|
- <!--</ul>-->
|
222
|
|
- <!--</div>-->
|
223
|
|
- <!--</div>-->
|
|
181
|
+ <!--<div style="display:flex;height:100%;">-->
|
|
182
|
+ <!--<div class="centerLeft">-->
|
|
183
|
+ <!--<div class="tabsBox">-->
|
|
184
|
+ <!--<!–<el-button type="text" class="addTab" @click="addCharges" icon="el-icon-circle-plus">附加收费</el-button>–>-->
|
|
185
|
+ <!--<el-tabs class="preTabs" v-model="editableTabsValue" type="card" closable>-->
|
|
186
|
+
|
|
187
|
+ <!--<el-tab-pane-->
|
|
188
|
+ <!--v-for="(item, index) in month_prescriptions"-->
|
|
189
|
+ <!--:key="index"-->
|
|
190
|
+ <!--:label="item.name"-->
|
|
191
|
+ <!--:name="item.name"-->
|
|
192
|
+ <!-->-->
|
|
193
|
+ <!--</el-tab-pane>-->
|
|
194
|
+
|
|
195
|
+ <!--<div class="RP">-->
|
|
196
|
+ <!--Rp-->
|
|
197
|
+ <!--<el-date-picker-->
|
|
198
|
+ <!--v-model="other_start_time"-->
|
|
199
|
+ <!--prefix-icon="el-icon-date"-->
|
|
200
|
+ <!--@change="changeTime"-->
|
|
201
|
+ <!--:editable="false"-->
|
|
202
|
+ <!--style="width: 150px;"-->
|
|
203
|
+ <!--type="date"-->
|
|
204
|
+ <!--:picker-options="pickerOptions"-->
|
|
205
|
+ <!--placeholder="选择开始时间"-->
|
|
206
|
+ <!--align="right"-->
|
|
207
|
+ <!--format="yyyy-MM-dd"-->
|
|
208
|
+ <!--value-format="yyyy-MM-dd"-->
|
|
209
|
+ <!--></el-date-picker>-->
|
|
210
|
+ <!--<span class>-</span>-->
|
|
211
|
+ <!--<el-date-picker-->
|
|
212
|
+ <!--v-model="other_end_time"-->
|
|
213
|
+ <!--prefix-icon="el-icon-date"-->
|
|
214
|
+ <!--@change="changeEndTime"-->
|
|
215
|
+ <!--:editable="false"-->
|
|
216
|
+ <!--style="width: 150px;"-->
|
|
217
|
+ <!--type="date"-->
|
|
218
|
+ <!--placeholder="选择结束时间"-->
|
|
219
|
+ <!--align="right"-->
|
|
220
|
+ <!--format="yyyy-MM-dd"-->
|
|
221
|
+ <!--value-format="yyyy-MM-dd"-->
|
|
222
|
+ <!--></el-date-picker>-->
|
|
223
|
+ <!--</div>-->
|
|
224
|
+ <!--<!–<prescription-table :preTableData='preTableData'></prescription-table>–>-->
|
|
225
|
+ <!--</el-tabs>-->
|
|
226
|
+
|
|
227
|
+ <!--</div>-->
|
|
228
|
+ <!--<!–<div class="costBox">–>-->
|
|
229
|
+ <!--<!–<span>当前处方总费用:<span style="color:red;">{{ total }}元</span></span>–>-->
|
|
230
|
+ <!--<!–<span>{{ state }}</span>–>-->
|
|
231
|
+ <!--<!–</div>–>-->
|
|
232
|
+ <!--</div>-->
|
|
233
|
+ <!--</div>-->
|
224
|
234
|
<!--</el-tab-pane>-->
|
225
|
235
|
</el-tabs>
|
226
|
236
|
|
|
@@ -284,6 +294,9 @@
|
284
|
294
|
},
|
285
|
295
|
data() {
|
286
|
296
|
return {
|
|
297
|
+ key: "",
|
|
298
|
+ other_start_time:"",
|
|
299
|
+ other_end_time:"",
|
287
|
300
|
crumbs: [
|
288
|
301
|
{path: false, name: '门诊收费'},
|
289
|
302
|
{path: false, name: '门诊收费管理'}
|
|
@@ -298,6 +311,8 @@
|
298
|
311
|
info: {},
|
299
|
312
|
curPrescriptions: {},
|
300
|
313
|
prescriptions: [],
|
|
314
|
+ month_prescriptions: [],
|
|
315
|
+
|
301
|
316
|
record_date: '',
|
302
|
317
|
tableData: [],
|
303
|
318
|
editableTabsValue: '处方1',
|
|
@@ -327,11 +342,9 @@
|
327
|
342
|
order: {},
|
328
|
343
|
addtions_charge: [],
|
329
|
344
|
treatVisible: false,
|
330
|
|
- orderObj:{
|
331
|
|
- },
|
332
|
|
- paramsObj: {
|
333
|
|
- },
|
334
|
|
- statementVisible:false
|
|
345
|
+ orderObj: {},
|
|
346
|
+ paramsObj: {},
|
|
347
|
+ statementVisible: false
|
335
|
348
|
}
|
336
|
349
|
},
|
337
|
350
|
created() {
|
|
@@ -352,12 +365,30 @@
|
352
|
365
|
this.getPatientList()
|
353
|
366
|
},
|
354
|
367
|
methods: {
|
355
|
|
- chargeConfirm(form) {
|
|
368
|
+ changeTime(val){
|
|
369
|
+ this.other_start_time = val
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+ },changeEndTime(val){
|
|
373
|
+ this.other_end_time = val
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+ }, chargeConfirm(form) {
|
|
378
|
+
|
356
|
379
|
form['id'] = this.patientInfo.id
|
357
|
380
|
form['record_time'] = this.record_date
|
|
381
|
+ if(this.activeName == 'first'){
|
|
382
|
+ form['settle_accounts_type'] = 1
|
|
383
|
+ }else {
|
|
384
|
+ form['start_time'] = this.other_start_time
|
|
385
|
+ form['end_time'] = this.other_end_time
|
|
386
|
+ form['settle_accounts_type'] = 2
|
|
387
|
+ }
|
|
388
|
+
|
358
|
389
|
this.loadingtwo = true
|
359
|
|
- if (this.$store.getters.xt_user.org_id == 4) {
|
360
|
|
- var that = this
|
|
390
|
+ if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919) {
|
|
391
|
+ var that = this
|
361
|
392
|
axios.get('http://127.0.0.1:9532/api/upload/get', {
|
362
|
393
|
params: form
|
363
|
394
|
})
|
|
@@ -368,6 +399,7 @@
|
368
|
399
|
that.$refs.charge.hide()
|
369
|
400
|
return false
|
370
|
401
|
} else {
|
|
402
|
+ that.changeRadio(2)
|
371
|
403
|
that.$refs.charge.hide()
|
372
|
404
|
that.loadingtwo = false
|
373
|
405
|
that.state = '已收费'
|
|
@@ -381,8 +413,7 @@
|
381
|
413
|
.catch(function (error) {
|
382
|
414
|
|
383
|
415
|
});
|
384
|
|
- }
|
385
|
|
- else {
|
|
416
|
+ } else {
|
386
|
417
|
upload(form).then(response => {
|
387
|
418
|
if (response.data.state == 0) {
|
388
|
419
|
this.$message.error(response.data.msg)
|
|
@@ -411,8 +442,8 @@
|
411
|
442
|
forms['record_time'] = this.record_date,
|
412
|
443
|
this.loadingone = true
|
413
|
444
|
|
414
|
|
- if (this.$store.getters.xt_user.org_id == 4) {
|
415
|
|
- var that = this
|
|
445
|
+ if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919) {
|
|
446
|
+ var that = this
|
416
|
447
|
|
417
|
448
|
axios.get('http://127.0.0.1:9532/api/register/get', {
|
418
|
449
|
params: forms
|
|
@@ -652,16 +683,17 @@
|
652
|
683
|
// this.$router.push('/outpatientCharges/treatPrint?record_date=' + this.record_date + '&patient_id=' + this.patient_id + '&prescription_id=' + this.prescription_id)
|
653
|
684
|
} else if (index == 4) {
|
654
|
685
|
|
655
|
|
- if (this.hisPatientInfo.id == 0) {
|
656
|
|
- this.$message({message: '该患者尚未挂号,请先挂号', type: 'error'})
|
657
|
|
- return
|
658
|
|
- }
|
|
686
|
+ // if (this.hisPatientInfo.id == 0) {
|
|
687
|
+ // this.$message({message: '该患者尚未挂号,请先挂号', type: 'error'})
|
|
688
|
+ // return
|
|
689
|
+ // }
|
659
|
690
|
|
660
|
691
|
this.$refs.charge.show(this.getTotal())
|
661
|
692
|
|
662
|
693
|
|
663
|
694
|
} else if (index == 5) {
|
664
|
|
- if (this.$store.getters.xt_user.org_id == 4) {
|
|
695
|
+ if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919) {
|
|
696
|
+
|
665
|
697
|
var that = this
|
666
|
698
|
this.$confirm('是否退费', '退费', {
|
667
|
699
|
confirmButtonText: '确 定',
|
|
@@ -684,6 +716,7 @@
|
684
|
716
|
that.loadingtwo = false
|
685
|
717
|
return false
|
686
|
718
|
} else {
|
|
719
|
+ that.changeRadio(1)
|
687
|
720
|
that.$message({message: '退费成功', type: 'success'})
|
688
|
721
|
that.loadingtwo = false
|
689
|
722
|
|
|
@@ -742,16 +775,16 @@
|
742
|
775
|
|
743
|
776
|
|
744
|
777
|
} else if (index == 7) {
|
745
|
|
- let params={
|
746
|
|
- start_time:"2020-12-28",
|
747
|
|
- end_time:"2020-12-30",
|
748
|
|
- insutype:"390",
|
749
|
|
- clr_type:"11",
|
|
778
|
+ let params = {
|
|
779
|
+ start_time: "2020-12-28",
|
|
780
|
+ end_time: "2020-12-30",
|
|
781
|
+ insutype: "390",
|
|
782
|
+ clr_type: "11",
|
750
|
783
|
}
|
751
|
784
|
|
752
|
785
|
var that = this
|
753
|
786
|
|
754
|
|
- if (this.$store.getters.xt_user.org_id == 4) {
|
|
787
|
+ if (this.$store.getters.xt_user.org_id == 4 || this.$store.getters.xt_user.org_id == 9919) {
|
755
|
788
|
axios.get('http://127.0.0.1:9532/api/checkaccount/get', {
|
756
|
789
|
params: params
|
757
|
790
|
})
|
|
@@ -773,9 +806,9 @@
|
773
|
806
|
}
|
774
|
807
|
|
775
|
808
|
} else if (index == 8) {
|
776
|
|
- let params={
|
777
|
|
- start_time:"2020-12-28",
|
778
|
|
- end_time:"2020-12-30",
|
|
809
|
+ let params = {
|
|
810
|
+ start_time: "2020-12-28",
|
|
811
|
+ end_time: "2020-12-30",
|
779
|
812
|
}
|
780
|
813
|
var that = this
|
781
|
814
|
axios.get('http://127.0.0.1:9532/api/checkdetailaccount/get', {
|
|
@@ -795,16 +828,99 @@
|
795
|
828
|
});
|
796
|
829
|
|
797
|
830
|
|
798
|
|
-
|
799
|
|
- } else if (index == 9){
|
|
831
|
+ } else if (index == 9) {
|
800
|
832
|
this.statementVisible = true
|
801
|
833
|
let obj = {
|
802
|
|
- order_id:this.order.id
|
|
834
|
+ order_id: this.order.id
|
803
|
835
|
}
|
804
|
836
|
this.orderObj = obj
|
805
|
837
|
// this.$refs.print.getInfo(this.order.id)
|
806
|
838
|
|
807
|
839
|
|
|
840
|
+ } else if (index == 10) {
|
|
841
|
+ let params = {
|
|
842
|
+
|
|
843
|
+ 'patient_id': this.patientInfo.id,
|
|
844
|
+ 'record_time': this.record_date,
|
|
845
|
+ }
|
|
846
|
+ axios.get('http://127.0.0.1:9532/api/refundnumber/post', {
|
|
847
|
+ params: params
|
|
848
|
+ })
|
|
849
|
+ .then(function (response) {
|
|
850
|
+ if (response.data.state == 0) {
|
|
851
|
+ that.$message.error(response.data.msg)
|
|
852
|
+ that.loadingtwo = false
|
|
853
|
+ return false
|
|
854
|
+ } else {
|
|
855
|
+ that.$message({message: '退号成功', type: 'success'})
|
|
856
|
+ that.loadingtwo = false
|
|
857
|
+ }
|
|
858
|
+ })
|
|
859
|
+ .catch(function (error) {
|
|
860
|
+ });
|
|
861
|
+ } else if (index == 11) {
|
|
862
|
+ let params = {
|
|
863
|
+ 'order_id': this.order.id,
|
|
864
|
+ 'number': this.order.number,
|
|
865
|
+ 'patient_id': this.patientInfo.id,
|
|
866
|
+ 'record_time': this.record_date,
|
|
867
|
+ }
|
|
868
|
+ axios.get('http://127.0.0.1:9532/api/refunddetail/post', {
|
|
869
|
+ params: params
|
|
870
|
+ })
|
|
871
|
+ .then(function (response) {
|
|
872
|
+ if (response.data.state == 0) {
|
|
873
|
+ that.$message.error(response.data.msg)
|
|
874
|
+ that.loadingtwo = false
|
|
875
|
+ return false
|
|
876
|
+ } else {
|
|
877
|
+ that.$message({message: '退号成功', type: 'success'})
|
|
878
|
+ that.loadingtwo = false
|
|
879
|
+ }
|
|
880
|
+ })
|
|
881
|
+ .catch(function (error) {
|
|
882
|
+ });
|
|
883
|
+
|
|
884
|
+ } else if (index == 12) {
|
|
885
|
+ let params = {
|
|
886
|
+ 'name': "琥珀酸亚铁片",
|
|
887
|
+ 'codg': "XB03AAH026A001010104942"
|
|
888
|
+ }
|
|
889
|
+ axios.get('http://127.0.0.1:9532/api/code/get', {
|
|
890
|
+ params: params
|
|
891
|
+ })
|
|
892
|
+ .then(function (response) {
|
|
893
|
+ if (response.data.state == 0) {
|
|
894
|
+ that.$message.error(response.data.msg)
|
|
895
|
+ that.loadingtwo = false
|
|
896
|
+ return false
|
|
897
|
+ } else {
|
|
898
|
+
|
|
899
|
+ that.loadingtwo = false
|
|
900
|
+ }
|
|
901
|
+ })
|
|
902
|
+ .catch(function (error) {
|
|
903
|
+ });
|
|
904
|
+
|
|
905
|
+ } else if (index == 13) {
|
|
906
|
+ let params = {
|
|
907
|
+ 'id': this.patientInfo.id,
|
|
908
|
+ 'record_time': this.record_date,
|
|
909
|
+ }
|
|
910
|
+ axios.get('http://127.0.0.1:9532/api/record/put', {
|
|
911
|
+ params: params
|
|
912
|
+ })
|
|
913
|
+ .then(function (response) {
|
|
914
|
+ if (response.data.state == 0) {
|
|
915
|
+ that.$message.error(response.data.msg)
|
|
916
|
+ that.loadingtwo = false
|
|
917
|
+ return false
|
|
918
|
+ } else {
|
|
919
|
+ that.loadingtwo = false
|
|
920
|
+ }
|
|
921
|
+ })
|
|
922
|
+ .catch(function (error) {
|
|
923
|
+ });
|
808
|
924
|
}
|
809
|
925
|
},
|
810
|
926
|
|
|
@@ -833,7 +949,6 @@
|
833
|
949
|
let two_count = 0
|
834
|
950
|
let three_count = 0
|
835
|
951
|
for (let i = 0; i < response.data.data.list.length; i++) {
|
836
|
|
- console.log('99999999', response.data.data.list)
|
837
|
952
|
|
838
|
953
|
if (response.data.data.list[i].info.prescription_status == 0 || response.data.data.list[i].info.prescription_status == 1 || response.data.data.list[i].info.prescription_status == 2) {
|
839
|
954
|
if (response.data.data.list[i].prescription != null && response.data.data.list[i].prescription.length > 0) {
|
|
@@ -1008,9 +1123,9 @@
|
1008
|
1123
|
|
1009
|
1124
|
this.prescriptions = []
|
1010
|
1125
|
console.log("9991323242r5253535", response.data.data.prescription)
|
1011
|
|
- if( response.data.data.prescription[0].advices.length > 0 ) {
|
|
1126
|
+ if (response.data.data.prescription[0].advices.length > 0) {
|
1012
|
1127
|
this.prescription_id = response.data.data.prescription[0].advices[0].prescription_id
|
1013
|
|
- }else{
|
|
1128
|
+ } else {
|
1014
|
1129
|
this.prescription_id = 0
|
1015
|
1130
|
}
|
1016
|
1131
|
for (let i = 0; i < response.data.data.prescription.length; i++) {
|
|
@@ -1054,7 +1169,7 @@
|
1054
|
1169
|
price: prescription.project[b].price,
|
1055
|
1170
|
remark: prescription.project[b].remark,
|
1056
|
1171
|
medical_code: prescription.project[b].project.medical_code,
|
1057
|
|
- unit:prescription.project[b].project.unit
|
|
1172
|
+ unit: prescription.project[b].project.unit
|
1058
|
1173
|
}
|
1059
|
1174
|
tempProject.push(obj)
|
1060
|
1175
|
}
|
|
@@ -1128,15 +1243,18 @@
|
1128
|
1243
|
height: 100%;
|
1129
|
1244
|
display: flex;
|
1130
|
1245
|
flex-direction: column;
|
1131
|
|
- .mainLeft {
|
1132
|
|
- width: 200px;
|
1133
|
|
- height: 100%;
|
1134
|
|
- display: flex;
|
1135
|
|
- flex-direction: column;
|
1136
|
|
- padding-top: 20px;
|
1137
|
|
- .el-radio {
|
1138
|
|
- margin-right: 5px;
|
1139
|
|
- }
|
|
1246
|
+
|
|
1247
|
+ .mainLeft {
|
|
1248
|
+ width: 200px;
|
|
1249
|
+ height: 100%;
|
|
1250
|
+ display: flex;
|
|
1251
|
+ flex-direction: column;
|
|
1252
|
+ padding-top: 20px;
|
|
1253
|
+
|
|
1254
|
+ .el-radio {
|
|
1255
|
+ margin-right: 5px;
|
|
1256
|
+ }
|
|
1257
|
+
|
1140
|
1258
|
}
|
1141
|
1259
|
.mainCell {
|
1142
|
1260
|
height: 36px;
|
|
@@ -1265,10 +1383,10 @@
|
1265
|
1383
|
/* line-height: 38px;
|
1266
|
1384
|
text-indent: 5px; */
|
1267
|
1385
|
font-size: 14px;
|
1268
|
|
- display:flex;
|
1269
|
|
- align-items:center;
|
1270
|
|
- padding:5px;
|
1271
|
|
- box-sizing:border-box;
|
|
1386
|
+ display: flex;
|
|
1387
|
+ align-items: center;
|
|
1388
|
+ padding: 5px;
|
|
1389
|
+ box-sizing: border-box;
|
1272
|
1390
|
}
|
1273
|
1391
|
|
1274
|
1392
|
}
|
|
@@ -1277,29 +1395,35 @@
|
1277
|
1395
|
|
1278
|
1396
|
<style lang="scss">
|
1279
|
1397
|
#tab-more {
|
1280
|
|
- .el-icon-close {
|
1281
|
|
- display: none;
|
1282
|
|
- }
|
|
1398
|
+
|
|
1399
|
+ .el-icon-close {
|
|
1400
|
+ display: none;
|
|
1401
|
+ }
|
|
1402
|
+
|
1283
|
1403
|
}
|
1284
|
1404
|
.settlementTabs {
|
1285
|
|
- .el-tabs__content {
|
1286
|
|
- height: 90%;
|
1287
|
|
- }
|
|
1405
|
+
|
|
1406
|
+ .el-tabs__content {
|
|
1407
|
+ height: 90%;
|
|
1408
|
+ }
|
|
1409
|
+
|
1288
|
1410
|
}
|
1289
|
1411
|
.preTabs {
|
1290
|
1412
|
|
1291
|
|
- .el-tabs__content {
|
1292
|
|
- flex: 1;
|
1293
|
|
- overflow-y: auto;
|
1294
|
|
- padding: 5px 0 5px 5px;
|
1295
|
|
- }
|
|
1413
|
+ .el-tabs__content {
|
|
1414
|
+ flex: 1;
|
|
1415
|
+ overflow-y: auto;
|
|
1416
|
+ padding: 5px 0 5px 5px;
|
|
1417
|
+ }
|
1296
|
1418
|
|
1297
|
1419
|
}
|
1298
|
|
- .centerDialog{
|
1299
|
|
- .el-dialog__body{
|
1300
|
|
- max-height: calc(100vh - 100px) !important;
|
1301
|
|
- padding: 0 20px;
|
1302
|
|
- }
|
|
1420
|
+ .centerDialog {
|
|
1421
|
+
|
|
1422
|
+ .el-dialog__body {
|
|
1423
|
+ max-height: calc(100vh - 100px) !important;
|
|
1424
|
+ padding: 0 20px;
|
|
1425
|
+ }
|
|
1426
|
+
|
1303
|
1427
|
}
|
1304
|
1428
|
</style>
|
1305
|
1429
|
|