Commit e3021304 authored by huai.li's avatar huai.li

更新接入域名称

parent e547827b
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
console.log(window.VupPortalSdk.vueAppDevSdk) console.log(window.VupPortalSdk.vueAppDevSdk)
var portal = VupPortalSdk.vueAppDevSdk var portal = VupPortalSdk.vueAppDevSdk
var $ = portal.jQuery var $ = portal.jQuery
var portalName = 'element' var portalName = 'schedule'
var menuConfig = { var menuConfig = {
menus: [{ menus: [{
......
import ElementApi from './apis/element' import ScheduleApi from './apis/schedule.js'
const API_HOST = process.env.API_HOST const API_HOST = process.env.API_HOST
const API_PORT = process.env.API_PORT const API_PORT = process.env.API_PORT
...@@ -23,7 +23,7 @@ const option = { ...@@ -23,7 +23,7 @@ const option = {
} }
let apis = {} let apis = {}
apis = Object.assign(apis, ElementApi) apis = Object.assign(apis, ScheduleApi)
export default { export default {
option, option,
......
/*# sourceMappingURL=app.css.map */
{
"version": 3,
"mappings": "",
"sources": [],
"names": [],
"file": "app.css"
}
\ No newline at end of file
.element-app { .schedule-app {
.mb20 { .mb20 {
margin-bottom:20px; margin-bottom:20px;
} }
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
<div class="content"> <div class="content">
<search-header <search-header
ref="searchHeader" ref="searchHeader"
:title="'客户关系'" :title="'待办事项'"
:search-key="'ClientSearch'" :search-key="'ClientSearch'"
:add-title="'新建客户'" :add-title="'新建待办事项'"
@update:headerSearch="search => searchKeyword(search)" @update:headerSearch="search => searchKeyword(search)"
@update:headerAdd="addNewUser"> @update:headerAdd="addNewUser">
</search-header> </search-header>
......
import portal from 'vis-portal' import portal from 'vis-portal'
import ElementRoute from './routes/element' import ScheduleRoute from './routes/schedule'
let routes = [] let routes = []
const appName = 'element' const appName = 'schedule'
routes = [].concat(ElementRoute) routes = [].concat(ScheduleRoute)
let RouterInit = () => { let RouterInit = () => {
portal.createApp(appName, {}, app => { portal.createApp(appName, {}, app => {
......
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