|
@@ -1,6 +1,9 @@
|
|
<template>
|
|
<template>
|
|
<view class="client-my-page">
|
|
<view class="client-my-page">
|
|
- <view class="my-head-box">
|
|
|
|
|
|
+ <view class="jzgs-name-box">
|
|
|
|
+ <text>家政公司名称</text>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="admin-head-box">
|
|
<view class="head-img-box">
|
|
<view class="head-img-box">
|
|
<img class="head-img" :src="myInfoData.userImg" v-if="myInfoData.userImg">
|
|
<img class="head-img" :src="myInfoData.userImg" v-if="myInfoData.userImg">
|
|
<icon class="phone-default-userImg" v-else></icon>
|
|
<icon class="phone-default-userImg" v-else></icon>
|
|
@@ -23,13 +26,9 @@
|
|
<icon class="list-icon user-icon"></icon>
|
|
<icon class="list-icon user-icon"></icon>
|
|
<text>修改个人信息</text>
|
|
<text>修改个人信息</text>
|
|
</view>
|
|
</view>
|
|
- <view class="list-row" @click="showZhuaPaiConfirm">
|
|
|
|
- <icon class="list-icon sxtcs-icon"></icon>
|
|
|
|
- <text>摄像头测试</text>
|
|
|
|
- </view>
|
|
|
|
- <view class="list-row" @click="showMessageDl">
|
|
|
|
- <icon class="list-icon sxtsm-icon"></icon>
|
|
|
|
- <text>摄像头说明</text>
|
|
|
|
|
|
+ <view class="list-row" @click="xgmmBtn">
|
|
|
|
+ <icon class="list-icon mm-icon"></icon>
|
|
|
|
+ <text>修改密码</text>
|
|
</view>
|
|
</view>
|
|
<view class="list-row" @click="exitLogin">
|
|
<view class="list-row" @click="exitLogin">
|
|
<icon class="list-icon login-out-icon"></icon>
|
|
<icon class="list-icon login-out-icon"></icon>
|
|
@@ -37,10 +36,10 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 底部区域 -->
|
|
<!-- 底部区域 -->
|
|
- <customTabbarClient :currentTab="1"></customTabbarClient>
|
|
|
|
- <common-dialog ref="commonDialogRef" :title="exitTitle" :content="exitContent"@confirm-btn="exitBtn"></common-dialog>
|
|
|
|
|
|
+ <customTabbarClient :currentTab="2"></customTabbarClient>
|
|
|
|
+ <common-dialog ref="commonDialogRef" :title="exitTitle" :content="exitContent" @confirm-btn="exitBtn"></common-dialog>
|
|
<shexiangDialogVue ref="shexiangRef" title="摄像头说明"></shexiangDialogVue>
|
|
<shexiangDialogVue ref="shexiangRef" title="摄像头说明"></shexiangDialogVue>
|
|
-
|
|
|
|
|
|
+ <password-dialog ref="passwordDialogRef" :title="修改密码" @confirm-btn="passwordBtn"></password-dialog>
|
|
<!-- 摄像头确认 -->
|
|
<!-- 摄像头确认 -->
|
|
<zhuapaiConfrimVue ref="zpRef" @error="zpConfirmError" title="摄像头测试"></zhuapaiConfrimVue>
|
|
<zhuapaiConfrimVue ref="zpRef" @error="zpConfirmError" title="摄像头测试"></zhuapaiConfrimVue>
|
|
</view>
|
|
</view>
|
|
@@ -54,6 +53,7 @@
|
|
import {reactive,ref} from "vue";
|
|
import {reactive,ref} from "vue";
|
|
import customTabbarClient from "@/components/custom-tabbar/custom-tabbar-admin.vue"
|
|
import customTabbarClient from "@/components/custom-tabbar/custom-tabbar-admin.vue"
|
|
import commonDialog from '@/components/dialog/commonDialog.vue';
|
|
import commonDialog from '@/components/dialog/commonDialog.vue';
|
|
|
|
+ import passwordDialog from './passwordDialog.vue';
|
|
import shexiangDialogVue from "@/components/dialog/shexiangDialog.vue";
|
|
import shexiangDialogVue from "@/components/dialog/shexiangDialog.vue";
|
|
import zhuapaiConfrimVue from "@/components/zhuapaiConfirm/index.vue";
|
|
import zhuapaiConfrimVue from "@/components/zhuapaiConfirm/index.vue";
|
|
|
|
|
|
@@ -68,6 +68,7 @@
|
|
from:''
|
|
from:''
|
|
});
|
|
});
|
|
const commonDialogRef = ref(null);
|
|
const commonDialogRef = ref(null);
|
|
|
|
+ const passwordDialogRef = ref(null);
|
|
const shexiangRef = ref(null);
|
|
const shexiangRef = ref(null);
|
|
const zpRef = ref(null);
|
|
const zpRef = ref(null);
|
|
const exitContent = '你确定要执行这个操作吗?';
|
|
const exitContent = '你确定要执行这个操作吗?';
|
|
@@ -105,6 +106,9 @@
|
|
commonDialogRef.value.handleShow();
|
|
commonDialogRef.value.handleShow();
|
|
|
|
|
|
}
|
|
}
|
|
|
|
+ function xgmmBtn(){
|
|
|
|
+ passwordDialogRef.value.handleShow();
|
|
|
|
+ }
|
|
function exitBtn(){
|
|
function exitBtn(){
|
|
getMineLogout().then(res => {
|
|
getMineLogout().then(res => {
|
|
toast('退出登录成功')
|
|
toast('退出登录成功')
|