|
@@ -7,11 +7,11 @@
|
|
|
<div style="display: flex; font-size: 19px; white-space: nowrap; font-weight: bold;">
|
|
|
<span style="flex:1;">{{ fromCreat.reportName }}</span>
|
|
|
<span style="flex:1;">by : {{ fromCreat.ownner }}
|
|
|
- <el-button v-show="btn" type="primary" size="mini" style="margin:0 2% 0 15%;" @click="promptEmail(fromCreat)">发送报告</el-button>
|
|
|
+ <el-button v-show="btn" type="primary" size="mini" style="margin:0 2% 0 15%;" @click="dialogTableVisible = true, setdia">发送报告</el-button>
|
|
|
<el-button v-show="btn" size="mini" @click="download()">下载测试报告</el-button>
|
|
|
</span>
|
|
|
</div>
|
|
|
- <div id="Gambol" style="font-size:15px;color:#606266;" class="rich" v-html="projectProgress" />
|
|
|
+ <div style="font-size:15px;color:#606266;" class="rich" v-html="projectProgress" />
|
|
|
<!-- <div class="titleStyle">一. 进度和风险</div> -->
|
|
|
<!-- <div class="titleStyle">二. 测试情况</div> -->
|
|
|
<!-- <div style="font-size:15px;color:#606266;" class="rich" v-html="TestProgress" /> -->
|
|
@@ -32,6 +32,38 @@
|
|
|
<el-button v-show="btn" style="float:right; margin:2% 50%;" @click="$router.go(-1)"> 返 回 </el-button>
|
|
|
</el-form>
|
|
|
</div>
|
|
|
+ <el-dialog title="收货地址" :visible.sync="dialogTableVisible">
|
|
|
+ <div id="Gambol" class="eleStyle">
|
|
|
+ <div style="height:100%;width:94%; background:#ffffff; margin: 3% 3% 8% 3%; border-radius: 8px; overflow: hidden;">
|
|
|
+ <el-form :model="fromCreat" style="margin:2% 9%">
|
|
|
+ <div>
|
|
|
+ <div style="display: flex; font-size: 19px; white-space: nowrap; font-weight: bold;">
|
|
|
+ <span style="flex:1;">{{ fromCreat.reportName }}</span>
|
|
|
+ <span style="flex:1;">by : {{ fromCreat.ownner }}
|
|
|
+ <el-button v-show="btn" type="primary" size="mini" style="margin:0 2% 0 15%;" @click="promptEmail(fromCreat)">发送报告</el-button>
|
|
|
+ <el-button v-show="btn" size="mini" @click="download()">下载测试报告</el-button>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ <div style="font-size:15px;color:#606266;" class="rich" v-html="projectProgress" />
|
|
|
+
|
|
|
+ <div class="titleStyle">三. bug情况</div>
|
|
|
+
|
|
|
+ <div style="border: 1px,solid #ccc;font-size:14px;color:#606266;">
|
|
|
+ <div style="margin: 1%;">1、bug统计</div>
|
|
|
+ <div style="display:flex;">
|
|
|
+ <div id="lineShow" style="flex:2; width: 800px;height:400px;" />
|
|
|
+ <div style="flex:1; width: 400px;height:400px;" />
|
|
|
+ <div id="barShow" style="flex:2; width: 800px;height:400px;" />
|
|
|
+ </div>
|
|
|
+ <div style="margin: 1%;">2、bug说明</div>
|
|
|
+ {{ bugshow }}
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <el-button v-show="btn" style="float:right; margin:2% 50%;" @click="$router.go(-1)"> 返 回 </el-button>
|
|
|
+ </el-form>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </el-dialog>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -47,6 +79,7 @@ export default {
|
|
|
return {
|
|
|
userInformation: localStorage.getItem('username'),
|
|
|
userNames: localStorage.getItem('realname'),
|
|
|
+ dialogTableVisible: false,
|
|
|
bugshow: '',
|
|
|
postData: {},
|
|
|
fromCreat: {},
|
|
@@ -69,6 +102,9 @@ export default {
|
|
|
document.body.scrollTop = 0
|
|
|
},
|
|
|
methods: {
|
|
|
+ setdia() {
|
|
|
+ this.promptEmail(this.fromCreat)
|
|
|
+ },
|
|
|
idGet() {
|
|
|
dailyReport({ id: this.$route.query.id }).then((res) => {
|
|
|
this.fromCreat = res.data
|