Browse Source

优化

master
陈裕财 3 years ago
parent
commit
422a8e01b7
  1. 2
      src/styles/mdp.scss
  2. 3
      src/views/xm/core/xmTestCasedb/XmTestCasedbMng.vue
  3. 8
      src/views/xm/core/xmTestPlan/XmTestPlanMng.vue

2
src/styles/mdp.scss

@ -241,7 +241,7 @@
z-index: 10000; z-index: 10000;
top: 50%; top: 50%;
right:0%; right:0%;
transform: translate(-50%, -50%);
transform: translate(-10%, -50%);
position:absolute; position:absolute;
visibility: hidden; visibility: hidden;
} }

3
src/views/xm/core/xmTestCasedb/XmTestCasedbMng.vue

@ -26,8 +26,7 @@
<span v-else> {{scope.row.name}} </span> <span v-else> {{scope.row.name}} </span>
<span class="tool-bar"> <span class="tool-bar">
<el-button type="warning" @click="goCasedbInfo(scope.row)" icon="el-icon-s-data" circle title="视图"></el-button> <el-button type="warning" @click="goCasedbInfo(scope.row)" icon="el-icon-s-data" circle title="视图"></el-button>
<el-button type="primary" @click="showEdit( scope.row,scope.$index)" icon="el-icon-edit" circle></el-button>
</span>
</span>
</template> </template>
</el-table-column> </el-table-column>
<template v-if="select!==true"> <template v-if="select!==true">

8
src/views/xm/core/xmTestPlan/XmTestPlanMng.vue

@ -21,11 +21,9 @@
<el-table-column prop="name" label="计划名称" min-width="250" show-overflow-tooltip> <el-table-column prop="name" label="计划名称" min-width="250" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
<span> <el-link @click="goToTestPlanCase(scope.row)"> {{scope.row.name}}</el-link> </span> <span> <el-link @click="goToTestPlanCase(scope.row)"> {{scope.row.name}}</el-link> </span>
<span class="tool-bar">
<el-button type="primary" size="medium " @click="goToTestPlanCase(scope.row)" icon="el-icon-finished" circle title="规划用例"></el-button>
<el-button type="primary" @click="showEdit( scope.row,scope.$index)" icon="el-icon-edit" circle title="编辑用例"></el-button>
</span>
<span class="tool-bar">
<el-button type="primary" @click="goToTestPlanCase(scope.row)" icon="el-icon-finished" circle title="规划用例"></el-button>
</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="projectName" label="项目" min-width="120" show-overflow-tooltip> <el-table-column prop="projectName" label="项目" min-width="120" show-overflow-tooltip>

Loading…
Cancel
Save