| | |
| | | import { taiwanCities } from '~/shared/const/taiwan-cities'; |
| | | |
| | | const localStorageTest = namespace('localStorage'); |
| | | const loginStore = namespace('login.store'); |
| | | |
| | | @Component |
| | | export default class AgentInfoComponent extends Vue { |
| | | |
| | | @localStorageTest.State('current_role') |
| | | currentRole!:string | null; |
| | | |
| | | @loginStore.Action |
| | | updateConsultantDetail!: (agentInfo: AgentInfo) => AgentInfo; |
| | | |
| | | _agentInfoSetting!: AgentInfoSetting; |
| | | agentInfo! : AgentInfo |
| | |
| | | serveArea: this.editInfoValue.serveArea.join('、'), |
| | | } |
| | | accountSettingService.editAgentInfoSetting(editSettingInfo).then((res: AgentInfoSetting) => { |
| | | this.updateConsultantDetail(editSettingInfo.agentNo); |
| | | this.isInfoUpdate = true; |
| | | }); |
| | | } |