1 Star 0 Fork 965

yaqiangy/HC小区物业版

forked from java110/HC小区物业版 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
main.js 1.43 KB
一键复制 编辑 原始数据 按行查看 历史
java110 提交于 2024-05-17 17:24 . 优化代码
import Vue from 'vue'
import App from './App'
import conf from './conf/config.js';
import Java110Context from './lib/java110/Java110Context.js'
import context from './lib/java110/context.js'
import url from './constant/url.js'
import factory from './lib/java110/factory/factory.js'
import util from './lib/java110/utils/util.js'
import date from './lib/java110/utils/date.js'
import {getCommunityId,getCommunityName} from './api/community/community.js';
import {getStaffId,getStaffName,getStaffTel} from './api/staff/staff.js';
//引入vuex
import store from './store'
import cuCustom from './lib/colorui/components/cu-custom.vue'
Vue.component('cu-custom',cuCustom)
Vue.config.productionTip = false
Vue.prototype.java110Context = Java110Context;
Vue.prototype.java110Constant = Java110Context.constant;
Vue.prototype.java110Factory = Java110Context.factory;
Vue.prototype.java110Util = Java110Context.util;
Vue.prototype.$store = store;
Vue.prototype.context = context;
Vue.prototype.url = url;
Vue.prototype.factory = factory;
Vue.prototype.util = util;
Vue.prototype.date = date;
Vue.prototype.imgUrl = conf.imgUrl;
// 绑定小区信息
Vue.prototype.getCommunityId = getCommunityId;
Vue.prototype.getCommunityName = getCommunityName;
// 绑定员工
Vue.prototype.getStaffId = getStaffId;
Vue.prototype.getStaffName = getStaffName;
Vue.prototype.getStaffTel = getStaffTel;
App.mpType = 'app'
const app = new Vue({
...App,
store
})
app.$mount()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
NodeJS
1
https://gitee.com/yaqiangy/PropertyApp.git
[email protected]:yaqiangy/PropertyApp.git
yaqiangy
PropertyApp
HC小区物业版
master

搜索帮助