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

lab_qyk 部署微服务应用

上级 bf642d0a
{
"ibzpostpickupview": {
"title": "岗位数据选择视图",
"caption": "岗位",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "ou",
"viewname": "IBZPostPickupView",
"viewtag": "0581848a24a829f706252c15c641e154"
},
"ibzemployeeeditgridview": {
"title": "人员表格视图",
"caption": "人员",
......@@ -79,6 +87,14 @@
"viewname": "IBZTeamGridView",
"viewtag": "364460c8f6afc2c459f8857a6d228b1a"
},
"ibzpostpickupgridview": {
"title": "岗位选择表格视图",
"caption": "岗位",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "ou",
"viewname": "IBZPostPickupGridView",
"viewtag": "395d443de520bbaee17c18ea0747abce"
},
"ibzorganizationpickupgridview": {
"title": "单位机构选择表格视图",
"caption": "单位机构",
......
......@@ -8,6 +8,14 @@ export default {
memo: "备注",
},
views: {
pickupview: {
caption: "岗位",
title: "岗位数据选择视图",
},
pickupgridview: {
caption: "岗位",
title: "岗位选择表格视图",
},
gridview: {
caption: "岗位",
title: "岗位表格视图",
......
......@@ -7,6 +7,14 @@ export default {
memo: "备注",
},
views: {
pickupview: {
caption: "岗位",
title: "岗位数据选择视图",
},
pickupgridview: {
caption: "岗位",
title: "岗位选择表格视图",
},
gridview: {
caption: "岗位",
title: "岗位表格视图",
......
......@@ -31,6 +31,12 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
personname: "姓名",
postname: "岗位标识",
domains: "区属",
teamid: "组标识",
postid: "岗位标识",
userid: "用户标识",
teammemberid: "组成员标识",
},
uiactions: {
......@@ -38,6 +44,9 @@ export default {
},
main_grid: {
columns: {
personname: "姓名",
postname: "岗位标识",
domains: "区属",
},
uiactions: {
},
......
......@@ -30,6 +30,12 @@ export default {
srfuf: "",
srfdeid: "",
srfsourcekey: "",
personname: "姓名",
postname: "岗位标识",
domains: "区属",
teamid: "组标识",
postid: "岗位标识",
userid: "用户标识",
teammemberid: "组成员标识",
},
uiactions: {
......@@ -37,6 +43,9 @@ export default {
},
main_grid: {
columns: {
personname: "姓名",
postname: "岗位标识",
domains: "区属",
},
uiactions: {
},
......
......@@ -7,7 +7,15 @@ import Mock from 'mockjs'
mock.onGet('./assets/json/view-config.json').reply((config: any) => {
let status = MockAdapter.mockStatus(config);
return [status,{
"ibzemployeeeditgridview": {
"ibzpostpickupview": {
"title": "岗位数据选择视图",
"caption": "岗位",
"viewtype": "DEPICKUPVIEW",
"viewmodule": "ou",
"viewname": "IBZPostPickupView",
"viewtag": "0581848a24a829f706252c15c641e154"
},
"ibzemployeeeditgridview": {
"title": "人员表格视图",
"caption": "人员",
"viewtype": "DEGRIDVIEW",
......@@ -87,6 +95,14 @@ mock.onGet('./assets/json/view-config.json').reply((config: any) => {
"viewname": "IBZTeamGridView",
"viewtag": "364460c8f6afc2c459f8857a6d228b1a"
},
"ibzpostpickupgridview": {
"title": "岗位选择表格视图",
"caption": "岗位",
"viewtype": "DEPICKUPGRIDVIEW",
"viewmodule": "ou",
"viewname": "IBZPostPickupGridView",
"viewtag": "395d443de520bbaee17c18ea0747abce"
},
"ibzorganizationpickupgridview": {
"title": "单位机构选择表格视图",
"caption": "单位机构",
......
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibzteam-member-edit-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
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBZTeamMemberEditViewBase from './ibzteam-member-edit-view-base.vue';
import view_form from '@widgets/ibzteam-member/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 IBZTeamMemberEditView extends IBZTeamMemberEditViewBase {
}
</script>
\ No newline at end of file
.ibzteam-member-grid-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
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBZTeamMemberGridViewBase from './ibzteam-member-grid-view-base.vue';
import view_grid from '@widgets/ibzteam-member/main-grid/main-grid.vue';
import view_searchform from '@widgets/ibzteam-member/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 IBZTeamMemberGridView extends IBZTeamMemberGridViewBase {
}
</script>
\ No newline at end of file
......@@ -15,10 +15,12 @@ export const PageComponents = {
Vue.component('ibzteam-edit-view', () => import('@pages/ou/ibzteam-edit-view/ibzteam-edit-view.vue'));
Vue.component('ibzemployee-edit-view', () => import('@pages/ou/ibzemployee-edit-view/ibzemployee-edit-view.vue'));
Vue.component('ibzdepartment-pickup-grid-view', () => import('@pages/ou/ibzdepartment-pickup-grid-view/ibzdepartment-pickup-grid-view.vue'));
Vue.component('ibzpost-pickup-view', () => import('@pages/ou/ibzpost-pickup-view/ibzpost-pickup-view.vue'));
Vue.component('ibzorganization-option-view', () => import('@pages/ou/ibzorganization-option-view/ibzorganization-option-view.vue'));
Vue.component('ibzorganization-pickup-grid-view', () => import('@pages/ou/ibzorganization-pickup-grid-view/ibzorganization-pickup-grid-view.vue'));
Vue.component('ibzdepartment-grid-view', () => import('@pages/ou/ibzdepartment-grid-view/ibzdepartment-grid-view.vue'));
Vue.component('ibzorganization-grid-view', () => import('@pages/ou/ibzorganization-grid-view/ibzorganization-grid-view.vue'));
Vue.component('ibzpost-pickup-grid-view', () => import('@pages/ou/ibzpost-pickup-grid-view/ibzpost-pickup-grid-view.vue'));
Vue.component('ibzemployee-mpickup-view', () => import('@pages/ou/ibzemployee-mpickup-view/ibzemployee-mpickup-view.vue'));
Vue.component('ibzorganization-edit-view', () => import('@pages/ou/ibzorganization-edit-view/ibzorganization-edit-view.vue'));
Vue.component('ibzemployee-pickup-grid-view', () => import('@pages/ou/ibzemployee-pickup-grid-view/ibzemployee-pickup-grid-view.vue'));
......
......@@ -47,6 +47,17 @@ export const viewstate: any = {
'b59db4df07430a34645566a64d59244c',
],
},
{
viewtag: '221800117f6cfa4296a3f7e5dc99ce44',
viewmodule: 'ou',
viewname: 'IBZTeamMemberGridView',
viewaction: '',
viewdatachange: false,
refviews: [
'5ef90c56e30ba698e1ba1fc05f426725',
'89b1f5e74703dab0fca756ece369b57d',
],
},
{
viewtag: '2300119cfeaff98d4bc48c1679515968',
viewmodule: 'ou',
......@@ -128,6 +139,17 @@ export const viewstate: any = {
'221800117f6cfa4296a3f7e5dc99ce44',
],
},
{
viewtag: '89b1f5e74703dab0fca756ece369b57d',
viewmodule: 'ou',
viewname: 'IBZTeamMemberEditView',
viewaction: '',
viewdatachange: false,
refviews: [
'0581848a24a829f706252c15c641e154',
'd1ec542e553e00c6455ca776efc61882',
],
},
{
viewtag: '95a44e1851d28a16a90965f60d6ff4ae',
viewmodule: 'ou',
......
......@@ -79,6 +79,8 @@ export default class IBZPostUIServiceBase extends UIService {
* @memberof IBZPostUIServiceBase
*/
public initViewMap(){
this.allViewMap.set('PICKUPVIEW:',{viewname:'pickupview',srfappde:'ibzposts'});
this.allViewMap.set(':',{viewname:'pickupgridview',srfappde:'ibzposts'});
this.allViewMap.set('MDATAVIEW:',{viewname:'gridview',srfappde:'ibzposts'});
this.allViewMap.set('EDITVIEW:',{viewname:'editview',srfappde:'ibzposts'});
}
......
/**
* Default 部件模型
*
* @export
* @class DefaultModel
*/
export default class DefaultModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof DefaultModel
*/
public getDataItems(): any[] {
return [
{
name: 'srfwfmemo',
prop: 'srfwfmemo',
dataType: 'TEXT',
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
]
}
}
\ No newline at end of file
.ivu-tabs-no-animation>.ivu-tabs-content{
padding: 0 16px;
}
.ivu-card-head{
padding: 14px 0;
}
.app-search-form {
padding: 8px 14px 0;
.ivu-form-item{
margin-bottom: 8px;
}
.search_reset {
margin-right: 12px;
margin-bottom: 8px;
}
.search-button{
text-align: right;
}
}
.app-search-form-flex {
height: 100%;
> .ivu-row {
height: 100%;
> .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%;
}
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import DefaultBase from './default-searchform-base.vue';
@Component({
components: {
}
})
export default class Default extends DefaultBase {
}
</script>
\ No newline at end of file
/**
* 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: 'srforikey',
},
{
name: 'srfkey',
prop: 'teammemberid',
dataType: 'TEXT',
},
{
name: 'srfmajortext',
prop: 'personname',
dataType: 'PICKUPTEXT',
},
{
name: 'srftempmode',
},
{
name: 'srfuf',
},
{
name: 'srfdeid',
},
{
name: 'srfsourcekey',
},
{
name: 'personname',
prop: 'personname',
dataType: 'PICKUPTEXT',
},
{
name: 'postname',
prop: 'postname',
dataType: 'PICKUPTEXT',
},
{
name: 'domains',
prop: 'domains',
dataType: 'TEXT',
},
{
name: 'teamid',
prop: 'teamid',
dataType: 'PICKUP',
},
{
name: 'postid',
prop: 'postid',
dataType: 'PICKUP',
},
{
name: 'userid',
prop: 'userid',
dataType: 'PICKUP',
},
{
name: 'teammemberid',
prop: 'teammemberid',
dataType: 'TEXT',
},
{
name: 'ibzteammember',
prop: 'teammemberid',
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;
> .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;
}
}
// 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
/**
* Main 部件模型
*
* @export
* @class MainModel
*/
export default class MainModel {
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof MainGridMode
*/
public isDEExport: boolean = false;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof MainGridMode
*/
public getDataItems(): any[] {
if(this.isDEExport){
return [
]
}else{
return [
{
name: 'postid',
prop: 'postid',
dataType: 'PICKUP',
},
{
name: 'teamid',
prop: 'teamid',
dataType: 'PICKUP',
},
{
name: 'postname',
prop: 'postname',
dataType: 'PICKUPTEXT',
},
{
name: 'domains',
prop: 'domains',
dataType: 'TEXT',
},
{
name: 'userid',
prop: 'userid',
dataType: 'PICKUP',
},
{
name: 'personname',
prop: 'personname',
dataType: 'PICKUPTEXT',
},
{
name: 'srfmajortext',
prop: 'personname',
dataType: 'PICKUPTEXT',
},
{
name: 'srfdataaccaction',
prop: 'teammemberid',
dataType: 'TEXT',
},
{
name: 'srfkey',
prop: 'teammemberid',
dataType: 'TEXT',
},
{
name: 'ibzteammember',
prop: 'teammemberid',
},
{
name:'size',
prop:'size'
},
{
name:'query',
prop:'query'
},
{
name:'page',
prop:'page'
},
{
name:'sort',
prop:'sort'
},
{
name:'srfparentdata',
prop:'srfparentdata'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
]
}
}
}
\ No newline at end of file
.grid {
flex-grow: 1;
height: 100%;
overflow: auto;
.el-table__body-wrapper::-webkit-scrollbar {
/*滚动条整体样式*/
width : 10px !important; /*高宽分别对应横竖滚动条的尺寸*/
height: 10px !important;
}
.el-table__body-wrapper::-webkit-scrollbar-thumb {
/*滚动条颜色*/
border-radius : 10px !important;
background-color: #cecece !important;
}
.el-table__body-wrapper::-webkit-scrollbar-track {
/*滚动条里面轨道*/
box-shadow : inset 0 0 5px rgba(0, 0, 0, 0.2) !important;
background : #ededed !important;
border-radius: 10px !important;
}
/*表格文字过长省略*/
.el-table th>.cell, .el-table td>.cell{
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
word-break: break-all;
}
.el-table-column--selection .cell {
padding-left: 0px;
padding-right: 0px;
}
.app-column-link, .app-format-data{
display: inline;
}
.el-table {
.quick-toolbar{
display: inline-block;
button{
background: #ebf3fb;
color: #2575ca;
border: 0;
}
}
.el-tooltip{
.ivu-form-item{
margin-bottom: unset !important;
}
}
.el-table__body .edit-cell{
padding:0;
.app-form-item{
margin-top: 20px;
margin-bottom: 20px;
}
}
}
.grid-pagination {
height: 50px;
padding: 6px 0px;
.page-button {
button {
padding: 0;
font-size: 16px;
min-width: 32px;
height: 32px;
margin-right: 4px;
}
}
.page-column {
position: absolute;
left: 0;
}
.batch-toolbar{
position: absolute;
left: 105px;
>.toolbar-container{
button {
font-size: 16px;
min-width: 32px;
height: 32px;
margin-right: 4px;
margin-top: 0;
margin-bottom: 0;
}
}
}
}
.el-table__body-wrapper{
height: calc(100% - 45px) !important;
}
}
.ivu-modal-content{
.footer{
.ivu-row{
text-align: right;
}
}
}
// this is less
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import MainBase from './main-grid-base.vue';
@Component({
components: {
}
})
export default class Main extends MainBase {
}
</script>
\ No newline at end of file
......@@ -130,7 +130,7 @@
<!--输出实体[IBZPOST]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-ibzpost-26-4">
<changeSet author="a_A_5d9d78509" id="tab-ibzpost-28-4">
<createTable tableName="IBZPOST">
<column name="POSTID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBZPOST_POSTID"/>
......@@ -204,7 +204,7 @@
<!--输出实体[IBZTEAMMEMBER]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-ibzteammember-44-7">
<changeSet author="a_A_5d9d78509" id="tab-ibzteammember-48-7">
<createTable tableName="IBZTEAMMEMBER">
<column name="TEAMMEMBERID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBZTEAMMEMBER_TEAMMEMBERID"/>
......@@ -254,13 +254,13 @@
<addForeignKeyConstraint baseColumnNames="ORGID" baseTableName="IBZDEPT" constraintName="DER1N_IBZDEPT_IBZORG_ORGID" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="ORGID" referencedTableName="IBZORG" validate="true"/>
</changeSet>
<!--输出实体[IBZTEAMMEMBER]外键关系 -->
<changeSet author="a_A_5d9d78509" id="fk-ibzteammember-44-17">
<changeSet author="a_A_5d9d78509" id="fk-ibzteammember-48-17">
<addForeignKeyConstraint baseColumnNames="USERID" baseTableName="IBZTEAMMEMBER" constraintName="DER1N_IBZTEAMMEMBER_IBZEMP_USE" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="USERID" referencedTableName="IBZEMP" validate="true"/>
</changeSet>
<changeSet author="a_A_5d9d78509" id="fk-ibzteammember-44-18">
<changeSet author="a_A_5d9d78509" id="fk-ibzteammember-48-18">
<addForeignKeyConstraint baseColumnNames="POSTID" baseTableName="IBZTEAMMEMBER" constraintName="DER1N_IBZTEAMMEMBER_IBZPOST_PO" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="POSTID" referencedTableName="IBZPOST" validate="true"/>
</changeSet>
<changeSet author="a_A_5d9d78509" id="fk-ibzteammember-44-19">
<changeSet author="a_A_5d9d78509" id="fk-ibzteammember-48-19">
<addForeignKeyConstraint baseColumnNames="TEAMID" baseTableName="IBZTEAMMEMBER" constraintName="DER1N_IBZTEAMMEMBER_IBZTEAM_TE" deferrable="false" initiallyDeferred="false" onDelete="RESTRICT" onUpdate="RESTRICT" referencedColumnNames="TEAMID" referencedTableName="IBZTEAM" validate="true"/>
</changeSet>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册