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

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

上级 4f7e772e
...@@ -7,5 +7,8 @@ export default { ...@@ -7,5 +7,8 @@ export default {
ibizappviewid: "应用视图标识", ibizappviewid: "应用视图标识",
updateman: "更新人", updateman: "更新人",
updatedate: "更新时间", updatedate: "更新时间",
ibizappviewtype: "应用视图类型",
documentaddress: "文档地址",
instanceaddress: "示例地址",
}, },
}; };
\ No newline at end of file
...@@ -6,5 +6,8 @@ export default { ...@@ -6,5 +6,8 @@ export default {
ibizappviewid: "应用视图标识", ibizappviewid: "应用视图标识",
updateman: "更新人", updateman: "更新人",
updatedate: "更新时间", updatedate: "更新时间",
ibizappviewtype: "应用视图类型",
documentaddress: "文档地址",
instanceaddress: "示例地址",
}, },
}; };
\ No newline at end of file
...@@ -2,33 +2,16 @@ ...@@ -2,33 +2,16 @@
<div :class="['app-list',this.items.length > 0 ? '' : 'app-list-empty' ]"> <div :class="['app-list',this.items.length > 0 ? '' : 'app-list-empty' ]">
<div v-if="items.length > 0"> <div v-if="items.length > 0">
<div v-for = "item in items" :key="item.srfkey" :class="['app-list-item', {'isSelect': item.isselected === true ? true : false}]" @click="handleClick(item)" @dblclick="handleDblClick(item)"> <div v-for = "item in items" :key="item.srfkey" :class="['app-list-item', {'isSelect': item.isselected === true ? true : false}]" @click="handleClick(item)" @dblclick="handleDblClick(item)">
<div class="app-list-item-content"> <layout_list_itempanel
<div class="item-icon"> :viewState="viewState"
<template v-if="item.srficon"> :viewparams="viewparams"
<img :src="item.srficon" /> :context="context"
</template> :parentRef="thisRef"
<template v-else> :inputData="item"
<img src="/assets/img/noimage.png"/> @panelDataChange="($event)=>{onPanelDataChange(item,$event)}"
</template> name="list_itempanel"
</div> ref='list_itempanel'>
<template> </layout_list_itempanel>
<div class="item-content-text">
<span class="item-text">{{item.srfmajortext}}</span>
<span v-if="item.srfdescription" class="item-subtext">{{ item.srfdescription }}</span>
</div>
</template>
</div>
<div v-if="item.srfdate" class="app-list-item-date">
<span class="date">{{ item.srfdate }}</span>
</div>
<div class="app-list-item-action">
<template v-for="(action,index) in Object.keys(ActionModel)">
<a :key="index" style="display: inline-block;margin: 0 12px;" @click="uiAction(item, action, $event)">
<i :class="ActionModel[action].icon" style="margin-right:2px;"></i>
<span>{{ActionModel[action].caption}}</span>
</a>
</template>
</div>
</div> </div>
<template v-if="isScrollBar"> <template v-if="isScrollBar">
<div v-if="totalRecord>items.length" class="loadmore">{{ this.$t('app.commonWords.loadmore') }}</div> <div v-if="totalRecord>items.length" class="loadmore">{{ this.$t('app.commonWords.loadmore') }}</div>
......
...@@ -2,9 +2,11 @@ ...@@ -2,9 +2,11 @@
import { Component } from 'vue-property-decorator'; import { Component } from 'vue-property-decorator';
import UsrBase from './usr-list-base.vue'; import UsrBase from './usr-list-base.vue';
import layout_list_itempanel from '@widgets/ibizbook/usr-panel/usr-panel.vue';
@Component({ @Component({
components: { components: {
layout_list_itempanel,
} }
}) })
......
/**
* Usr 部件模型
*
* @export
* @class UsrModel
*/
export default class UsrModel {
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof UsrModel
*/
public getDataItems(): any[] {
return [
]
}
}
\ No newline at end of file
import { Http } from '@/utils';
import ControlService from '@/widgets/control-service';
/**
* Usr 部件服务对象
*
* @export
* @class UsrService
*/
export default class UsrService extends ControlService {
}
\ No newline at end of file
// this is less
.app-layoutpanel {
height: 100%;
.app-layoutpanel-container {
padding: 6px;
}
.app-layoutpanel-tabpanel{
>.el-tabs {
>.el-.el-tabs__header{
margin: 0 0 10px;
}
.app-layoutpanel-tabpage{
padding: 6px;
}
}
}
.app-layoutpanel-button,.app-layoutpanel-conctrl,.app-layoutpanel-ctrlpos,.app-layoutpanel-field,.app-layoutpanel-rowitem,.app-layoutpanel-usercontrol{
padding: 6px;
}
.item-field{
padding: 0 4px;
display: flex;
>.item-field-label{
padding: 0 8px;
}
}
}
\ No newline at end of file
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import UsrBase from './usr-panel-base.vue';
@Component({
components: {
}
})
export default class Usr extends UsrBase {
}
</script>
\ No newline at end of file
...@@ -92,6 +92,27 @@ public class IBIZAPPVIEW extends EntityMP implements Serializable { ...@@ -92,6 +92,27 @@ public class IBIZAPPVIEW extends EntityMP implements Serializable {
@JSONField(name = "updatedate", format = "yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate", format = "yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
private Timestamp updatedate; private Timestamp updatedate;
/**
* 应用视图类型
*/
@TableField(value = "ibizappviewtype")
@JSONField(name = "ibizappviewtype")
@JsonProperty("ibizappviewtype")
private String ibizappviewtype;
/**
* 文档地址
*/
@TableField(value = "documentaddress")
@JSONField(name = "documentaddress")
@JsonProperty("documentaddress")
private String documentaddress;
/**
* 示例地址
*/
@TableField(value = "instanceaddress")
@JSONField(name = "instanceaddress")
@JsonProperty("instanceaddress")
private String instanceaddress;
...@@ -103,6 +124,30 @@ public class IBIZAPPVIEW extends EntityMP implements Serializable { ...@@ -103,6 +124,30 @@ public class IBIZAPPVIEW extends EntityMP implements Serializable {
this.modify("ibizappviewname", ibizappviewname); this.modify("ibizappviewname", ibizappviewname);
} }
/**
* 设置 [应用视图类型]
*/
public void setIbizappviewtype(String ibizappviewtype) {
this.ibizappviewtype = ibizappviewtype;
this.modify("ibizappviewtype", ibizappviewtype);
}
/**
* 设置 [文档地址]
*/
public void setDocumentaddress(String documentaddress) {
this.documentaddress = documentaddress;
this.modify("documentaddress", documentaddress);
}
/**
* 设置 [示例地址]
*/
public void setInstanceaddress(String instanceaddress) {
this.instanceaddress = instanceaddress;
this.modify("instanceaddress", instanceaddress);
}
/** /**
* 复制当前对象数据到目标对象(粘贴重置) * 复制当前对象数据到目标对象(粘贴重置)
......
...@@ -19,6 +19,12 @@ ...@@ -19,6 +19,12 @@
</column> </column>
<column name="UPDATEDATE" remarks="" type="DATETIME"> <column name="UPDATEDATE" remarks="" type="DATETIME">
</column> </column>
<column name="IBIZAPPVIEWTYPE" remarks="" type="VARCHAR(100)">
</column>
<column name="DOCUMENTADDRESS" remarks="" type="VARCHAR(100)">
</column>
<column name="INSTANCEADDRESS" remarks="" type="VARCHAR(100)">
</column>
</createTable> </createTable>
</changeSet> </changeSet>
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="IBIZAPPVIEWResultMap" databaseId="mysql"> <select id="selectById" resultMap="IBIZAPPVIEWResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1 ) t1 where ibizappviewid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DOCUMENTADDRESS`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`INSTANCEADDRESS`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1 ) t1 where ibizappviewid=#{id}]]>
</select> </select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 --> <!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
...@@ -27,12 +27,12 @@ ...@@ -27,12 +27,12 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="mysql"> <sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1 <![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DOCUMENTADDRESS`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`INSTANCEADDRESS`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="mysql"> <sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1 <![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DOCUMENTADDRESS`, t1.`IBIZAPPVIEWID`, t1.`IBIZAPPVIEWNAME`, t1.`IBIZAPPVIEWTYPE`, t1.`INSTANCEADDRESS`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZAPPVIEW` t1
]]> ]]>
</sql> </sql>
</mapper> </mapper>
......
...@@ -101,6 +101,48 @@ ...@@ -101,6 +101,48 @@
"key_field":0, "key_field":0,
"show_order":1000, "show_order":1000,
"major_field":0 "major_field":0
},
{
"fieldname":"IBIZAPPVIEWTYPE" ,
"codename":"Ibizappviewtype",
"field_logic_name":"应用视图类型",
"entity_name":"IBIZAPPVIEW",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"DOCUMENTADDRESS" ,
"codename":"Documentaddress",
"field_logic_name":"文档地址",
"entity_name":"IBIZAPPVIEW",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":1000,
"major_field":0
},
{
"fieldname":"INSTANCEADDRESS" ,
"codename":"Instanceaddress",
"field_logic_name":"示例地址",
"entity_name":"IBIZAPPVIEW",
"field_type":"TEXT",
"nullable":1,
"physical_field":1,
"data_type":"VARCHAR",
"data_length":100,
"key_field":0,
"show_order":1000,
"major_field":0
} }
], ],
"subEntitys":[ "subEntitys":[
......
...@@ -83,6 +83,33 @@ public class IBIZAPPVIEWDTO extends DTOBase implements Serializable { ...@@ -83,6 +83,33 @@ public class IBIZAPPVIEWDTO extends DTOBase implements Serializable {
@JsonProperty("updatedate") @JsonProperty("updatedate")
private Timestamp updatedate; private Timestamp updatedate;
/**
* 属性 [IBIZAPPVIEWTYPE]
*
*/
@JSONField(name = "ibizappviewtype")
@JsonProperty("ibizappviewtype")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String ibizappviewtype;
/**
* 属性 [DOCUMENTADDRESS]
*
*/
@JSONField(name = "documentaddress")
@JsonProperty("documentaddress")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String documentaddress;
/**
* 属性 [INSTANCEADDRESS]
*
*/
@JSONField(name = "instanceaddress")
@JsonProperty("instanceaddress")
@Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
private String instanceaddress;
/** /**
* 设置 [IBIZAPPVIEWNAME] * 设置 [IBIZAPPVIEWNAME]
...@@ -92,6 +119,30 @@ public class IBIZAPPVIEWDTO extends DTOBase implements Serializable { ...@@ -92,6 +119,30 @@ public class IBIZAPPVIEWDTO extends DTOBase implements Serializable {
this.modify("ibizappviewname",ibizappviewname); this.modify("ibizappviewname",ibizappviewname);
} }
/**
* 设置 [IBIZAPPVIEWTYPE]
*/
public void setIbizappviewtype(String ibizappviewtype){
this.ibizappviewtype = ibizappviewtype ;
this.modify("ibizappviewtype",ibizappviewtype);
}
/**
* 设置 [DOCUMENTADDRESS]
*/
public void setDocumentaddress(String documentaddress){
this.documentaddress = documentaddress ;
this.modify("documentaddress",documentaddress);
}
/**
* 设置 [INSTANCEADDRESS]
*/
public void setInstanceaddress(String instanceaddress){
this.instanceaddress = instanceaddress ;
this.modify("instanceaddress",instanceaddress);
}
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册