Browse Source

优化

master
陈裕财 2 years ago
parent
commit
884b31a70b
  1. 8
      src/views/xm/core/components/XmIterationSelect.vue
  2. 2
      src/views/xm/core/xmEnvList/XmEnvListAdd.vue
  3. 2
      src/views/xm/core/xmGroup/XmGroupMng.vue
  4. 2
      src/views/xm/core/xmGroup/XmGroupSelectForProduct.vue
  5. 2
      src/views/xm/core/xmGroup/XmGroupSelectForProject.vue
  6. 2
      src/views/xm/core/xmIteration/XmIterationBox.vue
  7. 2
      src/views/xm/core/xmIteration/XmIterationEdit.vue
  8. 13
      src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue
  9. 2
      src/views/xm/core/xmIteration/XmIterationMng.vue
  10. 2
      src/views/xm/core/xmMenu/XmEpicFeatures.vue
  11. 2
      src/views/xm/core/xmMenu/XmEpicFeaturesSelect.vue
  12. 2
      src/views/xm/core/xmMenu/XmMenuBox.vue
  13. 6
      src/views/xm/core/xmMenu/XmMenuMng.vue
  14. 2
      src/views/xm/core/xmMenu/XmMenuSelect.vue
  15. 2
      src/views/xm/core/xmMenuWorkItem/XmSubMenuList.vue
  16. 2
      src/views/xm/core/xmMenuWorkItem/XmSubWorkItem.vue
  17. 2
      src/views/xm/core/xmProduct/XmProductForLinkComplex.vue
  18. 2
      src/views/xm/core/xmProduct/XmProductMng.vue
  19. 4
      src/views/xm/core/xmProductProjectLink/XmProductProjectLinkMng.vue
  20. 4
      src/views/xm/core/xmProject/XmProjectForLink.vue
  21. 2
      src/views/xm/core/xmProject/XmProjectForLinkComplex.vue
  22. 4
      src/views/xm/core/xmProject/XmProjectMng.vue
  23. 2
      src/views/xm/core/xmQuestion/XmQuestionEdit.vue
  24. 10
      src/views/xm/core/xmQuestion/XmQuestionMng.vue
  25. 2
      src/views/xm/core/xmTask/XmPhase.vue
  26. 2
      src/views/xm/core/xmTask/XmPhaseSelect.vue
  27. 2
      src/views/xm/core/xmTask/XmTaskAdd.vue
  28. 2
      src/views/xm/core/xmTask/XmTaskList.vue
  29. 4
      src/views/xm/core/xmTask/XmTaskMng.vue
  30. 2
      src/views/xm/core/xmTaskSbill/XmTaskSbillEdit.vue
  31. 2
      src/views/xm/core/xmTaskSbill/XmTaskSbillMng.vue
  32. 2
      src/views/xm/core/xmTestCasedb/XmTestCasedbEdit.vue
  33. 2
      src/views/xm/core/xmTestCasedb/XmTestCasedbMng.vue
  34. 2
      src/views/xm/core/xmTestPlan/XmTestPlanEdit.vue
  35. 2
      src/views/xm/core/xmWorkload/WorkloadSetDayList.vue
  36. 2
      src/views/xm/core/xmWorkload/WorkloadSetMonthList.vue
  37. 2
      src/views/xm/core/xmWorkload/XmWorkloadInfo.vue
  38. 2
      src/views/xm/core/xmWorkload/XmWorkloadMng.vue
  39. 2
      src/views/xm/rpt/branch/branchRptOverview.vue
  40. 4
      src/views/xm/rpt/iteration/IterationWorkItemDayList.vue
  41. 4
      src/views/xm/rpt/iteration/burnout.vue
  42. 4
      src/views/xm/rpt/iteration/menuDayAccumulate.vue
  43. 4
      src/views/xm/rpt/iteration/menuDayTrend.vue
  44. 4
      src/views/xm/rpt/iteration/questionDayAccumulate.vue
  45. 4
      src/views/xm/rpt/iteration/questionDayTrend.vue
  46. 4
      src/views/xm/rpt/product/menuAgeDist.vue
  47. 4
      src/views/xm/rpt/product/menuAttDist.vue
  48. 2
      src/views/xm/rpt/product/menuDayAccumulate.vue
  49. 2
      src/views/xm/rpt/product/menuDayTrend.vue
  50. 4
      src/views/xm/rpt/product/menuSort.vue
  51. 2
      src/views/xm/rpt/product/productWorkItemDayList.vue
  52. 6
      src/views/xm/rpt/product/questionAgeDist.vue
  53. 6
      src/views/xm/rpt/product/questionAttDist.vue
  54. 2
      src/views/xm/rpt/product/questionDayAccumulate.vue
  55. 2
      src/views/xm/rpt/product/questionDayTrend.vue
  56. 6
      src/views/xm/rpt/product/questionRetestDist.vue
  57. 6
      src/views/xm/rpt/product/questionSort.vue
  58. 2
      src/views/xm/rpt/project/projectWorkItemDayList.vue
  59. 2
      src/views/xm/rpt/project/projectWorkloadSetDayList.vue
  60. 2
      src/views/xm/rpt/project/projectWorkloadSetMonthList.vue
  61. 2
      src/views/xm/rpt/project/taskAgeDist.vue
  62. 2
      src/views/xm/rpt/project/taskAttDist.vue
  63. 2
      src/views/xm/rpt/project/taskDayAccumulate.vue
  64. 2
      src/views/xm/rpt/project/taskDayTrend.vue
  65. 2
      src/views/xm/rpt/project/taskSort.vue
  66. 6
      src/views/xm/rpt/testCase/testCaseSort.vue
  67. 6
      src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue
  68. 6
      src/views/xm/rpt/testPlan/testDayTimesCalc.vue
  69. 6
      src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue
  70. 6
      src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue
  71. 2
      src/views/xm/rpt/testPlan/testPlanRptOverview.vue

8
src/views/xm/core/components/XmIterationSelect.vue

@ -1,6 +1,6 @@
<template> <template>
<span> <span>
<mdp-select-table v-model="myVal" ref="selectTableRef" :init-name="initName" :show-style="showStyle" :placeholder="placeholder" :props="{id:'id',name:'iterationName'}" :load-fun="listXmIterationWithState" :params="{linkProjectId:linkProjectId}" @change2="onChange2" @clear="onClear" @change="onChange" @click="onRowClick" :disabled="disabled">
<mdp-select-table v-model="myVal" ref="selectTableRef" :init-name="initName" :show-style="showStyle" :placeholder="placeholder" :props="{id:'id',name:'iterationName'}" :load-fun="listXmIterationWithState" :params="{linkProjectId:linkProjectId,productId:productId}" @change2="onChange2" @clear="onClear" @change="onChange" @click="onRowClick" :disabled="disabled">
<el-row slot="toolbar"><el-button size="mini" icon="el-icon-plus" @click="$refs['addDialog'].open()">创建迭代</el-button><el-button size="mini" icon="el-icon-search" @click="$refs['selectTableRef'].$refs['tableDialog'].open()">更多迭代</el-button></el-row> <el-row slot="toolbar"><el-button size="mini" icon="el-icon-plus" @click="$refs['addDialog'].open()">创建迭代</el-button><el-button size="mini" icon="el-icon-search" @click="$refs['selectTableRef'].$refs['tableDialog'].open()">更多迭代</el-button></el-row>
</mdp-select-table> </mdp-select-table>
@ -28,7 +28,11 @@
/** /**
* 项目编号 * 项目编号
*/ */
linkProjectId:{
linkProjectId:{
type:String,
default:null,
},
productId:{
type:String, type:String,
default:null, default:null,
}, },

2
src/views/xm/core/xmEnvList/XmEnvListAdd.vue

