| | |
| | | <el-row |
| | | type="flex" |
| | | class="pam-paragraph"> |
| | | <UiField icon="flag" label="溝通風格"> |
| | | <el-checkbox |
| | | v-model="editInfoValue.communicationStyle" |
| | | :label="communicateStyle" |
| | | :key="index" |
| | | v-for="(communicateStyle, index) in communicationStyleList"> |
| | | </el-checkbox> |
| | | </UiField> |
| | | <el-col :span="24" class="pam-field"> |
| | | <div class="pam-field__label pam-progress__label"> |
| | | <div> |
| | | <div class="pam-field__title"> |
| | | <i class="pam-icon icon-flag" |
| | | ></i>溝通風格 <span class="hint text--bold">(可複選,最多2項)</span> |
| | | </div> |
| | | </div> |
| | | <MultiSelectBtn class="mt-30" |
| | | :mutiSelect.sync="editInfoValue.communicationStyle" |
| | | :options="agentCommunicationStyleList" |
| | | @change="selectCommunicationStyles" |
| | | > |
| | | </MultiSelectBtn> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row |
| | | type="flex" |
| | | class="pam-paragraph"> |
| | | <UiField icon="flag" label="專長領域"> |
| | | <el-checkbox |
| | | v-model="editInfoValue.expertise" |
| | | :label="expert" |
| | | :key="index" |
| | | v-for="(expert, index) in expertList"> |
| | | </el-checkbox> |
| | | </UiField> |
| | | <el-col :span="24" class="pam-field"> |
| | | <div class="pam-field__label pam-progress__label"> |
| | | <div> |
| | | <div class="pam-field__title"> |
| | | <i class="pam-icon icon-flag" |
| | | ></i>專長領域 <span class="hint text--bold">(可複選)</span> |
| | | </div> |
| | | </div> |
| | | <MultiSelectBtn class="mt-30" |
| | | :mutiSelect.sync="editInfoValue.expertise" |
| | | :options="agentExpertList" |
| | | > |
| | | </MultiSelectBtn> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-row |
| | |
| | | }; |
| | | |
| | | communicationStyleList: string[] = agentCommunicationStyleList; |
| | | expertList: string[] = agentExpertList; |
| | | role = Role; |
| | | agentExpertList = [ |
| | | { |
| | | title:'健康與保障', |
| | | label:'健康與保障' |
| | | }, |
| | | { |
| | | title:'子女教育', |
| | | label:'子女教育' |
| | | }, |
| | | { |
| | | title:'資產規劃', |
| | | label:'資產規劃' |
| | | }, |
| | | { |
| | | title:'樂活退休', |
| | | label:'樂活退休' |
| | | }, |
| | | { |
| | | title:'保單健檢/規劃', |
| | | label:'保單健檢/規劃' |
| | | }, |
| | | { |
| | | title:'分紅保單', |
| | | label:'分紅保單' |
| | | }]; |
| | | |
| | | agentCommunicationStyleList = [ |
| | | { |
| | | title:'謹慎務實', |
| | | label:'謹慎務實' |
| | | }, |
| | | { |
| | | title:'明快主動', |
| | | label:'明快主動' |
| | | }, |
| | | { |
| | | title:'耐心傾聽', |
| | | label:'耐心傾聽' |
| | | }, |
| | | { |
| | | title:'健談風趣', |
| | | label:'健談風趣' |
| | | }]; |
| | | |
| | | ////////////////////////////////////////////////////////////////////// |
| | | |
| | |
| | | this.isInfoUpdate = false |
| | | this.$router.push(`/agentInfo/${this.agentInfo.agentNo}`); |
| | | } |
| | | |
| | | selectCommunicationStyles(): void { |
| | | if (this.editInfoValue.communicationStyle.length > 2) { |
| | | this.editInfoValue.communicationStyle.shift(); |
| | | } |
| | | } |
| | | alertFieldInfo(field: string): void { |
| | | this.isAlertFieldInfo = true; |
| | | switch(field) { |
| | |
| | | && this.editInfoValue.experiences |
| | | && this.editInfoValue.awards |
| | | && this.editInfoValue.seniorityYear |
| | | && this.editInfoValue.seniorityMonth |
| | | && this.editInfoValue.expertise |
| | | && this.editInfoValue.communicationStyle; |
| | | && this.editInfoValue.expertise.length |
| | | && this.editInfoValue.communicationStyle.length; |
| | | return !isFormValid |
| | | } |
| | | } |
| | |
| | | width : 50px; |
| | | margin-right: 5px; |
| | | } |
| | | .el-input--suffix .el-input__inner { |
| | | padding-right: 20px; |
| | | } |
| | | </style> |