Commit 15eeed91 authored by Wallen姚文辉's avatar Wallen姚文辉

修复bug

parent 376059d0
<!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.1bba1e9d.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> <!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.151d4392.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 \ 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.
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
</template> </template>
<template #content> <template #content>
<Space> <Space>
<Input v-model="searchinfo.project" placeholder="请输入项目名" style="width: 260px" /> <Input v-model="searchinfo.project" placeholder="请输入项目名" clearable style="width: 260px" />
<Input v-model="searchinfo.story" placeholder="请输入迭代名" style="width: 260px" /> <Input v-model="searchinfo.story" placeholder="请输入迭代名" clearable style="width: 260px" />
<Input v-model="searchinfo.remark" placeholder="请输入备注" style="width: 260px" /> <Input v-model="searchinfo.audit_remark" placeholder="请输入备注" clearable style="width: 260px" />
<Button type="primary" @click="getreport()">搜索</Button> <Button type="primary" @click="getreport()">搜索</Button>
</Space> </Space>
</template> </template>
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
</p> </p>
</template> </template>
<div style="text-align:center"> <div style="text-align:center">
<Input v-model="value2" type="textarea" :rows="4" placeholder="备注" /> <Input v-model="remark" type="textarea" :rows="4" placeholder="备注" />
</div> </div>
<template #footer> <template #footer>
<div style="text-align: center;"> <div style="text-align: center;">
...@@ -79,7 +79,7 @@ export default { ...@@ -79,7 +79,7 @@ export default {
page_num: 1, page_num: 1,
project: null, project: null,
story: null, story: null,
remark: null audit_remark: null
}, },
choiceportid: null, choiceportid: null,
remark: null, remark: null,
...@@ -151,7 +151,7 @@ export default { ...@@ -151,7 +151,7 @@ export default {
this.$request("post", "/tool/testport/setauditor", { ids: this.choiceaduitor }, this, () => { this.aduitorShow = false }) this.$request("post", "/tool/testport/setauditor", { ids: this.choiceaduitor }, this, () => { this.aduitorShow = false })
}, },
aduit(id, status) { aduit(id, status) {
this.$request("post", "/tool/testport/audit", { id, audit_status: status }, this, () => { this.getreport(); this.choiceportid = null; this.aduitShow = false }) 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 })
}, },
getcolor(status) { getcolor(status) {
return "color:" + (status == 0 ? "#c5c8ce" : status == 1 ? "#19be6b" : "#ff9900") return "color:" + (status == 0 ? "#c5c8ce" : status == 1 ? "#19be6b" : "#ff9900")
...@@ -169,7 +169,7 @@ export default { ...@@ -169,7 +169,7 @@ export default {
elements(value) { elements(value) {
if (value.indexOf('6-2') != -1 && this.columns.findIndex(each => { return each.title == '审核' }) == -1) { if (value.indexOf('6-2') != -1 && this.columns.findIndex(each => { return each.title == '审核' }) == -1) {
this.columns.push({ this.columns.push({
title: '审核', title: '操作',
slot: 'audit', slot: 'audit',
align: 'center' align: 'center'
} }
......
...@@ -5,9 +5,9 @@ ...@@ -5,9 +5,9 @@
</template> </template>
<template #content> <template #content>
<Space> <Space>
<Input v-model="searchinfo.project" placeholder="请输入项目名" style="width: 260px" /> <Input v-model="searchinfo.project" placeholder="请输入项目名" clearable style="width: 260px" />
<Input v-model="searchinfo.story" placeholder="请输入迭代名" style="width: 260px" /> <Input v-model="searchinfo.story" placeholder="请输入迭代名" clearable style="width: 260px" />
<Input v-model="searchinfo.remark" placeholder="请输入备注" style="width: 260px" /> <Input v-model="searchinfo.save_remark" placeholder="请输入备注" clearable style="width: 260px" />
<Button type="primary" @click="getreport()">搜索</Button> <Button type="primary" @click="getreport()">搜索</Button>
</Space> </Space>
</template> </template>
...@@ -41,7 +41,7 @@ export default { ...@@ -41,7 +41,7 @@ export default {
page_num: 1, page_num: 1,
project: null, project: null,
story: null, story: null,
remark: null save_remark: null
}, },
totals: 0, totals: 0,
reports: [], reports: [],
......
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