提交 08b95bdb 编写于 作者: Cano1997's avatar Cano1997

update:临时删除

上级 1f2127fe
// 基于 @VIEW/实体编辑视图(部件视图)/VIEW.scss.ftl 生成
.view-card {
>.ivu-card-extra {
top: 5px;
right: 0px;
}
}
.ibizbookedit-view9{
position: relative;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKEditView9Base from './ibizbookedit-view9-base.vue';
import view_form from '@widgets/ibizbook/meditform-form/meditform-form.vue';
// 基于 @VIEW/实体编辑视图(部件视图)/VIEW.vue.ftl 生成
@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 IBIZBOOKEditView9 extends IBIZBOOKEditView9Base {
}
</script>
\ No newline at end of file
// 基于 @VIEW/实体多表单编辑视图(部件视图))/VIEW.scss.ftl 生成
.ibizbookusr3-medit-view9{
position: relative;
}
.ibizbookusr3-medit-view9{
display: block;
}
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import IBIZBOOKUsr3MEditView9Base from './ibizbookusr3-medit-view9-base.vue';
import view_meditviewpanel from '@widgets/ibizbook/main-multieditviewpanel/main-multieditviewpanel.vue';
// 基于 @VIEW/实体多表单编辑视图(部件视图)/VIEW.vue.ftl 生成
@Component({
components: {
view_meditviewpanel,
},
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 IBIZBOOKUsr3MEditView9 extends IBIZBOOKUsr3MEditView9Base {
}
</script>
\ No newline at end of file
// 基于 @CONTROL/表格/MODEL.ts.ftl 生成
/**
* Plugin 部件模型
*
* @export
* @class PluginModel
*/
export default class PluginModel {
/**
* 是否是实体数据导出
*
* @returns {any[]}
* @memberof PluginGridMode
*/
public isDEExport: boolean = false;
/**
* 获取数据项集合
*
* @returns {any[]}
* @memberof PluginGridMode
*/
public getDataItems(): any[] {
if(this.isDEExport){
return [
]
}else{
return [
{
name: 'ibizbookname',
prop: 'ibizbookname',
dataType: 'TEXT',
},
{
name: 'booknumber',
prop: 'booknumber',
dataType: 'INT',
},
{
name: 'subtext',
prop: 'subtext',
dataType: 'TEXT',
},
{
name: 'ibizbookid',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'srfkey',
prop: 'ibizbookid',
dataType: 'GUID',
isEditable:true
},
{
name: 'srfdataaccaction',
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'srfmajortext',
prop: 'ibizbookname',
dataType: 'TEXT',
},
{
name: 'srfmstag',
},
{
name: 'ibizbook',
prop: 'ibizbookid',
},
{
name: 'n_ibizbookname_like',
prop: 'n_ibizbookname_like',
dataType: 'QUERYPARAM'
},
{
name:'size',
prop:'size',
dataType: 'QUERYPARAM'
},
{
name:'query',
prop:'query',
dataType: 'QUERYPARAM'
},
{
name:'filter',
prop:'filter',
dataType: 'QUERYPARAM'
},
{
name:'page',
prop:'page',
dataType: 'QUERYPARAM'
},
{
name:'sort',
prop:'sort',
dataType: 'QUERYPARAM'
},
{
name:'srfparentdata',
prop:'srfparentdata',
dataType: 'QUERYPARAM'
},
// 前端新增修改标识,新增为"0",修改为"1"或未设值
{
name: 'srffrontuf',
prop: 'srffrontuf',
dataType: 'TEXT',
},
// 预置工作流数据字段
{
name: 'srfprocessdefinitionkey',
prop: 'srfprocessdefinitionkey',
dataType: 'TEXT'
},
{
name: 'srftaskdefinitionkey',
prop: 'srftaskdefinitionkey',
dataType: 'TEXT'
},
{
name: 'srftaskid',
prop: 'srftaskid',
dataType: 'TEXT'
}
]
}
}
}
\ No newline at end of file
// 基于 @CONTROL/表格/CONTROL.scss.ftl 生成
.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: 10px;
padding-right: 10px;
.el-checkbox {
margin-right: 0;
}
}
.app-column-link,
.app-format-data {
display: inline;
}
.el-table {
height: 100%;
border-left: none;
// 去除表格右侧边框
&::after {
width: 0;
}
.el-table__row {
.grid-uiaction-divider {
padding: 0 10px 0 10px;
border-left: 1px #b3b3b3 solid;
}
.grid-first-uiaction {
padding: 0 10px 0 10px;
}
}
// 表格头最小高度为45px
.el-table__header-wrapper,
.el-table__fixed-header-wrapper {
min-height: 60px;
height: auto;
.el-table__header {
height: 100%;
}
}
// 表格内容最大高度为100% - 45px
.el-table__body-wrapper,
.el-table__fixed-body-wrapper {
max-height: calc(100% - 60px);
.el-table__body {
height: 100%;
}
}
// 解决滚动到底时错位问题
.el-table__fixed-body-wrapper .el-table__body {
padding-bottom: 10px; // 滚动条宽度
}
.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;
}
}
}
}
}
.ivu-modal-content {
.footer {
.ivu-row {
text-align: right;
}
}
}
.cell-indeterminate {
>div>label {
>span {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:before {
content: "";
position: absolute;
display: block;
background-color: #fff;
height: 2px;
transform: scale(.5);
left: 0;
right: 0;
top: 5px;
}
}
>span.is-checked {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:after {
border: 0px;
}
}
}
}
.cell-select-all {
>div>label {
>span {
.el-checkbox__inner {
background-color: #409eff;
border-color: #409eff;
}
.el-checkbox__inner:after {
box-sizing: content-box;
content: "";
border: 1px solid #fff;
border-left: 0;
border-top: 0;
height: 7px;
left: 4px;
position: absolute;
top: 1px;
transform: rotate(45deg) scaleY(1);
width: 3px;
transition: transform .15s ease-in .05s;
transform-origin: center;
}
}
}
}
// this is scss
<script lang='tsx'>
import { Component } from 'vue-property-decorator';
import PluginBase from './plugin-grid-base.vue';
// 基于 @CONTROL/表格/CONTROL.vue.ftl 生成
@Component({
components: {
}
})
export default class Plugin extends PluginBase {
}
</script>
\ No newline at end of file
// 基于 @CONTROL/表单/CONTROL.scss.ftl 生成
.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: 10px;
}
// 表单按钮margin
.app-form-button{
margin:0 6px;
}
}
// this is scss
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册