Commit 6427f9c2 by 前端

物业需求

1 parent d8e9d821
...@@ -24,7 +24,8 @@ ...@@ -24,7 +24,8 @@
"vue-animate-number": "^0.4.2", "vue-animate-number": "^0.4.2",
"vue-router": "^3.1.3", "vue-router": "^3.1.3",
"vuex": "^3.1.2", "vuex": "^3.1.2",
"wangeditor": "^4.7.15" "wangeditor": "^4.7.15",
"word-edit": "^1.2.7"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "^4.1.0", "@vue/cli-plugin-babel": "^4.1.0",
......
...@@ -2,16 +2,21 @@ import Vue from 'vue' ...@@ -2,16 +2,21 @@ import Vue from 'vue'
import { message } from '@/plugins/element.js' import { message } from '@/plugins/element.js'
import { fetchConfig } from '@/config' import { fetchConfig } from '@/config'
import ElementUI from 'element-ui' import ElementUI from 'element-ui'
import { GLButton, GLTable, GLCombiForm, GLDialog } from 'glsx-components' //权限按钮 (根据权限动态创建) import { GLButton, GLTable, GLCombiForm, GLDialog,GLFooter,GLTableButton } from 'glsx-components' //权限按钮 (根据权限动态创建)
import GLFull from '@/components/GLFull' import GLFull from '@/components/GLFull'
import { getRoutes } from '@/router' import { getRoutes } from '@/router'
import { GLEditor } from 'word-edit'
import render from './render' import render from './render'
Vue.use(ElementUI) Vue.use(ElementUI)
Vue.use(GLTable) Vue.use(GLTable)
Vue.use(GLFooter)
Vue.use(GLCombiForm) Vue.use(GLCombiForm)
Vue.use(GLTableButton)
Vue.use(GLEditor)
Vue.use(GLDialog) Vue.use(GLDialog)
Vue.component('GLFull', GLFull) Vue.component('GLFull', GLFull)
import 'glsx-components/dist/glsx-components.css' import 'glsx-components/dist/glsx-components.css'
import 'word-edit/dist/glsx-components.css'
let routes = [] let routes = []
let router = null let router = null
let instance = null let instance = null
...@@ -52,4 +57,4 @@ function subscribe({ messenger }) { ...@@ -52,4 +57,4 @@ function subscribe({ messenger }) {
messenger.subscribe(v => { messenger.subscribe(v => {
console.log(`监听到子应用${v.from}发来消息:`, v) console.log(`监听到子应用${v.from}发来消息:`, v)
}) })
}
\ No newline at end of file \ No newline at end of file
}
...@@ -114,21 +114,21 @@ export default { ...@@ -114,21 +114,21 @@ export default {
// // currentPage: 1 // // currentPage: 1
// // } // // }
// }, // },
{ // {
itemName: '无忧服务', // itemName: '无忧服务',
itemValue: 6, // itemValue: 6,
itemType: 'merchant', // itemType: 'merchant',
getInterfaceApi: this.$apis.welcomeword.merchant, // getInterfaceApi: this.$apis.welcomeword.merchant,
merchantOpen: { // merchantOpen: {
merchantOpenApi: this.$apis.welcomeword.merchantOpen, // merchantOpenApi: this.$apis.welcomeword.merchantOpen,
params: { // params: {
merchantId: this.$globalState.session.merchantId // merchantId: this.$globalState.session.merchantId
} // }
}, // },
params: { // params: {
merchantId: this.$globalState.session.merchantId // merchantId: this.$globalState.session.merchantId
} // }
}, // },
// { // {
// itemName: '众筹活动', // itemName: '众筹活动',
// itemValue: 7, // itemValue: 7,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!