@ -7,7 +7,7 @@
<el-input v-model="addForm.name" placeholder="名称" ></el-input> <el-input v-model="addForm.name" placeholder="名称" ></el-input>
<el-row class="label-font-color"> <span v-if="addForm.projectName">归属项目{{ addForm.projectName}} <el-divider direction="vertical"></el-divider></span> <el-row class="label-font-color"> <span v-if="addForm.projectName">归属项目{{ addForm.projectName}} <el-divider direction="vertical"></el-divider></span>
<xm-project-select style="display:inline;" v-if="!xmProject||!xmProject.id" :auto-select="false" :link-product-id="xmProduct?xmProduct.id:null" @change2="onProjectRowClick" @clear="onProjectClear" >
<xm-project-select show-style="tag" style="display:inline;" v-if="!xmProject||!xmProject.id" :auto-select="false" :link-product-id="xmProduct?xmProduct.id:null" @change2="onProjectRowClick" @clear="onProjectClear" >
<div slot="title">选择项目</div> <div slot="title">选择项目</div>
</xm-project-select> </xm-project-select>
</el-row> </el-row>

2
src/views/xm/core/xmGroup/XmGroupMng.vue

@ -1,7 +1,7 @@
<template> <template>
<section class="page-container border padding" > <section class="page-container border padding" >
<el-row> <el-row>
<xm-project-select style="display:inline;" v-if="!selProject&&!xmProduct" :auto-select="true" :link-iteration-id="xmIteration?xmIteration.id:null" :link-product-id="xmProduct?xmProduct.id:null" @selected="onProjectRowClick" @clear="onProjectClearSelect"></xm-project-select>
<xm-project-select show-style="tag" style="display:inline;" v-if="!selProject&&!xmProduct" :auto-select="true" :link-iteration-id="xmIteration?xmIteration.id:null" :link-product-id="xmProduct?xmProduct.id:null" @selected="onProjectRowClick" @clear="onProjectClearSelect"></xm-project-select>
<el-input v-model="filters.key" style="width:15%;" clearable placeholder="名称过滤"></el-input> <el-input v-model="filters.key" style="width:15%;" clearable placeholder="名称过滤"></el-input>
<el-button type="primary" @click="searchXmGroups" icon="el-icon-search">刷新</el-button> <el-button type="primary" @click="searchXmGroups" icon="el-icon-search">刷新</el-button>

2
src/views/xm/core/xmGroup/XmGroupSelectForProduct.vue

@ -2,7 +2,7 @@
<section class="border padding-left"> <section class="border padding-left">
<el-row class="padding-top"> <el-row class="padding-top">
<xm-product-select style="display:inline;" v-if="!xmProduct||!xmProduct.id" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onProductRowClick" @clear="onProductClose"></xm-product-select>
<xm-product-select show-style="tag" style="display:inline;" v-if="!xmProduct||!xmProduct.id" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onProductRowClick" @clear="onProductClose"></xm-product-select>
<el-button type="primary" @click="userConfirm" icon="el-icon-finished">确认选择</el-button> <el-button type="primary" @click="userConfirm" icon="el-icon-finished">确认选择</el-button>

2
src/views/xm/core/xmGroup/XmGroupSelectForProject.vue

@ -2,7 +2,7 @@
<section class="border padding-left"> <section class="border padding-left">
<el-row class="padding-top"> <el-row class="padding-top">
<xm-project-select style="display:inline;" v-if="!selProject||!selProject.id" :auto-select="false" :link-product-id="xmProduct?xmProduct.id:null" @change2="onProjectRowClick" @clear="onProjectClose"></xm-project-select>
<xm-project-select show-style="tag" style="display:inline;" v-if="!selProject||!selProject.id" :auto-select="false" :link-product-id="xmProduct?xmProduct.id:null" @change2="onProjectRowClick" @clear="onProjectClose"></xm-project-select>
<el-button type="primary" @click="userConfirm" icon="el-icon-finished">确认选择</el-button> <el-button type="primary" @click="userConfirm" icon="el-icon-finished">确认选择</el-button>

2
src/views/xm/core/xmIteration/XmIterationBox.vue

@ -101,7 +101,7 @@
</el-drawer> </el-drawer>
<el-drawer title="迭代报告" :visible.sync="iterationSelectVisible" fullscreen append-to-body :close-on-click-modal="false"> <el-drawer title="迭代报告" :visible.sync="iterationSelectVisible" fullscreen append-to-body :close-on-click-modal="false">
<xm-iteration-select @change2="onXmIterationSelect"></xm-iteration-select>
<xm-iteration-select show-style="tag" @change2="onXmIterationSelect"></xm-iteration-select>
</el-drawer> </el-drawer>
</el-row> </el-row>
</section> </section>

2
src/views/xm/core/xmIteration/XmIterationEdit.vue

@ -10,7 +10,7 @@
</el-row> </el-row>
</el-form-item> </el-form-item>
<el-form-item label="归属产品" prop="seqNo" v-if="opType==='add'"> <el-form-item label="归属产品" prop="seqNo" v-if="opType==='add'">
<xm-product-select v-if=" (!xmProduct||!xmProduct.id)" ref="xmProductSelect" :auto-select="true" :link-project-id="selProject?selProject.id:null" @row-click="onProductRowClick" @clear="onProductClearSelect"></xm-product-select>
<xm-product-select show-style="tag" v-if=" (!xmProduct||!xmProduct.id)" ref="xmProductSelect" :auto-select="true" :link-project-id="selProject?selProject.id:null" @row-click="onProductRowClick" @clear="onProductClearSelect"></xm-product-select>
{{ xmProduct && xmProduct.id?xmProduct.productName||xmProduct.id:''}} {{ xmProduct && xmProduct.id?xmProduct.productName||xmProduct.id:''}}
</el-form-item> </el-form-item>
<el-row> <el-row>

13
src/views/xm/core/xmIteration/XmIterationForLinkComplex.vue

@ -2,13 +2,9 @@
<section> <section>
<el-row> <el-row>
<el-col :xl="4" :lg="4" :md="5" :sm="5" :xs="5" class="padding"> <el-col :xl="4" :lg="4" :md="5" :sm="5" :xs="5" class="padding">
<div class="border">
<el-row >
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :link-project-id="projectInfo?projectInfo.id:null" :product-id="xmProduct?xmProduct.id:null" @change2="onIterationRowClick" @clear="onIterationClearSelect">
<template v-slot:title="{iteration}">
<h4 href="#"><div style="max-width:15vw;" class="res-text hidden-md-and-down"><i style="font-size:16px;" class="el-icon-sort"></i> {{iteration&&iteration.id?iteration.iterationName:'请选择一个迭代'}}</div></h4>
<h4 href="#"><div style="max-width:19vw;" class="res-text hidden-lg-and-up"><i style="font-size:16px;" class="el-icon-sort"></i> {{iteration&&iteration.id?iteration.iterationName:'请选择一个迭代'}}</div></h4>
</template>
<el-row >
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :link-project-id="projectInfo?projectInfo.id:null" :product-id="xmProduct?xmProduct.id:null" @change2="onIterationRowClick" @clear="onIterationClearSelect">
</xm-iteration-select> </xm-iteration-select>
</el-row> </el-row>
@ -233,8 +229,7 @@
</el-step> </el-step>
</el-steps> </el-steps>
</el-row> </el-row>
</div>
</el-col>
</el-col>
<el-col :xl="20" :lg="20" :md="19" :sm="19" :xs="19"> <el-col :xl="20" :lg="20" :md="19" :sm="19" :xs="19">
<el-tabs :value="showPanel" @tab-click="tabClick" v-if="xmIteration && xmIteration.id"> <el-tabs :value="showPanel" @tab-click="tabClick" v-if="xmIteration && xmIteration.id">
<el-tab-pane label="迭代概览" name="iterationOverview" > <el-tab-pane label="迭代概览" name="iterationOverview" >

