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

车配下载修改

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