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

ibizdev提交

上级 315aeca8
...@@ -4,7 +4,7 @@ export const Environment = { ...@@ -4,7 +4,7 @@ export const Environment = {
// 应用名称 // 应用名称
AppName: 'web', AppName: 'web',
// 应用 title // 应用 title
AppTitle: 'gateway', AppTitle: '字典',
// 应用基础路径 // 应用基础路径
BaseUrl: '../', BaseUrl: '../',
// 系统名称 // 系统名称
......
...@@ -25,7 +25,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => { ...@@ -25,7 +25,7 @@ mock.onGet('v7/app-index-viewappmenu').reply((config: any) => {
iconcls: '', iconcls: '',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '_2', appfunctag: 'Auto1',
resourcetag: '', resourcetag: '',
}, },
], ],
......
...@@ -480,8 +480,8 @@ export default class AppIndexViewBase extends Vue implements ControlInterface { ...@@ -480,8 +480,8 @@ export default class AppIndexViewBase extends Vue implements ControlInterface {
public click(item: any) { public click(item: any) {
if (item) { if (item) {
switch (item.appfunctag) { switch (item.appfunctag) {
case '_2': case 'Auto1':
this.click_2(item); this.clickAuto1(item);
return; return;
default: default:
console.warn('未指定应用功能'); console.warn('未指定应用功能');
...@@ -496,7 +496,7 @@ export default class AppIndexViewBase extends Vue implements ControlInterface { ...@@ -496,7 +496,7 @@ export default class AppIndexViewBase extends Vue implements ControlInterface {
* @param {*} [item={}] * @param {*} [item={}]
* @memberof AppIndexView * @memberof AppIndexView
*/ */
public click_2(item: any = {}) { public clickAuto1(item: any = {}) {
const viewparam: any = {}; const viewparam: any = {};
Object.assign(viewparam, {}); Object.assign(viewparam, {});
const deResParameters: any[] = []; const deResParameters: any[] = [];
......
...@@ -29,7 +29,7 @@ export default class AppIndexViewModel { ...@@ -29,7 +29,7 @@ export default class AppIndexViewModel {
iconcls: '', iconcls: '',
icon: '', icon: '',
textcls: '', textcls: '',
appfunctag: '_2', appfunctag: 'Auto1',
resourcetag: '', resourcetag: '',
}, },
]; ];
......
...@@ -37,11 +37,11 @@ ...@@ -37,11 +37,11 @@
git clone -b master $para2 ibzdict/ git clone -b master $para2 ibzdict/
export NODE_OPTIONS=--max-old-space-size=4096 export NODE_OPTIONS=--max-old-space-size=4096
cd ibzdict/ cd ibzdict/
mvn clean package -Papi mvn clean package -Pweb
cd ibzdict-provider/ibzdict-provider-api cd ibzdict-app/ibzdict-app-web
mvn -Papi docker:build mvn -Pweb docker:build
mvn -Papi docker:push mvn -Pweb docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzdict-provider-api.yaml ibzlab-rt --with-registry-auth docker -H $para1 stack deploy --compose-file=src/main/docker/ibzdict-app-web.yaml ibzlab-rt --with-registry-auth
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \ ...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \ sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzdict-app-web.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzdict-app-web.jar
EXPOSE 8080 EXPOSE 30004
ADD ibzdict-app-web.jar /ibzdict-app-web.jar ADD ibzdict-app-web.jar /ibzdict-app-web.jar
...@@ -3,9 +3,11 @@ services: ...@@ -3,9 +3,11 @@ services:
ibzdict-app-web: ibzdict-app-web:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/ibzdict-app-web:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/ibzdict-app-web:latest
ports: ports:
- "8080:8080" - "30004:30004"
networks: networks:
- agent_network - agent_network
environment:
SPRING_CLOUD_NACOS_DISCOVERY_IP: 172.16.180.237
deploy: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1
......
server: server:
port: 8080 port: 30004
\ No newline at end of file \ No newline at end of file
server: server:
port: 8080 port: 30004
#zuul网关路由设置 #zuul网关路由设置
zuul: zuul:
......
...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \ ...@@ -9,6 +9,6 @@ CMD echo "The application will start in ${IBZ_SLEEP}s..." && \
sleep ${IBZ_SLEEP} && \ sleep ${IBZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzdict-provider-api.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzdict-provider-api.jar
EXPOSE 40004 EXPOSE 8081
ADD ibzdict-provider-api.jar /ibzdict-provider-api.jar ADD ibzdict-provider-api.jar /ibzdict-provider-api.jar
...@@ -3,11 +3,9 @@ services: ...@@ -3,11 +3,9 @@ services:
ibzdict-provider-api: ibzdict-provider-api:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/ibzdict-provider-api:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/ibzdict-provider-api:latest
ports: ports:
- "40004:40004" - "8081:8081"
networks: networks:
- agent_network - agent_network
environment:
SPRING_CLOUD_NACOS_DISCOVERY_IP: 172.16.180.237
deploy: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1
......
server: server:
port: 40004 port: 8081
\ No newline at end of file \ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册