2
src/views/xm/core/xmIteration/XmIterationMng.vue

@ -1,7 +1,7 @@
<template> <template>
<section :class="{'padding':!xmProduct&&!selProject}"> <section :class="{'padding':!xmProduct&&!selProject}">
<el-row> <el-row>
<xm-product-select
<xm-product-select show-style="tag"
v-if="!xmProduct || !xmProduct.id" v-if="!xmProduct || !xmProduct.id"
ref="xmProductSelect1" ref="xmProductSelect1"
style="display: inline" style="display: inline"

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

@ -2,7 +2,7 @@
<section> <section>
<el-row v-show="!batchVisible"> <el-row v-show="!batchVisible">
<div style="display:flex;justify-content: space-between;"> <div style="display:flex;justify-content: space-between;">
<xm-product-select v-if=" !xmProduct || !xmProduct.id" ref="xmProductSelect1" style="display:inline;" :auto-select="true" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" @clear="onProductClearSelect" ></xm-product-select>
<xm-product-select show-style="tag" v-if=" !xmProduct || !xmProduct.id" ref="xmProductSelect1" style="display:inline;" :auto-select="true" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" @clear="onProductClearSelect" ></xm-product-select>
<el-input v-else v-model="filters.key" placeholder="名称模糊查询" clearable></el-input> <el-input v-else v-model="filters.key" placeholder="名称模糊查询" clearable></el-input>
<span style="display:flex;"> <span style="display:flex;">
<el-popover <el-popover

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

@ -3,7 +3,7 @@
<el-row> <el-row>
<div style="display:flex;"> <div style="display:flex;">
<xm-product-select ref="xmProductSelect1" style="display:inline;" v-if="!xmProduct || !xmProduct.id" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClearSelect"></xm-product-select>
<xm-product-select show-style="tag" ref="xmProductSelect1" style="display:inline;" v-if="!xmProduct || !xmProduct.id" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClearSelect"></xm-product-select>
<el-input v-else v-model="filters.key" placeholder="名称模糊查询" clearable></el-input> <el-input v-else v-model="filters.key" placeholder="名称模糊查询" clearable></el-input>
<el-button style="margin-left:5px;" icon="el-icon-search" @click="searchXmMenus()">查询</el-button> <el-button style="margin-left:5px;" icon="el-icon-search" @click="searchXmMenus()">查询</el-button>

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

@ -4,7 +4,7 @@
<el-col :span="7"> <el-col :span="7">
<!-- <!--
<el-row class="padding-left padding-right" v-if="!xmProduct||!xmProduct.id" > <el-row class="padding-left padding-right" v-if="!xmProduct||!xmProduct.id" >
<xm-product-select ref="xmProductSelect1" style="display:inline;" :auto-select="true" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" @clear="onProductClearSelect" ></xm-product-select>
<xm-product-select show-style="tag" ref="xmProductSelect1" style="display:inline;" :auto-select="true" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" @clear="onProductClearSelect" ></xm-product-select>
</el-row> </el-row>
--> -->
<xm-epic-features :xm-product="xmProductCpd" :sel-project="selProject" @row-click="onEpicFeaturesRowClick" @product-selected="onProductSelected" @product-clear="onProductClearSelect"></xm-epic-features> <xm-epic-features :xm-product="xmProductCpd" :sel-project="selProject" @row-click="onEpicFeaturesRowClick" @product-selected="onProductSelected" @product-clear="onProductClearSelect"></xm-epic-features>

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

@ -1,7 +1,7 @@
<template> <template>
<section> <section>
<el-row> <el-row>
<xm-product-select ref="xmProductSelect1" style="display:inline;" v-if="(!xmProduct||!xmProduct.id)&&(!xmIteration||!xmIteration.id)" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClearSelect"></xm-product-select>
<xm-product-select show-style="tag" ref="xmProductSelect1" style="display:inline;" v-if="(!xmProduct||!xmProduct.id)&&(!xmIteration||!xmIteration.id)" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClearSelect"></xm-product-select>
<mdp-select v-model="filters.priority" placeholder="优先级" clearable style="width: 6em;" item-code="priority"> <mdp-select v-model="filters.priority" placeholder="优先级" clearable style="width: 6em;" item-code="priority">
</mdp-select> </mdp-select>
@ -68,7 +68,7 @@
<i class="el-icon-connection"></i> <i class="el-icon-connection"></i>
归属迭代 归属迭代
</template> </template>
<xm-iteration-select v-if="!xmIteration || !xmIteration.id" style="display:inline;" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="selProject?selProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClearSelect">
<xm-iteration-select show-style="tag" v-if="!xmIteration || !xmIteration.id" style="display:inline;" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="selProject?selProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClearSelect">
</xm-iteration-select> </xm-iteration-select>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
@ -295,7 +295,7 @@
{{scope.row.iterationName}} {{scope.row.iterationName}}
</div> </div>
<span class="cell-bar"> <span class="cell-bar">
<xm-iteration-select v-if="scope.row.dclass==='3'" style="display:inline;" :auto-select="false" :product-id="scope.row.productId" placeholder="迭代" @change2="editXmMenuSomeFields(scope.row,'iterationId',$event)"></xm-iteration-select>
<xm-iteration-select show-style="tag" v-if="scope.row.dclass==='3'" style="display:inline;" :auto-select="false" :product-id="scope.row.productId" placeholder="迭代" @change2="editXmMenuSomeFields(scope.row,'iterationId',$event)"></xm-iteration-select>
</span> </span>
</template> </template>
</el-table-column> </el-table-column>

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

@ -6,7 +6,7 @@
</el-col> </el-col>
<el-col :span="17" > <el-col :span="17" >
<el-row> <el-row>
<xm-iteration-select style="display:inline;" v-if="(!xmIteration||!xmIteration.id) && filters.product" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onIterationSelected" ref="xmIterationMng" :product-id="filters.product?filters.product.id:null" @clear="onIterationClearSelect"></xm-iteration-select>
<xm-iteration-select show-style="tag" style="display:inline;" v-if="(!xmIteration||!xmIteration.id) && filters.product" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onIterationSelected" ref="xmIterationMng" :product-id="filters.product?filters.product.id:null" @clear="onIterationClearSelect"></xm-iteration-select>
<el-select v-model="filters.taskFilterType" placeholder="已分配任务的需求?" clearable v-if="taskFilterType"> <el-select v-model="filters.taskFilterType" placeholder="已分配任务的需求?" clearable v-if="taskFilterType">
<el-option value="not-join-any-project" label="未分配过任务的需求"></el-option> <el-option value="not-join-any-project" label="未分配过任务的需求"></el-option>

2
src/views/xm/core/xmMenuWorkItem/XmSubMenuList.vue

@ -43,7 +43,7 @@
{{scope.row.iterationName}} {{scope.row.iterationName}}
</div> </div>
<span class="cell-bar"> <span class="cell-bar">
<xm-iteration-select v-if="scope.row.dclass==='3'" style="display:inline;" :auto-select="false" :product-id="scope.row.productId" placeholder="迭代" @change2="editXmMenuSomeFields(scope.row,'iterationId',$event)"></xm-iteration-select>
<xm-iteration-select show-style="tag" v-if="scope.row.dclass==='3'" style="display:inline;" :auto-select="false" :product-id="scope.row.productId" placeholder="迭代" @change2="editXmMenuSomeFields(scope.row,'iterationId',$event)"></xm-iteration-select>
</span> </span>
</template> </template>
</el-table-column> </el-table-column>

2
src/views/xm/core/xmMenuWorkItem/XmSubWorkItem.vue

