ソースを参照

日报报告名称修改测试报告

qinzhipeng_v 5 年 前
コミット
7a854db284

+ 2 - 2
src/router/index.js

@@ -212,11 +212,11 @@ export const constantRoutes = [{
     },
     {
       path: 'DailyNewsAdded',
-      name: '新增日报报告',
+      name: '新增测试日报',
       hidden: true,
       component: () =>
         import('@/views/Platform/presentation/DailyNewsAdded'),
-      meta: { title: '新增日报报告' }
+      meta: { title: '新增测试日报' }
     },
     {
       path: 'presentationReport',

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

@@ -1,10 +1,10 @@
 <template>
-  <!-- 新增日报报告 -->
+  <!-- 新增测试日报 -->
   <div class="eleStyle">
     <el-form ref="fromCreateData" :inline="true" :model="fromCreateData" :rules="serviceDataRules" style="margin:0% 2%;">
       <div style="display: flex;white-space: nowrap;">
         <el-form-item label="标题" style="flex: 1;" prop="reportName">
-          <el-input v-model="fromCreateData.reportName" size="small" style="width:15vw;" placeholder="报告标题(xxx项目日报报告)" />
+          <el-input v-model="fromCreateData.reportName" size="small" style="width:15vw;" placeholder="报告标题(xxx项目测试日报)" />
         </el-form-item>
         <el-form-item label="by" prop="ownner" style="flex: 1; text-align:right;">
           <el-input v-model="fromCreateData.ownner" size="small" placeholder="who" />

+ 1 - 1
src/views/Platform/presentation/Templates/ClientReport.vue

@@ -241,7 +241,7 @@ export default {
             const sendImgData = imgData.substring(imgData.indexOf(',') + 1)
             const postData = { 'reportId': ele.id, 'imgStr': sendImgData, 'url': window.location.href, 'emailUser': e.name, 'copyTo': e.names }
             projectTestReportSendmail(postData).then(res => {
-              res.code === 200 ? this.$message.success('发送测试报成功') : this.$message.error('发送测试报失败,请联系管理员!')
+              res.code === 200 ? this.$message.success('发送测试报成功') : this.$message.error('发送测试报失败,请联系管理员!')
               this.handleClose()
               document.querySelector('body').removeChild(copyDom)
               this.send = false

+ 2 - 2
src/views/Platform/presentation/Templates/DailyReport.vue

@@ -2,7 +2,7 @@
   <el-dialog :visible.sync="dialogDaliy" width="80vw" :close-on-click-modal="false" :destroy-on-close="true" :before-close="handleClose">
     <div style="display: flex; align-items: center; justify-content: flex-start;  font-size: 18px; font-weight: 450;">
       <div class="titIcon" />
-      <span style="margin-left: 1%; width: 100px;">测试报</span>
+      <span style="margin-left: 1%; width: 100px;">测试报</span>
     </div>
     <div style="margin: 2% 0%; font-size: 16pt; color: #333B4A;">
       <el-steps :active="active" align-center finish-status="success">
@@ -185,7 +185,7 @@ export default {
             url = url.toString().substring(url.indexOf(',') + 1)
             var postData = { 'reportId': ele.id, 'imgStr': url, 'url': window.location.href, 'emailUser': e.name, 'copyTo': e.names }
             dailyReportSendmail(postData).then(res => {
-              res.code === 200 ? this.$message({ type: 'success', message: '发送测试报成功' }) : this.$message({ type: 'error', message: '发送测试报失败,请联系管理员!' })
+              res.code === 200 ? this.$message({ type: 'success', message: '发送测试报成功' }) : this.$message({ type: 'error', message: '发送测试报失败,请联系管理员!' })
               this.send = false
               this.handleClose()
               // document.querySelector('body').removeChild(copyDom)

+ 1 - 1
src/views/Platform/presentation/Templates/TestReport.vue

@@ -253,7 +253,7 @@ export default {
             const sendImgData = imgData.substring(imgData.indexOf(',') + 1)
             const postData = { 'reportId': ele.id, 'imgStr': sendImgData, 'url': window.location.href, 'emailUser': e.name, 'copyTo': e.names }
             launchTestSendmail(postData).then(res => {
-              res.code === 200 ? this.$message.success('发送测试报成功') : this.$message.error('发送测试报失败,请联系管理员!')
+              res.code === 200 ? this.$message.success('发送测试报成功') : this.$message.error('发送测试报失败,请联系管理员!')
               this.handleClose1()
               this.send = false
               document.querySelector('body').removeChild(copyDom)

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

@@ -2,10 +2,10 @@
   <div class="eleStyle">
     <div class="header_sty">
       <el-tabs v-model="activeName" style="margin: 2%; min-height: 84vh; font-size: 14px;" @tab-click="handleClick">
-        <el-tab-pane label="日报报告" name="first">
-          <div style="margin: 30px 0;">测试报
+        <el-tab-pane label="测试日报" name="first">
+          <div style="margin: 30px 0;">测试
             <el-input v-model="state" size="medium" filterable placeholder="报告名称搜索" style="width:20%;margin: 0 10px;" @change="getList(state)" />
-            <el-button type="primary" size="medium" @click="getQueryData(1), centerDialogVisible = true">新建日报报告</el-button>
+            <el-button type="primary" size="medium" @click="getQueryData(1), centerDialogVisible = true">新建测试日报</el-button>
           </div>
           <template>
             <el-table :data="tableData" size="mini" :header-cell-style="{ background: '#F2F3F6' }" fit border style="width: 100%">

+ 2 - 2
src/views/projectManage/taskList/components/reportList.vue

@@ -73,7 +73,7 @@
     <section class="main-section">
       <div class="el-main-title">
         <div class="title-left-icon" />
-        <div class="title-left-name">日报报告</div>
+        <div class="title-left-name">测试日报</div>
       </div>
       <div class="detail-info">
         <el-table :data="dailyData" size="small" :header-cell-style="{ color: 'rgb(74, 74, 74)', fontSize: '14px', fontWeight: '500', textAlign: 'center' }" show-overflow-tooltip="true">
@@ -201,7 +201,7 @@ export default {
         total: 0
       },
       dialogTest: false, // 新建提测报告
-      dialogDaily: false, // 新建日报报告
+      dialogDaily: false, // 新建测试日报
       dialogClient: false // 新建准出报告
     }
   },

+ 2 - 2
src/views/projectManage/taskList/taskViewDetail.vue

@@ -48,7 +48,7 @@
             <el-dropdown-menu slot="dropdown">
               <el-dropdown-item @click.native="created_bug()">新建缺陷</el-dropdown-item>
               <el-dropdown-item @click.native="createReport(1, form_query)">新建提测报告</el-dropdown-item>
-              <el-dropdown-item @click.native="createReport(2, form_query)">新建测试报</el-dropdown-item>
+              <el-dropdown-item @click.native="createReport(2, form_query)">新建测试报</el-dropdown-item>
               <el-dropdown-item @click.native="createReport(3, form_query)">新建准出报告</el-dropdown-item>
             </el-dropdown-menu>
           </el-dropdown>
@@ -290,7 +290,7 @@ export default {
       deleteVisible: false, // 删除任务弹框
       bug_open: false, // 新建缺陷弹框
       dialogTest: false, // 新建提测报告
-      dialogDaily: false, // 新建日报报告
+      dialogDaily: false, // 新建测试日报
       dialogClient: false, // 新建准出报告
       iterationList: [], // 所属迭代列表
       commentContent: null, // 评论内容