Commit 75ab0294 authored by Wallen姚文辉's avatar Wallen姚文辉

添加严重级别bug提醒

parent acc65585
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="stylesheet" href="/dist/plugins/css/pluginsCss.css"/><link rel="stylesheet" href="/dist/plugins/plugins.css"/><link rel="stylesheet" href="/dist/css/luckysheet.css"/><link rel="stylesheet" href="/dist/assets/iconfont/iconfont.css"/><script src="/dist/plugins/js/plugin.js"></script><script src="/dist/luckysheet.umd.js"></script><title>yinhe_test</title><script defer="defer" src="/js/chunk-vendors.9926850b.js"></script><script defer="defer" src="/js/app.0a36d46b.js"></script><link href="/css/chunk-vendors.187ae3e6.css" rel="stylesheet"><link href="/css/app.df7fa4e2.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but yinhe_test doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
\ No newline at end of file
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="stylesheet" href="/dist/plugins/css/pluginsCss.css"/><link rel="stylesheet" href="/dist/plugins/plugins.css"/><link rel="stylesheet" href="/dist/css/luckysheet.css"/><link rel="stylesheet" href="/dist/assets/iconfont/iconfont.css"/><script src="/dist/plugins/js/plugin.js"></script><script src="/dist/luckysheet.umd.js"></script><title>yinhe_test</title><script defer="defer" src="/js/chunk-vendors.9926850b.js"></script><script defer="defer" src="/js/app.e2b4a2ec.js"></script><link href="/css/chunk-vendors.187ae3e6.css" rel="stylesheet"><link href="/css/app.df7fa4e2.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but yinhe_test doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -673,7 +673,7 @@ export default {
slot: 'summary'
},
{
title: '提出时间',
title: '提出',
slot: 'create'
},
{
......@@ -910,6 +910,18 @@ export default {
this.show()
}, 50);
},
backdoor(){
console.info(this.bug_s_column.series[0].data)
const a=this.bug_s_column.series[0].data.filter(item=>{if (item.name=='严重') return item})
console.info(a)
if (a){
const sub= '测试报告存在严重bug预警'
const info = '报告对象:'+this.info.project + "-" + this.info.sprint + "测试报告\n严重bug数:"+a[0].value
const target=['nanci.cxn@galaxyoversea.com','eifel.dpf@galaxyoversea.com','betty.zww@galaxyoversea.com']
this.$request("post", "/tool/testport/sendport", { to: target, subject: sub,cc:[],contents: info })
}
},
async send() {
if (!this.report) return
const html = document.getElementById("reportBox").innerHTML
......@@ -941,7 +953,7 @@ export default {
const result = c + m
const sub = this.info.project + "-" + this.info.sprint + "测试报告"
this.closeShow()
console.info(result)
this.backdoor()
this.$request("post", "/tool/testport/sendport", { to: this.sendto, cc: this.sendcc, subject: sub, contents: result }, this, () => { this.sendto = []; this.stagingreport(1, () => { this.$router.push('reportlsit') }) })
});
},
......
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