| | |
| | | </UiField> |
| | | </el-row> |
| | | |
| | | <el-row |
| | | type="flex" |
| | | justify="center" |
| | | class="pam-paragraph"> |
| | | <el-button>+ 顧問清單</el-button> |
| | | <el-button type="primary">進行預約</el-button> |
| | | </el-row> |
| | | <AddAndReservedBtns |
| | | :cusClass="'pam-paragraph'" |
| | | :agentInfo="agentInfo" |
| | | @openPopUp="openPopUp" |
| | | ></AddAndReservedBtns> |
| | | |
| | | <PopUpFrame :isOpen.sync="isVisiblePopUp" |
| | | > |
| | | <div class="text--center mdTxt"> |
| | | <p class="mb-50">{{popUpTxt}}</p> |
| | | <p class="text--primary cursor--pointer" |
| | | @click="isVisiblePopUp = false">我知道了</p> |
| | | </div> |
| | | </PopUpFrame> |
| | | </div> |
| | | </template> |
| | | |
| | |
| | | @Component |
| | | export default class AgentInfoComponent extends Vue { |
| | | agentInfo!: AgentInfo; |
| | | |
| | | isVisiblePopUp = false; |
| | | popUpTxt = '成功加入顧問清單'; |
| | | async asyncData(context: Context) { |
| | | const agentNo = context.route.params.agentNo; |
| | | let agentInfo = {}; |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | get agentName(): string { |
| | | return `${this.agentInfo.name}(${this.agentInfo.role})`; |
| | | } |
| | | |
| | | openPopUp(txt: string) { |
| | | this.popUpTxt = txt; |
| | | this.isVisiblePopUp = true; |
| | | } |
| | | } |
| | | |
| | | interface AgentInfo { |