Commit a1df1b18 authored by renjintao's avatar renjintao

sortby

parent d370f4b1
......@@ -50,6 +50,7 @@
@on-drag-drop="onDragDrop"
@on-selection-change="selectionChange"
@on-select="onSelect"
@on-sort-change="sortChange"
:loading="loading"
></Table>
<div class="table-footer" ref="footer">
......@@ -130,7 +131,9 @@ export default {
search: {
pageIndex: 1,
pageSize: 20,
conditions: []
conditions: [],
sortBy:null,
isDesc: true,
},
pageSizeOpts: [20, 50, 100],
tableHeight: 0,
......
......@@ -70,7 +70,7 @@ export default {
});
}
},
{ key: "taskSeq", title: this.l("taskSeq"), align: "left",width:80 },
{ key: "taskSeq", title: this.l("taskSeq"), align: "left",width:100,sortable:true },
{
key: "name",
title: this.l("name"),
......
......@@ -49,8 +49,9 @@ export default {
"checkParams,standard",
value: null
},
routingHeaderId: { op: "Equal", value: -1 }
routingHeaderId: { op: "Equal", value: -1 },
},
sortType: 'normal',
modal: false,
title: "新增",
detail: null,
......@@ -78,7 +79,8 @@ export default {
title: this.l("routingDetailNo"),
align: "left",
high: true,
width: 80
width: 100,
sortable:true
},
{
key: "routingDetailName",
......@@ -357,7 +359,7 @@ export default {
l(key) {
let vkey = "routing_qc_card" + "." + key;
return this.$t(vkey) || key;
}
},
}
};
</script>
......
......@@ -78,7 +78,8 @@ export default {
title: this.l("routingDetailNo"),
align: "left",
high: true,
width: 80
width: 100,
sortable:true
},
{
key: "routingDetailName",
......
......@@ -121,30 +121,7 @@ export default {
uId: "",
columns: [
{ key: "id", title: this.$t("id"), hide: true, align: "left" },
{
key: "creationTime",
title: this.$t("creationTime"),
align: "left",
hide: true
},
{
key: "creatorUserId",
title: this.$t("creatorUserId"),
align: "left",
hide: true
},
{
key: "lastModificationTime",
title: this.$t("lastModificationTime"),
align: "left",
hide: true
},
{
key: "lastModifierUserId",
title: this.$t("lastModifierUserId"),
align: "left",
hide: true
},
{ key: "classId", title: this.l("classId"), align: "left", hide: true },
{
key: "unicode",
......@@ -244,6 +221,30 @@ export default {
width: 140,
high: true,
code: "Process.Status"
},
{
key: "creationTime",
title: this.$t("creationTime"),
align: "left",
hide: true
},
{
key: "creatorUserId",
title: this.$t("creatorUserId"),
align: "left",
hide: true
},
{
key: "lastModificationTime",
title: this.$t("lastModificationTime"),
align: "left",
hide: true
},
{
key: "lastModifierUserId",
title: this.$t("lastModifierUserId"),
align: "left",
hide: true
},
{
title: "操作",
......
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