|
@@ -7,7 +7,7 @@
|
7
|
7
|
<div>透析号:{{ patient.dialysis_no }}</div>
|
8
|
8
|
<div>性别:{{ patient.gender == 1 ? '男' : '女' }}</div>
|
9
|
9
|
<div>年龄:{{ patient.age }} 岁</div>
|
10
|
|
- <div v-if="$store.getters.xt_user.org_id != 0">日期:{{ order.setl_time }}
|
|
10
|
+ <div v-if="$store.getters.xt_user.org_id != 0">处方日期:{{ gettime(order.setl_time) }}
|
11
|
11
|
<!-- {{ hospital.in_hosptial_time }} 至
|
12
|
12
|
{{ hospital.out_hosptial_time }} -->
|
13
|
13
|
</div>
|
|
@@ -147,7 +147,11 @@ export default {
|
147
|
147
|
}
|
148
|
148
|
|
149
|
149
|
},
|
150
|
|
-
|
|
150
|
+ // 日期转时间戳
|
|
151
|
+ gettime(val){
|
|
152
|
+ const date = Date.parse(val)
|
|
153
|
+ return this.getTimes(date)
|
|
154
|
+ }
|
151
|
155
|
},
|
152
|
156
|
created(){
|
153
|
157
|
this.org_id = this.$store.getters.xt_user.org_id
|