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

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

上级 6228d63e
...@@ -238,42 +238,42 @@ export default class UsrBase extends Vue implements ControlInterface { ...@@ -238,42 +238,42 @@ export default class UsrBase extends Vue implements ControlInterface {
labelField: 'text', labelField: 'text',
columns: [ columns: [
{ {
label: '借出日期', label: '图书名称',
value: 'lendouttime', value: 'ibizbookname',
render: (task: any) => { render: (task: any) => {
return this.getColumnValue(task, 'lendouttime') return this.getColumnValue(task, 'ibizbookname')
}, },
width: 200, width: 200,
}, },
{ {
label: '归还日期', label: '出版社',
value: 'returntime', value: 'press',
render: (task: any) => { render: (task: any) => {
return this.getColumnValue(task, 'returntime') return this.getColumnValue(task, 'press')
}, },
width: 200, width: 200,
}, },
{ {
label: '图书名称', label: '作者',
value: 'ibizbookname', value: 'author',
render: (task: any) => { render: (task: any) => {
return this.getColumnValue(task, 'ibizbookname') return this.getColumnValue(task, 'author')
}, },
width: 200, width: 200,
}, },
{ {
label: '出版社', label: '借出日期',
value: 'press', value: 'lendouttime',
render: (task: any) => { render: (task: any) => {
return this.getColumnValue(task, 'press') return this.getColumnValue(task, 'lendouttime')
}, },
width: 200, width: 200,
}, },
{ {
label: '作者', label: '归还日期',
value: 'author', value: 'returntime',
render: (task: any) => { render: (task: any) => {
return this.getColumnValue(task, 'author') return this.getColumnValue(task, 'returntime')
}, },
width: 200, width: 200,
}, },
......
...@@ -20,9 +20,9 @@ ...@@ -20,9 +20,9 @@
<span>{{ getColumnValue(row, 'name') }}</span> <span>{{ getColumnValue(row, 'name') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column show-overflow-tooltip prop="id" label="标识" :width="180" :align="''"> <el-table-column show-overflow-tooltip prop="datakey" label="标识" :width="180" :align="''">
<template v-slot="{ row }"> <template v-slot="{ row }">
<span>{{ getColumnValue(row, 'id') }}</span> <span>{{ getColumnValue(row, 'datakey') }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column show-overflow-tooltip prop="updatedate" label="更新日期" :width="180" :align="''"> <el-table-column show-overflow-tooltip prop="updatedate" label="更新日期" :width="180" :align="''">
......
...@@ -57,7 +57,7 @@ export default class OrderTreeGridModel { ...@@ -57,7 +57,7 @@ export default class OrderTreeGridModel {
prop: 'ibizordername' prop: 'ibizordername'
}, },
{ {
name: 'id', name: 'datakey',
prop: 'orderuid' prop: 'orderuid'
}, },
{ {
...@@ -77,7 +77,7 @@ export default class OrderTreeGridModel { ...@@ -77,7 +77,7 @@ export default class OrderTreeGridModel {
prop: 'updatedate' prop: 'updatedate'
}, },
{ {
name: 'id', name: 'datakey',
prop: 'ibizorderdetailid' prop: 'ibizorderdetailid'
}, },
{ {
......
...@@ -111,7 +111,7 @@ export default class OrderTreeGridService extends ControlService { ...@@ -111,7 +111,7 @@ export default class OrderTreeGridService extends ControlService {
prop: 'ibizordername', prop: 'ibizordername',
default: null default: null
}, },
id: { datakey: {
prop: 'orderuid', prop: 'orderuid',
default: null default: null
}, },
...@@ -125,7 +125,7 @@ export default class OrderTreeGridService extends ControlService { ...@@ -125,7 +125,7 @@ export default class OrderTreeGridService extends ControlService {
prop: 'updatedate', prop: 'updatedate',
default: null default: null
}, },
id: { datakey: {
prop: 'ibizorderdetailid', prop: 'ibizorderdetailid',
default: null default: null
}, },
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册