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

ibiz4j 发布系统代码

上级 72f4894a
{ {
"sys_authloggridview": { "sysauthloggridview": {
"title": "认证日志表格视图", "title": "认证日志表格视图",
"caption": "认证日志", "caption": "认证日志",
"viewtype": "DEGRIDVIEW", "viewtype": "DEGRIDVIEW",
"viewmodule": "uaa", "viewmodule": "uaa",
"viewname": "SYS_AUTHLOGGridView", "viewname": "SysAuthLogGridView",
"viewtag": "0134ebf9391cb5f988839332c1352cd9" "viewtag": "0134ebf9391cb5f988839332c1352cd9"
}, },
"index": { "index": {
......
...@@ -7,12 +7,12 @@ import Mock from 'mockjs' ...@@ -7,12 +7,12 @@ import Mock from 'mockjs'
mock.onGet('./assets/json/view-config.json').reply((config: any) => { mock.onGet('./assets/json/view-config.json').reply((config: any) => {
let status = MockAdapter.mockStatus(config); let status = MockAdapter.mockStatus(config);
return [status,{ return [status,{
"sys_authloggridview": { "sysauthloggridview": {
"title": "认证日志表格视图", "title": "认证日志表格视图",
"caption": "认证日志", "caption": "认证日志",
"viewtype": "DEGRIDVIEW", "viewtype": "DEGRIDVIEW",
"viewmodule": "uaa", "viewmodule": "uaa",
"viewname": "SYS_AUTHLOGGridView", "viewname": "SysAuthLogGridView",
"viewtag": "0134ebf9391cb5f988839332c1352cd9" "viewtag": "0134ebf9391cb5f988839332c1352cd9"
}, },
"index": { "index": {
......
...@@ -9,7 +9,7 @@ export const PageComponents = { ...@@ -9,7 +9,7 @@ export const PageComponents = {
Vue.component('sys-roleedit-view', () => import('@pages/uaa/sys-roleedit-view/sys-roleedit-view.vue')); Vue.component('sys-roleedit-view', () => import('@pages/uaa/sys-roleedit-view/sys-roleedit-view.vue'));
Vue.component('sys-user-roleedit-view', () => import('@pages/uaa/sys-user-roleedit-view/sys-user-roleedit-view.vue')); Vue.component('sys-user-roleedit-view', () => import('@pages/uaa/sys-user-roleedit-view/sys-user-roleedit-view.vue'));
Vue.component('sys-rolempickup-view', () => import('@pages/uaa/sys-rolempickup-view/sys-rolempickup-view.vue')); Vue.component('sys-rolempickup-view', () => import('@pages/uaa/sys-rolempickup-view/sys-rolempickup-view.vue'));
Vue.component('sys-authloggrid-view', () => import('@pages/uaa/sys-authloggrid-view/sys-authloggrid-view.vue')); Vue.component('sys-auth-log-grid-view', () => import('@pages/uaa/sys-auth-log-grid-view/sys-auth-log-grid-view.vue'));
Vue.component('sys-userpickup-view', () => import('@pages/uaa/sys-userpickup-view/sys-userpickup-view.vue')); Vue.component('sys-userpickup-view', () => import('@pages/uaa/sys-userpickup-view/sys-userpickup-view.vue'));
Vue.component('sys-rolegrid-view', () => import('@pages/uaa/sys-rolegrid-view/sys-rolegrid-view.vue')); Vue.component('sys-rolegrid-view', () => import('@pages/uaa/sys-rolegrid-view/sys-rolegrid-view.vue'));
Vue.component('sys-useredit-view', () => import('@pages/uaa/sys-useredit-view/sys-useredit-view.vue')); Vue.component('sys-useredit-view', () => import('@pages/uaa/sys-useredit-view/sys-useredit-view.vue'));
......
...@@ -233,7 +233,7 @@ const router = new Router({ ...@@ -233,7 +233,7 @@ const router = new Router({
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/uaa/sys-authloggrid-view/sys-authloggrid-view.vue'), component: () => import('@pages/uaa/sys-auth-log-grid-view/sys-auth-log-grid-view.vue'),
}, },
{ {
path: 'sysusers/:sysuser?/pickupview/:pickupview?', path: 'sysusers/:sysuser?/pickupview/:pickupview?',
...@@ -423,7 +423,7 @@ const router = new Router({ ...@@ -423,7 +423,7 @@ const router = new Router({
], ],
requireAuth: true, requireAuth: true,
}, },
component: () => import('@pages/uaa/sys-authloggrid-view/sys-authloggrid-view.vue'), component: () => import('@pages/uaa/sys-auth-log-grid-view/sys-auth-log-grid-view.vue'),
}, },
{ {
path: '/sysapps/:sysapp?/editview/:editview?', path: '/sysapps/:sysapp?/editview/:editview?',
......
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import SysAuthLogGridViewBase from './sys-auth-log-grid-view-base.vue';
import view_grid from '@widgets/sys-auth-log/main-grid/main-grid.vue';
import view_searchform from '@widgets/sys-auth-log/default-searchform/default-searchform.vue';
@Component({
components: {
view_grid,
view_searchform,
},
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 SysAuthLogGridView extends SysAuthLogGridViewBase {
}
</script>
\ No newline at end of file
...@@ -6,7 +6,7 @@ export const viewstate: any = { ...@@ -6,7 +6,7 @@ export const viewstate: any = {
{ {
viewtag: '0134ebf9391cb5f988839332c1352cd9', viewtag: '0134ebf9391cb5f988839332c1352cd9',
viewmodule: 'uaa', viewmodule: 'uaa',
viewname: 'SYS_AUTHLOGGridView', viewname: 'SysAuthLogGridView',
viewaction: '', viewaction: '',
viewdatachange: false, viewdatachange: false,
refviews: [ refviews: [
......
...@@ -140,7 +140,7 @@ export default class MainModel { ...@@ -140,7 +140,7 @@ export default class MainModel {
appfunctag: 'Auto6', appfunctag: 'Auto6',
appfuncyype: 'APPVIEW', appfuncyype: 'APPVIEW',
openmode: '', openmode: '',
codename: 'sys_authloggridview', codename: 'sysauthloggridview',
deResParameters: [], deResParameters: [],
routepath: '/index/:index?/sysauthlogs/:sysauthlog?/gridview/:gridview?', routepath: '/index/:index?/sysauthlogs/:sysauthlog?/gridview/:gridview?',
parameters: [ parameters: [
......
...@@ -742,7 +742,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -742,7 +742,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}): void { public load(opt: any = {}): void {
if(!this.loadAction){ if(!this.loadAction){
this.$Notice.error({ title: '错误', desc: 'SYS_AUTHLOGGridView视图搜索表单loadAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'SysAuthLogGridView视图搜索表单loadAction参数未配置' });
return; return;
} }
const arg: any = { ...opt }; const arg: any = { ...opt };
...@@ -779,7 +779,7 @@ export default class DefaultBase extends Vue implements ControlInterface { ...@@ -779,7 +779,7 @@ export default class DefaultBase extends Vue implements ControlInterface {
*/ */
public loadDraft(opt: any = {},mode?:string): void { public loadDraft(opt: any = {},mode?:string): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: '错误', desc: 'SYS_AUTHLOGGridView视图搜索表单loaddraftAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'SysAuthLogGridView视图搜索表单loaddraftAction参数未配置' });
return; return;
} }
const arg: any = { ...opt } ; const arg: any = { ...opt } ;
......
...@@ -739,7 +739,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -739,7 +739,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public load(opt: any = {}, pageReset: boolean = false): void { public load(opt: any = {}, pageReset: boolean = false): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: '错误', desc: 'SYS_AUTHLOGGridView视图表格fetchAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'SysAuthLogGridView视图表格fetchAction参数未配置' });
return; return;
} }
if(pageReset){ if(pageReset){
...@@ -816,7 +816,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -816,7 +816,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async remove(datas: any[]): Promise<any> { public async remove(datas: any[]): Promise<any> {
if(!this.removeAction){ if(!this.removeAction){
this.$Notice.error({ title: '错误', desc: 'SYS_AUTHLOGGridView视图表格removeAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'SysAuthLogGridView视图表格removeAction参数未配置' });
return; return;
} }
let _datas:any[] = []; let _datas:any[] = [];
...@@ -922,7 +922,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -922,7 +922,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public addBatch(arg: any = {}): void { public addBatch(arg: any = {}): void {
if(!this.fetchAction){ if(!this.fetchAction){
this.$Notice.error({ title: '错误', desc: 'SYS_AUTHLOGGridView视图表格fetchAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'SysAuthLogGridView视图表格fetchAction参数未配置' });
return; return;
} }
if(!arg){ if(!arg){
...@@ -1466,7 +1466,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1466,7 +1466,7 @@ export default class MainBase extends Vue implements ControlInterface {
try { try {
if(Object.is(item.rowDataState, 'create')){ if(Object.is(item.rowDataState, 'create')){
if(!this.createAction){ if(!this.createAction){
this.$Notice.error({ title: '错误', desc: 'SYS_AUTHLOGGridView视图表格createAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'SysAuthLogGridView视图表格createAction参数未配置' });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator); let response = await this.service.add(this.createAction, JSON.parse(JSON.stringify(this.context)),item, this.showBusyIndicator);
...@@ -1474,7 +1474,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1474,7 +1474,7 @@ export default class MainBase extends Vue implements ControlInterface {
} }
}else if(Object.is(item.rowDataState, 'update')){ }else if(Object.is(item.rowDataState, 'update')){
if(!this.updateAction){ if(!this.updateAction){
this.$Notice.error({ title: '错误', desc: 'SYS_AUTHLOGGridView视图表格updateAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'SysAuthLogGridView视图表格updateAction参数未配置' });
}else{ }else{
Object.assign(item,{viewparams:this.viewparams}); Object.assign(item,{viewparams:this.viewparams});
if(item.sysauthlog){ if(item.sysauthlog){
...@@ -1511,7 +1511,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1511,7 +1511,7 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public newRow(args: any[], params?: any, $event?: any, xData?: any): void { public newRow(args: any[], params?: any, $event?: any, xData?: any): void {
if(!this.loaddraftAction){ if(!this.loaddraftAction){
this.$Notice.error({ title: '错误', desc: 'SYS_AUTHLOGGridView视图表格loaddraftAction参数未配置' }); this.$Notice.error({ title: '错误', desc: 'SysAuthLogGridView视图表格loaddraftAction参数未配置' });
return; return;
} }
let _this = this; let _this = this;
......
...@@ -37,11 +37,6 @@ ...@@ -37,11 +37,6 @@
git clone -b master $para2 ibzuaa/ git clone -b master $para2 ibzuaa/
export NODE_OPTIONS=--max-old-space-size=4096 export NODE_OPTIONS=--max-old-space-size=4096
cd ibzuaa/ cd ibzuaa/
mvn clean package -Pweb
cd ibzuaa-app/ibzuaa-app-web
mvn -Pweb docker:build
mvn -Pweb docker:push
docker -H $para1 stack deploy --compose-file=src/main/docker/ibzuaa-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 ${IBIZ_SLEEP}s..." && \ ...@@ -9,6 +9,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 /ibzuaa-app-web.jar java ${JAVA_OPTS} -Djava.security.egd=file:/dev/./urandom -jar /ibzuaa-app-web.jar
EXPOSE 30002 EXPOSE 8080
ADD ibzuaa-app-web.jar /ibzuaa-app-web.jar ADD ibzuaa-app-web.jar /ibzuaa-app-web.jar
...@@ -3,24 +3,9 @@ services: ...@@ -3,24 +3,9 @@ services:
ibzuaa-app-web: ibzuaa-app-web:
image: registry.cn-shanghai.aliyuncs.com/ibizsys/ibzuaa-app-web:latest image: registry.cn-shanghai.aliyuncs.com/ibizsys/ibzuaa-app-web:latest
ports: ports:
- "30002:30002" - "8080:8080"
networks: networks:
- agent_network - agent_network
environment:
- SPRING_CLOUD_NACOS_DISCOVERY_IP=172.16.180.237
- SERVER_PORT=30002
- SPRING_CLOUD_NACOS_DISCOVERY_SERVER-ADDR=172.16.102.211:8848
- SPRING_REDIS_HOST=172.16.100.243
- SPRING_REDIS_PORT=6379
- SPRING_REDIS_DATABASE=0
- SPRING_DATASOURCE_USERNAME=a_A_5d9d78509
- SPRING_DATASOURCE_PASSWORD=@6dEfb3@
- SPRING_DATASOURCE_URL=jdbc:mysql://172.16.180.232:3306/a_A_5d9d78509?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&useOldAliasMetadataBehavior=true
- SPRING_DATASOURCE_DRIVER-CLASS-NAME=com.mysql.jdbc.Driver
- SPRING_DATASOURCE_DEFAULTSCHEMA=a_A_5d9d78509
- ABC=1
- DEC=2
- NACOS=172.16.102.211:8848
deploy: deploy:
resources: resources:
limits: limits:
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<!--输出实体[SYS_AUTHLOG]数据结构 --> <!--输出实体[SYS_AUTHLOG]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-sys_authlog-36-1"> <changeSet author="a_A_5d9d78509" id="tab-sys_authlog-37-1">
<createTable tableName="IBZAUTHLOG"> <createTable tableName="IBZAUTHLOG">
<column name="LOGID" remarks="" type="VARCHAR(100)"> <column name="LOGID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_SYS_AUTHLOG_LOGID"/> <constraints primaryKey="true" primaryKeyName="PK_SYS_AUTHLOG_LOGID"/>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册