From c99a662edbd0c23e5c88e8a1531f9b10af6539d8 Mon Sep 17 00:00:00 2001 From: HelenHuang <LinHuang@pollex.com.tw> Date: 星期五, 21 一月 2022 16:47:03 +0800 Subject: [PATCH] Fixed#134576 修正 [ 顧問管理流程 ] 未聯絡預約單資訊明細 : 應只顯示「傳送約訪通知」按鈕,目前畫面顯示結案、約訪紀錄、系統通知紀錄編輯 --- PAMapp/components/AddressPicker.vue | 24 +++++++++++++++++------- 1 files changed, 17 insertions(+), 7 deletions(-) diff --git a/PAMapp/components/AddressPicker.vue b/PAMapp/components/AddressPicker.vue index 258c593..a5749c5 100644 --- a/PAMapp/components/AddressPicker.vue +++ b/PAMapp/components/AddressPicker.vue @@ -23,17 +23,30 @@ <script lang="ts"> import { Vue, Component, Emit } from 'nuxt-property-decorator'; +import { taiwanCities } from '~/shared/const/taiwan-cities'; + @Component export default class AddressPicker extends Vue { - options = ['�����', '�����', '�����', '獢���', '�蝡孵��', '�蝡寧腦', '���腦', '�銝剖��', '敶啣�腦', '���腦', '���腦', '��儔撣�', '��儔蝮�', '�����', '擃���', '撅蝮�', '��蝮�', '��蝮�', '摰蝮�', '瞉�腦', '���蝮�', '��瘙腦']; - keyWord = ''; + options : string[] = taiwanCities; + keyWord : string = ''; filterOptions: string[] = []; - district = '�����'; + district : string = '�����'; + + ////////////////////////////////////////////////////////////////////// mounted() { this.filterOptions = JSON.parse(JSON.stringify(this.options)); } + + ////////////////////////////////////////////////////////////////////// + + @Emit('confirm') + confirm(): string { + return this.district; + } + + ////////////////////////////////////////////////////////////////////// searchDistrict() { this.filterOptions = this.options.filter(e => e.match(this.keyWord)); @@ -43,10 +56,7 @@ this.district = value; } - @Emit('confirm') - confirm() { - return this.district; - } + } </script> -- Gitblit v1.8.0