From 4df7821ba212d4c62069e551194512519f325ec3 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期六, 22 一月 2022 12:51:12 +0800 Subject: [PATCH] Update:顧問流程樣式修改 - agenda --- PAMapp/components/Interview/InterviewAdd.vue | 47 ++++++++++++++++++++++++++++++++--------------- 1 files changed, 32 insertions(+), 15 deletions(-) diff --git a/PAMapp/components/Interview/InterviewAdd.vue b/PAMapp/components/Interview/InterviewAdd.vue index 7a47229..722db75 100644 --- a/PAMapp/components/Interview/InterviewAdd.vue +++ b/PAMapp/components/Interview/InterviewAdd.vue @@ -5,7 +5,7 @@ <span>{{interviewRecord.lastModifiedDate | formatDate}} ��</span> </div> <el-row class="mdTxt mb-10"> - <el-col :xs="16" :sm="20">蝝赤����</el-col> + <el-col :xs="16" :sm="20" class="required">蝝赤����</el-col> <el-col :xs="8" :sm="4" class="text--right" v-if="interviewId"> <span v-if="!isEdit" @@ -77,7 +77,7 @@ @closePopUp="closePopup"> <div class="text--center mdTxt">{{confirmTxt}}嚗�</div> <div class="text--center mdTxt">蝡���赤�嚗�</div> - <div class="text--center mt-30"> + <div class="text--center mt-30" style="display:flex"> <el-button @click="closePopup">�����</el-button> <el-button @click="showInterviewMsgPopup = true" type="primary">���赤�</el-button> </div> @@ -86,6 +86,7 @@ <InterviewMsg :isVisible.sync="showInterviewMsgPopup" :client="appointmentDetail" + :defaultValue="interviewTime" @closeDialog="closePopup" ></InterviewMsg> </div> @@ -165,24 +166,24 @@ } this.updateRecord(updateInterviewRecord); } - this.updateAppointmentDetail(+this.appointmentId); } private createdRecord(interviewRecordInfo) { appointmentService.createInterviewRecord(interviewRecordInfo).then(res => { - this.confirmTxt = '�憓���' - this.showPopUp(); + this.showPopUp('�憓���'); }); } private updateRecord(updateInterviewRecord) { appointmentService.updateInterviewRecord(updateInterviewRecord).then(res => { - this.confirmTxt = '蝺刻摩����'; - this.showPopUp(); + this.showPopUp('蝺刻摩����'); }); } - private showPopUp() { + private showPopUp(confirmTxt) { + this.confirmTxt = confirmTxt; + this.updateAppointmentDetail(+this.appointmentId); + if (new Date(this.interviewTime).getTime() >= new Date().getTime()) { this.showFutureDateConfirmPopup = true; } else { @@ -224,7 +225,7 @@ } </script> -<style lang="scss" scoped> +<style lang="scss" > .edit-appointment-record { padding-left : 10px; padding-right: 10px; @@ -235,15 +236,31 @@ margin-bottom : 26px; } } -.icon { - color : $PRIMARY_RED; - display : flex; - flex : 1; - justify-content: flex-end; -} .edit-appointment-record-btn{ margin-top: 30px; display: flex; justify-content: center; } +.el-textarea__inner { + border: 1px solid #707070; + padding: 10px 20px; + font-size: 20px; + &::placeholder { + font-size: 20px; + } +} +.required { + position: relative; + transform: translateX(10px); + + &::before { + content: '*'; + font-size: 15px; + font-weight: bold; + position: absolute; + color: #FF0000; + transform: translateX(-10px); + z-index: 5; + } +} </style> -- Gitblit v1.8.0