File tree Expand file tree Collapse file tree 1 file changed +22
-8
lines changed
pages/center/_centerId/patient Expand file tree Collapse file tree 1 file changed +22
-8
lines changed Original file line number Diff line number Diff line change 56
56
</div >
57
57
</div >
58
58
<div >
59
- <span class =" download" @click =" showModal = true" >
60
- 患者データをダウンロード
61
- </span >
59
+ <ActionButton
60
+ theme =" outline"
61
+ size =" S"
62
+ :is-inline =" true"
63
+ @click =" showModal = true"
64
+ >
65
+ <DownloadIcon class =" downloadIcon" />
66
+ ダウンロード
67
+ </ActionButton >
62
68
</div >
63
69
</div >
64
70
<div class =" patientGraphLayout" >
67
73
<SymptomsHistory class =" symptomsHistory" :statuses =" patient.statuses" />
68
74
<ModalBase :show =" showModal" @close =" closeModal" >
69
75
<h2 >患者データをダウンロード</h2 >
76
+ <p >
77
+ 患者の記録データをCSV形式に変換しファイルをzip形式に圧縮します。ダウンロードファイルのパスワード設定をしてください。
78
+ </p >
70
79
<div class =" inputContainer" >
71
80
<InputField
72
81
v-model =" zipPassword"
73
82
type =" password"
74
- label =" パスワードを設定してください"
83
+ label =" パスワード"
84
+ placeholder =" 8文字以上"
75
85
:rule-length =" 8"
76
86
required
77
87
class =" passwordField"
80
90
v-model =" zipPasswordReEnter"
81
91
type =" password"
82
92
label =" パスワードの再入力"
93
+ placeholder =" 8文字以上"
83
94
:rule-length =" 8"
84
95
required
85
96
class =" passwordField"
91
102
:is-submittable =" isDownloadable"
92
103
@click =" downloadZip"
93
104
>
94
- ZIPをダウンロード
105
+ ダウンロードを開始する
95
106
</ActionButton >
96
107
</ModalBase >
97
108
</div >
@@ -112,6 +123,7 @@ import ModalBase from '@/components/ModalBase.vue'
112
123
import EditIcon from ' @/static/icon-edit.svg'
113
124
import SaveIcon from ' @/static/icon-save.svg'
114
125
import CloseIcon from ' @/static/icon-close.svg'
126
+ import DownloadIcon from ' @/static/icon-download.svg'
115
127
import { patientsStore } from ' @/store'
116
128
117
129
@Component ({
@@ -124,6 +136,7 @@ import { patientsStore } from '@/store'
124
136
EditIcon ,
125
137
SaveIcon ,
126
138
CloseIcon ,
139
+ DownloadIcon ,
127
140
},
128
141
})
129
142
export default class PatientId extends Vue {
@@ -320,13 +333,14 @@ export default class PatientId extends Vue {
320
333
.symptomsHistory {
321
334
padding : 32px ;
322
335
}
323
- .download {
324
- cursor : pointer ;
325
- }
326
336
.inputContainer {
327
337
margin : 30px 0 ;
328
338
}
329
339
.passwordField {
330
340
margin-bottom : 30px ;
331
341
}
342
+ .downloadIcon {
343
+ fill : none !important ;
344
+ vertical-align : text-bottom ;
345
+ }
332
346
</style >
You can’t perform that action at this time.
0 commit comments