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

lab_gzf 部署微服务应用

上级 2306cd23
...@@ -30,14 +30,6 @@ export interface KnowledgeArticle { ...@@ -30,14 +30,6 @@ export interface KnowledgeArticle {
*/ */
statuscode?: any; statuscode?: any;
/**
* 主要文章
*
* @returns {*}
* @memberof KnowledgeArticle
*/
primary?: any;
/** /**
* 过期状态 ID * 过期状态 ID
* *
...@@ -533,4 +525,12 @@ export interface KnowledgeArticle { ...@@ -533,4 +525,12 @@ export interface KnowledgeArticle {
* @memberof KnowledgeArticle * @memberof KnowledgeArticle
*/ */
transactioncurrencyname?: any; transactioncurrencyname?: any;
/**
* 主要文章
*
* @returns {*}
* @memberof KnowledgeArticle
*/
isprimary?: any;
} }
\ No newline at end of file
...@@ -4,7 +4,6 @@ export default { ...@@ -4,7 +4,6 @@ export default {
knowledgearticleviews_date: "知识文章视图(上次更新时间)", knowledgearticleviews_date: "知识文章视图(上次更新时间)",
keywords: "关键字", keywords: "关键字",
statuscode: "状态描述", statuscode: "状态描述",
primary: "主要文章",
expirationstateid: "过期状态 ID", expirationstateid: "过期状态 ID",
rating_count: "Rating(Count)", rating_count: "Rating(Count)",
content: "内容", content: "内容",
...@@ -67,6 +66,7 @@ export default { ...@@ -67,6 +66,7 @@ export default {
rootarticlename: "根文章", rootarticlename: "根文章",
subjectname: "主题", subjectname: "主题",
transactioncurrencyname: "货币", transactioncurrencyname: "货币",
isprimary: "主要文章",
}, },
views: { views: {
editview: { editview: {
......
...@@ -3,7 +3,6 @@ export default { ...@@ -3,7 +3,6 @@ export default {
knowledgearticleviews_date: "知识文章视图(上次更新时间)", knowledgearticleviews_date: "知识文章视图(上次更新时间)",
keywords: "关键字", keywords: "关键字",
statuscode: "状态描述", statuscode: "状态描述",
primary: "主要文章",
expirationstateid: "过期状态 ID", expirationstateid: "过期状态 ID",
rating_count: "Rating(Count)", rating_count: "Rating(Count)",
content: "内容", content: "内容",
...@@ -66,6 +65,7 @@ export default { ...@@ -66,6 +65,7 @@ export default {
rootarticlename: "根文章", rootarticlename: "根文章",
subjectname: "主题", subjectname: "主题",
transactioncurrencyname: "货币", transactioncurrencyname: "货币",
isprimary: "主要文章",
}, },
views: { views: {
editview: { editview: {
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<el-table-column align="center" type='selection' :width="checkboxColWidth"></el-table-column> <el-table-column align="center" type='selection' :width="checkboxColWidth"></el-table-column>
</template> </template>
<template v-if="getColumnState('knowledgearticlename')"> <template v-if="getColumnState('knowledgearticlename')">
<el-table-column show-overflow-tooltip :prop="'knowledgearticlename'" :label="$t('entities.knowledgearticleincident.main_grid.columns.knowledgearticlename')" :width="160" :align="'left'"> <el-table-column show-overflow-tooltip :prop="'knowledgearticlename'" :label="$t('entities.knowledgearticleincident.main_grid.columns.knowledgearticlename')" :width="160" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.knowledgearticleincident.main_grid.columns.knowledgearticlename')}} {{$t('entities.knowledgearticleincident.main_grid.columns.knowledgearticlename')}}
......
...@@ -41,7 +41,7 @@ export default class Edit_MainModel { ...@@ -41,7 +41,7 @@ export default class Edit_MainModel {
{ {
name: 'srfmajortext', name: 'srfmajortext',
prop: 'title', prop: 'title',
dataType: 'LONGTEXT', dataType: 'LONGTEXT_1000',
}, },
{ {
name: 'srftempmode', name: 'srftempmode',
...@@ -58,7 +58,7 @@ export default class Edit_MainModel { ...@@ -58,7 +58,7 @@ export default class Edit_MainModel {
{ {
name: 'title', name: 'title',
prop: 'title', prop: 'title',
dataType: 'LONGTEXT', dataType: 'LONGTEXT_1000',
}, },
{ {
name: 'keywords', name: 'keywords',
......
...@@ -41,7 +41,7 @@ export default class Info_KnowledgeArticleModel { ...@@ -41,7 +41,7 @@ export default class Info_KnowledgeArticleModel {
{ {
name: 'srfmajortext', name: 'srfmajortext',
prop: 'title', prop: 'title',
dataType: 'LONGTEXT', dataType: 'LONGTEXT_1000',
}, },
{ {
name: 'srftempmode', name: 'srftempmode',
...@@ -58,7 +58,7 @@ export default class Info_KnowledgeArticleModel { ...@@ -58,7 +58,7 @@ export default class Info_KnowledgeArticleModel {
{ {
name: 'title', name: 'title',
prop: 'title', prop: 'title',
dataType: 'LONGTEXT', dataType: 'LONGTEXT_1000',
}, },
{ {
name: 'keywords', name: 'keywords',
......
...@@ -23,9 +23,6 @@ export default class InfoViewtabexppanelModel { ...@@ -23,9 +23,6 @@ export default class InfoViewtabexppanelModel {
{ {
name: 'statuscode', name: 'statuscode',
}, },
{
name: 'primary',
},
{ {
name: 'expirationstateid', name: 'expirationstateid',
}, },
...@@ -213,6 +210,9 @@ export default class InfoViewtabexppanelModel { ...@@ -213,6 +210,9 @@ export default class InfoViewtabexppanelModel {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'isprimary',
},
] ]
} }
......
...@@ -23,9 +23,6 @@ export default class InfoViewtabviewpanelModel { ...@@ -23,9 +23,6 @@ export default class InfoViewtabviewpanelModel {
{ {
name: 'statuscode', name: 'statuscode',
}, },
{
name: 'primary',
},
{ {
name: 'expirationstateid', name: 'expirationstateid',
}, },
...@@ -213,6 +210,9 @@ export default class InfoViewtabviewpanelModel { ...@@ -213,6 +210,9 @@ export default class InfoViewtabviewpanelModel {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'isprimary',
},
] ]
} }
......
...@@ -23,9 +23,6 @@ export default class InfoViewtabviewpanel2Model { ...@@ -23,9 +23,6 @@ export default class InfoViewtabviewpanel2Model {
{ {
name: 'statuscode', name: 'statuscode',
}, },
{
name: 'primary',
},
{ {
name: 'expirationstateid', name: 'expirationstateid',
}, },
...@@ -213,6 +210,9 @@ export default class InfoViewtabviewpanel2Model { ...@@ -213,6 +210,9 @@ export default class InfoViewtabviewpanel2Model {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'isprimary',
},
] ]
} }
......
...@@ -23,9 +23,6 @@ export default class KlArtInfoModel { ...@@ -23,9 +23,6 @@ export default class KlArtInfoModel {
{ {
name: 'statuscode', name: 'statuscode',
}, },
{
name: 'primary',
},
{ {
name: 'expirationstateid', name: 'expirationstateid',
}, },
...@@ -213,6 +210,9 @@ export default class KlArtInfoModel { ...@@ -213,6 +210,9 @@ export default class KlArtInfoModel {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'isprimary',
},
] ]
} }
......
...@@ -34,7 +34,7 @@ export default class MainModel { ...@@ -34,7 +34,7 @@ export default class MainModel {
{ {
name: 'title', name: 'title',
prop: 'title', prop: 'title',
dataType: 'LONGTEXT', dataType: 'LONGTEXT_1000',
}, },
{ {
name: 'languagelocaleid', name: 'languagelocaleid',
...@@ -69,7 +69,7 @@ export default class MainModel { ...@@ -69,7 +69,7 @@ export default class MainModel {
{ {
name: 'srfmajortext', name: 'srfmajortext',
prop: 'title', prop: 'title',
dataType: 'LONGTEXT', dataType: 'LONGTEXT_1000',
}, },
{ {
name: 'previousarticlecontentid', name: 'previousarticlecontentid',
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
<el-table-column align="center" type='selection' :width="checkboxColWidth"></el-table-column> <el-table-column align="center" type='selection' :width="checkboxColWidth"></el-table-column>
</template> </template>
<template v-if="getColumnState('title')"> <template v-if="getColumnState('title')">
<el-table-column show-overflow-tooltip :prop="'title'" :label="$t('entities.knowledgearticle.main_grid.columns.title')" :width="150" :align="'left'"> <el-table-column show-overflow-tooltip :prop="'title'" :label="$t('entities.knowledgearticle.main_grid.columns.title')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
<span class="column-header "> <span class="column-header ">
{{$t('entities.knowledgearticle.main_grid.columns.title')}} {{$t('entities.knowledgearticle.main_grid.columns.title')}}
......
...@@ -41,7 +41,7 @@ export default class QuickCreateModel { ...@@ -41,7 +41,7 @@ export default class QuickCreateModel {
{ {
name: 'srfmajortext', name: 'srfmajortext',
prop: 'title', prop: 'title',
dataType: 'LONGTEXT', dataType: 'LONGTEXT_1000',
}, },
{ {
name: 'srftempmode', name: 'srftempmode',
...@@ -58,7 +58,7 @@ export default class QuickCreateModel { ...@@ -58,7 +58,7 @@ export default class QuickCreateModel {
{ {
name: 'title', name: 'title',
prop: 'title', prop: 'title',
dataType: 'LONGTEXT', dataType: 'LONGTEXT_1000',
}, },
{ {
name: 'keywords', name: 'keywords',
......
...@@ -8,8 +8,7 @@ ...@@ -8,8 +8,7 @@
<row> <row>
<i-col v-show="detailsModel.title.visible" :style="{}" :lg="{ span: 24, offset: 0 }"> <i-col v-show="detailsModel.title.visible" :style="{}" :lg="{ span: 24, offset: 0 }">
<app-form-item name='title' :itemRules="this.rules.title" class='' :caption="$t('entities.knowledgearticle.quickcreate_form.details.title')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.title.error" :isEmptyCaption="false" labelPos="LEFT"> <app-form-item name='title' :itemRules="this.rules.title" class='' :caption="$t('entities.knowledgearticle.quickcreate_form.details.title')" uiStyle="DEFAULT" :labelWidth="130" :isShowCaption="true" :error="detailsModel.title.error" :isEmptyCaption="false" labelPos="LEFT">
<input-box v-model="data.title" :textareaId="this.$util.createUUID()" :disabled="detailsModel.title.disabled" type='textarea' textareaStyle="height:200px;" ></input-box> <input-box v-model="data.title" @enter="onEnter($event)" unit="" :disabled="detailsModel.title.disabled" type='text' style=""></input-box>
</app-form-item> </app-form-item>
</i-col> </i-col>
......
...@@ -23,9 +23,6 @@ export default class ViewKlArtInfoModel { ...@@ -23,9 +23,6 @@ export default class ViewKlArtInfoModel {
{ {
name: 'statuscode', name: 'statuscode',
}, },
{
name: 'primary',
},
{ {
name: 'expirationstateid', name: 'expirationstateid',
}, },
...@@ -213,6 +210,9 @@ export default class ViewKlArtInfoModel { ...@@ -213,6 +210,9 @@ export default class ViewKlArtInfoModel {
{ {
name: 'transactioncurrencyname', name: 'transactioncurrencyname',
}, },
{
name: 'isprimary',
},
] ]
} }
......
...@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \ ...@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \ sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-businesscentral.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-app-businesscentral.jar
EXPOSE 8080 EXPOSE 10320
ADD businesscentral-app-businesscentral.jar /businesscentral-app-businesscentral.jar ADD businesscentral-app-businesscentral.jar /businesscentral-app-businesscentral.jar
...@@ -3,9 +3,23 @@ services: ...@@ -3,9 +3,23 @@ services:
businesscentral-app-businesscentral: businesscentral-app-businesscentral:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-businesscentral:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-app-businesscentral:latest
ports: ports:
- "8080:8080" - "10320:10320"
networks: networks:
- agent_network - agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=10320
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=172.16.240.110
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
- SPRING_DATASOURCE_PASSWORD=b1@@@772
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
- CAS=https://passport.ibizlab.cn
- NACOS=172.16.240.110:8848
deploy: deploy:
resources: resources:
limits: limits:
......
...@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \ ...@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \ sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-provider-centralapi.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /businesscentral-provider-centralapi.jar
EXPOSE 10310 EXPOSE 8081
ADD businesscentral-provider-centralapi.jar /businesscentral-provider-centralapi.jar ADD businesscentral-provider-centralapi.jar /businesscentral-provider-centralapi.jar
...@@ -3,23 +3,9 @@ services: ...@@ -3,23 +3,9 @@ services:
businesscentral-provider-centralapi: businesscentral-provider-centralapi:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-provider-centralapi:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/businesscentral-provider-centralapi:latest
ports: ports:
- "10310:10310" - "8081:8081"
networks: networks:
- agent_network - agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=10310
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.240.110:8848
- SPRING_REDIS_HOST=172.16.240.110
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_LAB01_e85d8801c
- SPRING_DATASOURCE_PASSWORD=b1@@@772
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_e85d8801c?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_e85d8801c
- CAS=https://passport.ibizlab.cn
- NACOS=172.16.240.110:8848
deploy: deploy:
resources: resources:
limits: limits:
......
...@@ -37,11 +37,11 @@ ...@@ -37,11 +37,11 @@
git clone -b master $para2 ibizbusinesscentral/ git clone -b master $para2 ibizbusinesscentral/
export NODE_OPTIONS=--max-old-space-size=4096 export NODE_OPTIONS=--max-old-space-size=4096
cd ibizbusinesscentral/ cd ibizbusinesscentral/
mvn clean package -Pcentralapi mvn clean package -Pbusinesscentral
cd businesscentral-provider/businesscentral-provider-centralapi cd businesscentral-app/businesscentral-app-businesscentral
mvn -Pcentralapi docker:build mvn -Pbusinesscentral docker:build
mvn -Pcentralapi docker:push mvn -Pbusinesscentral docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/businesscentral-provider-centralapi.yaml iBizEE --with-registry-auth docker -H $para1 stack deploy --compose-file=src/main/docker/businesscentral-app-businesscentral.yaml iBizEE --with-registry-auth
</command> </command>
</hudson.tasks.Shell> </hudson.tasks.Shell>
</builders> </builders>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册