Commit 25df6b63 authored by 黄奎's avatar 黄奎

车配下载修改

parent 79e2137c
......@@ -132,11 +132,16 @@
}
},
methods: {
DownLoadFile(item,) {
DownLoadFile(item) {
let msg = {
TCIDS: this.TCIDS
};
this.GetLocalFile("bus_get_DownLoadBusConfig", msg, "バス手配依頼書" + this.DataObj.TeamNum + ".xls");
this.loading = true;
var fileName = "バス手配依頼書" + this.DataObj.TeamNum + ".xls";
this.GetLocalFile("bus_get_DownLoadBusConfig", msg,fileName,
res => {
this.loading = false;
});
},
GetData() {
this.loading = true;
......@@ -153,7 +158,7 @@
}, err => {})
},
SaveData() {
this.DataObj.TCIDS = this.$route.query.TCID;
this.DataObj.TCIDS = this.TCIDS;
this.apipost('bus_Post_SaveBusDownLoadData', this.DataObj, res => {
if (res.data.resultCode == 1) {
this.Success("操作成功");
......@@ -165,8 +170,10 @@
}
},
mounted() {
this.TCIDS = this.$route.query.TCID;
//this.TCIDS = this.$route.query.TCID;
this.TCIDS = "2126,2405";
this.GetData();
},
}
</script>
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