@ -3,7 +3,7 @@
<el-row> <el-row>
<font>{{subWorkItemNum}}个子工作项</font> &nbsp;&nbsp; <font>{{subWorkItemNum}}个子工作项</font> &nbsp;&nbsp;
<span style="float:right;"> <span style="float:right;">
<xm-project-select style="display:inline;" :auto-select="false" v-if="parentXmMenu&&parentXmMenu.menuId && parentXmMenu.dclass==='3' && !linkProjectId" :link-product-id="parentXmMenu.productId" @change2="xmProject=$event"></xm-project-select>
<xm-project-select show-style="tag" style="display:inline;" :auto-select="false" v-if="parentXmMenu&&parentXmMenu.menuId && parentXmMenu.dclass==='3' && !linkProjectId" :link-product-id="parentXmMenu.productId" @change2="xmProject=$event"></xm-project-select>
<el-button v-if="parentXmMenu.dclass==='1'" icon="el-icon-plus" @click="showAdd('2')"> <el-button v-if="parentXmMenu.dclass==='1'" icon="el-icon-plus" @click="showAdd('2')">
<div class="icon" style="background-color: rgb(0, 153, 51);"> <div class="icon" style="background-color: rgb(0, 153, 51);">
<i class="el-icon-s-flag"></i> <i class="el-icon-s-flag"></i>

2
src/views/xm/core/xmProduct/XmProductForLinkComplex.vue

@ -3,7 +3,7 @@
<el-row> <el-row>
<el-col :xl="4" :lg="4" :md="5" :sm="5" :xs="5" class="padding"> <el-col :xl="4" :lg="4" :md="5" :sm="5" :xs="5" class="padding">
<el-row class="padding"> <el-row class="padding">
<xm-product-select
<xm-product-select show-style="tag"
ref="xmProductSelect" ref="xmProductSelect"
:auto-select="false" :auto-select="false"
:link-project-id="projectInfo ? projectInfo.id : null" :link-project-id="projectInfo ? projectInfo.id : null"

2
src/views/xm/core/xmProduct/XmProductMng.vue

@ -360,7 +360,7 @@
<xm-project-list @select="onProjectSelected"></xm-project-list> <xm-project-list @select="onProjectSelected"></xm-project-list>
</el-drawer> </el-drawer>
<el-drawer title="迭代报告" :visible.sync="iterationSelectVisible" fullscreen append-to-body :close-on-click-modal="false"> <el-drawer title="迭代报告" :visible.sync="iterationSelectVisible" fullscreen append-to-body :close-on-click-modal="false">
<xm-iteration-select @change2="onXmIterationSelect"></xm-iteration-select>
<xm-iteration-select show-style="tag" @change2="onXmIterationSelect"></xm-iteration-select>
</el-drawer> </el-drawer>
<el-dialog <el-dialog
title="通过复制创建新的模板或者新的产品" title="通过复制创建新的模板或者新的产品"

4
src/views/xm/core/xmProductProjectLink/XmProductProjectLinkMng.vue

@ -2,9 +2,9 @@
<section> <section>
<el-row> <el-row>
<div style="float:right;padding-right:40px;"> <div style="float:right;padding-right:40px;">
<xm-product-select placeholder="选择更多产品加入项目" @change2="onProductSelect" :autoSelect="false" v-if="selProject && selProject.id">
<xm-product-select show-style="tag" placeholder="选择更多产品加入项目" @change2="onProductSelect" :autoSelect="false" v-if="selProject && selProject.id">
</xm-product-select> </xm-product-select>
<xm-project-select placeholder="选择更多产品加入项目" :autoSelect="false" @change2="onProjectSelect" v-if="xmProduct && xmProduct.id">
<xm-project-select show-style="tag" placeholder="选择更多产品加入项目" :autoSelect="false" @change2="onProjectSelect" v-if="xmProduct && xmProduct.id">
</xm-project-select> </xm-project-select>
</div> </div>

4
src/views/xm/core/xmProject/XmProjectForLink.vue

@ -6,11 +6,11 @@
</el-input> </el-input>
<el-button @click="searchXmProjects" icon="el-icon-search" v-if="!xmIteration && !xmProduct"></el-button> <el-button @click="searchXmProjects" icon="el-icon-search" v-if="!xmIteration && !xmProduct"></el-button>
<div style="text-align:right;padding-right:40px;"> <div style="text-align:right;padding-right:40px;">
<xm-project-select v-if="xmProduct && xmProduct.id" @change2="onXmProjectSelect" :auto-select="false" :link-product-id="xmProduct.id">
<xm-project-select show-style="tag" v-if="xmProduct && xmProduct.id" @change2="onXmProjectSelect" :auto-select="false" :link-product-id="xmProduct.id">
<el-link type="primary" slot="title">添加更多项目到产品中</el-link> <el-link type="primary" slot="title">添加更多项目到产品中</el-link>
</xm-project-select> </xm-project-select>
<xm-project-select v-if="xmIteration && xmIteration.id" @change2="onXmProjectSelect" :auto-select="false" :link-iteration-id="xmIteration.id">
<xm-project-select show-style="tag" v-if="xmIteration && xmIteration.id" @change2="onXmProjectSelect" :auto-select="false" :link-iteration-id="xmIteration.id">
<el-link type="primary" slot="title">添加更多项目到产品中</el-link> <el-link type="primary" slot="title">添加更多项目到产品中</el-link>
</xm-project-select> </xm-project-select>
</div> </div>

2
src/views/xm/core/xmProject/XmProjectForLinkComplex.vue

@ -3,7 +3,7 @@
<el-row> <el-row>
<el-col :xl="4" :lg="4" :md="5" :sm="5" :xs="5" class="padding"> <el-col :xl="4" :lg="4" :md="5" :sm="5" :xs="5" class="padding">
<el-row class="padding" v-if=" (xmProduct&&xmProduct.id) || (xmIteration && xmIteration.id)"> <el-row class="padding" v-if=" (xmProduct&&xmProduct.id) || (xmIteration && xmIteration.id)">
<xm-project-select
<xm-project-select show-style="tag"
ref="xmProjectSelect" ref="xmProjectSelect"
:auto-select="false " :auto-select="false "
:link-iteration-id="xmIteration ? xmIteration.id : null" :link-iteration-id="xmIteration ? xmIteration.id : null"

4
src/views/xm/core/xmProject/XmProjectMng.vue

@ -1,7 +1,7 @@
<template> <template>
<section class="padding"> <section class="padding">
<el-row class="padding-left padding-right"> <el-row class="padding-left padding-right">
<xm-product-select class="hidden-md-and-down" :auto-select="false" @change2="onProductSelected" @clear="onProductClose"></xm-product-select>
<xm-product-select show-style="tag" class="hidden-md-and-down" :auto-select="false" @change2="onProductSelected" @clear="onProductClose"></xm-product-select>
<el-select v-model="menukey" @change="handleSelect" clearable style="width:10em;"> <el-select v-model="menukey" @change="handleSelect" clearable style="width:10em;">
<el-option value="all" label="全部"></el-option> <el-option value="all" label="全部"></el-option>
<el-option value="compete" label="我参与"></el-option> <el-option value="compete" label="我参与"></el-option>
@ -41,7 +41,7 @@
<i class="el-icon-document"></i> <i class="el-icon-document"></i>
选择产品 选择产品
</template> </template>
<xm-product-select style="display:inline;" :auto-select="false" @change2="onProductSelected" @clear="onProductClose"></xm-product-select>
<xm-product-select show-style="tag" style="display:inline;" :auto-select="false" @change2="onProductSelected" @clear="onProductClose"></xm-product-select>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item :span="2"> <el-descriptions-item :span="2">

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

