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

ShineKOT 发布系统代码 [后台服务,演示应用]

上级 1d88c4a4
......@@ -1631,6 +1631,14 @@
"viewname": "IBIZOrderSF15GridView",
"viewtag": "ffedffb9c57cb200c275ba15e9100da4"
},
"appportalview": {
"title": "应用门户视图",
"caption": "",
"viewtype": "APPPORTALVIEW",
"viewmodule": "Ungroup",
"viewname": "AppPortalView",
"viewtag": "06E447F9-1AF8-464F-8F47-39CFC64B9A21"
},
"apppanelview": {
"title": "应用面板视图",
"caption": "",
......
......@@ -307,6 +307,7 @@ export default {
menuitem113: "订单类型添加",
menuitem124: "示例实体01数据补充",
menuitem144: "客户实体示例数据补充",
menuitem146: "应用视图数据补充",
},
},
formpage:{
......
......@@ -307,6 +307,7 @@ export default {
menuitem113: "订单类型添加",
menuitem124: "示例实体01数据补充",
menuitem144: "客户实体示例数据补充",
menuitem146: "应用视图数据补充",
},
},
formpage:{
......
......@@ -8,7 +8,8 @@ export default {
createdate: "建立时间",
updatedate: "更新时间",
ibizappviewtype: "应用视图类型",
ibizyuque: "文档地址",
ibizinstanceaddress: "实例地址",
ibizyuqueaddress: "文档地址",
},
views: {
editview: {
......@@ -32,6 +33,8 @@ export default {
srfsourcekey: "",
ibizappviewname: "应用视图名称",
ibizappviewtype: "应用视图类型",
ibizinstanceaddress: "实例地址",
ibizyuqueaddress: "文档地址",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
......
......@@ -7,7 +7,8 @@ export default {
createdate: "建立时间",
updatedate: "更新时间",
ibizappviewtype: "应用视图类型",
ibizyuque: "文档地址",
ibizinstanceaddress: "实例地址",
ibizyuqueaddress: "文档地址",
},
views: {
editview: {
......@@ -31,6 +32,8 @@ export default {
srfsourcekey: "",
ibizappviewname: "应用视图名称",
ibizappviewtype: "应用视图类型",
ibizinstanceaddress: "实例地址",
ibizyuqueaddress: "文档地址",
createman: "建立人",
createdate: "建立时间",
updateman: "更新人",
......
......@@ -2637,6 +2637,24 @@ mock.onGet('v7/main-menuappmenu').reply((config: any) => {
textcls: '',
appfunctag: 'AppFunc62',
resourcetag: '',
},
{
id: '7BEC7453-3A3A-4F7D-9604-EEB2E22C95C7',
name: 'menuitem146',
text: '应用视图数据补充',
type: 'MENUITEM',
counterid: '',
tooltip: '应用视图数据补充',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc65',
resourcetag: '',
},
],
},
......
......@@ -1639,6 +1639,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBIZOrderSF15GridView",
"viewtag": "ffedffb9c57cb200c275ba15e9100da4"
},
"appportalview": {
"title": "应用门户视图",
"caption": "",
"viewtype": "APPPORTALVIEW",
"viewmodule": "Ungroup",
"viewname": "AppPortalView",
"viewtag": "06E447F9-1AF8-464F-8F47-39CFC64B9A21"
},
"apppanelview": {
"title": "应用面板视图",
"caption": "",
......
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizappviewedit-view{
position: relative;
}
.toolbar-container {
button {
margin: 6px 0px 4px 4px;
.caption {
margin-left: 4px;
}
}
.seperator {
color: #dcdee2;
margin: 0 0px 0 4px;
}
}
// this is less
.deepskyblueToolBar {color:white !important;background-color:#108cee !important;}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZAPPVIEWEditViewBase from './ibizappviewedit-view-base.vue';
import view_form from '@widgets/ibizappview/main-form/main-form.vue';
@Component({
components: {
view_form,
},
beforeRouteEnter: (to: any, from: any, next: any) => {
next((vm: any) => {
if(!Object.is(vm.navModel,"route")){
vm.initNavDataWithTab(vm.viewCacheData);
}
vm.$store.commit('addCurPageViewtag', { fullPath: to.fullPath, viewtag: vm.viewtag });
});
},
})
export default class IBIZAPPVIEWEditView extends IBIZAPPVIEWEditViewBase {
}
</script>
\ No newline at end of file
......@@ -100,6 +100,7 @@ export const PageComponents = {
Vue.component('ibizorder-sf20-grid-view', () => import('@pages/sample/ibizorder-sf20-grid-view/ibizorder-sf20-grid-view.vue'));
Vue.component('ibizorder-calendar-exp-view', () => import('@pages/sample/ibizorder-calendar-exp-view/ibizorder-calendar-exp-view.vue'));
Vue.component('ibizorder-grid-view9', () => import('@pages/sample/ibizorder-grid-view9/ibizorder-grid-view9.vue'));
Vue.component('ibizappviewedit-view', () => import('@pages/sample/ibizappviewedit-view/ibizappviewedit-view.vue'));
Vue.component('ibizsample0003-spickup-view2', () => import('@pages/sample/ibizsample0003-spickup-view2/ibizsample0003-spickup-view2.vue'));
Vue.component('ibizorder-odsp-w10-wfgrid-view', () => import('@pages/sample/ibizorder-odsp-w10-wfgrid-view/ibizorder-odsp-w10-wfgrid-view.vue'));
Vue.component('ibizsample0003-spickup-tree-view', () => import('@pages/sample/ibizsample0003-spickup-tree-view/ibizsample0003-spickup-tree-view.vue'));
......
......@@ -1615,6 +1615,20 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizorder-grid-view9/ibizorder-grid-view9.vue'),
},
{
path: 'ibizappviews/:ibizappview?/editview/:editview?',
meta: {
caption: 'entities.ibizappview.views.editview.caption',
info:'',
parameters: [
{ pathName: 'index', parameterName: 'index' },
{ pathName: 'ibizappviews', parameterName: 'ibizappview' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizappviewedit-view/ibizappviewedit-view.vue'),
},
{
path: 'ibizsample0003s/:ibizsample0003?/spickupview2/:spickupview2?',
meta: {
......@@ -3112,6 +3126,19 @@ const router = new Router({
},
component: () => import('@pages/sample/ibizuniproduct-index-pickup-data-view/ibizuniproduct-index-pickup-data-view.vue'),
},
{
path: '/ibizappviews/:ibizappview?/editview/:editview?',
meta: {
caption: 'entities.ibizappview.views.editview.caption',
info:'',
parameters: [
{ pathName: 'ibizappviews', parameterName: 'ibizappview' },
{ pathName: 'editview', parameterName: 'editview' },
],
requireAuth: true,
},
component: () => import('@pages/sample/ibizappviewedit-view/ibizappviewedit-view.vue'),
},
{
path: '/ibizorders/:ibizorder?/ibizorderdetails/:ibizorderdetail?/listview/:listview?',
meta: {
......
......@@ -253,6 +253,7 @@ export const viewstate: any = {
'f94df735642ce85ebb2fe3816c4dc77b',
'a682806a2655b566842d5495e43a06f3',
'ac9add3724d90fba46e7298ac051fa5f',
'27425bd0f023912440422d4ee90bb370',
'16b68282950fb352dfe27e94bda47304',
'2bf74d5d66fa6d8d38b21b090586529b',
'8d1205a914564cbd528cadc3963c2905',
......@@ -354,6 +355,15 @@ export const viewstate: any = {
refviews: [
],
},
{
viewtag: '27425bd0f023912440422d4ee90bb370',
viewmodule: 'Sample',
viewname: 'IBIZAPPVIEWEditView',
viewaction: '',
viewdatachange: false,
refviews: [
],
},
{
viewtag: '2985fa795f2812f76c5d56f2b8825b91',
viewmodule: 'Sample',
......
......@@ -521,6 +521,9 @@ export default class MainMenuBase extends Vue implements ControlInterface {
case 'AppFunc33':
this.clickAppFunc33(item);
return;
case 'AppFunc65':
this.clickAppFunc65(item);
return;
case 'Auto81':
this.clickAuto81(item);
return;
......@@ -886,6 +889,29 @@ export default class MainMenuBase extends Vue implements ControlInterface {
})
}
/**
* 应用视图数据补充
*
* @param {*} [item={}]
* @memberof MainMenu
*/
public clickAppFunc65(item: any = {}) {
const viewparam: any = {};
Object.assign(viewparam, {});
const deResParameters: any[] = [];
const parameters: any[] = [
{ pathName: 'ibizappviews', parameterName: 'ibizappview' },
{ pathName: 'editview', parameterName: 'editview' },
];
const path: string = this.$viewTool.buildUpRoutePath(this.$route, {}, deResParameters, parameters, [], viewparam);
if(Object.is(this.$route.fullPath,path)){
return;
}
this.$nextTick(function(){
this.$router.push(path);
})
}
/**
* 动态必填
*
......
......@@ -2784,6 +2784,25 @@ export default class MainMenuModel {
appfunctag: 'AppFunc62',
resourcetag: '',
authtag:'Web-MainMenu-menuitem144',
},
{
id: '7BEC7453-3A3A-4F7D-9604-EEB2E22C95C7',
name: 'menuitem146',
text: '应用视图数据补充',
type: 'MENUITEM',
counterid: '',
tooltip: '应用视图数据补充',
expanded: false,
separator: false,
hidden: false,
hidesidebar: false,
opendefault: false,
iconcls: '',
icon: '',
textcls: '',
appfunctag: 'AppFunc65',
resourcetag: '',
authtag:'Web-MainMenu-menuitem146',
},
],
},
......
/**
* Main 部件模型
*
* @export
* @class MainModel
*/
export default class MainModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof MainModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
{
name: 'srfupdatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'srforikey',
},
{
name: 'srfkey',
prop: 'ibizappviewid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'ibizappviewname',
dataType: 'TEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'ibizappviewname',
prop: 'ibizappviewname',
dataType: 'TEXT',
},
{
name: 'ibizappviewtype',
prop: 'ibizappviewtype',
dataType: 'TEXT',
},
{
name: 'ibizinstanceaddress',
prop: 'ibizinstanceaddress',
dataType: 'TEXT',
},
{
name: 'ibizyuqueaddress',
prop: 'ibizyuqueaddress',
dataType: 'TEXT',
},
{
name: 'createman',
prop: 'createman',
dataType: 'TEXT',
},
{
name: 'createdate',
prop: 'createdate',
dataType: 'DATETIME',
},
{
name: 'updateman',
prop: 'updateman',
dataType: 'TEXT',
},
{
name: 'updatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'ibizappviewid',
prop: 'ibizappviewid',
dataType: 'GUID',
},
{
name: 'ibizappview',
prop: 'ibizappviewid',
dataType: 'FONTKEY',
},
]
}
}
\ No newline at end of file
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-form {
overflow: auto;
padding: 6px;
> .ivu-row {
> .ivu-tabs {
height: 100%;
display: flex;
flex-direction: column;
> .ivu-tabs-content {
flex-grow: 1;
overflow: auto;
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
}
}
.app-tabpanel-flex {
height: 100%;
> .ivu-tabs-content {
height: calc(100% - 52px);
> .ivu-tabs-tabpane {
height: 100%;
}
}
}
.app-form {
>.ivu-row:nth-child(2) {
>.ivu-col:nth-child(1) {
>.ivu-row.app-form-group.app-group-hiddden-caption:nth-child(1) {
margin-top: 12px;
}
}
}
}
.app-form{
// 表单行间距
.app-form-item{
margin-bottom: 20px;
}
// 表单按钮margin
.app-form-button{
margin:0 6px;
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import MainBase from './main-form-base.vue';
@Component({
components: {
}
})
export default class Main extends MainBase {
}
</script>
\ No newline at end of file
......@@ -37,11 +37,6 @@
git clone -b master $para2 demosys/
export NODE_OPTIONS=--max-old-space-size=4096
cd demosys/
mvn clean package -Pdemoapi
cd demo-provider/demo-provider-demoapi
mvn -Pdemoapi docker:build
mvn -Pdemoapi docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/demo-provider-demoapi.yaml iBizDemo --with-registry-auth
</command>
</hudson.tasks.Shell>
</builders>
......
......@@ -12,6 +12,6 @@ CMD echo "The application will start in ${IBIZ_SLEEP}s..." && \
sleep ${IBIZ_SLEEP} && \
java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /demo-provider-demoapi.jar
EXPOSE 51000
EXPOSE 8081
ADD demo-provider-demoapi.jar /demo-provider-demoapi.jar
......@@ -3,24 +3,9 @@ services:
demo-provider-demoapi:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/demo-provider-demoapi:latest
ports:
- "51000:51000"
- "8081:8081"
networks:
- agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.240.110
- SERVER_PORT=51000
- 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_df847bdfd
- SPRING_DATASOURCE_PASSWORD=3d6@460A
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.186.185:3306/a_LAB01_df847bdfd?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true&allowMultiQueries=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_LAB01_df847bdfd
- NACOS=172.16.240.110:8848
- SEATA_REGISTRY_NACOS_SERVER-ADDR=172.16.240.110:8848
- SEATA_ENABLED=true
deploy:
resources:
limits:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册