Browse Source

界面优化

master
陈裕财 5 years ago
parent
commit
4124971371
  1. 4
      src/views/xm/core/xmMenu/XmMenuMng.vue
  2. 2
      src/views/xm/core/xmMenu/XmMenuWithPlan.vue
  3. 4
      src/views/xm/core/xmQuestion/XmQuestionAdd.vue
  4. 2
      src/views/xm/core/xmQuestion/XmQuestionEdit.vue
  5. 44
      src/views/xm/core/xmQuestion/XmQuestionMng.vue
  6. 50
      src/views/xm/core/xmTask/XmTaskList.vue
  7. 58
      src/views/xm/core/xmTask/XmTaskListForMenu.vue
  8. 53
      src/views/xm/core/xmTask/XmTaskListForProduct.vue
  9. 38
      src/views/xm/core/xmTask/XmTaskMng.vue
  10. 4
      src/views/xm/core/xmTestCaseExec/XmTestCaseExecMng.vue

4
src/views/xm/core/xmMenu/XmMenuMng.vue

@ -26,7 +26,7 @@
<el-button v-if=" batchEditVisible==true && isPmUser " type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row>
<el-row v-show="batchEditVisible" class="app-container">
<el-table max-height="750" :data="xmMenusTreeData" class="drag-table" default-expand-all row-key="menuId" :tree-props="{children: 'children', hasChildren: 'hasChildren'}" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table max-height="650" :data="xmMenusTreeData" class="drag-table" default-expand-all row-key="menuId" :tree-props="{children: 'children', hasChildren: 'hasChildren'}" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="45"></el-table-column>
<el-table-column sortable prop="seqNo" label="序号" min-width="100">
<template slot-scope="scope">
@ -71,7 +71,7 @@
</el-row>
<el-row v-show="!batchEditVisible" class="app-container">
<el-table max-height="750" :data="xmMenusTreeData" default-expand-all row-key="menuId" :tree-props="{children: 'children', hasChildren: 'hasChildren'}" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table max-height="700" :data="xmMenusTreeData" default-expand-all row-key="menuId" :tree-props="{children: 'children', hasChildren: 'hasChildren'}" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column>
<el-table-column prop="menuName" label="故事名称" min-width="140" >
<template slot-scope="scope">

2
src/views/xm/core/xmMenu/XmMenuWithPlan.vue

@ -13,7 +13,7 @@
<el-button v-if=" batchEditVisible==true " @click="noBatchEdit" v-loading="load.edit" icon="el-icon-back">返回</el-button>
</el-row>
<el-row class="app-container" v-show="!batchEditVisible">
<el-table max-height="750" v-if="!gstcVisible" :data="xmMenusTreeData" default-expand-all row-key="menuId" :tree-props="{children: 'children', hasChildren: 'hasChildren'}" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table max-height="650" v-if="!gstcVisible" :data="xmMenusTreeData" default-expand-all row-key="menuId" :tree-props="{children: 'children', hasChildren: 'hasChildren'}" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column>
<el-table-column prop="menuName" label="故事名称" min-width="150" >
<template slot-scope="scope">

4
src/views/xm/core/xmQuestion/XmQuestionAdd.vue

@ -73,11 +73,11 @@
<xm-group-mng :sel-project="filters.selProject" :is-select-single-user="1" @user-confirm="onUserConfirm"></xm-group-mng>
</el-dialog>
<el-dialog title="选中任务" :visible.sync="selectTaskVisible" width="80%" append-to-body :close-on-click-modal="false">
<el-dialog title="选中任务" :visible.sync="selectTaskVisible" fullscreen width="80%" append-to-body :close-on-click-modal="false">
<xm-task-list :sel-project="filters.selProject" @task-selected="onSelectedTask"></xm-task-list>
</el-dialog>
<el-dialog append-to-body title="故事选择" :visible.sync="selectMenuVisible" width="80%" :close-on-click-modal="false">
<el-dialog append-to-body title="故事选择" :visible.sync="selectMenuVisible" width="80%" fullscreen :close-on-click-modal="false">
<xm-menu-select :is-select-menu="true" @selected="onSelectedMenu" :sel-project="filters.selProject"></xm-menu-select>
</el-dialog>

2
src/views/xm/core/xmQuestion/XmQuestionEdit.vue