@ -11,7 +11,7 @@
<el-form-item label="归属产品" prop="productId"> <el-form-item label="归属产品" prop="productId">
<span v-if="editForm.productId">{{editForm.productId}}</span> <span v-if="editForm.productId">{{editForm.productId}}</span>
<span v-if="!xmProductCpd || !xmProductCpd.id"> <span v-if="!xmProductCpd || !xmProductCpd.id">
<xm-product-select ref="xmProductSelect1" style="display:inline;" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" @clear="onProductClearSelect" ></xm-product-select>
<xm-product-select show-style="tag" ref="xmProductSelect1" style="display:inline;" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" @clear="onProductClearSelect" ></xm-product-select>
</span> </span>
</el-form-item> </el-form-item>
<span v-if="editForm.productId"> <span v-if="editForm.productId">

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

@ -1,8 +1,8 @@
<template> <template>
<section> <section>
<el-row> <el-row>
<xm-product-select v-if="!xmProduct&&!xmIteration" style="display:inline;" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" @clear="clearProduct"></xm-product-select>
<xm-project-select v-if="!selProject" style="display:inline;" ref="xmProjectSelect" :auto-select="false" :link-product-id="xmProduct?xmProduct.id:null" @change2="onProjectConfirm" @clear="clearProject"></xm-project-select>
<xm-product-select show-style="tag" v-if="!xmProduct&&!xmIteration" style="display:inline;" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" @clear="clearProduct"></xm-product-select>
<xm-project-select show-style="tag" v-if="!selProject" style="display:inline;" ref="xmProjectSelect" :auto-select="false" :link-product-id="xmProduct?xmProduct.id:null" @change2="onProjectConfirm" @clear="clearProject"></xm-project-select>
<mdp-select v-model="filters.bugStatus" placeholder="状态" style="width:120px;" clearable item-code="bugStatus"/> <mdp-select v-model="filters.bugStatus" placeholder="状态" style="width:120px;" clearable item-code="bugStatus"/>
@ -124,7 +124,7 @@
</el-popover> </el-popover>
<span style="float:right;"> <span style="float:right;">
<el-button v-if="filters.selProject && filters.selProject.id" type="primary" icon="el-icon-plus" @click="showAdd" round> </el-button> <el-button v-if="filters.selProject && filters.selProject.id" type="primary" icon="el-icon-plus" @click="showAdd" round> </el-button>
<xm-project-select v-else style="display:inline;" :auto-select="false" :link-product-id="xmProduct?xmProduct.id:null" @change2="showAddAfterProjectSelect" >
<xm-project-select show-style="tag" v-else style="display:inline;" :auto-select="false" :link-product-id="xmProduct?xmProduct.id:null" @change2="showAddAfterProjectSelect" >
<el-button slot="reference" type="primary" icon="el-icon-plus" round> </el-button> <el-button slot="reference" type="primary" icon="el-icon-plus" round> </el-button>
</xm-project-select> </xm-project-select>
<el-button @click="batchDel" type="danger" icon="el-icon-delete"></el-button> <el-button @click="batchDel" type="danger" icon="el-icon-delete"></el-button>
@ -179,7 +179,7 @@
{{scope.row.projectId}} {{scope.row.projectId}}
</div> </div>
<span class="cell-bar"> <span class="cell-bar">
<xm-project-select style="display:inline;" :auto-select="false" :link-product-id="xmProduct?xmProduct.id:null" @row-click="editXmQuestionSomeFields(scope.row,'projectId',$event)" ></xm-project-select>
<xm-project-select show-style="tag" style="display:inline;" :auto-select="false" :link-product-id="xmProduct?xmProduct.id:null" @row-click="editXmQuestionSomeFields(scope.row,'projectId',$event)" ></xm-project-select>
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
@ -189,7 +189,7 @@
{{scope.row.productId}} {{scope.row.productId}}
</div> </div>
<span class="cell-bar"> <span class="cell-bar">
<xm-product-select style="display:inline;" :auto-select="false" :link-project-id="selProject?selProject.id:null" @row-click="editXmQuestionSomeFields(scope.row,'productId',$event)" ></xm-product-select>
<xm-product-select show-style="tag" style="display:inline;" :auto-select="false" :link-project-id="selProject?selProject.id:null" @row-click="editXmQuestionSomeFields(scope.row,'productId',$event)" ></xm-product-select>
</span> </span>
</template> </template>
</el-table-column> </el-table-column>

2
src/views/xm/core/xmTask/XmPhase.vue

@ -2,7 +2,7 @@
<section> <section>
<el-row v-show="!batchVisible"> <el-row v-show="!batchVisible">
<div style="display:flex;justify-content: space-between;"> <div style="display:flex;justify-content: space-between;">
<xm-project-select style="display:inline;" v-if="!selProject||!selProject.id" :auto-select="isTaskCenter?false:true" :link-iteration-id="xmIteration?xmIteration.id:null" :link-product-id="xmProduct?xmProduct.id:null" @change2="onProjectRowClick" @clear="onProjectClear" ></xm-project-select>
<xm-project-select show-style="tag" style="display:inline;" v-if="!selProject||!selProject.id" :auto-select="isTaskCenter?false:true" :link-iteration-id="xmIteration?xmIteration.id:null" :link-product-id="xmProduct?xmProduct.id:null" @change2="onProjectRowClick" @clear="onProjectClear" ></xm-project-select>
<el-input v-else v-model="filters.key" placeholder="名称模糊查询" clearable @keyup.enter.native="searchXmTasks()"></el-input> <el-input v-else v-model="filters.key" placeholder="名称模糊查询" clearable @keyup.enter.native="searchXmTasks()"></el-input>
<span style="display:flex;"> <span style="display:flex;">
<el-popover <el-popover

2
src/views/xm/core/xmTask/XmPhaseSelect.vue

@ -2,7 +2,7 @@
<section> <section>
<el-row class="padding-bottom"> <el-row class="padding-bottom">
<div style="display:flex;justify-content: space-between;"> <div style="display:flex;justify-content: space-between;">
<xm-project-select style="display:inline;" v-if="!selProject||!selProject.id" :auto-select="isTaskCenter?false:true" :link-iteration-id="xmIteration?xmIteration.id:null" :link-product-id="xmProduct?xmProduct.id:null" @change2="onProjectRowClick" @clear="onProjectClear" ></xm-project-select>
<xm-project-select show-style="tag" style="display:inline;" v-if="!selProject||!selProject.id" :auto-select="isTaskCenter?false:true" :link-iteration-id="xmIteration?xmIteration.id:null" :link-product-id="xmProduct?xmProduct.id:null" @change2="onProjectRowClick" @clear="onProjectClear" ></xm-project-select>
<el-input v-else v-model="filters.key" placeholder="名称模糊查询" clearable></el-input> <el-input v-else v-model="filters.key" placeholder="名称模糊查询" clearable></el-input>
<el-button style="margin-left:10px;" icon="el-icon-search" @click="searchXmTasks()">查询</el-button> <el-button style="margin-left:10px;" icon="el-icon-search" @click="searchXmTasks()">查询</el-button>
</div> </div>

2
src/views/xm/core/xmTask/XmTaskAdd.vue

@ -18,7 +18,7 @@
</span> </span>
<span class="label-font-color" v-if="!xmProjectCpd || !xmProjectCpd.id"> <span class="label-font-color" v-if="!xmProjectCpd || !xmProjectCpd.id">
<span>归属项目</span><xm-project-select style="display:inline;" :auto-select="false" :link-iteration-id="xmIteration?xmIteration.id:null" :link-product-id="xmProduct?xmProduct.id:null" @change2="onProjectRowClick" @clear="onProjectClear" ></xm-project-select>
<span>归属项目</span><xm-project-select show-style="tag" style="display:inline;" :auto-select="false" :link-iteration-id="xmIteration?xmIteration.id:null" :link-product-id="xmProduct?xmProduct.id:null" @change2="onProjectRowClick" @clear="onProjectClear" ></xm-project-select>
<span v-if="addForm.productId">归属产品{{addForm.productId?addForm.productId:''}} </span> <span v-if="addForm.productId">归属产品{{addForm.productId?addForm.productId:''}} </span>
</span> </span>
</el-form-item> </el-form-item>

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

