提交 099e2497 编写于 作者: ibizdev's avatar ibizdev

xignzi006 部署微服务应用

上级 daad1c0a
...@@ -210,7 +210,7 @@ ...@@ -210,7 +210,7 @@
"memo": "系统自动添加" "memo": "系统自动添加"
}, },
"central": { "central": {
"title": "应用首页视图", "title": "企业中心",
"caption": "企业中心", "caption": "企业中心",
"viewtype": "APPINDEXVIEW", "viewtype": "APPINDEXVIEW",
"viewmodule": "Ungroup", "viewmodule": "Ungroup",
......
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
views: { views: {
central: { central: {
caption: '企业中心', caption: '企业中心',
title: '应用首页视图', title: '企业中心',
}, },
}, },
utilview:{ utilview:{
......
...@@ -62,7 +62,7 @@ export default { ...@@ -62,7 +62,7 @@ export default {
views: { views: {
central: { central: {
caption: '企业中心', caption: '企业中心',
title: '应用首页视图', title: '企业中心',
}, },
}, },
utilview:{ utilview:{
......
...@@ -176,7 +176,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => { ...@@ -176,7 +176,7 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewtag": "7bf35293fd1d9db7816755a74c4d575e" "viewtag": "7bf35293fd1d9db7816755a74c4d575e"
}, },
"central": { "central": {
"title": "应用首页视图", "title": "企业中心",
"caption": "企业中心", "caption": "企业中心",
"viewtype": "APPINDEXVIEW", "viewtype": "APPINDEXVIEW",
"viewmodule": "Ungroup", "viewmodule": "Ungroup",
......
...@@ -754,6 +754,174 @@ export default class CentralModel { ...@@ -754,6 +754,174 @@ export default class CentralModel {
* @memberof CentralModel * @memberof CentralModel
*/ */
private funcs: any[] = [ private funcs: any[] = [
{
appfunctag: 'Auto8',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'incidentgridview',
deResParameters: [],
routepath: '/central/:central?/incidents/:incident?/gridview/:gridview?',
parameters: [
{ pathName: 'incidents', parameterName: 'incident' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto13',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'goalgridview',
deResParameters: [],
routepath: '/central/:central?/goals/:goal?/gridview/:gridview?',
parameters: [
{ pathName: 'goals', parameterName: 'goal' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto9',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'activitypointergridview',
deResParameters: [],
routepath: '/central/:central?/activitypointers/:activitypointer?/gridview/:gridview?',
parameters: [
{ pathName: 'activitypointers', parameterName: 'activitypointer' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto12',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'competitorgridview',
deResParameters: [],
routepath: '/central/:central?/competitors/:competitor?/gridview/:gridview?',
parameters: [
{ pathName: 'competitors', parameterName: 'competitor' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto2',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'salesliteraturegridview',
deResParameters: [],
routepath: '/central/:central?/salesliteratures/:salesliterature?/gridview/:gridview?',
parameters: [
{ pathName: 'salesliteratures', parameterName: 'salesliterature' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto3',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'salesordergridview',
deResParameters: [],
routepath: '/central/:central?/salesorders/:salesorder?/gridview/:gridview?',
parameters: [
{ pathName: 'salesorders', parameterName: 'salesorder' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto6',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'invoicegridview',
deResParameters: [],
routepath: '/central/:central?/invoices/:invoice?/gridview/:gridview?',
parameters: [
{ pathName: 'invoices', parameterName: 'invoice' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto11',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'productgridview',
deResParameters: [],
routepath: '/central/:central?/products/:product?/gridview/:gridview?',
parameters: [
{ pathName: 'products', parameterName: 'product' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto14',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'leadgridview',
deResParameters: [],
routepath: '/central/:central?/leads/:lead?/gridview/:gridview?',
parameters: [
{ pathName: 'leads', parameterName: 'lead' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto10',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'opportunitygridview',
deResParameters: [],
routepath: '/central/:central?/opportunities/:opportunity?/gridview/:gridview?',
parameters: [
{ pathName: 'opportunities', parameterName: 'opportunity' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto1',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'ibizlistgridview',
deResParameters: [],
routepath: '/central/:central?/ibizlists/:ibizlist?/gridview/:gridview?',
parameters: [
{ pathName: 'ibizlists', parameterName: 'ibizlist' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto7',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'contactgridview',
deResParameters: [],
routepath: '/central/:central?/contacts/:contact?/gridview/:gridview?',
parameters: [
{ pathName: 'contacts', parameterName: 'contact' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto4',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'accountgridview',
deResParameters: [],
routepath: '/central/:central?/accounts/:account?/gridview/:gridview?',
parameters: [
{ pathName: 'accounts', parameterName: 'account' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
{
appfunctag: 'Auto5',
appfuncyype: 'APPVIEW',
openmode: '',
codename: 'quotegridview',
deResParameters: [],
routepath: '/central/:central?/quotes/:quote?/gridview/:gridview?',
parameters: [
{ pathName: 'quotes', parameterName: 'quote' },
{ pathName: 'gridview', parameterName: 'gridview' },
],
},
]; ];
/** /**
......
...@@ -16,23 +16,18 @@ module.exports = { ...@@ -16,23 +16,18 @@ module.exports = {
compress: true, compress: true,
disableHostCheck: true, disableHostCheck: true,
// proxy: "http://127.0.0.1:8080/BusinessCentral", // proxy: "http://127.0.0.1:8080/BusinessCentral",
historyApiFallback: {
rewrites: [
{ from: /^\/central$/, to: '/central.html' },
]
}
}, },
pages: { pages: {
central: { index: {
// page 的入口 // page 的入口
entry: 'src/pages/ungroup/central/main.ts', entry: 'src/pages/ungroup/central/main.ts',
// 模板来源 // 模板来源
template: 'src/template.html', template: 'src/template.html',
// 在 dist/index.html 的输出 // 在 dist/index.html 的输出
filename: 'central.html', filename: 'index.html',
// 当使用 title 选项时, // 当使用 title 选项时,
// template 中的 title 标签需要是 <title><%= htmlWebpackPlugin.options.title %></title> // template 中的 title 标签需要是 <title><%= htmlWebpackPlugin.options.title %></title>
title: '应用首页视图', title: '企业中心',
// 在这个页面中包含的块,默认情况下会包含 // 在这个页面中包含的块,默认情况下会包含
// 提取出来的通用 chunk 和 vendor chunk。 // 提取出来的通用 chunk 和 vendor chunk。
// chunks: ['chunk-vendors', 'chunk-common', 'index'] // chunks: ['chunk-vendors', 'chunk-common', 'index']
...@@ -41,8 +36,10 @@ module.exports = { ...@@ -41,8 +36,10 @@ module.exports = {
// 多核打包 // 多核打包
parallel: os.cpus().length > 1, parallel: os.cpus().length > 1,
chainWebpack: (config) => { chainWebpack: (config) => {
config.plugins.delete('preload-central') // 删除自动计算预加载资源
config.plugins.delete('prefetch-central') config.plugins.delete('preload-index')
// 删除预加载资源
config.plugins.delete('prefetch-index')
config.resolve.alias config.resolve.alias
.set('@ibizsys', resolve('src/ibizsys')) .set('@ibizsys', resolve('src/ibizsys'))
.set('@pages', resolve('src/pages')) .set('@pages', resolve('src/pages'))
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册