|
|
@@ -14,6 +14,8 @@ import elementDirective from './directive/select'
|
|
|
|
|
|
import './assets/icons' // icon
|
|
|
import './permission' // permission control
|
|
|
+import { callNumber,callOff } from "@/utils/call";
|
|
|
+import { callMobile } from "@/api/company/companyVoiceApi"
|
|
|
import { getDicts } from "@/api/system/dict/data";
|
|
|
import { getConfigKey } from "@/api/system/config";
|
|
|
import {cloneObject, parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, download, handleTree } from "@/utils/common";
|
|
|
@@ -63,6 +65,13 @@ Vue.prototype.msgInfo = function (msg) {
|
|
|
this.$message.info(msg);
|
|
|
}
|
|
|
|
|
|
+// 拨打电话
|
|
|
+import audio from 'vue-mobile-audio'
|
|
|
+Vue.use(audio)
|
|
|
+Vue.prototype.callNumber = callNumber
|
|
|
+Vue.prototype.callOff = callOff
|
|
|
+Vue.prototype.callMobile = callMobile
|
|
|
+
|
|
|
// 全局组件挂载
|
|
|
Vue.component('DictTag', DictTag)
|
|
|
Vue.component('Pagination', Pagination)
|