Commit 08a84d95 authored by 黄奎's avatar 黄奎

11

parent df20c2c7
...@@ -503,7 +503,7 @@ ...@@ -503,7 +503,7 @@
this.tableData = res.data.data.pageData; this.tableData = res.data.data.pageData;
this.msg.total = res.data.data.count; this.msg.total = res.data.data.count;
this.tableData.forEach(x => { this.tableData.forEach(x => {
if (x.FoodTag != "") { if (x.FoodTag && x.FoodTag != "") {
x.FoodTagArr = x.FoodTag.split(",").slice(0, 3); x.FoodTagArr = x.FoodTag.split(",").slice(0, 3);
} }
}); });
...@@ -608,18 +608,18 @@ ...@@ -608,18 +608,18 @@
this.msg = this.$store.state.pageCondition; this.msg = this.$store.state.pageCondition;
} }
} }
if(this.$route.query.StatisticsSTime){ if (this.$route.query.StatisticsSTime) {
this.msg.StatisticsSTime=this.$route.query.StatisticsSTime this.msg.StatisticsSTime = this.$route.query.StatisticsSTime
} }
if(this.$route.query.StatisticsETime){ if (this.$route.query.StatisticsETime) {
this.msg.StatisticsETime=this.$route.query.StatisticsETime this.msg.StatisticsETime = this.$route.query.StatisticsETime
} }
if(this.$route.query.type){ if (this.$route.query.type) {
if(this.$route.query.type==1){ if (this.$route.query.type == 1) {
this.msg.CreateBy =this.$route.query.EmployeeId; this.msg.CreateBy = this.$route.query.EmployeeId;
} }
if(this.$route.query.type==2){ if (this.$route.query.type == 2) {
this.msg.UpdateBy =this.$route.query.EmployeeId; this.msg.UpdateBy = this.$route.query.EmployeeId;
} }
} }
var id = this.$route.query.ID; var id = this.$route.query.ID;
......
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