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

zhouweidong 部署微服务应用 [ibiz-rt,ibizlab-runtime]

上级 19c0ba08
...@@ -117,6 +117,7 @@ function getLocaleResourceBase(){ ...@@ -117,6 +117,7 @@ function getLocaleResourceBase(){
shortname: commonLogic.appcommonhandle("Others",null), shortname: commonLogic.appcommonhandle("Others",null),
bcode: commonLogic.appcommonhandle("Condition",null), bcode: commonLogic.appcommonhandle("Condition",null),
leadername: commonLogic.appcommonhandle("分管领导",null), leadername: commonLogic.appcommonhandle("分管领导",null),
isvalid: commonLogic.appcommonhandle("启用标识",null),
showorder: commonLogic.appcommonhandle("排序",null), showorder: commonLogic.appcommonhandle("排序",null),
createdate: commonLogic.appcommonhandle("{0}[{1}] relational data [{2}] cannot be deleted!",null), createdate: commonLogic.appcommonhandle("{0}[{1}] relational data [{2}] cannot be deleted!",null),
updatedate: commonLogic.appcommonhandle("The [{0}] value is not a character type",null), updatedate: commonLogic.appcommonhandle("The [{0}] value is not a character type",null),
......
...@@ -117,6 +117,7 @@ function getLocaleResourceBase(){ ...@@ -117,6 +117,7 @@ function getLocaleResourceBase(){
shortname: commonLogic.appcommonhandle("部门简称",null), shortname: commonLogic.appcommonhandle("部门简称",null),
bcode: commonLogic.appcommonhandle("业务编码",null), bcode: commonLogic.appcommonhandle("业务编码",null),
leadername: commonLogic.appcommonhandle("分管领导",null), leadername: commonLogic.appcommonhandle("分管领导",null),
isvalid: commonLogic.appcommonhandle("启用标识",null),
showorder: commonLogic.appcommonhandle("排序",null), showorder: commonLogic.appcommonhandle("排序",null),
createdate: commonLogic.appcommonhandle("创建时间",null), createdate: commonLogic.appcommonhandle("创建时间",null),
updatedate: commonLogic.appcommonhandle("最后修改时间",null), updatedate: commonLogic.appcommonhandle("最后修改时间",null),
......
...@@ -100,6 +100,7 @@ function getLocaleResourceBase(){ ...@@ -100,6 +100,7 @@ function getLocaleResourceBase(){
shortname: commonLogic.appcommonhandle("Cancel",null), shortname: commonLogic.appcommonhandle("Cancel",null),
porgname: commonLogic.appcommonhandle("上级单位",null), porgname: commonLogic.appcommonhandle("上级单位",null),
porgid: commonLogic.appcommonhandle("上级单位",null), porgid: commonLogic.appcommonhandle("上级单位",null),
isvalid: commonLogic.appcommonhandle("启用标识",null),
showorder: commonLogic.appcommonhandle("排序",null), showorder: commonLogic.appcommonhandle("排序",null),
createdate: commonLogic.appcommonhandle("Print",null), createdate: commonLogic.appcommonhandle("Print",null),
updatedate: commonLogic.appcommonhandle("Actor",null), updatedate: commonLogic.appcommonhandle("Actor",null),
......
...@@ -100,6 +100,7 @@ function getLocaleResourceBase(){ ...@@ -100,6 +100,7 @@ function getLocaleResourceBase(){
shortname: commonLogic.appcommonhandle("单位简称",null), shortname: commonLogic.appcommonhandle("单位简称",null),
porgname: commonLogic.appcommonhandle("上级单位",null), porgname: commonLogic.appcommonhandle("上级单位",null),
porgid: commonLogic.appcommonhandle("上级单位",null), porgid: commonLogic.appcommonhandle("上级单位",null),
isvalid: commonLogic.appcommonhandle("启用标识",null),
showorder: commonLogic.appcommonhandle("排序",null), showorder: commonLogic.appcommonhandle("排序",null),
createdate: commonLogic.appcommonhandle("创建时间",null), createdate: commonLogic.appcommonhandle("创建时间",null),
updatedate: commonLogic.appcommonhandle("最后修改时间",null), updatedate: commonLogic.appcommonhandle("最后修改时间",null),
......
...@@ -117,6 +117,20 @@ ...@@ -117,6 +117,20 @@
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<template v-if="getColumnState('isvalid')">
<el-table-column show-overflow-tooltip :prop="'isvalid'" :label="$t('entities.sysdepartment.main_grid.columns.isvalid')" :width="100" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.sysdepartment.main_grid.columns.isvalid')}}
</span>
</template>
<template v-slot="{row,column,$index}">
<template >
<codelist :value="row.isvalid" tag='YesNo' codelistType='STATIC' ></codelist>
</template>
</template>
</el-table-column>
</template>
<template v-if="getColumnState('showorder')"> <template v-if="getColumnState('showorder')">
<el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.sysdepartment.main_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.sysdepartment.main_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
...@@ -818,6 +832,15 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -818,6 +832,15 @@ export default class MainBase extends Vue implements ControlInterface {
isEnableRowEdit: false, isEnableRowEdit: false,
enableCond: 3 , enableCond: 3 ,
}, },
{
name: 'isvalid',
label: '启用标识',
langtag: 'entities.sysdepartment.main_grid.columns.isvalid',
show: true,
unit: 'PX',
isEnableRowEdit: false,
enableCond: 3 ,
},
{ {
name: 'showorder', name: 'showorder',
label: '排序', label: '排序',
...@@ -1361,6 +1384,14 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1361,6 +1384,14 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async formatExcelData(filterVal:any, jsonData:any) { public async formatExcelData(filterVal:any, jsonData:any) {
let codelistColumns:Array<any> = [ let codelistColumns:Array<any> = [
{
name: 'isvalid',
srfkey: 'YesNo',
codelistType : 'STATIC',
renderMode: 'other',
textSeparator: '、',
valueSeparator: ',',
},
]; ];
let _this = this; let _this = this;
for (const codelist of codelistColumns) { for (const codelist of codelistColumns) {
...@@ -1567,7 +1598,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1567,7 +1598,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public arraySpanMethod({row, column, rowIndex, columnIndex} : any) { public arraySpanMethod({row, column, rowIndex, columnIndex} : any) {
let allColumns:Array<any> = ['deptcode','deptname','orgname','pdeptname','deptlevel','shortname','bcode','leadername','showorder','createdate','updatedate','orgid','pdeptid','leaderid']; let allColumns:Array<any> = ['deptcode','deptname','orgname','pdeptname','deptlevel','shortname','bcode','leadername','isvalid','showorder','createdate','updatedate','orgid','pdeptid','leaderid'];
if(row && row.children) { if(row && row.children) {
if(columnIndex == (this.isSingleSelect ? 0:1)) { if(columnIndex == (this.isSingleSelect ? 0:1)) {
return [1, allColumns.length+1]; return [1, allColumns.length+1];
...@@ -1655,6 +1686,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1655,6 +1686,7 @@ export default class MainBase extends Vue implements ControlInterface {
shortname:'', shortname:'',
bcode:'', bcode:'',
leadername:'', leadername:'',
isvalid:'',
showorder:'', showorder:'',
createdate:'', createdate:'',
updatedate:'', updatedate:'',
...@@ -1695,6 +1727,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1695,6 +1727,7 @@ export default class MainBase extends Vue implements ControlInterface {
shortname:'', shortname:'',
bcode:'', bcode:'',
leadername:'', leadername:'',
isvalid:'',
showorder:'', showorder:'',
createdate:'', createdate:'',
updatedate:'', updatedate:'',
...@@ -1755,6 +1788,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1755,6 +1788,7 @@ export default class MainBase extends Vue implements ControlInterface {
shortname:'', shortname:'',
bcode:'', bcode:'',
leadername:'', leadername:'',
isvalid:'',
showorder:'', showorder:'',
createdate:'', createdate:'',
updatedate:'', updatedate:'',
......
...@@ -67,6 +67,11 @@ export default class MainModel { ...@@ -67,6 +67,11 @@ export default class MainModel {
prop: 'leadername', prop: 'leadername',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'isvalid',
prop: 'isvalid',
dataType: 'YESNO',
},
{ {
name: 'pdeptid', name: 'pdeptid',
prop: 'parentdeptid', prop: 'parentdeptid',
......
...@@ -105,6 +105,20 @@ ...@@ -105,6 +105,20 @@
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<template v-if="getColumnState('isvalid')">
<el-table-column show-overflow-tooltip :prop="'isvalid'" :label="$t('entities.sysorganization.main_grid.columns.isvalid')" :width="100" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.sysorganization.main_grid.columns.isvalid')}}
</span>
</template>
<template v-slot="{row,column,$index}">
<template >
<codelist :value="row.isvalid" tag='YesNo' codelistType='STATIC' ></codelist>
</template>
</template>
</el-table-column>
</template>
<template v-if="getColumnState('showorder')"> <template v-if="getColumnState('showorder')">
<el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.sysorganization.main_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'"> <el-table-column show-overflow-tooltip :prop="'showorder'" :label="$t('entities.sysorganization.main_grid.columns.showorder')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}"> <template v-slot:header="{column}">
...@@ -761,6 +775,15 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -761,6 +775,15 @@ export default class MainBase extends Vue implements ControlInterface {
isEnableRowEdit: false, isEnableRowEdit: false,
enableCond: 3 , enableCond: 3 ,
}, },
{
name: 'isvalid',
label: '启用标识',
langtag: 'entities.sysorganization.main_grid.columns.isvalid',
show: true,
unit: 'PX',
isEnableRowEdit: false,
enableCond: 3 ,
},
{ {
name: 'showorder', name: 'showorder',
label: '排序', label: '排序',
...@@ -1277,6 +1300,14 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1277,6 +1300,14 @@ export default class MainBase extends Vue implements ControlInterface {
*/ */
public async formatExcelData(filterVal:any, jsonData:any) { public async formatExcelData(filterVal:any, jsonData:any) {
let codelistColumns:Array<any> = [ let codelistColumns:Array<any> = [
{
name: 'isvalid',
srfkey: 'YesNo',
codelistType : 'STATIC',
renderMode: 'other',
textSeparator: '、',
valueSeparator: ',',
},
]; ];
let _this = this; let _this = this;
for (const codelist of codelistColumns) { for (const codelist of codelistColumns) {
...@@ -1483,7 +1514,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1483,7 +1514,7 @@ export default class MainBase extends Vue implements ControlInterface {
* @memberof MainBase * @memberof MainBase
*/ */
public arraySpanMethod({row, column, rowIndex, columnIndex} : any) { public arraySpanMethod({row, column, rowIndex, columnIndex} : any) {
let allColumns:Array<any> = ['orgid','orgcode','orgname','orglevel','shortname','porgname','porgid','showorder','createdate','updatedate']; let allColumns:Array<any> = ['orgid','orgcode','orgname','orglevel','shortname','porgname','porgid','isvalid','showorder','createdate','updatedate'];
if(row && row.children) { if(row && row.children) {
if(columnIndex == (this.isSingleSelect ? 0:1)) { if(columnIndex == (this.isSingleSelect ? 0:1)) {
return [1, allColumns.length+1]; return [1, allColumns.length+1];
...@@ -1570,6 +1601,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1570,6 +1601,7 @@ export default class MainBase extends Vue implements ControlInterface {
shortname:'', shortname:'',
porgname:'', porgname:'',
porgid:'', porgid:'',
isvalid:'',
showorder:'', showorder:'',
createdate:'', createdate:'',
updatedate:'', updatedate:'',
...@@ -1606,6 +1638,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1606,6 +1638,7 @@ export default class MainBase extends Vue implements ControlInterface {
shortname:'', shortname:'',
porgname:'', porgname:'',
porgid:'', porgid:'',
isvalid:'',
showorder:'', showorder:'',
createdate:'', createdate:'',
updatedate:'', updatedate:'',
...@@ -1662,6 +1695,7 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -1662,6 +1695,7 @@ export default class MainBase extends Vue implements ControlInterface {
shortname:'', shortname:'',
porgname:'', porgname:'',
porgid:'', porgid:'',
isvalid:'',
showorder:'', showorder:'',
createdate:'', createdate:'',
updatedate:'', updatedate:'',
......
...@@ -52,15 +52,20 @@ export default class MainModel { ...@@ -52,15 +52,20 @@ export default class MainModel {
dataType: 'TEXT', dataType: 'TEXT',
}, },
{ {
name: 'srfkey', name: 'srfdataaccaction',
prop: 'orgid', prop: 'orgid',
dataType: 'TEXT', dataType: 'TEXT',
isEditable:true
}, },
{ {
name: 'srfdataaccaction', name: 'srfkey',
prop: 'orgid', prop: 'orgid',
dataType: 'TEXT', dataType: 'TEXT',
isEditable:true
},
{
name: 'isvalid',
prop: 'isvalid',
dataType: 'YESNO',
}, },
{ {
name: 'orgcode', name: 'orgcode',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册