Browse Source

Merge branch 'develop' of http://39.106.31.193:9211/mengff/jihe-hs into develop

wangqin
qingzhengli 8 months ago
parent
commit
34ff819ea4
  1. 12
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/data.js
  2. 8
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue

12
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/data.js

@ -80,14 +80,14 @@ export const gjSearchFormList = [
key: "5",
label: "扫码报警",
},
{
key: "6",
label: "非机预警",
},
// {
// key: "7",
// label: "气象监测器",
// key: "6",
// label: "非机预警",
// },
{
key: "7",
label: "气象监测器",
},
],
},
},

8
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/event/index.vue

@ -238,7 +238,13 @@ export default {
background: "#00000052",
text: "文件正在下载...",
});
request.post(url, {}, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, responseType: 'blob' })
// request.post(url, {}, { headers: { 'Content-Type': 'application/x-www-form-urlencoded' }, responseType: 'blob' })
request({
url: url,//
method: "post",
data: { ...this.searchData, warningState: 1 },
responseType: 'blob'
})
.then((res) => {
console.log(res);
const url = window.URL.createObjectURL(new Blob([res]));

Loading…
Cancel
Save