瀏覽代碼

研发质量

panxiandiao_i 5 年之前
父節點
當前提交
47af6a1483

+ 1 - 1
src/api/projectPage.js

@@ -119,7 +119,7 @@ export function projectGetTypeMap() {
   })
 }
 
-// 人员
+// 人 
 export function teamMembers(data) {
   return request({
     url: mockUrl + '/teamMembers/ListMember',

+ 9 - 0
src/api/qualityCenter.js

@@ -63,3 +63,12 @@ export function getDefectInfo(params) {
     params
   })
 }
+
+// 线上缺陷数据
+export function getHandlerCount(params) {
+  return request({
+    url: qualityUrl + '/api/online-process/data-handler-count',
+    method: 'get',
+    params
+  })
+}

+ 2 - 2
src/views/Platform/presentation/Assumptions.vue

@@ -9,7 +9,7 @@
       <el-table :data="tableData" fit border style="width: 100%">
         <el-table-column label="报告名称" min-width="230" align="center">
           <template slot-scope="scope">
-            <a href="javascript:void(0)" style="color:#20a0ff" @click="toReportView(tableData, scope.row.id)">{{ scope.row.name }}</a>
+            <a href="javascript:void(0)" style="color:#20a0ff" @click="toReportView(tableData, scope.row.id )">{{ scope.row.name }}</a>
           </template>
         </el-table-column>
         <el-table-column label="报告人" min-width="150" align="center">
@@ -30,7 +30,7 @@
         </el-table-column>
       </el-table>
     </template>
-    <el-pagination style="margin-top:30px;" align="center" :current-page="curIndex" :page-sizes="[5, 10, 20]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" />
+    <el-pagination style="margin-top:30px" align="center" :current-page="curIndex" :page-sizes="[5, 10, 20]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" />
     <el-dialog title="提示" :visible.sync="centerDialogVisible" width="30%" center>
       选择任务 :
       <el-select v-model="queryData.state" filterable placeholder="搜索" style="width:80%;" @change="handleSelect($event)">

+ 2 - 2
src/views/Platform/presentation/ResultPage.vue

@@ -9,7 +9,7 @@
       <el-table :data="tableData" fit border style="width: 100%">
         <el-table-column label="报告名称" min-width="150" align="center">
           <template slot-scope="scope">
-            <a href="javascript:void(0)" style="color:#20a0ff" @click="toReportView(tableData, scope.row.id)">{{ scope.row.reportName }}</a>
+            <a href="javascript:void(0)" style="color:#20a0ff" @click="toReportView(tableData, scope.row.id )">{{ scope.row.reportName }}</a>
           </template>
         </el-table-column>
         <el-table-column label="报告人" min-width="150" align="center">
@@ -34,7 +34,7 @@
     </template>
     <el-pagination style="margin-top:30px;" align="center" :current-page="curIndex" :page-sizes="[20, 30, 50]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" />
     <el-dialog title="选择任务" :visible.sync="centerDialogVisible" width="30%" center @close="closeChange">
-      <div style="text-align:text;margin:10px 0;">
+      <div style="text-align:text;margin:10px 0">
         <el-button ref="btn1" size="mini" @click="getQueryData(1)">项目</el-button>
         <el-button ref="btn2" size="mini" @click="getQueryData(2)">任务</el-button>
       </div>

+ 2 - 1
src/views/Platform/presentation/ResultPageyL.vue

@@ -118,7 +118,7 @@
       </div>
 
       <div v-if="oneShow">
-        <div id="resumeId1" style="padding: 3% 6%; color: #333B4A;">
+        <div id="resumeId1" style="padding: 3% 6%; color: #333B4A">
           <div style="display: flex; font-size: 19px;  white-space: nowrap; font-weight: bold;">
             <span style="flex:1;">{{ ClientDatayl.reportName }}</span>
             <span style="flex:1;">by : {{ ClientDatayl.ownner }}
@@ -298,6 +298,7 @@ export default {
         this.editorEight = this.ClientDatayl.safeResultInfo
         this.editorNine = this.ClientDatayl.moniterResultInfo
         this.bugNum = { type: this.ClientDatayl.type, taskId: this.ClientDatayl.taskId, projectId: this.ClientDatayl.projectId }
+
         if (this.ClientDatayl.type === 2) {
           this.towShow = true
           this.oneShow = false

+ 2 - 1
src/views/Platform/presentation/acceptTheReport.vue

@@ -3,7 +3,7 @@
   <div class="eleStyle">
     <div style="height:100%;width:94%; background:#ffffff; margin: 3%; border-radius: 8px; overflow: hidden;">
       <div id="resumeId" style="padding:2% 9%;">
-        <div style="display: flex; font-size: 19px;  white-space: nowrap; font-weight: bold;">
+        <div style="display: flex; font-size: 19px;  white-space: nowrap; font-weight: bold">
           <span style="flex:2;">标题 : {{ fromCreateData.name }}</span>
           <span style="flex:1;">by : {{ fromCreateData.submitter }} </span>
           <span style="flex:1;">
@@ -175,6 +175,7 @@ export default {
           this.oneShow = false
           this.towShow = true
         }
+
         this.name = this.fromCreateData.name
         this.joinTestOne = this.fromCreateData.joinTest
         this.moduleInfoOne = this.fromCreateData.moduleInfo

+ 2 - 2
src/views/Platform/presentation/testPresentation.vue

@@ -9,7 +9,7 @@
       <el-table :data="tableData" fit border style="width: 100%">
         <el-table-column label="报告名称" min-width="280" align="center">
           <template slot-scope="scope">
-            <a href="javascript:void(0)" style="color:#20a0ff" @click="toReportView(scope.row.id)">{{ scope.row.reportName }}</a>
+            <a href="javascript:void(0)" style="color:#20a0ff" @click="toReportView(scope.row.id )">{{ scope.row.reportName }}</a>
           </template>
         </el-table-column>
         <el-table-column label="报告人" min-width="180" align="center">
@@ -29,7 +29,7 @@
         </el-table-column>
       </el-table>
     </template>
-    <el-pagination style="margin-top:30px;" align="center" :current-page="curIndex" :page-sizes="[20, 30, 50]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" />
+    <el-pagination style="margin-top:30px" align="center" :current-page="curIndex" :page-sizes="[20, 30, 50]" :page-size="pageSize" layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handleSizeChange" @current-change="handleCurrentChange" />
     <el-dialog title="选择任务" :visible.sync="centerDialogVisible" width="30%" center @close="closeChange">
       <div style="text-align:text;margin:10px 0;">
         <el-button ref="btn1" size="mini" @click="getQueryData(1)">项目</el-button>

+ 1 - 2
src/views/Platform/presentation/testPresenyL.vue

@@ -59,7 +59,7 @@
             {{ bugshow }}
           </div>
         </div>
-        <el-button style="float:right; margin:2% 50%;" @click="open()"> 返 回 </el-button>
+        <el-button style="float:right; margin:2% 50%" @click="open()"> 返 回 </el-button>
       </el-form>
     </div>
   </div>
@@ -134,7 +134,6 @@ export default {
           for (var ele of this.numList) {
             this.bugName.push(ele.name)
           }
-
           echarts.init(document.getElementById('lineShow')).setOption({
             title: { left: 'center', text: 'bug数量汇总' },
             tooltip: { trigger: 'axis' },

+ 3 - 2
src/views/projectManage/projectList/projectCreate.vue

@@ -147,7 +147,7 @@ export default {
   mounted() {
     if (!this.$route.query.id) {
       const editor = new E('#wangeditor')
-      editor.customConfig.menus = ['bold', 'italic', 'underline', 'link', 'list', 'justify', 'table']
+      editor.customConfig.menus = ['bold', 'italic', 'underline', 'link', 'list', 'justify', 'table', 'foreColor']
       editor.customConfig.onchange = (html) => {
         this.editorContent = html
       }
@@ -177,7 +177,7 @@ export default {
           this.form = res.data
           this.editorContent = res.data.timeInfo
           const editor = new E('#wangeditor')
-          editor.customConfig.menus = ['bold', 'italic', 'underline', 'link', 'list', 'justify', 'table']
+          editor.customConfig.menus = ['bold', 'italic', 'underline', 'link', 'list', 'justify', 'table', 'foreColor']
           editor.customConfig.onchange = (html) => {
             this.editorContent = html
           }
@@ -285,6 +285,7 @@ export default {
 </script>
 
 <style lang="stylus" scoped>
+
   .set-background
     background-color #F2F3F6
     display flex

+ 1 - 0
src/views/projectManage/projectList/projectListIndex.vue

@@ -179,6 +179,7 @@ export default {
 </script>
 
 <style lang="stylus" scoped>
+
   .set-background
     background-color #F2F3F6
     display flex

+ 1 - 0
src/views/projectManage/projectList/projectPreview.vue

@@ -381,6 +381,7 @@ export default {
 </script>
 
 <style lang="stylus" scoped>
+
   .set-background
     background-color #F2F3F6
     display flex

+ 1 - 0
src/views/projectManage/taskList/taskCreate.vue

@@ -309,6 +309,7 @@ export default {
 </script>
 
 <style lang="stylus" scoped>
+
   .set-background
     background-color #F2F3F6
     display flex

+ 1 - 0
src/views/projectManage/taskList/taskListIndex.vue

@@ -187,6 +187,7 @@ export default {
 </script>
 
 <style lang="stylus" scoped>
+
   .set-background
     background-color #F2F3F6
     display flex

+ 1 - 0
src/views/projectManage/taskList/taskPreview.vue

@@ -416,6 +416,7 @@ export default {
 </script>
 
 <style lang="stylus" scoped>
+
   .set-background
     background-color #F2F3F6
     display flex

+ 1 - 0
src/views/projectManage/taskList/taskUpdateCreate.vue

@@ -308,6 +308,7 @@ export default {
 </script>
 
 <style lang="stylus" scoped>
+
   .set-background
     background-color #F2F3F6
     display flex