@ -100,7 +100,7 @@
<el-dialog title="选中用户" :visible.sync="selectUserVisible" width="80%" append-to-body :close-on-click-modal="false">
<xm-group-mng :sel-project="selProject" :is-select-single-user="1" @user-confirm="onUserConfirm"></xm-group-mng>
</el-dialog>
<el-dialog title="选中任务" :visible.sync="selectTaskVisible" width="80%" append-to-body :close-on-click-modal="false">
<el-dialog title="选中任务" :visible.sync="selectTaskVisible" width="80%" fullscreen append-to-body :close-on-click-modal="false">
<xm-task-list :sel-project="selProject" @task-selected="onSelectedTask"></xm-task-list>
</el-dialog>
</el-row>

44
src/views/xm/core/xmQuestion/XmQuestionMng.vue

@ -1,25 +1,23 @@
<template>
<section>
<el-row class="xm-question">
<el-menu active-text-color="#00abfc" :default-active="filters.bugStatus" @select="changeBugStatus" class="el-menu-demo" mode="horizontal">
<el-menu-item class="showall" index="">全部状态</el-menu-item>
<el-menu-item v-for="(b,index) in options['bugStatus']" :index="b.optionValue" :key="index">{{b.optionName}}</el-menu-item>
<div style="line-height:50px;float:right;margin-right:10px;">
<el-button @click="showAdd" type="primary" icon="el-icon-plus">{{qtype=='risk'?'新建风险':'新建问题'}}</el-button>
</div>
</el-menu>
<el-menu active-text-color="#00abfc" :default-active="filters.solution" @select="changeSolution" class="el-menu-demo" mode="horizontal">
<el-menu-item class="showall" index="">全部方案</el-menu-item>
<el-menu-item v-for="(b,index) in options['bugSolution']" :index="b.optionValue" :key="index">{{b.optionName}}</el-menu-item>
</el-menu>
<el-menu active-text-color="#00abfc" :default-active="filters.bugSeverity" @select="changeBugSeverity" class="el-menu-demo" mode="horizontal">
<el-menu-item class="showall" index="">严重程度</el-menu-item>
<el-menu-item v-for="(b,index) in options['bugSeverity']" :index="b.optionValue" :key="index">{{b.optionName}}</el-menu-item>
</el-menu>
<el-menu active-text-color="#00abfc" :default-active="filters.priority" @select="changePriority" class="el-menu-demo" mode="horizontal">
<el-menu-item class="showall" index="">紧急程度</el-menu-item>
<el-menu-item v-for="(b,index) in options['urgencyLevel']" :index="b.optionValue" :key="index">{{b.optionName}}</el-menu-item>
<div style="line-height:50px;float:right;margin-right:10px;">
<el-row class="app-container">
<el-select v-model="filters.bugStatus" placeholder="请选择状态" clearable @change="changeBugStatus">
<el-option v-for="(b,index) in options['bugStatus']" :value="b.optionValue" :key="index" :label="b.optionName">{{b.optionName}}
</el-option>
</el-select>
<el-select v-model="filters.priority" placeholder="请选择紧急程度" clearable @change="changePriority">
<el-option v-for="(b,index) in options['urgencyLevel']" :value="b.optionValue" :key="index" :label="b.optionName">{{b.optionName}}
</el-option>
</el-select>
<el-select v-model="filters.solution" placeholder="请选择解决方案" clearable @change="changeSolution">
<el-option v-for="(b,index) in options['bugSolution']" :value="b.optionValue" :key="index" :label="b.optionName">{{b.optionName}}
</el-option>
</el-select>
<el-select v-model="filters.bugSeverity" placeholder="请选择严重程度" clearable @change="changeBugSeverity">
<el-option v-for="(b,index) in options['bugSeverity']" :value="b.optionValue" :key="index" :label="b.optionName">{{b.optionName}}
</el-option>
</el-select>
<el-tag v-if="filters.selProject && !selProject" closable @close="clearProject" @click="showProjectList(true)">{{ filters.selProject.name }}</el-tag>
<el-tag v-if="!filters.selProject" @click="showProjectList(true)" type="success">未选项目点我</el-tag>
指派给:<el-tag v-if="!filters.handlerUsername" @click="showGroupUsers('handlerUsername')">未选,点我</el-tag><el-tag v-if="filters.handlerUsername" closable @close="clearHandler" @click="showGroupUsers('handlerUsername')">{{filters.handlerUsername}}</el-tag>
@ -31,10 +29,10 @@
</el-input>
<el-button @click="handleExport" type="primary" icon="el-icon-download">导出</el-button>
</div>
</el-menu>
</el-row>
<el-row class="app-container">
<!--列表 XmQuestion xm_question-->
<el-table max-height="750" :data="xmQuestions" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table max-height="650" :data="xmQuestions" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="index" width="45"></el-table-column>
<el-table-column prop="name" label="问题名称" min-width="200">
<template slot-scope="scope">
@ -90,7 +88,7 @@
</el-table-column>
</el-table>
<el-pagination layout="total, sizes, prev, pager, next" @current-change="handleCurrentChange" @size-change="handleSizeChange" :page-sizes="[10,20, 50, 100, 500]" :current-page="pageInfo.pageNum" :page-size="pageInfo.pageSize" :total="pageInfo.total" style="float:right;"></el-pagination>
</el-row>
<!--编辑 XmQuestion xm_question界面-->
<el-dialog title="编辑问题" :visible.sync="editFormVisible" fullscreen width="100%" append-to-body :close-on-click-modal="false">
<xm-question-edit :sel-project=" {id:editForm.projectId,name:editForm.projectName} " :xm-question="editForm" :visible="editFormVisible" @cancel="editFormVisible=false" @submit="afterEditSubmit"></xm-question-edit>

