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

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

上级 32a6d007
...@@ -167,6 +167,79 @@ ...@@ -167,6 +167,79 @@
} }
] ]
}, },
{
"srfkey": "Bookgroup",
"emptytext": "未定义",
"codelisttype":"static",
"items": [
{
"id": "all",
"label": "全部",
"text": "全部",
"class":"",
"data":"",
"codename":"All",
"value": "all",
"disabled": false
}
, {
"id": "onshelf",
"label": "已上架",
"text": "已上架",
"class":"",
"data":"",
"codename":"Onshelf",
"value": "onshelf",
"disabled": false
}
, {
"id": "noshelf",
"label": "未上架",
"text": "未上架",
"class":"",
"data":"",
"codename":"Noshelf",
"value": "noshelf",
"disabled": false
}
, {
"id": "other",
"label": "其他",
"text": "其他",
"class":"",
"data":"",
"codename":"Other",
"value": "other",
"disabled": false
}
, {
"id": "nopublish",
"label": "未出版",
"text": "未出版",
"class":"",
"data":"",
"codename":"Nopublish",
"value": "nopublish",
"pvalue": "other",
"disabled": false
}
, {
"id": "waitpublish",
"label": "等待出版",
"text": "等待出版",
"class":"",
"data":"",
"codename":"Waitpublish",
"value": "waitpublish",
"pvalue": "other",
"disabled": false
}
]
},
{ {
"srfkey": "SCODELIST_TEXT", "srfkey": "SCODELIST_TEXT",
"emptytext": "未定义", "emptytext": "未定义",
......
...@@ -26,6 +26,15 @@ export default { ...@@ -26,6 +26,15 @@ export default {
"REPORTFOLDER_2": "财务报表", "REPORTFOLDER_2": "财务报表",
"empty": "" "empty": ""
}, },
Bookgroup: {
"all": "全部",
"onshelf": "已上架",
"noshelf": "未上架",
"other": "其他",
"nopublish": "未出版",
"waitpublish": "等待出版",
"empty": ""
},
SCODELIST_TEXT: { SCODELIST_TEXT: {
"A": "类型1", "A": "类型1",
"B": "类型2", "B": "类型2",
......
...@@ -26,6 +26,15 @@ export default { ...@@ -26,6 +26,15 @@ export default {
"REPORTFOLDER_2": "财务报表", "REPORTFOLDER_2": "财务报表",
"empty": "", "empty": "",
}, },
Bookgroup: {
"all": "全部",
"onshelf": "已上架",
"noshelf": "未上架",
"other": "其他",
"nopublish": "未出版",
"waitpublish": "等待出版",
"empty": "",
},
SCODELIST_TEXT: { SCODELIST_TEXT: {
"A": "类型1", "A": "类型1",
"B": "类型2", "B": "类型2",
......
...@@ -340,6 +340,10 @@ export default { ...@@ -340,6 +340,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -339,6 +339,10 @@ export default { ...@@ -339,6 +339,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -146,6 +146,10 @@ export default { ...@@ -146,6 +146,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -145,6 +145,10 @@ export default { ...@@ -145,6 +145,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -278,6 +278,10 @@ export default { ...@@ -278,6 +278,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -342,6 +346,10 @@ export default { ...@@ -342,6 +346,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -406,6 +414,10 @@ export default { ...@@ -406,6 +414,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -277,6 +277,10 @@ export default { ...@@ -277,6 +277,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -341,6 +345,10 @@ export default { ...@@ -341,6 +345,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -405,6 +413,10 @@ export default { ...@@ -405,6 +413,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -756,6 +756,10 @@ export default { ...@@ -756,6 +756,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -866,6 +870,10 @@ export default { ...@@ -866,6 +870,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -928,6 +936,10 @@ export default { ...@@ -928,6 +936,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -1138,6 +1150,10 @@ export default { ...@@ -1138,6 +1150,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -1200,6 +1216,10 @@ export default { ...@@ -1200,6 +1216,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -1262,6 +1282,10 @@ export default { ...@@ -1262,6 +1282,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -1324,6 +1348,10 @@ export default { ...@@ -1324,6 +1348,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -755,6 +755,10 @@ export default { ...@@ -755,6 +755,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -865,6 +869,10 @@ export default { ...@@ -865,6 +869,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -927,6 +935,10 @@ export default { ...@@ -927,6 +935,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -1137,6 +1149,10 @@ export default { ...@@ -1137,6 +1149,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -1199,6 +1215,10 @@ export default { ...@@ -1199,6 +1215,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -1261,6 +1281,10 @@ export default { ...@@ -1261,6 +1281,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
...@@ -1323,6 +1347,10 @@ export default { ...@@ -1323,6 +1347,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -247,6 +247,10 @@ export default { ...@@ -247,6 +247,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -246,6 +246,10 @@ export default { ...@@ -246,6 +246,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -87,6 +87,10 @@ export default { ...@@ -87,6 +87,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -86,6 +86,10 @@ export default { ...@@ -86,6 +86,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -179,6 +179,10 @@ export default { ...@@ -179,6 +179,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -178,6 +178,10 @@ export default { ...@@ -178,6 +178,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -82,6 +82,10 @@ export default { ...@@ -82,6 +82,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -81,6 +81,10 @@ export default { ...@@ -81,6 +81,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -128,6 +128,10 @@ export default { ...@@ -128,6 +128,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -127,6 +127,10 @@ export default { ...@@ -127,6 +127,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -157,6 +157,10 @@ export default { ...@@ -157,6 +157,10 @@ export default {
caption: "Copy", caption: "Copy",
tip: "Copy {0}", tip: "Copy {0}",
}, },
deuiaction3: {
caption: "Filter",
tip: "Filter",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -156,6 +156,10 @@ export default { ...@@ -156,6 +156,10 @@ export default {
caption: "拷贝", caption: "拷贝",
tip: "拷贝", tip: "拷贝",
}, },
deuiaction3: {
caption: "过滤",
tip: "过滤",
},
tbitem7: { tbitem7: {
caption: "-", caption: "-",
tip: "", tip: "",
......
...@@ -175,6 +175,79 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => { ...@@ -175,6 +175,79 @@ mock.onGet('./assets/json/data-dictionary.json').reply((config: any) => {
}, },
] ]
}, },
{
srfkey: "Bookgroup",
emptytext: "未定义",
"codelisttype":"static",
items: [
{
id: "all",
label: "全部",
text: "全部",
"class":"",
"data":"",
"codename":"All",
value: "all",
disabled: false,
},
{
id: "onshelf",
label: "已上架",
text: "已上架",
"class":"",
"data":"",
"codename":"Onshelf",
value: "onshelf",
disabled: false,
},
{
id: "noshelf",
label: "未上架",
text: "未上架",
"class":"",
"data":"",
"codename":"Noshelf",
value: "noshelf",
disabled: false,
},
{
id: "other",
label: "其他",
text: "其他",
"class":"",
"data":"",
"codename":"Other",
value: "other",
disabled: false,
},
{
id: "nopublish",
label: "未出版",
text: "未出版",
"class":"",
"data":"",
"codename":"Nopublish",
value: "nopublish",
"pvalue": "other",
disabled: false,
},
{
id: "waitpublish",
label: "等待出版",
text: "等待出版",
"class":"",
"data":"",
"codename":"Waitpublish",
value: "waitpublish",
"pvalue": "other",
disabled: false,
},
]
},
{ {
srfkey: "SCODELIST_TEXT", srfkey: "SCODELIST_TEXT",
emptytext: "未定义", emptytext: "未定义",
......
...@@ -9,6 +9,9 @@ ...@@ -9,6 +9,9 @@
</div> </div>
<div class='content-container'> <div class='content-container'>
<div style='margin-bottom: 6px;'> <div style='margin-bottom: 6px;'>
<div class="quick-group-container">
<app-quick-group :items="quickGroupModel" @valuechange="quickGroupValueChange"></app-quick-group>
</div>
<i-input v-show="!isExpandSearchForm" v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="图书名称" /> <i-input v-show="!isExpandSearchForm" v-model="query" search enter-button @on-search="onSearch($event)" class='quick-search-input' style='max-width: 400px;' placeholder="图书名称" />
<div class='pull-right'> <div class='pull-right'>
<div class='toolbar-container'> <div class='toolbar-container'>
...@@ -40,6 +43,13 @@ ...@@ -40,6 +43,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizbook.internalfuncgridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizbook.internalfuncgridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizbook.internalfuncgridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizbook.internalfuncgridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -376,6 +386,8 @@ export default class IBIZBOOKInternalFuncGridViewBase extends Vue { ...@@ -376,6 +386,8 @@ export default class IBIZBOOKInternalFuncGridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -729,7 +741,7 @@ export default class IBIZBOOKInternalFuncGridViewBase extends Vue { ...@@ -729,7 +741,7 @@ export default class IBIZBOOKInternalFuncGridViewBase extends Vue {
if (_this.loadModel && _this.loadModel instanceof Function) { if (_this.loadModel && _this.loadModel instanceof Function) {
_this.loadModel(); _this.loadModel();
} }
_this.loadQuickGroupModel();
} }
...@@ -754,6 +766,9 @@ export default class IBIZBOOKInternalFuncGridViewBase extends Vue { ...@@ -754,6 +766,9 @@ export default class IBIZBOOKInternalFuncGridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -990,6 +1005,34 @@ export default class IBIZBOOKInternalFuncGridViewBase extends Vue { ...@@ -990,6 +1005,34 @@ export default class IBIZBOOKInternalFuncGridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1394,6 +1437,23 @@ export default class IBIZBOOKInternalFuncGridViewBase extends Vue { ...@@ -1394,6 +1437,23 @@ export default class IBIZBOOKInternalFuncGridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKInternalFuncGridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
...@@ -1727,6 +1787,100 @@ export default class IBIZBOOKInternalFuncGridViewBase extends Vue { ...@@ -1727,6 +1787,100 @@ export default class IBIZBOOKInternalFuncGridViewBase extends Vue {
} }
} }
/**
* 代码表服务对象
*
* @type {CodeListService}
* @memberof IBIZBOOKInternalFuncGridViewBase
*/
public codeListService:CodeListService = new CodeListService({ $store: this.$store });
/**
* 快速分组数据对象
*
* @memberof IBIZBOOKInternalFuncGridViewBase
*/
public quickGroupData:any;
/**
* 快速分组是否有抛值
*
* @memberof IBIZBOOKInternalFuncGridViewBase
*/
public isEmitQuickGroupValue:boolean = false;
/**
* 快速分组模型
*
* @memberof IBIZBOOKInternalFuncGridViewBase
*/
public quickGroupModel:Array<any> = [];
/**
* 加载快速分组模型
*
* @memberof IBIZBOOKInternalFuncGridViewBase
*/
public loadQuickGroupModel(){
let quickGroupCodeList:any = {tag:'Bookgroup',codelistType:'STATIC'};
if(quickGroupCodeList.tag && Object.is(quickGroupCodeList.codelistType,"STATIC")){
const codelist = this.$store.getters.getCodeList(quickGroupCodeList.tag);
if (codelist) {
this.quickGroupModel = [...this.handleDynamicData(JSON.parse(JSON.stringify(codelist.items)))];
} else {
console.log(`----${quickGroupCodeList.tag}----代码表不存在`);
}
}else if(quickGroupCodeList.tag && Object.is(quickGroupCodeList.codelistType,"DYNAMIC")){
this.codeListService.getItems(quickGroupCodeList.tag,{},{}).then((res:any) => {
this.quickGroupModel = res;
}).catch((error:any) => {
console.log(`----${quickGroupCodeList.tag}----代码表不存在`);
});
}
}
/**
* 处理快速分组模型动态数据部分(%xxx%)
*
* @memberof IBIZBOOKInternalFuncGridViewBase
*/
public handleDynamicData(inputArray:Array<any>){
if(inputArray.length >0){
inputArray.forEach((item:any) =>{
if(item.data && Object.keys(item.data).length >0){
Object.keys(item.data).forEach((name:any) =>{
let value: any = item.data[name];
if (value && typeof(value)=='string' && value.startsWith('%') && value.endsWith('%')) {
const key = (value.substring(1, value.length - 1)).toLowerCase();
if (this.context[key]) {
value = this.context[key];
} else if(this.viewparams[key]){
value = this.viewparams[key];
}
}
item.data[name] = value;
})
}
})
}
return inputArray;
}
/**
* 快速分组值变化
*
* @memberof IBIZBOOKInternalFuncGridViewBase
*/
public quickGroupValueChange($event:any){
if($event){
this.quickGroupData = $event.data;
if(this.isEmitQuickGroupValue){
this.onSearch($event);
}
}
this.isEmitQuickGroupValue = true;
}
} }
</script> </script>
......
...@@ -757,6 +757,9 @@ export default class IBIZBOOKNewDefaultValueGridViewBase extends Vue { ...@@ -757,6 +757,9 @@ export default class IBIZBOOKNewDefaultValueGridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -957,6 +960,34 @@ export default class IBIZBOOKNewDefaultValueGridViewBase extends Vue { ...@@ -957,6 +960,34 @@ export default class IBIZBOOKNewDefaultValueGridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1361,6 +1392,23 @@ export default class IBIZBOOKNewDefaultValueGridViewBase extends Vue { ...@@ -1361,6 +1392,23 @@ export default class IBIZBOOKNewDefaultValueGridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKNewDefaultValueGridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -756,6 +756,9 @@ export default class IBIZBOOKRowEditGridViewBase extends Vue { ...@@ -756,6 +756,9 @@ export default class IBIZBOOKRowEditGridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -956,6 +959,34 @@ export default class IBIZBOOKRowEditGridViewBase extends Vue { ...@@ -956,6 +959,34 @@ export default class IBIZBOOKRowEditGridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1360,6 +1391,23 @@ export default class IBIZBOOKRowEditGridViewBase extends Vue { ...@@ -1360,6 +1391,23 @@ export default class IBIZBOOKRowEditGridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKRowEditGridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -757,6 +757,9 @@ export default class IBIZBOOKUpdateDefaultGridViewBase extends Vue { ...@@ -757,6 +757,9 @@ export default class IBIZBOOKUpdateDefaultGridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -957,6 +960,34 @@ export default class IBIZBOOKUpdateDefaultGridViewBase extends Vue { ...@@ -957,6 +960,34 @@ export default class IBIZBOOKUpdateDefaultGridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZBOOK");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1361,6 +1392,23 @@ export default class IBIZBOOKUpdateDefaultGridViewBase extends Vue { ...@@ -1361,6 +1392,23 @@ export default class IBIZBOOKUpdateDefaultGridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZBOOKUpdateDefaultGridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizhardware.sgridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizhardware.sgridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizhardware.sgridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizhardware.sgridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -376,6 +383,8 @@ export default class IBIZHardwareSGridViewBase extends Vue { ...@@ -376,6 +383,8 @@ export default class IBIZHardwareSGridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -754,6 +763,9 @@ export default class IBIZHardwareSGridViewBase extends Vue { ...@@ -754,6 +763,9 @@ export default class IBIZHardwareSGridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -990,6 +1002,34 @@ export default class IBIZHardwareSGridViewBase extends Vue { ...@@ -990,6 +1002,34 @@ export default class IBIZHardwareSGridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZHardware"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZHardware");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZHardware");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1396,6 +1436,23 @@ export default class IBIZHardwareSGridViewBase extends Vue { ...@@ -1396,6 +1436,23 @@ export default class IBIZHardwareSGridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZHardwareSGridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizorderdetail.f6gridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizorderdetail.f6gridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizorderdetail.f6gridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorderdetail.f6gridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -376,6 +383,8 @@ export default class IBIZOrderDetailF6GridViewBase extends Vue { ...@@ -376,6 +383,8 @@ export default class IBIZOrderDetailF6GridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -754,6 +763,9 @@ export default class IBIZOrderDetailF6GridViewBase extends Vue { ...@@ -754,6 +763,9 @@ export default class IBIZOrderDetailF6GridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -990,6 +1002,34 @@ export default class IBIZOrderDetailF6GridViewBase extends Vue { ...@@ -990,6 +1002,34 @@ export default class IBIZOrderDetailF6GridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrderDetail"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrderDetail");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZOrderDetail");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1394,6 +1434,23 @@ export default class IBIZOrderDetailF6GridViewBase extends Vue { ...@@ -1394,6 +1434,23 @@ export default class IBIZOrderDetailF6GridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderDetailF6GridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizorderdetail.gridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizorderdetail.gridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizorderdetail.gridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorderdetail.gridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -376,6 +383,8 @@ export default class IBIZOrderDetailGridViewBase extends Vue { ...@@ -376,6 +383,8 @@ export default class IBIZOrderDetailGridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -754,6 +763,9 @@ export default class IBIZOrderDetailGridViewBase extends Vue { ...@@ -754,6 +763,9 @@ export default class IBIZOrderDetailGridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -990,6 +1002,34 @@ export default class IBIZOrderDetailGridViewBase extends Vue { ...@@ -990,6 +1002,34 @@ export default class IBIZOrderDetailGridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrderDetail"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrderDetail");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZOrderDetail");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1394,6 +1434,23 @@ export default class IBIZOrderDetailGridViewBase extends Vue { ...@@ -1394,6 +1434,23 @@ export default class IBIZOrderDetailGridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderDetailGridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizorderdetail.sgridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizorderdetail.sgridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizorderdetail.sgridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorderdetail.sgridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -376,6 +383,8 @@ export default class IBIZOrderDetailSGridViewBase extends Vue { ...@@ -376,6 +383,8 @@ export default class IBIZOrderDetailSGridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -754,6 +763,9 @@ export default class IBIZOrderDetailSGridViewBase extends Vue { ...@@ -754,6 +763,9 @@ export default class IBIZOrderDetailSGridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -990,6 +1002,34 @@ export default class IBIZOrderDetailSGridViewBase extends Vue { ...@@ -990,6 +1002,34 @@ export default class IBIZOrderDetailSGridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrderDetail"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrderDetail");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZOrderDetail");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1394,6 +1434,23 @@ export default class IBIZOrderDetailSGridViewBase extends Vue { ...@@ -1394,6 +1434,23 @@ export default class IBIZOrderDetailSGridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderDetailSGridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizorder.gridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizorder.gridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizorder.gridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.gridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -385,6 +392,8 @@ export default class IBIZOrderGridViewBase extends Vue { ...@@ -385,6 +392,8 @@ export default class IBIZOrderGridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -766,6 +775,9 @@ export default class IBIZOrderGridViewBase extends Vue { ...@@ -766,6 +775,9 @@ export default class IBIZOrderGridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -1002,6 +1014,34 @@ export default class IBIZOrderGridViewBase extends Vue { ...@@ -1002,6 +1014,34 @@ export default class IBIZOrderGridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1406,6 +1446,23 @@ export default class IBIZOrderGridViewBase extends Vue { ...@@ -1406,6 +1446,23 @@ export default class IBIZOrderGridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderGridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizorder.sf1gridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizorder.sf1gridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizorder.sf1gridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.sf1gridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -385,6 +392,8 @@ export default class IBIZOrderSF1GridViewBase extends Vue { ...@@ -385,6 +392,8 @@ export default class IBIZOrderSF1GridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -766,6 +775,9 @@ export default class IBIZOrderSF1GridViewBase extends Vue { ...@@ -766,6 +775,9 @@ export default class IBIZOrderSF1GridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -1002,6 +1014,34 @@ export default class IBIZOrderSF1GridViewBase extends Vue { ...@@ -1002,6 +1014,34 @@ export default class IBIZOrderSF1GridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1406,6 +1446,23 @@ export default class IBIZOrderSF1GridViewBase extends Vue { ...@@ -1406,6 +1446,23 @@ export default class IBIZOrderSF1GridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF1GridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizorder.sf20gridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizorder.sf20gridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizorder.sf20gridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.sf20gridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem24.visabled" :disabled="toolBarModels.tbitem24.disabled" class='' @click="toolbar_click({ tag: 'tbitem24' }, $event)"> <i-button v-show="toolBarModels.tbitem24.visabled" :disabled="toolBarModels.tbitem24.disabled" class='' @click="toolbar_click({ tag: 'tbitem24' }, $event)">
...@@ -400,6 +407,8 @@ export default class IBIZOrderSF20GridViewBase extends Vue { ...@@ -400,6 +407,8 @@ export default class IBIZOrderSF20GridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem24: { name: 'tbitem24', actiontarget: 'NONE', caption: '行编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleRowEdit', target: '' } }, tbitem24: { name: 'tbitem24', actiontarget: 'NONE', caption: '行编辑', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleRowEdit', target: '' } },
...@@ -786,6 +795,9 @@ export default class IBIZOrderSF20GridViewBase extends Vue { ...@@ -786,6 +795,9 @@ export default class IBIZOrderSF20GridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -1022,6 +1034,34 @@ export default class IBIZOrderSF20GridViewBase extends Vue { ...@@ -1022,6 +1034,34 @@ export default class IBIZOrderSF20GridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1426,6 +1466,23 @@ export default class IBIZOrderSF20GridViewBase extends Vue { ...@@ -1426,6 +1466,23 @@ export default class IBIZOrderSF20GridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF20GridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizorder.sf3gridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizorder.sf3gridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizorder.sf3gridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.sf3gridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -385,6 +392,8 @@ export default class IBIZOrderSF3GridViewBase extends Vue { ...@@ -385,6 +392,8 @@ export default class IBIZOrderSF3GridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -766,6 +775,9 @@ export default class IBIZOrderSF3GridViewBase extends Vue { ...@@ -766,6 +775,9 @@ export default class IBIZOrderSF3GridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -1002,6 +1014,34 @@ export default class IBIZOrderSF3GridViewBase extends Vue { ...@@ -1002,6 +1014,34 @@ export default class IBIZOrderSF3GridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1406,6 +1446,23 @@ export default class IBIZOrderSF3GridViewBase extends Vue { ...@@ -1406,6 +1446,23 @@ export default class IBIZOrderSF3GridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF3GridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizorder.sf4gridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizorder.sf4gridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizorder.sf4gridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.sf4gridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -385,6 +392,8 @@ export default class IBIZOrderSF4GridViewBase extends Vue { ...@@ -385,6 +392,8 @@ export default class IBIZOrderSF4GridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -766,6 +775,9 @@ export default class IBIZOrderSF4GridViewBase extends Vue { ...@@ -766,6 +775,9 @@ export default class IBIZOrderSF4GridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -1002,6 +1014,34 @@ export default class IBIZOrderSF4GridViewBase extends Vue { ...@@ -1002,6 +1014,34 @@ export default class IBIZOrderSF4GridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1406,6 +1446,23 @@ export default class IBIZOrderSF4GridViewBase extends Vue { ...@@ -1406,6 +1446,23 @@ export default class IBIZOrderSF4GridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSF4GridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizorder.sgridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizorder.sgridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizorder.sgridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.sgridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -385,6 +392,8 @@ export default class IBIZOrderSGridViewBase extends Vue { ...@@ -385,6 +392,8 @@ export default class IBIZOrderSGridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -766,6 +775,9 @@ export default class IBIZOrderSGridViewBase extends Vue { ...@@ -766,6 +775,9 @@ export default class IBIZOrderSGridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -1002,6 +1014,34 @@ export default class IBIZOrderSGridViewBase extends Vue { ...@@ -1002,6 +1014,34 @@ export default class IBIZOrderSGridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1406,6 +1446,23 @@ export default class IBIZOrderSGridViewBase extends Vue { ...@@ -1406,6 +1446,23 @@ export default class IBIZOrderSGridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSGridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizorder.sgridview2toolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizorder.sgridview2toolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizorder.sgridview2toolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizorder.sgridview2toolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -373,6 +380,8 @@ export default class IBIZOrderSGridView2Base extends Vue { ...@@ -373,6 +380,8 @@ export default class IBIZOrderSGridView2Base extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -732,6 +741,9 @@ export default class IBIZOrderSGridView2Base extends Vue { ...@@ -732,6 +741,9 @@ export default class IBIZOrderSGridView2Base extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -872,6 +884,34 @@ export default class IBIZOrderSGridView2Base extends Vue { ...@@ -872,6 +884,34 @@ export default class IBIZOrderSGridView2Base extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZOrder");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1237,6 +1277,23 @@ export default class IBIZOrderSGridView2Base extends Vue { ...@@ -1237,6 +1277,23 @@ export default class IBIZOrderSGridView2Base extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZOrderSGridView2Base
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizsample0003.gridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizsample0003.gridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizsample0003.gridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizsample0003.gridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -376,6 +383,8 @@ export default class IBIZSample0003GridViewBase extends Vue { ...@@ -376,6 +383,8 @@ export default class IBIZSample0003GridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -754,6 +763,9 @@ export default class IBIZSample0003GridViewBase extends Vue { ...@@ -754,6 +763,9 @@ export default class IBIZSample0003GridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -990,6 +1002,34 @@ export default class IBIZSample0003GridViewBase extends Vue { ...@@ -990,6 +1002,34 @@ export default class IBIZSample0003GridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0003"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0003");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0003");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1394,6 +1434,23 @@ export default class IBIZSample0003GridViewBase extends Vue { ...@@ -1394,6 +1434,23 @@ export default class IBIZSample0003GridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZSample0003GridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizsample0014.gridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizsample0014.gridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizsample0014.gridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizsample0014.gridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -376,6 +383,8 @@ export default class IBIZSample0014GridViewBase extends Vue { ...@@ -376,6 +383,8 @@ export default class IBIZSample0014GridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -754,6 +763,9 @@ export default class IBIZSample0014GridViewBase extends Vue { ...@@ -754,6 +763,9 @@ export default class IBIZSample0014GridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -990,6 +1002,34 @@ export default class IBIZSample0014GridViewBase extends Vue { ...@@ -990,6 +1002,34 @@ export default class IBIZSample0014GridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0014"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0014");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0014");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1394,6 +1434,23 @@ export default class IBIZSample0014GridViewBase extends Vue { ...@@ -1394,6 +1434,23 @@ export default class IBIZSample0014GridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZSample0014GridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizsample0017.gridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizsample0017.gridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizsample0017.gridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizsample0017.gridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -376,6 +383,8 @@ export default class IBIZSample0017GridViewBase extends Vue { ...@@ -376,6 +383,8 @@ export default class IBIZSample0017GridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -754,6 +763,9 @@ export default class IBIZSample0017GridViewBase extends Vue { ...@@ -754,6 +763,9 @@ export default class IBIZSample0017GridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -990,6 +1002,34 @@ export default class IBIZSample0017GridViewBase extends Vue { ...@@ -990,6 +1002,34 @@ export default class IBIZSample0017GridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0017"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0017");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0017");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1397,6 +1437,23 @@ export default class IBIZSample0017GridViewBase extends Vue { ...@@ -1397,6 +1437,23 @@ export default class IBIZSample0017GridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZSample0017GridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizsample0018.gridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizsample0018.gridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizsample0018.gridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizsample0018.gridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -376,6 +383,8 @@ export default class IBIZSample0018GridViewBase extends Vue { ...@@ -376,6 +383,8 @@ export default class IBIZSample0018GridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -754,6 +763,9 @@ export default class IBIZSample0018GridViewBase extends Vue { ...@@ -754,6 +763,9 @@ export default class IBIZSample0018GridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -990,6 +1002,34 @@ export default class IBIZSample0018GridViewBase extends Vue { ...@@ -990,6 +1002,34 @@ export default class IBIZSample0018GridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0018"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0018");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZSample0018");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1394,6 +1434,23 @@ export default class IBIZSample0018GridViewBase extends Vue { ...@@ -1394,6 +1434,23 @@ export default class IBIZSample0018GridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZSample0018GridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizsoftwaresuit.sgridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizsoftwaresuit.sgridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizsoftwaresuit.sgridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizsoftwaresuit.sgridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -376,6 +383,8 @@ export default class IBIZSoftwareSuitSGridViewBase extends Vue { ...@@ -376,6 +383,8 @@ export default class IBIZSoftwareSuitSGridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -754,6 +763,9 @@ export default class IBIZSoftwareSuitSGridViewBase extends Vue { ...@@ -754,6 +763,9 @@ export default class IBIZSoftwareSuitSGridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -990,6 +1002,34 @@ export default class IBIZSoftwareSuitSGridViewBase extends Vue { ...@@ -990,6 +1002,34 @@ export default class IBIZSoftwareSuitSGridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZSoftwareSuit"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZSoftwareSuit");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZSoftwareSuit");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1394,6 +1434,23 @@ export default class IBIZSoftwareSuitSGridViewBase extends Vue { ...@@ -1394,6 +1434,23 @@ export default class IBIZSoftwareSuitSGridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZSoftwareSuitSGridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -40,6 +40,13 @@ ...@@ -40,6 +40,13 @@
</i-button> </i-button>
<div slot='content'>{{$t('entities.ibizuniproduct.sgridviewtoolbar_toolbar.tbitem6.tip')}}</div> <div slot='content'>{{$t('entities.ibizuniproduct.sgridviewtoolbar_toolbar.tbitem6.tip')}}</div>
</tooltip> </tooltip>
<tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.deuiaction3.visabled" :disabled="toolBarModels.deuiaction3.disabled" class='' @click="toolbar_click({ tag: 'deuiaction3' }, $event)">
<i class='fa fa-filter'></i>
<span class='caption'>{{$t('entities.ibizuniproduct.sgridviewtoolbar_toolbar.deuiaction3.caption')}}</span>
</i-button>
<div slot='content'>{{$t('entities.ibizuniproduct.sgridviewtoolbar_toolbar.deuiaction3.tip')}}</div>
</tooltip>
<span class='seperator'>|</span> <span class='seperator'>|</span>
<tooltip :transfer="true" :max-width="600"> <tooltip :transfer="true" :max-width="600">
<i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)"> <i-button v-show="toolBarModels.tbitem8.visabled" :disabled="toolBarModels.tbitem8.disabled" class='' @click="toolbar_click({ tag: 'tbitem8' }, $event)">
...@@ -376,6 +383,8 @@ export default class IBIZUNIProductSGridViewBase extends Vue { ...@@ -376,6 +383,8 @@ export default class IBIZUNIProductSGridViewBase extends Vue {
tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } }, tbitem6: { name: 'tbitem6', actiontarget: 'NONE', caption: '拷贝', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Copy', target: 'SINGLEKEY' } },
deuiaction3: { name: 'deuiaction3', actiontarget: 'NONE', caption: '过滤', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'ToggleFilter', target: '' } },
tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } }, tbitem7: { name: 'tbitem7', type: 'SEPERATOR', visabled: true, dataaccaction: '', uiaction: { } },
tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } }, tbitem8: { name: 'tbitem8', actiontarget: 'NONE', caption: '批量删除', disabled: false, type: 'DEUIACTION', visabled: true,noprivdisplaymode:2,dataaccaction: '', uiaction: { tag: 'Remove', target: 'MULTIKEY' } },
...@@ -754,6 +763,9 @@ export default class IBIZUNIProductSGridViewBase extends Vue { ...@@ -754,6 +763,9 @@ export default class IBIZUNIProductSGridViewBase extends Vue {
if (Object.is($event.tag, 'tbitem6')) { if (Object.is($event.tag, 'tbitem6')) {
this.toolbar_tbitem6_click(null, '', $event2); this.toolbar_tbitem6_click(null, '', $event2);
} }
if (Object.is($event.tag, 'deuiaction3')) {
this.toolbar_deuiaction3_click(null, '', $event2);
}
if (Object.is($event.tag, 'tbitem24')) { if (Object.is($event.tag, 'tbitem24')) {
this.toolbar_tbitem24_click(null, '', $event2); this.toolbar_tbitem24_click(null, '', $event2);
} }
...@@ -990,6 +1002,34 @@ export default class IBIZUNIProductSGridViewBase extends Vue { ...@@ -990,6 +1002,34 @@ export default class IBIZUNIProductSGridViewBase extends Vue {
this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZUNIProduct"); this.Copy(datas, contextJO,paramJO, $event, xData,this,"IBIZUNIProduct");
} }
/**
* 逻辑事件
*
* @param {*} [params={}]
* @param {*} [tag]
* @param {*} [$event]
* @memberof
*/
public toolbar_deuiaction3_click(params: any = {}, tag?: any, $event?: any) {
// 参数
// 取数
let datas: any[] = [];
let xData: any = null;
// _this 指向容器对象
const _this: any = this;
let paramJO:any = {};
let contextJO:any = {};
xData = this.$refs.grid;
if (xData.getDatas && xData.getDatas instanceof Function) {
datas = [...xData.getDatas()];
}
if(params){
datas = [params];
}
// 界面行为
this.ToggleFilter(datas, contextJO,paramJO, $event, xData,this,"IBIZUNIProduct");
}
/** /**
* 逻辑事件 * 逻辑事件
* *
...@@ -1396,6 +1436,23 @@ export default class IBIZUNIProductSGridViewBase extends Vue { ...@@ -1396,6 +1436,23 @@ export default class IBIZUNIProductSGridViewBase extends Vue {
Object.assign(this.viewparams,{copymode:true}); Object.assign(this.viewparams,{copymode:true});
} }
} }
/**
* 过滤
*
* @param {any[]} args 当前数据
* @param {any} contextJO 行为附加上下文
* @param {*} [params] 附加参数
* @param {*} [$event] 事件源
* @param {*} [xData] 执行行为所需当前部件
* @param {*} [actionContext] 执行行为上下文
* @memberof IBIZUNIProductSGridViewBase
*/
public ToggleFilter(args: any[],contextJO?:any, params?: any, $event?: any, xData?: any,actionContext?:any,srfParentDeName?:string) {
const _this: any = this;
if (_this.hasOwnProperty('isExpandSearchForm')) {
_this.isExpandSearchForm = !_this.isExpandSearchForm;
}
}
/** /**
* 行编辑 * 行编辑
* *
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<!--输出实体[IBIZBOOK]数据结构 --> <!--输出实体[IBIZBOOK]数据结构 -->
<changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-64-2"> <changeSet author="a_LAB01_df847bdfd" id="tab-ibizbook-68-2">
<createTable tableName="T_IBIZBOOK"> <createTable tableName="T_IBIZBOOK">
<column name="CREATEMAN" remarks="" type="VARCHAR(60)"> <column name="CREATEMAN" remarks="" type="VARCHAR(60)">
</column> </column>
......
...@@ -518,6 +518,31 @@ public class StaticDict { ...@@ -518,6 +518,31 @@ public class StaticDict {
} }
/**
* 代码表[图书实体快速分组]
*/
@Getter
public enum Bookgroup {
ALL("all","全部"),
ONSHELF("onshelf","已上架"),
NOSHELF("noshelf","未上架"),
OTHER("other","其他"),
NOPUBLISH("nopublish","未出版"),
WAITPUBLISH("waitpublish","等待出版");
private String value;
private String text;
private String valueSeparator="";
private String textSeparator="";
private String emptyText="";
Bookgroup(String value , String text) {
this.value=value;
this.text = text;
}
}
/** /**
* 代码表[日期类型] * 代码表[日期类型]
*/ */
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册