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

ibizdev提交

上级 7bb549cd
...@@ -9,6 +9,7 @@ export default { ...@@ -9,6 +9,7 @@ export default {
createdate: '建立时间', createdate: '建立时间',
updatedate: '更新时间', updatedate: '更新时间',
pssourcetype: '来源', pssourcetype: '来源',
pssourcename: '来源名称',
}, },
views: { views: {
gridview: { gridview: {
...@@ -63,6 +64,7 @@ export default { ...@@ -63,6 +64,7 @@ export default {
sys_permissionid: "资源标识", sys_permissionid: "资源标识",
sys_permissionname: "资源名称", sys_permissionname: "资源名称",
pssourcetype: "来源", pssourcetype: "来源",
pssourcename: "来源名称",
}, },
uiactions: { uiactions: {
}, },
......
...@@ -8,6 +8,7 @@ export default { ...@@ -8,6 +8,7 @@ export default {
createdate: '建立时间', createdate: '建立时间',
updatedate: '更新时间', updatedate: '更新时间',
pssourcetype: '来源', pssourcetype: '来源',
pssourcename: '来源名称',
}, },
views: { views: {
gridview: { gridview: {
...@@ -62,6 +63,7 @@ export default { ...@@ -62,6 +63,7 @@ export default {
sys_permissionid: '资源标识', sys_permissionid: '资源标识',
sys_permissionname: '资源名称', sys_permissionname: '资源名称',
pssourcetype: '来源', pssourcetype: '来源',
pssourcename: '来源名称',
}, },
uiactions: { uiactions: {
}, },
......
...@@ -39,6 +39,9 @@ export default class DefaultModel { ...@@ -39,6 +39,9 @@ export default class DefaultModel {
{ {
name: 'pssourcetype', name: 'pssourcetype',
}, },
{
name: 'pssourcename',
},
] ]
} }
......
...@@ -39,6 +39,13 @@ ...@@ -39,6 +39,13 @@
</template> </template>
</el-table-column> </el-table-column>
</template> </template>
<template v-if="getColumnState('pssourcename')">
<el-table-column show-overflow-tooltip :prop="'pssourcename'" :label="$t('entities.sys_permission.main_grid.columns.pssourcename')" :width="150" :align="'left'" :sortable="'custom'">
<template v-slot="{row,column}">
<span>{{row.pssourcename}}</span>
</template>
</el-table-column>
</template>
<template v-if="adaptiveState"> <template v-if="adaptiveState">
<el-table-column></el-table-column> <el-table-column></el-table-column>
</template> </template>
...@@ -517,6 +524,13 @@ export default class MainBase extends Vue implements ControlInterface { ...@@ -517,6 +524,13 @@ export default class MainBase extends Vue implements ControlInterface {
show: true, show: true,
util: 'px' util: 'px'
}, },
{
name: 'pssourcename',
label: '来源名称',
langtag: 'entities.sys_permission.main_grid.columns.pssourcename',
show: true,
util: 'px'
},
] ]
/** /**
......
...@@ -31,6 +31,11 @@ export default class MainModel { ...@@ -31,6 +31,11 @@ export default class MainModel {
prop: 'pssourcetype', prop: 'pssourcetype',
dataType: 'TEXT', dataType: 'TEXT',
}, },
{
name: 'pssourcename',
prop: 'pssourcename',
dataType: 'TEXT',
},
{ {
name: 'sys_permissionid', name: 'sys_permissionid',
prop: 'permissionid', prop: 'permissionid',
......
...@@ -39,6 +39,9 @@ export default class MPickupViewpickupviewpanelModel { ...@@ -39,6 +39,9 @@ export default class MPickupViewpickupviewpanelModel {
{ {
name: 'pssourcetype', name: 'pssourcetype',
}, },
{
name: 'pssourcename',
},
] ]
} }
......
...@@ -39,6 +39,9 @@ export default class PickupViewpickupviewpanelModel { ...@@ -39,6 +39,9 @@ export default class PickupViewpickupviewpanelModel {
{ {
name: 'pssourcetype', name: 'pssourcetype',
}, },
{
name: 'pssourcename',
},
] ]
} }
......
...@@ -93,6 +93,13 @@ public class SYS_PERMISSION extends EntityMP implements Serializable { ...@@ -93,6 +93,13 @@ public class SYS_PERMISSION extends EntityMP implements Serializable {
@JSONField(name = "pssourcetype") @JSONField(name = "pssourcetype")
@JsonProperty("pssourcetype") @JsonProperty("pssourcetype")
private String pssourcetype; private String pssourcetype;
/**
* 来源名称
*/
@TableField(exist = false)
@JSONField(name = "pssourcename")
@JsonProperty("pssourcename")
private String pssourcename;
/** /**
......
...@@ -68,6 +68,13 @@ public class SYS_PERMISSIONSearchContext extends QueryWrapperContext<SYS_PERMISS ...@@ -68,6 +68,13 @@ public class SYS_PERMISSIONSearchContext extends QueryWrapperContext<SYS_PERMISS
this.getSelectCond().eq("pssourcetype", n_pssourcetype_eq); this.getSelectCond().eq("pssourcetype", n_pssourcetype_eq);
} }
} }
private String n_pssourcename_like;//[来源名称]
public void setN_pssourcename_like(String n_pssourcename_like) {
this.n_pssourcename_like = n_pssourcename_like;
if(!ObjectUtils.isEmpty(this.n_pssourcename_like)){
this.getSelectCond().like("pssourcename", n_pssourcename_like);
}
}
/** /**
* 启用快速搜索 * 启用快速搜索
......
...@@ -120,7 +120,7 @@ ...@@ -120,7 +120,7 @@
</createTable> </createTable>
</changeSet> </changeSet>
<!--输出实体[SYS_PERMISSION]数据结构 --> <!--输出实体[SYS_PERMISSION]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-sys_permission-146-7"> <changeSet author="a_A_5d9d78509" id="tab-sys_permission-160-7">
<createTable tableName="IBZPERMISSION"> <createTable tableName="IBZPERMISSION">
<column name="SYS_PERMISSIONID" remarks="" type="VARCHAR(200)"> <column name="SYS_PERMISSIONID" remarks="" type="VARCHAR(200)">
<constraints primaryKey="true" primaryKeyName="PK_SYS_PERMISSION_SYS_PERMISSI"/> <constraints primaryKey="true" primaryKeyName="PK_SYS_PERMISSION_SYS_PERMISSI"/>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="mysql"> <sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.CREATEDATE, t1.ENABLE, t1.SYSTEMID, t1.SYS_PERMISSIONID, t1.SYS_PERMISSIONNAME, t1.PERMISSIONTYPE, t1.UPDATEDATE, t2.PSSOURCETYPE FROM IBZPERMISSION t1 LEFT JOIN ibzpsdeoppriv t2 on t1.SYS_PERMISSIONID=t2.SYS_PSDEOPPRIVID LEFT JOIN ibzpsappmenuitem t3 on t1.SYS_PERMISSIONID =t3.PSAPPMENUID <![CDATA[ SELECT t1.CREATEDATE, t1.ENABLE, t1.SYSTEMID, t1.SYS_PERMISSIONID, t1.SYS_PERMISSIONNAME, t1.PERMISSIONTYPE, t1.UPDATEDATE, t2.PSSOURCETYPE, t2.PSSOURCENAME FROM IBZPERMISSION t1 LEFT JOIN ibzpsdeoppriv t2 on t1.SYS_PERMISSIONID=t2.SYS_PSDEOPPRIVID LEFT JOIN ibzpsappmenuitem t3 on t1.SYS_PERMISSIONID =t3.PSAPPMENUID
]]> ]]>
</sql> </sql>
......
...@@ -89,6 +89,14 @@ public class SYS_PERMISSIONDTO extends DTOBase implements Serializable { ...@@ -89,6 +89,14 @@ public class SYS_PERMISSIONDTO extends DTOBase implements Serializable {
@JsonProperty("pssourcetype") @JsonProperty("pssourcetype")
private String pssourcetype; private String pssourcetype;
/**
* 属性 [PSSOURCENAME]
*
*/
@JSONField(name = "pssourcename")
@JsonProperty("pssourcename")
private String pssourcename;
/** /**
* 设置 [SYS_PERMISSIONNAME] * 设置 [SYS_PERMISSIONNAME]
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册