|
|
|
@ -360,13 +360,13 @@ export default {
|
|
|
|
|
allDate: [],
|
|
|
|
|
date: [],
|
|
|
|
|
newDate: [
|
|
|
|
|
this.$moment(this.$moment().subtract(7, "d")).format("MM.DD"),
|
|
|
|
|
this.$moment(this.$moment().subtract(6, "d")).format("MM.DD"),
|
|
|
|
|
this.$moment(this.$moment().subtract(5, "d")).format("MM.DD"),
|
|
|
|
|
this.$moment(this.$moment().subtract(4, "d")).format("MM.DD"),
|
|
|
|
|
this.$moment(this.$moment().subtract(3, "d")).format("MM.DD"),
|
|
|
|
|
this.$moment(this.$moment().subtract(2, "d")).format("MM.DD"),
|
|
|
|
|
this.$moment(this.$moment().subtract(1, "d")).format("MM.DD"),
|
|
|
|
|
this.$moment(this.$moment().subtract(7, "d")).format("M.DD"),
|
|
|
|
|
this.$moment(this.$moment().subtract(6, "d")).format("M.DD"),
|
|
|
|
|
this.$moment(this.$moment().subtract(5, "d")).format("M.DD"),
|
|
|
|
|
this.$moment(this.$moment().subtract(4, "d")).format("M.DD"),
|
|
|
|
|
this.$moment(this.$moment().subtract(3, "d")).format("M.DD"),
|
|
|
|
|
this.$moment(this.$moment().subtract(2, "d")).format("M.DD"),
|
|
|
|
|
this.$moment(this.$moment().subtract(1, "d")).format("M.DD"),
|
|
|
|
|
],
|
|
|
|
|
dtsx: {},
|
|
|
|
|
//========
|
|
|
|
@ -464,7 +464,7 @@ export default {
|
|
|
|
|
// });
|
|
|
|
|
this.allDate.forEach((value) => {
|
|
|
|
|
const index = this.newDate.indexOf(
|
|
|
|
|
this.$moment(value.dateTime).format("MM.DD")
|
|
|
|
|
this.$moment(value.dateTime).format("M.DD")
|
|
|
|
|
);
|
|
|
|
|
if (index !== -1) {
|
|
|
|
|
this.positiveOpinion[index] = value.count1; // 将 count1 赋值给对应的下标
|
|
|
|
|