|
@@ -32,7 +32,7 @@
|
|
|
</span>
|
|
|
<span style="float: right;">
|
|
|
<el-button size="mini" @click="dele_pro()">删除项目</el-button>
|
|
|
- <el-dropdown>
|
|
|
+ <el-dropdown placement="bottom" style="margin-left: 10px;">
|
|
|
<el-button size="mini" type="primary">
|
|
|
新建
|
|
|
<i class="el-icon-arrow-down el-icon--right" />
|
|
@@ -49,7 +49,7 @@
|
|
|
<el-row :gutter="20">
|
|
|
<el-col :span="20">
|
|
|
<div style="display:flex;align-items: center;margin-bottom:20px;margin: 10px 0 50px 20px;">
|
|
|
- <div style="width:4px;height:17px;background:rgba(64,158,255,1);border-radius:1px;" />
|
|
|
+ <div style="width:4px;height:17px;background:#409EFF;border-radius:1px;" />
|
|
|
<div style="width:83px;height:20px;font-size:18px;font-family:MicrosoftYaHei;color:rgba(51,59,74,1);margin-left:6px">数据统计</div>
|
|
|
</div>
|
|
|
</el-col>
|
|
@@ -58,31 +58,31 @@
|
|
|
<div style="display: flex; justify-content: space-between; align-items: center;">
|
|
|
<span style="text-align: center; margin-left: 10%">
|
|
|
<p>需求数量</p>
|
|
|
- <p style="font-size: 44px;">{{ form_query.requirementCount }}</p>
|
|
|
+ <p style="font-size: 72px;margin: 0">{{ form_query.requirementCount }}</p>
|
|
|
<p>
|
|
|
- <el-button size="mini" type="primary" @click="createDialogVisible = true">提需求</el-button>
|
|
|
+ <el-button size="mini" type="info" plain @click="createDialogVisible = true">提需求</el-button>
|
|
|
</p>
|
|
|
</span>
|
|
|
<span style="text-align: center;">
|
|
|
<p>任务数量</p>
|
|
|
- <p style="font-size: 44px;">{{ form_query.taskCount }}</p>
|
|
|
+ <p style="font-size: 72px;margin: 0">{{ form_query.taskCount }}</p>
|
|
|
<p>
|
|
|
- <el-button size="mini" type="primary" @click="reated_task()">建任务</el-button>
|
|
|
+ <el-button size="mini" type="info" plain @click="reated_task()">建任务</el-button>
|
|
|
</p>
|
|
|
</span>
|
|
|
<span style="text-align: center;margin-right:10%;">
|
|
|
<p>Bug数量</p>
|
|
|
- <p style="font-size: 44px;">{{ form_query.bugCount }}</p>
|
|
|
+ <p style="font-size: 72px;margin: 0">{{ form_query.bugCount }}</p>
|
|
|
<p>
|
|
|
- <el-button size="mini" type="primary" @click="created_bug">提bug</el-button>
|
|
|
+ <el-button size="mini" type="info" plain @click="created_bug">提bug</el-button>
|
|
|
</p>
|
|
|
</span>
|
|
|
</div>
|
|
|
</el-aside>
|
|
|
<el-container>
|
|
|
<el-main class="bgborder" style="margin: 0 2.1% 0 0;min-height: 50vh;overflow-x: hidden;">
|
|
|
- <div style="display:flex;align-items: center;margin-bottom:20px;margin: 20px 0 20px 20px;">
|
|
|
- <div style="width:4px;height:17px;background:rgba(64,158,255,1);border-radius:1px;" />
|
|
|
+ <div style="display:flex;align-items: center;margin-bottom:20px;margin: 20px 0 0 20px;">
|
|
|
+ <div style="width:4px;height:17px;background:#409EFF;border-radius:1px;" />
|
|
|
<div style="width:83px;height:20px;font-size:18px;font-family:MicrosoftYaHei;color:rgba(51,59,74,1);margin-left:6px">基础信息</div>
|
|
|
</div>
|
|
|
<el-form
|
|
@@ -91,24 +91,26 @@
|
|
|
style="margin: 0 4%;font-size: 14px;color: rgb(102, 102, 102);"
|
|
|
:model="form_query"
|
|
|
>
|
|
|
+ <div style="text-align: right;">
|
|
|
+ <el-button
|
|
|
+ type="info"
|
|
|
+ plain
|
|
|
+ size="mini"
|
|
|
+ @click="project_modifica(form_query)"
|
|
|
+ >修改</el-button>
|
|
|
+ </div>
|
|
|
<el-row>
|
|
|
- <el-col :span="5">项目类型:</el-col>
|
|
|
+ <el-col :span="6">项目类型:</el-col>
|
|
|
<el-col :span="18">
|
|
|
<div>{{ form_query.projectTypeStr }}</div>
|
|
|
- <el-button
|
|
|
- style="position: absolute;top: 5px;right: 0"
|
|
|
- type="primary"
|
|
|
- size="mini"
|
|
|
- @click="project_modifica(form_query)"
|
|
|
- >修改</el-button>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
- <el-col :span="4">业务线:</el-col>
|
|
|
+ <el-col :span="6">业务线:</el-col>
|
|
|
<el-col :span="18">{{ form_query.bizStr }}</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
- <el-col :span="4">优先级:</el-col>
|
|
|
+ <el-col :span="6">优先级:</el-col>
|
|
|
<el-col :span="18">{{ form_query.priorityStr }}</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
@@ -128,7 +130,7 @@
|
|
|
<el-col :span="18">{{ form_query.testOwnerZh }}</el-col>
|
|
|
</el-row>
|
|
|
<el-row>
|
|
|
- <el-col :span="5">项目描述:</el-col>
|
|
|
+ <el-col :span="6">项目描述:</el-col>
|
|
|
<el-col :span="18">
|
|
|
<div min-height="80px" style="white-space:pre-line; color: rgb(102, 102, 102);border:1px solid #BFC6DC; border-radius:8px; padding: 0 3%;height: 80px; overflow-y: auto;min-width:100%;">{{ form_query.description }}</div>
|
|
|
</el-col>
|
|
@@ -230,7 +232,7 @@
|
|
|
<el-container>
|
|
|
<el-aside class="bgborder" style="margin:0 1% 1% 1%;">
|
|
|
<div style="display:flex;align-items: center;margin-bottom:20px;margin: 20px 0 20px 17px;">
|
|
|
- <div style="width:4px;height:17px;background:rgba(64,158,255,1);border-radius:1px;" />
|
|
|
+ <div style="width:4px;height:17px;background:#409EFF;border-radius:1px;" />
|
|
|
<div style="width:83px;height:20px;font-size:18px;font-family:MicrosoftYaHei;color:rgba(51,59,74,1);margin-left:6px">任务筛选</div>
|
|
|
</div>
|
|
|
<div ref="all_tasks" class="aside" style="color: #333B4A;" @click="get_allTask">全部任务</div>
|
|
@@ -287,7 +289,7 @@
|
|
|
<el-container>
|
|
|
<el-main class="bgborder" style=" margin: 0 1.3% 1.3% 0;min-height: 50vh;">
|
|
|
<div style="display:flex;align-items: center;margin-bottom:20px;margin: 20px 0 20px 20px;">
|
|
|
- <div style="width:4px;height:17px;background:rgba(64,158,255,1);border-radius:1px;" />
|
|
|
+ <div style="width:4px;height:17px;background:#409EFF;border-radius:1px;" />
|
|
|
<div style="width:83px;height:20px;font-size:18px;font-family:MicrosoftYaHei;color:rgba(51,59,74,1);margin-left:6px">任务列表</div>
|
|
|
</div>
|
|
|
<el-table
|
|
@@ -315,7 +317,7 @@
|
|
|
<el-table-column label="测试负责人" min-width="100" align="center" show-overflow-tooltip>
|
|
|
<template slot-scope="scope">{{ scope.row.qaObject === null ? '' : scope.row.qaObject.name }}</template>
|
|
|
</el-table-column>
|
|
|
- <el-table-column label="任务进度" min-width="150" align="center">
|
|
|
+ <el-table-column label="任务进度" min-width="150" align="left">
|
|
|
<template slot-scope="scope">
|
|
|
<el-progress :percentage="Number(scope.row.rate && scope.row.rate.substring(0,4))" color="#409eff" />
|
|
|
</template>
|
|
@@ -565,6 +567,7 @@
|
|
|
<!-- 弹窗 -->
|
|
|
<openDialog v-if="dialog_open" ref="task_createdUpdata" />
|
|
|
<requirement-create
|
|
|
+ class="diologPadding"
|
|
|
title="新建需求"
|
|
|
:data="requirement"
|
|
|
:visible="createDialogVisible"
|
|
@@ -1113,6 +1116,13 @@ export default {
|
|
|
}
|
|
|
</script>
|
|
|
<style lang="stylus">
|
|
|
+.diologPadding .el-dialog__body {
|
|
|
+ padding: 30px 70px 30px 20px
|
|
|
+}
|
|
|
+
|
|
|
+.diologPadding .el-dialog__footer {
|
|
|
+ padding: 10px 70px 20px
|
|
|
+}
|
|
|
.bgborder .rotateNone {
|
|
|
transform: rotate(90deg);
|
|
|
}
|
|
@@ -1243,7 +1253,7 @@ export default {
|
|
|
|
|
|
.bgborder .el-table .el-table__body tr:hover td { /* hover时字体, 背景颜色 */
|
|
|
color: #409EFF;
|
|
|
- background: #EEF0F5;
|
|
|
+ background: #EDF6FF;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|