@ -7,7 +7,7 @@
placement="bottom" placement="bottom"
width="500" width="500"
trigger="click"> trigger="click">
<xm-project-select v-if="ptype!=='1' && (!selProject||!selProject.id)" :auto-select="true" :xm-iteration="xmIteration" :xm-product="xmProduct" @change2="onProjectRowClick" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="ptype!=='1' && (!selProject||!selProject.id)" :auto-select="true" :xm-iteration="xmIteration" :xm-product="xmProduct" @change2="onProjectRowClick" @clear="onProjectClear"></xm-project-select>
<el-link type="warning" slot="reference" v-if="ptype!=='1' && (!selProject||!selProject.id)" icon="el-icon-search"><font style="font-size:14px;">{{filters.selProject?filters.selProject.name:'选择项目'}}</font></el-link> <el-link type="warning" slot="reference" v-if="ptype!=='1' && (!selProject||!selProject.id)" icon="el-icon-search"><font style="font-size:14px;">{{filters.selProject?filters.selProject.name:'选择项目'}}</font></el-link>
</el-popover> </el-popover>

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

@ -6,7 +6,7 @@
:class="{ 'flex-box': displayType == 'agil' }" :class="{ 'flex-box': displayType == 'agil' }"
> >
<el-row> <el-row>
<xm-project-select style="display:inline;" v-if="!selProject||!selProject.id" :auto-select="isTaskCenter?false:true" :link-iteration-id="xmIteration?xmIteration.id:null" :link-product-id="xmProduct?xmProduct.id:null" @change2="onProjectRowClick" @clear="onProjectClear" ></xm-project-select>
<xm-project-select show-style="tag" style="display:inline;" v-if="!selProject||!selProject.id" :auto-select="isTaskCenter?false:true" :link-iteration-id="xmIteration?xmIteration.id:null" :link-product-id="xmProduct?xmProduct.id:null" @change2="onProjectRowClick" @clear="onProjectClear" ></xm-project-select>
<el-select <el-select
@ -88,7 +88,7 @@
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>
<template slot="label">产品</template> <template slot="label">产品</template>
<xm-product-select :auto-select="false" :link-project-id="filters.selProject && filters.selProject.id?filters.selProject.id:null" @change2="onProductSelected" @clear="onProductClearSelect"></xm-product-select>
<xm-product-select show-style="tag" :auto-select="false" :link-project-id="filters.selProject && filters.selProject.id?filters.selProject.id:null" @change2="onProductSelected" @clear="onProductClearSelect"></xm-product-select>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item> <el-descriptions-item>

2
src/views/xm/core/xmTaskSbill/XmTaskSbillEdit.vue

@ -51,7 +51,7 @@
<el-form-item label="结算项目" prop="projectId"> <el-form-item label="结算项目" prop="projectId">
<!-- <el-button v-if="!editForm.projectId" type="primary" @click="projSelVisible=true" round>选择项目</el-button>--> <!-- <el-button v-if="!editForm.projectId" type="primary" @click="projSelVisible=true" round>选择项目</el-button>-->
<div v-if="!editForm.projectId"> <div v-if="!editForm.projectId">
<xm-project-select
<xm-project-select show-style="tag"
style="display: inline" style="display: inline"
:auto-select="false" :auto-select="false"
@change2="onProjectRowClick(arguments)" @change2="onProjectRowClick(arguments)"

2
src/views/xm/core/xmTaskSbill/XmTaskSbillMng.vue

@ -1,7 +1,7 @@
<template> <template>
<section class="page-container border padding"> <section class="page-container border padding">
<el-row> <el-row>
<xm-project-select style="display:inline;" ref="xmProjectSelect" :auto-select="false" @change2="onProjectConfirm" @clear="clearProject"></xm-project-select>
<xm-project-select show-style="tag" style="display:inline;" ref="xmProjectSelect" :auto-select="false" @change2="onProjectConfirm" @clear="clearProject"></xm-project-select>
<el-select v-model="filters.status" clearable @change="searchXmTaskSbills" placeholder="请选择结算单状态"> <el-select v-model="filters.status" clearable @change="searchXmTaskSbills" placeholder="请选择结算单状态">
<el-option label="全部状态" value=""></el-option> <el-option label="全部状态" value=""></el-option>
<el-option label="结算待提交" value="0"></el-option> <el-option label="结算待提交" value="0"></el-option>

2
src/views/xm/core/xmTestCasedb/XmTestCasedbEdit.vue

@ -7,7 +7,7 @@
<el-form-item label="归属产品" prop="productName"> <el-form-item label="归属产品" prop="productName">
<span v-if="opType=='add'"> <span v-if="opType=='add'">
<xm-product-select v-if="!xmProduct" style="display:inline;" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" @clear="clearProduct"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProduct" style="display:inline;" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" @clear="clearProduct"></xm-product-select>
<div v-else>{{editForm.productName}}</div> <div v-else>{{editForm.productName}}</div>
</span> </span>
<div v-else>{{editForm.productName}}</div> <div v-else>{{editForm.productName}}</div>

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

@ -1,7 +1,7 @@
<template> <template>
<section> <section>
<el-row> <el-row>
<xm-product-select v-if="!xmProduct" style="display:inline;" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" @clear="clearProduct"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProduct" style="display:inline;" :auto-select="false" :link-project-id="selProject?selProject.id:null" @change2="onProductSelected" @clear="clearProduct"></xm-product-select>
<el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询" clearable></el-input> <el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询" clearable></el-input>
<el-button v-loading="load.list" :disabled="load.list==true" @click="searchXmTestCasedbs" icon="el-icon-search">查询</el-button> <el-button v-loading="load.list" :disabled="load.list==true" @click="searchXmTestCasedbs" icon="el-icon-search">查询</el-button>
<span style="float:right;"> <span style="float:right;">

2
src/views/xm/core/xmTestPlan/XmTestPlanEdit.vue

@ -33,7 +33,7 @@
<el-form-item label="归属项目" prop="projectId" > <el-form-item label="归属项目" prop="projectId" >
<span v-if="opType=='add'"> <span v-if="opType=='add'">
<xm-project-select v-if="!selProject || !selProject.id" ref="xmProjectSelect" :link-product-id="xmTestCasedb? xmTestCasedb.productId:null" @row-click="onPorjectConfirm" :auto-select="false">
<xm-project-select show-style="tag" v-if="!selProject || !selProject.id" ref="xmProjectSelect" :link-product-id="xmTestCasedb? xmTestCasedb.productId:null" @row-click="onPorjectConfirm" :auto-select="false">
</xm-project-select> </xm-project-select>
</span> </span>

2
src/views/xm/core/xmWorkload/WorkloadSetDayList.vue

@ -13,7 +13,7 @@
<el-col :span="6" class="border padding"> <el-col :span="6" class="border padding">
<el-form :model="filters"> <el-form :model="filters">
<el-form-item label="归属项目" v-if="!xmProject"> <el-form-item label="归属项目" v-if="!xmProject">
<xm-project-select
<xm-project-select show-style="tag"
v-if="!xmProject" v-if="!xmProject"
ref="xmProjectSelect" ref="xmProjectSelect"
style="display: inline" style="display: inline"

2
src/views/xm/core/xmWorkload/WorkloadSetMonthList.vue

@ -13,7 +13,7 @@
<el-col :span="6" class="border padding"> <el-col :span="6" class="border padding">
<el-form :model="filters"> <el-form :model="filters">
<el-form-item label="归属项目" v-if="!xmProject"> <el-form-item label="归属项目" v-if="!xmProject">
<xm-project-select
<xm-project-select show-style="tag"
v-if="!xmProject" v-if="!xmProject"
ref="xmProjectSelect" ref="xmProjectSelect"
style="display: inline" style="display: inline"

