Commit 3a6f2c92 authored by sixiaofeng's avatar sixiaofeng

1

parents 5366e2d6 14fb61d2
......@@ -17,9 +17,10 @@ Vue.use(Dialog).use(Toast).use(Notify)
Vue.use(utils).use(service)
Vue.prototype.$dsbridge = dsbridge
Vue.prototype.$global = global
if (process.env.NODE_ENV === 'development') {
new VConsole()
}
// if (process.env.NODE_ENV === 'development') {
// new VConsole()
// }
new Vue({
router,
store,
......
......@@ -3,6 +3,7 @@
// 扫描二维码:scanCode
// 打开企业联系人详情页面:openCompanyUserInfo 参数:联系人地址,企业id
import router from '@/router';
import { AcceptJoinDTO } from '@/service/moudles/service.dto'
import dsbridge from 'dsbridge'
......
......@@ -6,7 +6,7 @@
header-bg="bg-white"
:loading="loading"
left-arrow
@click-left="$router.go(-1)"
@click-left="appNavBack"
>
<template slot="right">
<app-icon
......@@ -59,7 +59,7 @@
<script lang="ts">
import Vue from 'vue'
import { useLocalStorageState } from 'ahooks-vue'
import { getUserInfo, openCompanyUserInfo } from '@/util/Bridge'
import { appNavBack, getUserInfo, openCompanyUserInfo } from '@/util/Bridge'
import { getContacts } from '@/util/Contact'
import { Department, Staff } from '@/Interface'
// import {openCompanyUserInfo} from '@/util/Bridge'
......@@ -118,6 +118,9 @@ export default Vue.extend({
this.$store.commit('setAddDepLeader', this.checkedMemberId)
this.$router.push(this.fromPath)
},
appNavBack(){
appNavBack()
},
getEntInfo() {
this.loading = true
this.$service.enterprise.getEnterpriseInfo({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment