保誠-保戶業務員媒合平台
PAMapp/pages/agentInfo/_agentNo.vue
@@ -3,10 +3,7 @@
      <el-row
        type="flex"
        justify="center">
        <el-avatar
          size="large"
          src="https://cube.elemecdn.com/0/88/03b0d39583f48206768a7534e55bcpng.png">
        </el-avatar>
        <UiAvatar :size="150" :fileName="agentInfo.image"></UiAvatar>
      </el-row>
      <el-row
@@ -103,7 +100,7 @@
            </div>
          </div>
          <div class="pam-field__content pam-field-evaluation pt-10">
            <el-progress :show-text="false" :stroke-width="15" :percentage="agentInfo.evaluation"></el-progress>
            <el-progress :show-text="false" :stroke-width="15" :percentage="agentInfo.evaluation * 2"></el-progress>
          </div>
        </el-col>
      </el-row>
@@ -146,14 +143,20 @@
        </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 fix-chrome-click--issue"
                @click="isVisiblePopUp = false">我知道了</p>
        </div>
    </PopUpFrame>
    </div>
</template>
@@ -165,7 +168,8 @@
@Component
export default class AgentInfoComponent extends Vue {
  agentInfo!: AgentInfo;
  isVisiblePopUp = false;
  popUpTxt = '成功加入顧問清單';
  async asyncData(context: Context) {
    const agentNo = context.route.params.agentNo;
    let agentInfo = {};
@@ -175,10 +179,14 @@
    }
  }
  get agentName(): string {
    return `${this.agentInfo.name}(${this.agentInfo.role})`;
  }
  openPopUp(txt: string) {
        this.popUpTxt = txt;
        this.isVisiblePopUp = true;
    }
}
interface AgentInfo {