|
|
@@ -624,6 +624,7 @@ export default {
|
|
|
if (flag == 2) {
|
|
|
//批量删除
|
|
|
this.delBtnState = false;
|
|
|
+ this.downBtnState = true;
|
|
|
}
|
|
|
|
|
|
if (flag == 3) {
|
|
|
@@ -657,7 +658,8 @@ export default {
|
|
|
this.$router.push(`/index/messageWarn/${this.id}`);
|
|
|
}
|
|
|
if (flag == 7) {
|
|
|
- this.downBtnState = !this.downBtnState;
|
|
|
+ this.delBtnState = true;
|
|
|
+ this.downBtnState = false;
|
|
|
}
|
|
|
if (flag == 8) {
|
|
|
//批量下载图片
|
|
|
@@ -813,13 +815,13 @@ export default {
|
|
|
},
|
|
|
downPhoto(arr) {
|
|
|
let uid = this.$store.state.user_id;
|
|
|
- let image_id = arr.join(",");
|
|
|
+ let id_list = JSON.stringify(arr);
|
|
|
this.$axios({
|
|
|
method: "post",
|
|
|
- url: "/api/api_gateway?method=forecast.worm_lamp.get_task_id",
|
|
|
+ url: "/api/download",
|
|
|
data: this.qs.stringify({
|
|
|
- image_id,
|
|
|
- myuid: uid,
|
|
|
+ id_list,
|
|
|
+ device_id: this.id,
|
|
|
}),
|
|
|
}).then((res) => {
|
|
|
if (res.data.message == "") {
|