|
@@ -1,5 +1,5 @@
|
|
|
<template>
|
|
|
- <!-- 日报报告,新增报告 -->
|
|
|
+ <!-- 新增日报报告 -->
|
|
|
<div class="eleStyle">
|
|
|
<el-form ref="fromCreateData" :inline="true" :model="fromCreateData" :rules="serviceDataRules" style="margin:0% 12%;">
|
|
|
<div style="display: flex;white-space: nowrap;">
|
|
@@ -10,12 +10,9 @@
|
|
|
<el-input v-model="fromCreateData.ownner" size="small" placeholder="who" />
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
-
|
|
|
<!-- 富文本 -->
|
|
|
<div id="editor" name="editor" style="width:50px;" />
|
|
|
-
|
|
|
<div class="backStyle">三. bug情况</div>
|
|
|
-
|
|
|
<div style="border: 1px,solid #ccc;">
|
|
|
<div style="color: #606266">1、bug统计</div>
|
|
|
<div style="display:flex;">
|
|
@@ -53,9 +50,6 @@ export default {
|
|
|
reportName: [{ required: true, message: '报告标题不能为空', trigger: 'change' }],
|
|
|
ownner: [{ required: true, message: 'by不能为空', trigger: 'change' }]
|
|
|
},
|
|
|
- showbut1: false,
|
|
|
- showbut: '',
|
|
|
- bugshow: '',
|
|
|
fromCreateData: {
|
|
|
id: '',
|
|
|
bizId: '',
|
|
@@ -69,20 +63,13 @@ export default {
|
|
|
bugExplain: '', // bug说明
|
|
|
problemRisks: ''// 进度和风险
|
|
|
},
|
|
|
- TestProgress: '',
|
|
|
- projectProgress: '',
|
|
|
userData: '',
|
|
|
objData: '',
|
|
|
dateList: [],
|
|
|
numList: [],
|
|
|
bugName: [],
|
|
|
statusMap: [],
|
|
|
- statusList: [],
|
|
|
- statusMap1: [],
|
|
|
- pro: '',
|
|
|
- idCode: '', // 项目 任务的id
|
|
|
- bizIdCode: '', // 业务线
|
|
|
- taskId: ''
|
|
|
+ statusList: []
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
@@ -101,14 +88,12 @@ export default {
|
|
|
'showXPathInStatusbar': false
|
|
|
})
|
|
|
this.editor.value = '<br><h2>一. 进度和风险</h2><br><p>1,项目整体进度</p><br><br><p>2,项目风险与问题</p><br><table width="100%"><colgroup><col width="8%"><col width="8%"><col width="8%"><col width="8%"></colgroup><thead><tr><th>风险等级</th><th>风险项</th><th>当前状态</th><th>跟进人</th></tr></thead><tbody><tr><td><br></td><td><br></td><td><br></td><td><br></td></tr><tr><td><br></td><td><br></td><td><br></td><td><br></td></tr></tbody></table><br><h2>二. 测试情况</h2><br><p>1,测试进展</p><br><table width="100%"><colgroup><col width="8%"><col width="8%"><col width="8%"><col width="8%"><col width="8%"><col width="8%"><col width="8%"></colgroup><thead><tr><th>标题1</th><th>标题2</th><th>标题3</th><th>标题4</th><th>标题5</th><th>标题6</th><th>标题7</th></tr></thead><tbody><tr><td><br></td><td><br></td><td><br></td><td><br></td><td><br></td><td><br></td><td><br></td></tr><tr><td><br></td><td><br></td><td><br></td><td><br></td><td><br></td><td><br></td><td><br></td></tr></tbody></table><br><p>2,测试说明</p><br><br>'
|
|
|
- this.getRouterData()
|
|
|
},
|
|
|
methods: {
|
|
|
getRouterData() {
|
|
|
var url = location.href // 获取url中"?"符后的字串
|
|
|
var arr = url.split('=')
|
|
|
this.fromCreateData = this.message
|
|
|
- console.log(this.message, 'xxxxxx')
|
|
|
bugDailyList({ taskIds: [Number(arr[1])] }).then(res => {
|
|
|
this.dateList = res.data.dateList
|
|
|
this.statusMap = res.data.statusMap
|
|
@@ -202,56 +187,4 @@ export default {
|
|
|
border-radius: 4px;
|
|
|
margin: 1% 0;
|
|
|
}
|
|
|
- .btn {
|
|
|
- margin: 0 90px 0 0;
|
|
|
- border: none;
|
|
|
- }
|
|
|
- .toolbar {
|
|
|
- border: 1px solid #DEE2E7;
|
|
|
- }
|
|
|
- .text {
|
|
|
- border: 1px solid #DEE2E7;
|
|
|
- height: auto;
|
|
|
- font-size: 15px;
|
|
|
- color: #606266
|
|
|
- }
|
|
|
- .time_line_box{
|
|
|
- position: relative;
|
|
|
- height: auto;
|
|
|
- }
|
|
|
- .time_line{
|
|
|
- position: absolute;
|
|
|
- height: 2px;
|
|
|
- background: #ccc;
|
|
|
- }
|
|
|
- .order_item{
|
|
|
- position: absolute;
|
|
|
- bottom: 0;
|
|
|
- z-index: 2;
|
|
|
- text-align: center;
|
|
|
- font-size: 13px;
|
|
|
- padding-bottom: 35px;
|
|
|
- color: #409EFF;
|
|
|
- }
|
|
|
- .order_item:after{
|
|
|
- content: '';
|
|
|
- position: absolute;
|
|
|
- left: 50%;
|
|
|
- right: auto;
|
|
|
- transform: translateX(-50%);
|
|
|
- bottom: -10px;
|
|
|
- height: 20px;
|
|
|
- width: 30px;
|
|
|
- border-radius: 50%;
|
|
|
- border: 2px solid #ccc;
|
|
|
- background-color: #ccc;
|
|
|
- }
|
|
|
- .filling_line{
|
|
|
- position: absolute;
|
|
|
- z-index: 1;
|
|
|
- left: 0;
|
|
|
- top: 0;
|
|
|
- height: 100%;
|
|
|
- width: 100%;
|
|
|
- }
|
|
|
</style>
|