Commit 37860df7 authored by Wallen姚文辉's avatar Wallen姚文辉

一些小优化

parent 765dc190
<!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="icon" href="/favicon.ico"><title>yinhe_test</title><script defer="defer" src="/js/chunk-vendors.822ae491.js"></script><script defer="defer" src="/js/app.5543c1cf.js"></script><link href="/css/chunk-vendors.187ae3e6.css" rel="stylesheet"><link href="/css/app.6955fc17.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="icon" href="/favicon.ico"><title>yinhe_test</title><script defer="defer" src="/js/chunk-vendors.822ae491.js"></script><script defer="defer" src="/js/app.fa40e8e2.js"></script><link href="/css/chunk-vendors.187ae3e6.css" rel="stylesheet"><link href="/css/app.6955fc17.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.
......@@ -45,8 +45,8 @@
</div>
<template #footer>
<div style="text-align: center;">
<Button type="success" @click="aduit(choiceportid, 1)">通过</Button>
<Button type="error" @click="aduit(choiceportid, 2)">驳回</Button>
<Button type="success" :loading="loading" @click="aduit(choiceportid, 1)">通过</Button>
<Button type="error" :loading="loading" @click="aduit(choiceportid, 2)">驳回</Button>
</div>
</template>
</Modal>
......@@ -82,6 +82,7 @@ export default {
audit_remark: null
},
choiceportid: null,
loading: false,
remark: null,
totals: 0,
alluser: [],
......@@ -151,7 +152,8 @@ export default {
this.$request("post", "/tool/testport/setauditor", { ids: this.choiceaduitor }, this, () => { this.aduitorShow = false })
},
aduit(id, status) {
this.$request("post", "/tool/testport/audit", { id, audit_status: status, audit_remark: this.remark }, this, () => { this.getreport(); this.choiceportid = null; this.aduitShow = false; this.remark = null })
this.loading = true
this.$request("post", "/tool/testport/audit", { id, audit_status: status, audit_remark: this.remark }, this, () => { this.getreport(); this.loading = false; this.choiceportid = null; this.aduitShow = false; this.remark = null })
},
getcolor(status) {
return "color:" + (status == 0 ? "#5cadff" : status == 1 ? "#19be6b" : "#ff9900")
......
......@@ -349,6 +349,7 @@
<v-chart :option="bug_user_column" style="height: 300px"></v-chart></Col>
</Row>
</div>
<Spin size="large" fix :show="spinShow"></Spin>
</Card>
<Space wrap>
<Modal title="选择收件人" v-model="modlShow" class-name="vertical-center-modal" @on-cancel="closeShow()">
......@@ -408,6 +409,7 @@ export default {
auditshow: false,
reporttype: null,
self: null,
spinShow: false,
sendto: [],
sendcc: [],
defaultcc: [],
......@@ -831,6 +833,7 @@ export default {
info = '<span>' + this.testResult + '</span>'
}
document.getElementById("jielun").innerHTML = info
this.spinShow = false
},
searchCaseBykey(key) {
const index = this.mycase.findIndex(ele => { return ele.key == key })
......@@ -878,6 +881,7 @@ export default {
getiterations(project) {
this.$request('get', 'tool/testport/iteration/' + project, null, this, (data) => { this.iterations = data.data })
}, getReportInfo() {
this.spinShow = true
if (!this.ReC.iteration) return
if (this.edit) this.edit = !this.edit
this.$request('get', 'tool/testport/reportinfo', this.ReC, this, (data) => {
......
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