qinzhipeng_v 5 年之前
父节点
当前提交
a87631a99f

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

@@ -164,5 +164,21 @@ export default {
 </script>
 
 <style>
-
+/* 全局dialog上下左右剧中 */
+.el-dialog{
+  display: flex;
+  flex-direction: column;
+  margin:0 !important;
+  position:absolute;
+  top:50%;
+  left:50%;
+  transform:translate(-50%,-50%);
+  /*height:600px;*/
+  max-height:calc(100% - 30px);
+  max-width:calc(100% - 30px);
+}
+.el-dialog .el-dialog__body{
+  flex:1;
+  overflow: auto;
+}
 </style>

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

@@ -1,7 +1,7 @@
 <template>
   <!-- 日报预览 -->
   <div>
-    <el-form :model="fromCreat" style="margin:0% 14% 2%">
+    <el-form :model="fromCreat" style="margin:2% 14">
       <div style="display: flex; white-space: nowrap; font-family:SimSuncss">
         <span style="flex:1;font-weight: bold;font-size: 24px;color: #3a8ee6">{{ fromCreat.reportName }}</span>
         <span style="flex:2;margin: 0.5% 0 0 20px;font-size: 17px;">by {{ fromCreat.ownner }}</span>

+ 5 - 7
src/views/projectManage/taskList/taskViewDetails.vue

@@ -346,7 +346,7 @@
                 <el-pagination
                   background
                   :current-page="currentPage"
-                  :page-sizes="[15]"
+                  :page-sizes="[15, 20, 25, 30]"
                   :page-size="15"
                   layout="total, prev, pager, next, jumper"
                   :total="total"
@@ -733,7 +733,6 @@ export default {
   },
   methods: {
     click_launchTestInfoDOS(e) {
-      console.log(e.index)
       var url = window.location.href // 获取url中"?"符后的字
       this.taskId = url.split('?id=')
       switch (e.index) {
@@ -787,9 +786,6 @@ export default {
         this.tiem_date.endTime = res.data.scheduleListResponse.endTime // 结束时间
         this.arr_event = res.data.scheduleListResponse.schedulDetailResponseList
         this.table_loading = false
-        // this.launchTestInfoDOS = res.data.launchTestInfoDOS // 提测
-        // this.dailyTestReports = res.data.dailyTestReports // 测试
-        // this.projectTestReportDOS = res.data.projectTestReportDOS // 准出
         this.bug_list(-1)
         this.task_form.bugBaseInfoDOList !== null ? (this.bugBaseInfoDOList = res.date.bugBaseInfoDOList) : (this.bugBaseInfoDOList = []) // bug
         const param = {
@@ -1388,11 +1384,13 @@ export default {
   }
 }
 </script>
-<style lang="stylus" scoped>
+
+<style lang="stylus">
 .footer .el-tabs__nav-wrap::after {
   background-color: #FFFFFF !important;
 }
-
+</style>
+<style lang="stylus" scoped>
 .bgborderButton .el-button--info.is-plain:hover {
   background: #3f9eff !important;
   border-color: #3f9eff !important;