50
src/views/xm/core/xmTask/XmTaskList.vue

@ -29,6 +29,7 @@
default-expand-all
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
row-key="id"
max-height="700"
>
<el-table-column v-show="isMultiSelect" reserve-selection sortable width="50" type="selection"></el-table-column>
<el-table-column prop="name" label="任务名称" min-width="260" >
@ -44,8 +45,8 @@
<div>
<div>{{getDateString(scope.row.startTime)}}~{{getDateString(scope.row.endTime)}}</div>
</div>
<div style="margin-left: 5px;color: #d92b2f !important;color:#bb6f2a;">
{{calcTaskStateByTime(scope.row.startTime,scope.row.endTime)}}
<div v-for="(item,index) in [calcTaskStateByTime(scope.row.startTime,scope.row.endTime,scope.row)]" :key="index ">
<el-tag :type="item.type">{{item.desc}}</el-tag>
</div>
</div>
@ -78,7 +79,7 @@
import { listOption } from '@/api/mdp/meta/itemOption';//
import { getTask ,listXmTask,editXmTask,editRate, delXmTask, batchDelXmTask,batchImportTaskFromTemplate,batchSaveBudget } from '@/api/xm/core/xmTask';
import { mapGetters } from 'vuex';
import xmProjectPhaseMng from '../xmProjectPhase/XmProjectPhaseMng';
import xmProjectPhaseMng from '../xmProjectPhase/XmProjectPhaseSelect';
import XmProjectList from '../xmProject/XmProjectList';
export default {
@ -248,19 +249,50 @@
this.load.list = false;
}).catch( err => this.load.list = false );
},
calcTaskStateByTime(startTime,endTime){
calcTaskStateByTime(startTime,endTime,row){
var obj={
type:'',
desc:''
}
if(startTime==null || startTime=="" || endTime==null || endTime ==""){
return "未配置日期"
obj={
type:'info',
desc:"未配置日期"
}
return obj;
}
var curDate=new Date();
var start=new Date(startTime);
var end=new Date(endTime);
if(this.getDaysBetween(curDate, start)<=0){
return this.toFixed(this.getDaysBetween(start,curDate))+"天后开始";
var rate=row.rate;
var isOver=row.rate>=100;
var days=this.getDaysBetween(curDate, start);
if(days<=0){
obj={
type:'info',
desc:this.toFixed(this.getDaysBetween(start,curDate))+"天后开始"
}
return obj;
}else if( this.getDaysBetween(curDate, start) > 0 && this.getDaysBetween(curDate, end) <= 0 ){
return this.toFixed(this.getDaysBetween(end, curDate))+"天后结束";
obj={
type:'primary',
desc:this.toFixed(this.getDaysBetween(end, curDate))+"天后结束"
}
return obj;
}else if( this.getDaysBetween(curDate, end) > 0 ){
return "逾期"+( this.toFixed(this.getDaysBetween(curDate, end)) )+"天";
if(!isOver){
obj={
type:'danger',
desc:"逾期"+( this.toFixed(this.getDaysBetween(curDate, end)) )+"天"
}
}else{
obj={
type:'success',
desc:"完工"+( this.toFixed(this.getDaysBetween(curDate, end)) )+"天"
}
}
return obj;
}
},
/**

58
src/views/xm/core/xmTask/XmTaskListForMenu.vue

@ -20,6 +20,7 @@
default-expand-all
:tree-props="{children: 'children', hasChildren: 'hasChildren'}"
row-key="id"
max-height="450"
>
<el-table-column v-show="isMultiSelect" sortable width="50" type="selection"></el-table-column>
<el-table-column prop="name" label="任务名称" min-width="260" >
@ -37,10 +38,6 @@
</template>
</el-table-column>
<el-table-column label="执行人" prop="exeUsernames" min-width="120" >
<template slot-scope="scope">
<el-link v-if="scope.row.exeUsernames!=null && scope.row.exeUsernames !='' " @click.stop="showExecusers(scope.row)">{{scope.row.exeUsernames}}</el-link>
<el-link type="warning" v-if="scope.row.exeUsernames==null || scope.row.exeUsernames ==''" @click.stop="showExecusers(scope.row)" >去抢任务</el-link>
</template>
</el-table-column>
<el-table-column prop="rate" label="进度" width="100">
<template slot-scope="scope">
@ -56,8 +53,8 @@
<div>
<div>{{getDateString(scope.row.startTime)}}~{{getDateString(scope.row.endTime)}}</div>
</div>
<div style="margin-left: 5px;color: #d92b2f !important;color:#bb6f2a;">
{{calcTaskStateByTime(scope.row.startTime,scope.row.endTime)}}
<div v-for="(item,index) in [calcTaskStateByTime(scope.row.startTime,scope.row.endTime,scope.row)]" :key="index ">
<el-tag :type="item.type">{{item.desc}}</el-tag>
</div>
</div>
@ -73,12 +70,8 @@
</el-table-column>
-->
<el-table-column label="任务技能需求" prop="taskSkillNames" min-width="120" >
<template slot-scope="scope">
<el-link v-if="scope.row.taskSkillNames!=null && scope.row.taskSkillNames !='' " @click.stop="showSkill(scope.row)">{{scope.row.taskSkillNames}}</el-link>
<el-link v-else @click.stop="showSkill(scope.row)" type="success" >去补充</el-link>
</template>
</el-table-column>
<el-table-column v-if="isMultiSelect==true" header-align="center" label="操作" fixed="right" width="200">
<el-table-column v-if="isMultiSelect==false" header-align="center" label="操作" fixed="right" width="100">
<template slot-scope="scope">
<el-button size="mini" type="primary" @click.stop="selectedTask(scope.row)" >选择</el-button>
</template>
@ -237,19 +230,50 @@
this.load.list = false;
}).catch( err => this.load.list = false );
},
calcTaskStateByTime(startTime,endTime){
calcTaskStateByTime(startTime,endTime,row){
var obj={
type:'',
desc:''
}
if(startTime==null || startTime=="" || endTime==null || endTime ==""){
return "未配置日期"
obj={
type:'info',
desc:"未配置日期"
}
return obj;
}
var curDate=new Date();
var start=new Date(startTime);
var end=new Date(endTime);
if(this.getDaysBetween(curDate, start)<=0){
return this.toFixed(this.getDaysBetween(start,curDate))+"天后开始";
var rate=row.rate;
var isOver=row.rate>=100;
var days=this.getDaysBetween(curDate, start);
if(days<=0){
obj={
type:'info',
desc:this.toFixed(this.getDaysBetween(start,curDate))+"天后开始"
}
return obj;
}else if( this.getDaysBetween(curDate, start) > 0 && this.getDaysBetween(curDate, end) <= 0 ){
return this.toFixed(this.getDaysBetween(end, curDate))+"天后结束";
obj={
type:'primary',
desc:this.toFixed(this.getDaysBetween(end, curDate))+"天后结束"
}
return obj;
}else if( this.getDaysBetween(curDate, end) > 0 ){
return "逾期"+( this.toFixed(this.getDaysBetween(curDate, end)) )+"天";
if(!isOver){
obj={
type:'danger',
desc:"逾期"+( this.toFixed(this.getDaysBetween(curDate, end)) )+"天"
}
}else{
obj={
type:'success',
desc:"完工"+( this.toFixed(this.getDaysBetween(curDate, end)) )+"天"
}
}
return obj;
}
},
/**

53
src/views/xm/core/xmTask/XmTaskListForProduct.vue

@ -13,7 +13,7 @@
<xm-project-phase-mng :sel-project="filters.selProject" :simple="true" @row-click="projectPhaseRowClick"></xm-project-phase-mng>
</el-col>
<el-col :span=" filters.selProject?20:24">
<el-table
<el-table max-height="650"
ref="taskTable"
show-summary
:data="tasksTreeData"
@ -46,7 +46,7 @@
<el-table-column label="执行人" prop="exeUsernames" min-width="120" >
<template slot-scope="scope">
<el-link v-if="scope.row.exeUsernames!=null && scope.row.exeUsernames !='' " @click.stop="showExecusers(scope.row)">{{scope.row.exeUsernames}}</el-link>
<el-link type="warning" v-if="scope.row.exeUsernames==null || scope.row.exeUsernames ==''" @click.stop="showExecusers(scope.row)" >去抢任务</el-link>
<el-link v-if="scope.row.exeUsernames==null || scope.row.exeUsernames ==''" >无人参与</el-link>
</template>
</el-table-column>
<el-table-column prop="rate" label="进度" width="100">
@ -63,8 +63,8 @@
<div>
<div>{{getDateString(scope.row.startTime)}}~{{getDateString(scope.row.endTime)}}</div>
</div>
<div style="margin-left: 5px;color: #d92b2f !important;color:#bb6f2a;">
{{calcTaskStateByTime(scope.row.startTime,scope.row.endTime)}}
<div v-for="(item,index) in [calcTaskStateByTime(scope.row.startTime,scope.row.endTime,scope.row)]" :key="index ">
<el-tag :type="item.type">{{item.desc}}</el-tag>
</div>
</div>
@ -105,7 +105,7 @@
import { listOption } from '@/api/mdp/meta/itemOption';//
import { getTask ,listXmTask,editXmTask,editRate, delXmTask, batchDelXmTask,batchImportTaskFromTemplate,batchSaveBudget } from '@/api/xm/core/xmTask';
import { mapGetters } from 'vuex';
import xmProjectPhaseMng from '../xmProjectPhase/XmProjectPhaseMng';
import xmProjectPhaseMng from '../xmProjectPhase/XmProjectPhaseSelect';
import XmProjectList from '../xmProject/XmProjectList';
export default {
@ -267,19 +267,50 @@
this.load.list = false;
}).catch( err => this.load.list = false );
},
calcTaskStateByTime(startTime,endTime){
calcTaskStateByTime(startTime,endTime,row){
var obj={
type:'',
desc:''
}
if(startTime==null || startTime=="" || endTime==null || endTime ==""){
return "未配置日期"
obj={
type:'info',
desc:"未配置日期"
}
return obj;
}
var curDate=new Date();
var start=new Date(startTime);
var end=new Date(endTime);
if(this.getDaysBetween(curDate, start)<=0){
return this.toFixed(this.getDaysBetween(start,curDate))+"天后开始";
var rate=row.rate;
var isOver=row.rate>=100;
var days=this.getDaysBetween(curDate, start);
if(days<=0){
obj={
type:'info',
desc:this.toFixed(this.getDaysBetween(start,curDate))+"天后开始"
}
return obj;
}else if( this.getDaysBetween(curDate, start) > 0 && this.getDaysBetween(curDate, end) <= 0 ){
return this.toFixed(this.getDaysBetween(end, curDate))+"天后结束";
obj={
type:'primary',
desc:this.toFixed(this.getDaysBetween(end, curDate))+"天后结束"
}
return obj;
}else if( this.getDaysBetween(curDate, end) > 0 ){
return "逾期"+( this.toFixed(this.getDaysBetween(curDate, end)) )+"天";
if(!isOver){
obj={
type:'danger',
desc:"逾期"+( this.toFixed(this.getDaysBetween(curDate, end)) )+"天"
}
}else{
obj={
type:'success',
desc:"完工"+( this.toFixed(this.getDaysBetween(curDate, end)) )+"天"
}
}
return obj;
}
},
/**

38
src/views/xm/core/xmTask/XmTaskMng.vue

@ -6,25 +6,24 @@
</el-col>
<el-col :span="isTaskCenter!='1' && currentProject?20:24" class="app-container">
<el-row>
<el-menu active-text-color="#00abfc" :default-active="selkey" @select="changeSelKey" class="el-menu-demo" mode="horizontal">
<el-menu-item class="showall" index="all">全部状态</el-menu-item>
<el-menu-item index="work">未完成</el-menu-item>
<el-menu-item index="finish">已完成</el-menu-item>
<el-menu-item index="myFocus">我关注</el-menu-item>
<el-menu-item index="myExecuserStatus0">我排队</el-menu-item>
<el-menu-item index="myExecuserStatus1">我执行</el-menu-item>
<el-menu-item index="myExecuserStatus2">我提交</el-menu-item>
<el-menu-item index="myExecuserStatus3">我的验收成功</el-menu-item>
<el-menu-item index="myExecuserStatus4">我的验收失败</el-menu-item>
<el-menu-item index="myExecuserStatus5">我的付款中</el-menu-item>
<el-menu-item index="myExecuserStatus6">我的付款成功</el-menu-item>
<el-menu-item index="myExecuserStatus7">我放弃的</el-menu-item>
</el-menu>
</el-row>
<el-row>
<el-menu active-text-color="#00abfc" :default-active="filters.taskType" @select="changeTaskType" class="el-menu-demo" mode="horizontal">
<el-menu-item index="all">全部类型</el-menu-item>
<el-menu-item v-for="(i,index) in options.taskType" :index="i.optionValue" :key="index">{{i.optionName}}</el-menu-item>
<el-select v-model="filters.selKey" placeholder="请选择任务状态" clearable @change="changeSelKey">
<el-option class="showall" value="all" label="全部状态">全部状态</el-option>
<el-option value="work" label="未完成">未完成</el-option>
<el-option value="finish" label="已完成">已完成</el-option>
<el-option value="myFocus" label="我关注">我关注</el-option>
<el-option value="myExecuserStatus0" label="我排队">我排队</el-option>
<el-option value="myExecuserStatus1" label="我执行">我执行</el-option>
<el-option value="myExecuserStatus2" label="我提交">我提交</el-option>
<el-option value="myExecuserStatus3" label="我的验收成功">我的验收成功</el-option>
<el-option value="myExecuserStatus4" label="我的验收失败">我的验收失败</el-option>
<el-option value="myExecuserStatus5" label="我的付款中">我的付款中</el-option>
<el-option value="myExecuserStatus6" label="我的付款成功">我的付款成功</el-option>
<el-option value="myExecuserStatus7" label="我放弃的">我放弃的</el-option>
</el-select>
<el-select v-model="filters.taskType" placeholder="请选择任务类型" clearable @change="changeTaskType">
<el-option class="showall" value="all" label="全部类型">全部类型</el-option>
<el-option v-for="(i,index) in options.taskType" :value="i.optionValue" :label="i.optionName" :key="index">{{i.optionName}}</el-option>
</el-select>
<div style="line-height:50px;float:right;margin-right:10px;">
<el-checkbox v-model="gstcVisible" >甘特图</el-checkbox>
<el-tag v-if=" !selProject && filters.selProject" :closable="!selProject" @click="showProjectList" @close="clearProject">项目:{{this.filters.selProject.name}}</el-tag>
@ -55,7 +54,6 @@
<el-button slot="reference" icon="el-icon-more" circle></el-button>
</el-popover>
</div>
</el-menu>
</el-row>
<el-row>
<el-table v-if="!gstcVisible"

4
src/views/xm/core/xmTestCaseExec/XmTestCaseExecMng.vue

@ -135,13 +135,13 @@
<xm-task-list :sel-project="filters.selProject" @task-selected="onSelectedTask"></xm-task-list>
</el-dialog>
<el-dialog title="查看用例" :visible.sync="caseVisible" width="80%" append-to-body :close-on-click-modal="false">
<el-dialog title="查看用例" :visible.sync="caseVisible" width="80%" fullscreen append-to-body :close-on-click-modal="false">
<xm-test-case-mng :case-id="editForm.caseId" :visible="caseVisible" ></xm-test-case-mng>
</el-dialog>
<el-dialog title="测试用例" :visible.sync="caseVisible" width="80%" append-to-body :close-on-click-modal="false">
<xm-test-case-edit :xm-test-case="xmTestCase" :visible="caseVisible" @cancel="caseVisible=false" ></xm-test-case-edit>
</el-dialog>
<el-dialog title="问题列表" :visible.sync="bugsVisible" width="80%" append-to-body :close-on-click-modal="false">
<el-dialog title="问题列表" :visible.sync="bugsVisible" width="80%" append-to-body fullscreen :close-on-click-modal="false">
<xm-question-mng :xm-test-case="xmTestCase" :xm-test-case-exec="editForm" :sel-project="filters.selProject" :visible="bugsVisible" @cancel="bugsVisible=false" ></xm-question-mng>
</el-dialog>

Loading…
Cancel
Save