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

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

上级 fb593dd8
......@@ -115,9 +115,6 @@ export default {
ibizbookname: "图书名称",
press: "图书出版社",
price: "图书价格",
createdate: "建立时间",
updatedate: "更新时间",
updateman: "更新人",
},
nodata:"",
uiactions: {
......
......@@ -114,9 +114,6 @@ export default {
ibizbookname: "图书名称",
press: "图书出版社",
price: "图书价格",
createdate: "建立时间",
updatedate: "更新时间",
updateman: "更新人",
},
nodata:"",
uiactions: {
......
......@@ -91,44 +91,6 @@
</template>
</el-table-column>
</template>
<template v-if="getColumnState('createdate')">
<el-table-column show-overflow-tooltip :prop="'createdate'" :label="$t('entities.ibizbook.main2_grid.columns.createdate')" :width="100" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibizbook.main2_grid.columns.createdate')}}
</span>
</template>
<template v-slot="{row,column,$index}">
<app-format-data format="YYYY-MM-DD HH:mm:ss" :data="row.createdate"></app-format-data>
</template>
</el-table-column>
</template>
<template v-if="getColumnState('updatedate')">
<el-table-column show-overflow-tooltip :prop="'updatedate'" :label="$t('entities.ibizbook.main2_grid.columns.updatedate')" :width="100" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibizbook.main2_grid.columns.updatedate')}}
</span>
</template>
<template v-slot="{row,column,$index}">
<app-format-data format="YYYY-MM-DD HH:mm:ss" :data="row.updatedate"></app-format-data>
</template>
</el-table-column>
</template>
<template v-if="getColumnState('updateman')">
<el-table-column show-overflow-tooltip :prop="'updateman'" :label="$t('entities.ibizbook.main2_grid.columns.updateman')" :width="100" :align="'left'" :sortable="'custom'">
<template v-slot:header="{column}">
<span class="column-header ">
{{$t('entities.ibizbook.main2_grid.columns.updateman')}}
</span>
</template>
<template v-slot="{row,column,$index}">
<template >
<codelist :value="row.updateman" tag='SysOperator' codelistType='DYNAMIC' ></codelist>
</template>
</template>
</el-table-column>
</template>
<template v-if="adaptiveState">
<el-table-column></el-table-column>
</template>
......@@ -731,33 +693,6 @@ export default class Main2Base extends Vue implements ControlInterface {
isEnableRowEdit: false,
enableCond: 3 ,
},
{
name: 'createdate',
label: '建立时间',
langtag: 'entities.ibizbook.main2_grid.columns.createdate',
show: true,
unit: 'PX',
isEnableRowEdit: false,
enableCond: 3 ,
},
{
name: 'updatedate',
label: '更新时间',
langtag: 'entities.ibizbook.main2_grid.columns.updatedate',
show: true,
unit: 'PX',
isEnableRowEdit: false,
enableCond: 3 ,
},
{
name: 'updateman',
label: '更新人',
langtag: 'entities.ibizbook.main2_grid.columns.updateman',
show: true,
unit: 'PX',
isEnableRowEdit: false,
enableCond: 3 ,
},
]
/**
......@@ -1219,14 +1154,6 @@ export default class Main2Base extends Vue implements ControlInterface {
*/
public async formatExcelData(filterVal:any, jsonData:any) {
let codelistColumns:Array<any> = [
{
name: 'updateman',
srfkey: 'SysOperator',
codelistType : 'DYNAMIC',
renderMode: 'other',
textSeparator: '、',
valueSeparator: ',',
},
];
let _this = this;
for (const codelist of codelistColumns) {
......@@ -1433,7 +1360,7 @@ export default class Main2Base extends Vue implements ControlInterface {
* @memberof Main2Base
*/
public arraySpanMethod({row, column, rowIndex, columnIndex} : any) {
let allColumns:Array<any> = ['type','author','ibizbookname','press','price','createdate','updatedate','updateman'];
let allColumns:Array<any> = ['type','author','ibizbookname','press','price'];
if(row && row.children && row.children.length>0) {
if(columnIndex == (this.isSingleSelect ? 0:1)) {
return [1, allColumns.length+1];
......@@ -1481,9 +1408,6 @@ export default class Main2Base extends Vue implements ControlInterface {
ibizbookname:'',
press:'',
price:'',
createdate:'',
updatedate:'',
updateman:'',
children: children,
}
groupTree.push(tree);
......
......@@ -51,21 +51,6 @@ export default class Main2Model {
prop: 'ibizbookid',
dataType: 'GUID',
},
{
name: 'createdate',
prop: 'createdate',
dataType: 'DATETIME',
},
{
name: 'updateman',
prop: 'updateman',
dataType: 'TEXT',
},
{
name: 'updatedate',
prop: 'updatedate',
dataType: 'DATETIME',
},
{
name: 'type',
prop: 'type',
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册