2
src/views/xm/core/xmWorkload/XmWorkloadInfo.vue

@ -1,7 +1,7 @@
<template> <template>
<section class="page-container border padding"> <section class="page-container border padding">
<el-row> <el-row>
<xm-project-select style="display:inline;" ref="xmProjectSelect" :auto-select="false" @change2="onProjectConfirm" @clear="clearProject"></xm-project-select>
<xm-project-select show-style="tag" style="display:inline;" ref="xmProjectSelect" :auto-select="false" @change2="onProjectConfirm" @clear="clearProject"></xm-project-select>
<el-select v-model="filters.wstatus" clearable @change="searchXmWorkloads" placeholder="请选择工时单状态"> <el-select v-model="filters.wstatus" clearable @change="searchXmWorkloads" placeholder="请选择工时单状态">
<el-option label="全部状态" value=""></el-option> <el-option label="全部状态" value=""></el-option>
<el-option label="待确认" value="0"></el-option> <el-option label="待确认" value="0"></el-option>

2
src/views/xm/core/xmWorkload/XmWorkloadMng.vue

@ -1,7 +1,7 @@
<template> <template>
<section class="page-container border padding"> <section class="page-container border padding">
<el-row> <el-row>
<xm-project-select style="display:inline;" ref="xmProjectSelect" :auto-select="false" @change2="onProjectConfirm" @clear="clearProject"></xm-project-select>
<xm-project-select show-style="tag" style="display:inline;" ref="xmProjectSelect" :auto-select="false" @change2="onProjectConfirm" @clear="clearProject"></xm-project-select>
<el-select v-if="wstatuses && wstatuses.toString()=='0,2'" v-model="filters.wstatus" clearable @change="searchXmWorkloads" placeholder="请选择工时单状态"> <el-select v-if="wstatuses && wstatuses.toString()=='0,2'" v-model="filters.wstatus" clearable @change="searchXmWorkloads" placeholder="请选择工时单状态">
<el-option label="全部状态" value=""></el-option> <el-option label="全部状态" value=""></el-option>
<el-option label="待确认" value="0"></el-option> <el-option label="待确认" value="0"></el-option>

2
src/views/xm/rpt/branch/branchRptOverview.vue

@ -55,7 +55,7 @@
<el-form-item label="归属项目" prop="projectId"> <el-form-item label="归属项目" prop="projectId">
<span v-if="opType=='add'"> <span v-if="opType=='add'">
<xm-project-select v-if="!selProject || !selProject.id" ref="xmProjectSelect" :link-product-id="xmTestCasedb? xmTestCasedb.productId:null" @row-click="onPorjectConfirm" :auto-select="false">
<xm-project-select show-style="tag" v-if="!selProject || !selProject.id" ref="xmProjectSelect" :link-product-id="xmTestCasedb? xmTestCasedb.productId:null" @row-click="onPorjectConfirm" :auto-select="false">
<span slot="title">选择项目</span> <span slot="title">选择项目</span>
</xm-project-select> </xm-project-select>
<div v-else>{{rawDatas.projectName}}</div> <div v-else>{{rawDatas.projectName}}</div>

4
src/views/xm/rpt/iteration/IterationWorkItemDayList.vue

@ -25,7 +25,7 @@
<el-row> <el-row>
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属产品"> <el-form-item label="归属产品">
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -34,7 +34,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
<el-form-item label="日期区间"> <el-form-item label="日期区间">
<br> <br>

4
src/views/xm/rpt/iteration/burnout.vue

@ -27,7 +27,7 @@
<el-row> <el-row>
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属产品"> <el-form-item label="归属产品">
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -36,7 +36,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
<el-form-item label="日期区间"> <el-form-item label="日期区间">
<br> <br>

4
src/views/xm/rpt/iteration/menuDayAccumulate.vue

@ -17,7 +17,7 @@
<el-row> <el-row>
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属产品"> <el-form-item label="归属产品">
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -26,7 +26,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
<el-form-item label="日期区间"> <el-form-item label="日期区间">
<br> <br>

4
src/views/xm/rpt/iteration/menuDayTrend.vue

@ -26,7 +26,7 @@
<el-row> <el-row>
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属产品"> <el-form-item label="归属产品">
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -35,7 +35,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
<el-form-item label="日期区间"> <el-form-item label="日期区间">
<br> <br>

4
src/views/xm/rpt/iteration/questionDayAccumulate.vue

@ -17,7 +17,7 @@
<el-row> <el-row>
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属产品"> <el-form-item label="归属产品">
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -26,7 +26,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
<el-form-item label="日期区间"> <el-form-item label="日期区间">
<br> <br>

4
src/views/xm/rpt/iteration/questionDayTrend.vue

@ -25,7 +25,7 @@
<el-row> <el-row>
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属产品"> <el-form-item label="归属产品">
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -34,7 +34,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
<el-form-item label="日期区间"> <el-form-item label="日期区间">
<br> <br>

4
src/views/xm/rpt/product/menuAgeDist.vue

@ -26,7 +26,7 @@
<el-row> <el-row>
<el-col :span="15"> <el-col :span="15">
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -35,7 +35,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="9"> <el-col :span="9">

4
src/views/xm/rpt/product/menuAttDist.vue

@ -31,7 +31,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -40,7 +40,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="9"> <el-col :span="9">

2
src/views/xm/rpt/product/menuDayAccumulate.vue

@ -16,7 +16,7 @@
<el-row> <el-row>
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="日期区间"> <el-form-item label="日期区间">

2
src/views/xm/rpt/product/menuDayTrend.vue

@ -25,7 +25,7 @@
<el-row> <el-row>
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="日期区间"> <el-form-item label="日期区间">

4
src/views/xm/rpt/product/menuSort.vue

@ -31,7 +31,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -40,7 +40,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="9"> <el-col :span="9">

2
src/views/xm/rpt/product/productWorkItemDayList.vue

@ -26,7 +26,7 @@
<el-row> <el-row>
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="日期区间"> <el-form-item label="日期区间">

6
src/views/xm/rpt/product/questionAgeDist.vue

@ -36,11 +36,11 @@
</el-form-item> </el-form-item>
<el-form-item label="归属项目"> <el-form-item label="归属项目">
<xm-project-select v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -49,7 +49,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
<el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id"> <el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id">
<span> {{xmTestPlan.id}} <span> {{xmTestPlan.id}}

6
src/views/xm/rpt/product/questionAttDist.vue

@ -36,11 +36,11 @@
</el-form-item> </el-form-item>
<el-form-item label="归属项目"> <el-form-item label="归属项目">
<xm-project-select v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -49,7 +49,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
<el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id"> <el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id">
<span> {{xmTestPlan.id}} <span> {{xmTestPlan.id}}

2
src/views/xm/rpt/product/questionDayAccumulate.vue

@ -17,7 +17,7 @@
<el-row> <el-row>
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="日期区间"> <el-form-item label="日期区间">

2
src/views/xm/rpt/product/questionDayTrend.vue

@ -26,7 +26,7 @@
<el-row> <el-row>
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="日期区间"> <el-form-item label="日期区间">

6
src/views/xm/rpt/product/questionRetestDist.vue

@ -36,11 +36,11 @@
</el-form-item> </el-form-item>
<el-form-item label="归属项目"> <el-form-item label="归属项目">
<xm-project-select v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -49,7 +49,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
<el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id"> <el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id">
<span> {{xmTestPlan.id}} <span> {{xmTestPlan.id}}

6
src/views/xm/rpt/product/questionSort.vue

@ -36,11 +36,11 @@
</el-form-item> </el-form-item>
<el-form-item label="归属项目"> <el-form-item label="归属项目">
<xm-project-select v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" :iterationId="xmIteration?xmIteration.id:null" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -49,7 +49,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
<el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id"> <el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id">
<span> {{xmTestPlan.id}} <span> {{xmTestPlan.id}}

