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

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

上级 68642c3f
......@@ -797,6 +797,10 @@ export default {
usr4gridviewtoolbar_toolbar: {
},
uiactiongridviewtoolbar_toolbar: {
deuiaction5: {
caption: "行编辑",
tip: "行编辑",
},
deuiaction6: {
caption: "刷新",
tip: "刷新",
......@@ -805,10 +809,18 @@ export default {
caption: "",
tip: "",
},
deuiaction4: {
caption: "新建行",
tip: "新建行",
},
deuiaction2: {
caption: "Edit",
tip: "Edit {0}",
},
deuiaction1: {
caption: "保存行",
tip: "保存行",
},
deuiaction3: {
caption: "Remove",
tip: "Remove {0}",
......
......@@ -796,6 +796,10 @@ export default {
usr4gridviewtoolbar_toolbar: {
},
uiactiongridviewtoolbar_toolbar: {
deuiaction5: {
caption: "行编辑",
tip: "行编辑",
},
deuiaction6: {
caption: "刷新",
tip: "刷新",
......@@ -804,10 +808,18 @@ export default {
caption: "",
tip: "",
},
deuiaction4: {
caption: "新建行",
tip: "新建行",
},
deuiaction2: {
caption: "编辑",
tip: "编辑",
},
deuiaction1: {
caption: "保存行",
tip: "保存行",
},
deuiaction3: {
caption: "删除",
tip: "删除",
......
......@@ -12,6 +12,13 @@
<i-input v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;padding-left: 24px' placeholder="图书名称" />
<div class='pull-right'>
<div class='toolbar-container'>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction5.visabled" :disabled="toolBarModels.deuiaction5.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction5' }, $event)">
<i class='fa fa-table'></i>
<span class='caption'>{{$t('entities.ibizbook.uiactiongridviewtoolbar_toolbar.deuiaction5.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.uiactiongridviewtoolbar_toolbar.deuiaction5.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction6.visabled" :disabled="toolBarModels.deuiaction6.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction6' }, $event)">
<i class='fa fa-refresh'></i>
......@@ -20,6 +27,13 @@
<div slot='content'>{{$t('entities.ibizbook.uiactiongridviewtoolbar_toolbar.deuiaction6.tip')}}</div>
</tooltip>
<span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction4.visabled" :disabled="toolBarModels.deuiaction4.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction4' }, $event)">
<i class='fa fa-plus'></i>
<span class='caption'>{{$t('entities.ibizbook.uiactiongridviewtoolbar_toolbar.deuiaction4.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.uiactiongridviewtoolbar_toolbar.deuiaction4.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction2.visabled" :disabled="toolBarModels.deuiaction2.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction2' }, $event)">
<i class='fa fa-edit'></i>
......@@ -27,6 +41,13 @@
</i-button>
<div slot='content'>{{$t('entities.ibizbook.uiactiongridviewtoolbar_toolbar.deuiaction2.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction1.visabled" :disabled="toolBarModels.deuiaction1.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction1' }, $event)">
<i class='fa fa-save'></i>
<span class='caption'>{{$t('entities.ibizbook.uiactiongridviewtoolbar_toolbar.deuiaction1.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.uiactiongridviewtoolbar_toolbar.deuiaction1.tip')}}</div>
</tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' v-loading:i-button @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-remove'></i>
......@@ -57,11 +78,11 @@
:gridRowActiveMode="gridRowActiveMode"
:isformDruipart="isformDruipart"
@save="onSave"
updateAction=""
updateAction="Update"
removeAction="Remove"
loaddraftAction=""
loadAction=""
createAction=""
loaddraftAction="GetDraft"
loadAction="Get"
createAction="Create"
fetchAction="FetchDefault"
:newdata="newdata"
:opendata="opendata"
......@@ -298,11 +319,17 @@ export default class IBIZBOOKUiActionGridViewBase extends Vue {
* @memberof IBIZBOOKUiActionGridView
*/
public toolBarModels: any = {
deuiaction5: { name: 'deuiaction5', actiontarget: 'NONE', caption: '行编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleRowEdit', target: '' } },
deuiaction6: { name: 'deuiaction6', actiontarget: 'NONE', caption: '刷新', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Refresh', target: '' } },
seperator2: { name: 'seperator2', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
deuiaction4: { name: 'deuiaction4', actiontarget: 'NONE', caption: '新建行', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'NewRow', target: '' } },
deuiaction2: { name: 'deuiaction2', actiontarget: 'NONE', caption: '编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Edit', target: 'SINGLEKEY' } },
deuiaction1: { name: 'deuiaction1', actiontarget: 'NONE', caption: '保存行', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'SaveRow', target: '' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
seperator1: { name: 'seperator1', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
......
......@@ -255,9 +255,17 @@ export default class GanttTreeBase extends Vue implements ControlInterface {
},
{
label: '更新日期',
value: 'updatedate',
value: 'end',
render: (task: any) => {
return this.getColumnValue(task, 'updatedate')
return this.getColumnValue(task, 'end')
},
width: 280,
},
{
label: '新建时间',
value: 'start',
render: (task: any) => {
return this.getColumnValue(task, 'start')
},
width: 280,
},
......
......@@ -61,7 +61,11 @@ export default class GanttTreeModel {
prop: 'ibizordername'
},
{
name: 'updatedate',
name: 'start',
prop: 'createdate'
},
{
name: 'end',
prop: 'updatedate'
},
];
......@@ -73,7 +77,11 @@ export default class GanttTreeModel {
prop: 'ibizorderdetailid'
},
{
name: 'updatedate',
name: 'start',
prop: 'createdate'
},
{
name: 'end',
prop: 'updatedate'
},
{
......
......@@ -115,13 +115,21 @@ export default class GanttTreeService extends ControlService {
prop: 'ibizordername',
default: null
},
updatedate: {
start: {
prop: 'createdate',
default: null
},
end: {
prop: 'updatedate',
default: null
},
},
orderDetailData: {
updatedate: {
start: {
prop: 'createdate',
default: null
},
end: {
prop: 'updatedate',
default: null
},
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册