|
@@ -61,7 +61,6 @@ export default {
|
|
|
created() {},
|
|
|
onShow() {
|
|
|
this.getDate();
|
|
|
- // this.addDate()
|
|
|
},
|
|
|
filters: {
|
|
|
formatDate: function (time) {
|
|
@@ -97,16 +96,12 @@ export default {
|
|
|
},
|
|
|
})
|
|
|
.then((res) => {
|
|
|
- console.log(res);
|
|
|
this.orderList = res.data.category;
|
|
|
- console.log(this.orderList.length)
|
|
|
for (let i = 0; i < this.orderList.length; i++) {
|
|
|
- // this.orderList = res.data.data.category[i]
|
|
|
this.gatTime = this.orderList[i].gatTime;
|
|
|
}
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
- console.log(err);
|
|
|
})
|
|
|
.finally(() => {
|
|
|
setTimeout(() => {
|
|
@@ -116,13 +111,8 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
inSystem(index) {
|
|
|
- console.log(index);
|
|
|
},
|
|
|
click(index) {
|
|
|
- console.log(index);
|
|
|
-
|
|
|
- // this.orderList.splice(index, 1);
|
|
|
-
|
|
|
request({
|
|
|
url: "/appMessage/deleteMessage",
|
|
|
method: "post",
|
|
@@ -137,7 +127,6 @@ export default {
|
|
|
this.getDate();
|
|
|
})
|
|
|
.catch((err) => {
|
|
|
- console.log(err);
|
|
|
})
|
|
|
.finally(() => {
|
|
|
setTimeout(() => {
|
|
@@ -148,8 +137,6 @@ export default {
|
|
|
},
|
|
|
// 如果打开一个的时候,不需要关闭其他,则无需实现本方法
|
|
|
open(index) {
|
|
|
- console.log(index);
|
|
|
- console.log(this.orderList[index].show);
|
|
|
this.orderList[index].show = true;
|
|
|
this.orderList.map((val, idx) => {
|
|
|
if (index != idx) this.orderList[idx].show = false;
|