2
src/views/xm/rpt/project/projectWorkItemDayList.vue

@ -27,7 +27,7 @@
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属项目" > <el-form-item label="归属项目" >
<xm-project-select v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="日期区间"> <el-form-item label="日期区间">

2
src/views/xm/rpt/project/projectWorkloadSetDayList.vue

@ -26,7 +26,7 @@
<el-row> <el-row>
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属项目" > <el-form-item label="归属项目" >
<xm-project-select v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="人员编号"> <el-form-item label="人员编号">

2
src/views/xm/rpt/project/projectWorkloadSetMonthList.vue

@ -26,7 +26,7 @@
<el-row> <el-row>
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属项目" > <el-form-item label="归属项目" >
<xm-project-select v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="人员编号"> <el-form-item label="人员编号">

2
src/views/xm/rpt/project/taskAgeDist.vue

@ -27,7 +27,7 @@
<el-row> <el-row>
<el-col :span="15"> <el-col :span="15">
<el-form-item label="归属项目" > <el-form-item label="归属项目" >
<xm-project-select v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
</el-col> </el-col>

2
src/views/xm/rpt/project/taskAttDist.vue

@ -32,7 +32,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="归属项目" > <el-form-item label="归属项目" >
<xm-project-select v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
</el-col> </el-col>

2
src/views/xm/rpt/project/taskDayAccumulate.vue

@ -16,7 +16,7 @@
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属项目" > <el-form-item label="归属项目" >
<xm-project-select v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="日期区间"> <el-form-item label="日期区间">

2
src/views/xm/rpt/project/taskDayTrend.vue

@ -27,7 +27,7 @@
<el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef"> <el-form :model="params" class="padding" :style="{width:'100%',overflow: 'auto'}" ref="filtersRef">
<el-form-item label="归属项目" > <el-form-item label="归属项目" >
<xm-project-select v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="日期区间"> <el-form-item label="日期区间">

2
src/views/xm/rpt/project/taskSort.vue

@ -32,7 +32,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="归属项目" > <el-form-item label="归属项目" >
<xm-project-select v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject || !xmProject.id" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
</el-col> </el-col>

6
src/views/xm/rpt/testCase/testCaseSort.vue

@ -36,11 +36,11 @@
<span >{{xmTestCasedb.id}} <span v-if="xmTestCasedb.name"><br/>{{ xmTestCasedb.name }} </span> </span> <span >{{xmTestCasedb.id}} <span v-if="xmTestCasedb.name"><br/>{{ xmTestCasedb.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属项目" > <el-form-item label="归属项目" >
<xm-project-select v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -49,7 +49,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="9"> <el-col :span="9">

6
src/views/xm/rpt/testPlan/testCaseToPlanCalc.vue

@ -29,11 +29,11 @@
<span >{{xmTestCasedb.id}} <span v-if="xmTestCasedb.name"><br/>{{ xmTestCasedb.name }} </span> </span> <span >{{xmTestCasedb.id}} <span v-if="xmTestCasedb.name"><br/>{{ xmTestCasedb.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属项目" > <el-form-item label="归属项目" >
<xm-project-select v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -42,7 +42,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
<el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id"> <el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id">
<span> {{xmTestPlan.id}} <span> {{xmTestPlan.id}}

6
src/views/xm/rpt/testPlan/testDayTimesCalc.vue

@ -28,11 +28,11 @@
<span >{{xmTestCasedb.id}} <span v-if="xmTestCasedb.name"><br/>{{ xmTestCasedb.name }} </span> </span> <span >{{xmTestCasedb.id}} <span v-if="xmTestCasedb.name"><br/>{{ xmTestCasedb.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属项目" > <el-form-item label="归属项目" >
<xm-project-select v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -41,7 +41,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
<el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id"> <el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id">
<span> {{xmTestPlan.id}} <span> {{xmTestPlan.id}}

6
src/views/xm/rpt/testPlan/testPlanCaseExecStatusDist.vue

@ -29,11 +29,11 @@
<span >{{xmTestCasedb.id}} <span v-if="xmTestCasedb.name"><br/>{{ xmTestCasedb.name }} </span> </span> <span >{{xmTestCasedb.id}} <span v-if="xmTestCasedb.name"><br/>{{ xmTestCasedb.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属项目" > <el-form-item label="归属项目" >
<xm-project-select v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -42,7 +42,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
<el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id"> <el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id">
<span> {{xmTestPlan.id}} <span> {{xmTestPlan.id}}

6
src/views/xm/rpt/testPlan/testPlanCaseUserDist.vue

@ -29,11 +29,11 @@
<span >{{xmTestCasedb.id}} <span v-if="xmTestCasedb.name"><br/>{{ xmTestCasedb.name }} </span> </span> <span >{{xmTestCasedb.id}} <span v-if="xmTestCasedb.name"><br/>{{ xmTestCasedb.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属项目" > <el-form-item label="归属项目" >
<xm-project-select v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<xm-project-select show-style="tag" v-if="!xmProject" ref="xmProjectSelect" style="display:inline;" :auto-select="false" :link-product-id="xmProductCpd?xmProductCpd.id:null" @change2="onProjectSelected" @clear="onProjectClear"></xm-project-select>
<span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span> <span v-else>{{xmProject.id}} <span v-if="xmProject.name"><br/>{{ xmProject.name }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属产品" > <el-form-item label="归属产品" >
<xm-product-select v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" @clear="onProductClear"></xm-product-select>
<xm-product-select show-style="tag" v-if="!xmProductCpd || !xmProductCpd.id" ref="xmProductSelect" style="display:inline;" :auto-select="false" :link-project-id="xmProject?xmProject.id:null" @change2="onProductSelected" @clear="onProductClear"></xm-product-select>
<span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span> <span v-else>{{xmProductCpd.id}} <span v-if="xmProductCpd.productName"><br/>{{ xmProductCpd.productName }} </span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id"> <el-form-item label="归属迭代" v-if="xmIteration && xmIteration.id">
@ -42,7 +42,7 @@
</span> </span>
</el-form-item> </el-form-item>
<el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id"> <el-form-item label="归属迭代" v-else-if="filters.product && filters.product.id">
<xm-iteration-select ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
<xm-iteration-select show-style="tag" ref="xmIterationSelect" :auto-select="false" :product-id="filters.product?filters.product.id:null" :link-project-id="xmProject?xmProject.id:null" placeholder="迭代" @change2="onIterationSelected" @clear="onIterationClear"></xm-iteration-select>
</el-form-item> </el-form-item>
<el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id"> <el-form-item label="测试计划" v-if="xmTestPlan && xmTestPlan.id">
<span> {{xmTestPlan.id}} <span> {{xmTestPlan.id}}

2
src/views/xm/rpt/testPlan/testPlanRptOverview.vue

@ -58,7 +58,7 @@
<el-form-item label="归属项目" prop="projectId"> <el-form-item label="归属项目" prop="projectId">
<span v-if="opType=='add'"> <span v-if="opType=='add'">
<xm-project-select v-if="!selProject || !selProject.id" ref="xmProjectSelect" :link-product-id="xmTestCasedb? xmTestCasedb.productId:null" @row-click="onPorjectConfirm" :auto-select="false">
<xm-project-select show-style="tag" v-if="!selProject || !selProject.id" ref="xmProjectSelect" :link-product-id="xmTestCasedb? xmTestCasedb.productId:null" @row-click="onPorjectConfirm" :auto-select="false">
<span slot="title">选择项目</span> <span slot="title">选择项目</span>
</xm-project-select> </xm-project-select>
<div v-else>{{rawDatas.projectName}}</div> <div v-else>{{rawDatas.projectName}}</div>

Loading…
Cancel
Save