|
@@ -26,6 +26,10 @@
|
|
|
<icon class="list-icon mm-icon"></icon>
|
|
|
<text>修改密码</text>
|
|
|
</view>
|
|
|
+ <view class="list-row" @click="ewmBtn">
|
|
|
+ <icon class="list-icon code-icon"></icon>
|
|
|
+ <text>二维码</text>
|
|
|
+ </view>
|
|
|
<view class="list-row" @click="exitLogin">
|
|
|
<icon class="list-icon login-out-icon"></icon>
|
|
|
<text>退出登录</text>
|
|
@@ -36,6 +40,7 @@
|
|
|
<common-dialog ref="commonDialogRef" :title="exitTitle" :content="exitContent" @confirm-btn="exitBtn"></common-dialog>
|
|
|
<shexiangDialogVue ref="shexiangRef" title="摄像头说明"></shexiangDialogVue>
|
|
|
<password-dialog ref="passwordDialogRef" @confirm-btn="passwordBtn"></password-dialog>
|
|
|
+ <image-dialog ref="imageDialogRef"></image-dialog>
|
|
|
<!-- 摄像头确认 -->
|
|
|
<zhuapaiConfrimVue ref="zpRef" @error="zpConfirmError" title="摄像头测试"></zhuapaiConfrimVue>
|
|
|
</view>
|
|
@@ -50,6 +55,7 @@
|
|
|
import customTabbarClient from "@/components/custom-tabbar/custom-tabbar-admin.vue"
|
|
|
import commonDialog from '@/components/dialog/commonDialog.vue';
|
|
|
import passwordDialog from './passwordDialog.vue';
|
|
|
+ import imageDialog from './imageDialog.vue';
|
|
|
import shexiangDialogVue from "@/components/dialog/shexiangDialog.vue";
|
|
|
import zhuapaiConfrimVue from "@/components/zhuapaiConfirm/index.vue";
|
|
|
import {useIsCanBack} from "@/store/isCanBack.js"
|
|
@@ -63,6 +69,7 @@
|
|
|
});
|
|
|
const commonDialogRef = ref(null);
|
|
|
const passwordDialogRef = ref(null);
|
|
|
+ const imageDialogRef = ref(null);
|
|
|
const shexiangRef = ref(null);
|
|
|
const zpRef = ref(null);
|
|
|
const exitContent = '你确定要执行这个操作吗?';
|
|
@@ -99,6 +106,11 @@
|
|
|
function xgmmBtn(){
|
|
|
passwordDialogRef.value.handleShow();
|
|
|
}
|
|
|
+
|
|
|
+ function ewmBtn(){
|
|
|
+ imageDialogRef.value.handleShow();
|
|
|
+ }
|
|
|
+
|
|
|
function passwordBtn(data){
|
|
|
console.log(data,'data');
|
|
|
const opt = {
|