Commit e58062a4 authored by 仇晓婷's avatar 仇晓婷

加数据及分页

parent 4a0f0f14
......@@ -55,6 +55,9 @@
</Row>
</Form>
<Table border :columns="columns" :data="data"></Table>
<div class="page-v">
<Page :total="4" size="small" show-elevator show-sizer show-total :page-size="20" />
</div>
<Modal v-model="modal" title="新建" @on-ok="ok" @on-cancel="cancel">
<Form :model="formItem" :label-width="80">
<FormItem label="名称">
......@@ -278,5 +281,9 @@ export default {
.ivu-form-item-content {
float: left;
}
.page-v {
text-align: right;
margin-top: 10px;
}
}
</style>
\ No newline at end of file
......@@ -37,6 +37,9 @@
</Row>
</Form>
<Table border :columns="columns" :data="data"></Table>
<div class="page-v">
<Page :total="4" size="small" show-elevator show-sizer show-total :page-size="20" />
</div>
<Modal v-model="modal" :title="title" @on-ok="ok" @on-cancel="cancel" width="600">
<Form :model="formItem" :label-width="150">
<FormItem label="修程名称">
......
......@@ -29,4 +29,8 @@ export default {
</script>
<style lang="less">
.page-v {
text-align: right;
margin-top: 10px;
}
</style>
\ No newline at end of file
This diff is collapsed.
......@@ -49,6 +49,10 @@
</Row>
</Form>
<Table border :columns="columns" :data="data"></Table>
<div class="page-v">
<Page :total="4" size="small" show-elevator show-sizer show-total :page-size="20" />
</div>
<Modal v-model="modal" :title="title" @on-ok="ok" @on-cancel="cancel" width="600">
<Form :model="formItem" :label-width="100">
<FormItem label="车次">
......@@ -353,6 +357,96 @@ export default {
a9: "临时",
a10: "调图电报",
},
{
name: "G8671",
startTime: "13:26",
a2: "贵阳北",
a: "成都东",
a1: "20:39",
a3: "6小时13分",
a4: "649",
a5: "重联",
a6: "日常",
a7: "长期",
a8: "否",
a9: "",
a10: "调图电报",
},
{
name: "D8593",
startTime: "14:40",
a2: "贵阳北",
a: "重庆西",
a1: "16:53",
a3: "2小时13分",
a4: "347",
a5: "短编",
a6: "日常",
a7: "长期",
a8: "是",
a9: "",
a10: "调图电报",
},
{
name: "D8594",
startTime: "14:16",
a2: "重庆西",
a: "贵阳北",
a1: "16:37",
a3: "2小时8分",
a4: "347",
a5: "短编",
a6: "日常",
a7: "长期",
a8: "是",
a9: "",
a10: "调图电报",
},
{
name: "D8597",
startTime: "11:16",
a2: "重庆西",
a: "贵阳北",
a1: "14:37",
a3: "2小时8分",
a4: "347",
a5: "短编",
a6: "日常",
a7: "长期",
a8: "是",
a9: "",
a10: "调图电报",
},
{
name: "G8642",
startTime: "17:26",
a2: "贵阳北",
a: "成都东",
a1: "21:39",
a3: "4小时13分",
a4: "649",
a5: "重联",
a6: "日常",
a7: "长期",
a8: "否",
a9: "",
a10: "调图电报",
},
{
name: "C6695",
startTime: "09:36",
a2: "广元",
a: "成都东",
a1: "11:39",
a3: "2小时8分",
a4: "347",
a5: "重联",
a6: "日常",
a7: "长期",
a8: "是",
a9: "",
a10: "调图电报",
},
],
};
},
......@@ -403,5 +497,9 @@ export default {
.ivu-form-item-content {
float: left;
}
.page-v {
text-align: right;
margin-top: 10px;
}
}
</style>
\ No newline at end of file
......@@ -49,6 +49,9 @@
</Row>
</Form>
<Table border :columns="columns" :data="data"></Table>
<div class="page-v">
<Page :total="4" size="small" show-elevator show-sizer show-total :page-size="20" />
</div>
<Modal v-model="modal" :title="title" @on-ok="ok" @on-cancel="cancel" width="600">
<Form :model="formItem" :label-width="100">
<FormItem label="车次">
......@@ -344,6 +347,102 @@ export default {
a8: "否",
a9: "临时",
},
{
name: "G8671",
name1: "CR200J1002+CR200J1003",
startTime: "13:26",
a2: "贵阳北",
a: "成都东",
a1: "20:39",
a3: "6小时13分",
a4: "649",
a5: "重联",
a6: "日常",
a7: "长期",
a8: "否",
a9: "",
a10: "调图电报",
},
{
name: "D8593",
name1: "CR200J3006",
startTime: "14:40",
a2: "贵阳北",
a: "重庆西",
a1: "16:53",
a3: "2小时13分",
a4: "347",
a5: "短编",
a6: "日常",
a7: "长期",
a8: "是",
a9: "",
a10: "调图电报",
},
{
name: "D8594",
name1: "CR200J3009",
startTime: "14:16",
a2: "重庆西",
a: "贵阳北",
a1: "16:37",
a3: "2小时8分",
a4: "347",
a5: "短编",
a6: "日常",
a7: "长期",
a8: "是",
a9: "",
a10: "调图电报",
},
{
name: "D8597",
name1: "CR200J3007",
startTime: "11:16",
a2: "重庆西",
a: "贵阳北",
a1: "14:37",
a3: "2小时8分",
a4: "347",
a5: "短编",
a6: "日常",
a7: "长期",
a8: "是",
a9: "",
a10: "调图电报",
},
{
name: "G8642",
name1: "CR200J1004+CR200J1005",
startTime: "17:26",
a2: "贵阳北",
a: "成都东",
a1: "21:39",
a3: "4小时13分",
a4: "649",
a5: "重联",
a6: "日常",
a7: "长期",
a8: "否",
a9: "",
a10: "调图电报",
},
{
name: "C6695",
name1: "CR200J3004",
startTime: "09:36",
a2: "广元",
a: "成都东",
a1: "11:39",
a3: "2小时8分",
a4: "347",
a5: "重联",
a6: "日常",
a7: "长期",
a8: "是",
a9: "",
a10: "调图电报",
},
],
};
},
......
......@@ -54,14 +54,16 @@
</Row>
</Form>
<Table border :columns="columns" :data="data"></Table>
<div class="page-v">
<Page :total="4" size="small" show-elevator show-sizer show-total :page-size="20" />
</div>
<Modal v-model="modal" :title="title" @on-ok="ok" @on-cancel="cancel" width="600">
<Form :model="formItem" :label-width="100">
<FormItem label="车次">
<Input v-model="formItem.input" placeholder="请输入车次"></Input>
</FormItem>
<FormItem prop="company" label="始发站">
<Select v-model="formItem.company" >
<Select v-model="formItem.company">
<Option value="beijing">贵阳北</Option>
<Option value="shanghai">重庆西</Option>
<Option value="shenzhen">广元</Option>
......@@ -314,6 +316,84 @@ export default {
a7: "成都机务段",
a8: "无",
},
{
name: "G8671",
startTime: "13:26",
a2: "贵阳北",
a: "成都东",
a1: "20:39",
a3: "6小时13分",
a4: "649",
a5: "重联",
a6: "日常",
a7: "成都机务段",
a8: "无",
},
{
name: "D8593",
startTime: "14:40",
a2: "贵阳北",
a: "重庆西",
a1: "16:39",
a3: "2小时13分",
a4: "347",
a5: "短编",
a6: "日常",
a7: "成都机务段",
a8: "有",
},
{
name: "D8594",
startTime: "14:40",
a2: "重庆西",
a: "贵阳北",
a1: "14:16",
a3: "2小时9分",
a4: "347",
a5: "短编",
a6: "日常",
a7: "成都机务段",
a8: "有",
},
{
name: "D8597",
startTime: "11:16",
a2: "重庆西",
a: "贵阳北",
a1: "14:37",
a3: "2小时8分",
a4: "347",
a5: "短编",
a6: "日常",
a7: "成都机务段",
a8: "有",
},
{
name: "G8642",
startTime: "17:16",
a2: "贵阳北",
a: "成都东",
a1: "21:37",
a3: "4小时13分",
a4: "649",
a5: "重联",
a6: "日常",
a7: "贵阳客运段、贵阳车辆段",
a8: "有",
},
{
name: "C6695",
startTime: "11:16",
a2: "广元",
a: "成都东",
a1: "14:37",
a3: "2小时13分",
a4: "649",
a5: "长编",
a6: "日常",
a7: "贵阳客运段、贵阳车辆段",
a8: "有",
},
],
};
},
......
......@@ -40,6 +40,9 @@
</Row>
</Form>
<Table border :columns="columns" :data="data"></Table>
<div class="page-v">
<Page :total="6" size="small" show-elevator show-sizer show-total :page-size="20" />
</div>
<Modal v-model="modal" :title="title" @on-ok="ok" @on-cancel="cancel" width="600">
<Form :model="formItem" :label-width="150">
<FormItem label="供应商名称">
......@@ -297,7 +300,7 @@ export default {
edit(row) {
this.title = "编辑";
this.modal = true;
this.formItem=row
this.formItem = row;
},
remover() {
this.$Modal.confirm({
......@@ -327,5 +330,9 @@ export default {
.ivu-form-item-content {
float: left;
}
.page-v {
text-align: right;
margin-top: 10px;
}
}
</style>
\ No newline at end of file
......@@ -10,6 +10,9 @@
</Row>
<Table border :columns="columns" :data="projectList"></Table>
<div class="page-v">
<Page :total="4" size="small" show-elevator show-sizer show-total :page-size="20" />
</div>
<Modal v-model="modal" :title="title" @on-ok="ok" @on-cancel="cancel" width="600">
<Form :model="formItem" :label-width="100">
<FormItem label="车辆编号">
......@@ -251,5 +254,9 @@ export default {
.ivu-form-item-content {
float: left;
}
.page-v {
text-align: right;
margin-top: 10px;
}
}
</style>
\ No newline at end of file
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