Commit 90a878e3 by qiaoyanqi

excle

parent b2851954
...@@ -105,7 +105,7 @@ export default { ...@@ -105,7 +105,7 @@ export default {
let detailXTable = this.$refs.detailXTable; let detailXTable = this.$refs.detailXTable;
switch (menu.code) { switch (menu.code) {
case "addRow": case "addRow":
this.attr.attr.tableData.splice(rowIndex+1,0,this.attr.attr.addObj) detailXTable.insertAt(this.attr.attr.addObj,row);
break; break;
case "removeRow": case "removeRow":
if(this.attr.attr.tableData.length>1){ if(this.attr.attr.tableData.length>1){
......
...@@ -1273,6 +1273,12 @@ export default { ...@@ -1273,6 +1273,12 @@ export default {
"type": "Boolean", "type": "Boolean",
"title": "导出当页", "title": "导出当页",
"key": "currentPage" "key": "currentPage"
},
{
"isRequired": true,
"type": "Boolean",
"title": "是否导出id",
"key": "isId"
} }
] ]
}, },
......
...@@ -7,6 +7,7 @@ export default { ...@@ -7,6 +7,7 @@ export default {
} }
GMS.$http.post(`/rbcquery/exportExcel`, { GMS.$http.post(`/rbcquery/exportExcel`, {
queryParameter: queryParam, queryParameter: queryParam,
isId:param.isId||false,
queryViewVO: context.dom.queryBus.config, queryViewVO: context.dom.queryBus.config,
currentGroup: context.dom.queryBus.currGroup, currentGroup: context.dom.queryBus.currGroup,
},{ },{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment