Browse Source

提交批量修改

master
陈裕财 5 years ago
parent
commit
5e4440103d
  1. 60
      src/styles/mdp.scss
  2. 4
      src/views/xm/core/skill/skillMng.vue
  3. 2
      src/views/xm/core/xmAttachment/XmAttachmentMng.vue
  4. 2
      src/views/xm/core/xmBranchState/XmBranchStateMng.vue
  5. 2
      src/views/xm/core/xmBranchTaskTypeState/XmBranchTaskTypeStateMng.vue
  6. 4
      src/views/xm/core/xmEnvList/XmEnvListMng.vue
  7. 2
      src/views/xm/core/xmExchange/XmExchangeMng.vue
  8. 2
      src/views/xm/core/xmFile/XmFileMng.vue
  9. 2
      src/views/xm/core/xmIteration/XmIterationMng.vue
  10. 2
      src/views/xm/core/xmIteration/XmIterationSelect.vue
  11. 6
      src/views/xm/core/xmIterationMenu/XmIterationMenuMng.vue
  12. 2
      src/views/xm/core/xmIterationState/XmIterationStateMng.vue
  13. 2
      src/views/xm/core/xmIterationState/XmIterationStateShow.vue
  14. 6
      src/views/xm/core/xmMenu/XmMenuMng.vue
  15. 2
      src/views/xm/core/xmMenu/XmMenuMngBatch.vue
  16. 2
      src/views/xm/core/xmMenu/XmMenuSelect.vue
  17. 2
      src/views/xm/core/xmMenu/XmMenuWithPlan.vue
  18. 2
      src/views/xm/core/xmMenuExchange/XmMenuExchangeMng.vue
  19. 4
      src/views/xm/core/xmMenuPlan/XmMenuPlanMng.vue
  20. 2
      src/views/xm/core/xmMenuState/XmMenuStateMng.vue
  21. 2
      src/views/xm/core/xmMyFocus/XmMyFocusMng.vue
  22. 6
      src/views/xm/core/xmProduct/XmProductMng.vue
  23. 2
      src/views/xm/core/xmProduct/XmProductSelect.vue
  24. 8
      src/views/xm/core/xmProductState/XmProductStateMng.vue
  25. 2
      src/views/xm/core/xmProject/XmProjectBudgetCost.vue
  26. 4
      src/views/xm/core/xmProject/XmProjectList.vue
  27. 2
      src/views/xm/core/xmProject/XmProjectMng.vue
  28. 2
      src/views/xm/core/xmProjectBaseline/XmProjectBaselineMng.vue
  29. 4
      src/views/xm/core/xmProjectContract/XmProjectContractMng.vue
  30. 4
      src/views/xm/core/xmProjectEnvList/XmProjectEnvListMng.vue
  31. 4
      src/views/xm/core/xmProjectGroup/XmProjectGroupMng.vue
  32. 2
      src/views/xm/core/xmProjectGroupFormwork/XmProjectGroupFormwork.vue
  33. 4
      src/views/xm/core/xmProjectGroupFormwork/XmProjectGroupFormworkMng.vue
  34. 4
      src/views/xm/core/xmProjectGroupState/XmProjectGroupStateMng.vue
  35. 4
      src/views/xm/core/xmProjectGroupUser/XmProjectGroupUserMng.vue
  36. 4
      src/views/xm/core/xmProjectGroupUserCandidate/XmProjectGroupUserCandidateMng.vue
  37. 2
      src/views/xm/core/xmProjectKpi/XmProjectKpiMng.vue
  38. 2
      src/views/xm/core/xmProjectKpiHis/XmProjectKpiHisMng.vue
  39. 4
      src/views/xm/core/xmProjectMBudgetCostNouser/XmProjectMBudgetCostNouserMng.vue
  40. 4
      src/views/xm/core/xmProjectMBudgetCostUser/XmProjectMBudgetCostUserMng.vue
  41. 4
      src/views/xm/core/xmProjectMCostNouser/XmProjectMCostNouserMng.vue
  42. 4
      src/views/xm/core/xmProjectMCostUser/XmProjectMCostUserList.vue
  43. 4
      src/views/xm/core/xmProjectMCostUser/XmProjectMCostUserMng.vue
  44. 2
      src/views/xm/core/xmProjectOptions/XmProjectOptionsMng.vue
  45. 2
      src/views/xm/core/xmProjectPhase/XmProjectPhaseBatch.vue
  46. 2
      src/views/xm/core/xmProjectPhase/XmProjectPhaseMng.vue
  47. 2
      src/views/xm/core/xmProjectPhaseBaseline/XmProjectPhaseBaselineMng.vue
  48. 4
      src/views/xm/core/xmProjectPhaseTemplate/XmProjectPhaseTemplateMng.vue
  49. 2
      src/views/xm/core/xmProjectState/XmCockpit.vue
  50. 4
      src/views/xm/core/xmProjectState/XmProjectStateMng.vue
  51. 2
      src/views/xm/core/xmProjectStateHis/XmProjectStateHisMng.vue
  52. 2
      src/views/xm/core/xmProjectTaskTypeState/XmProjectTaskTypeStateMng.vue
  53. 2
      src/views/xm/core/xmProjectTemplate/XmProjectTemplateList.vue
  54. 2
      src/views/xm/core/xmProjectTemplate/XmProjectTemplateMng.vue
  55. 2
      src/views/xm/core/xmQuestion/XmQuestionCenter.vue
  56. 8
      src/views/xm/core/xmQuestion/XmQuestionMng.vue
  57. 2
      src/views/xm/core/xmQuestionHandle/XmQuestionHandleMng.vue
  58. 2
      src/views/xm/core/xmQuestionTag/XmQuestionTagMng.vue
  59. 8
      src/views/xm/core/xmRecord/XmRecord.vue
  60. 2
      src/views/xm/core/xmTask/XmTaskList.vue
  61. 2
      src/views/xm/core/xmTask/XmTaskListForMenu.vue
  62. 2
      src/views/xm/core/xmTask/XmTaskMng.vue
  63. 2
      src/views/xm/core/xmTask/XmTaskMngBatch.vue
  64. 4
      src/views/xm/core/xmTaskExecuser/XmTaskExecuserMng.vue
  65. 2
      src/views/xm/core/xmTaskSkill/XmTaskSkillMng.vue
  66. 2
      src/views/xm/core/xmTaskTemplate/XmTaskTemplateMng.vue
  67. 4
      src/views/xm/core/xmTestCase/XmTestCaseMng.vue
  68. 8
      src/views/xm/core/xmTestCaseExec/XmTestCaseExecMng.vue

60
src/styles/mdp.scss

@ -1,42 +1,26 @@
//main-container全局样式 //main-container全局样式
.page-full-height{ .page-full-height{
height: calc(100vh); height: calc(100vh);
} }
.page-height{
height: calc(90vh);
}
.page-height-90{
height: calc(90vh);
}
.page-height{ .page-height{
height: calc(90vh); height: calc(90vh);
} }
.page-main-height{
height: calc(80vh);
overflow: auto;
.page-height-80{
height: calc(80vh);
} }
.page-bottom-height{
.page-height-10{
height: calc(10vh);
overflow: auto;
height: calc(10vh);
} }
.page-container {
.page-header{
flex: 0 0 auto;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
height: 60px;
overflow-x: hidden;
background-color:rgb(182, 206, 214);
.el-button{
margin-left:10px;
}
.el-input{
width:270px;
margin-left:10px;
}
.el-date-editor{
margin-left:10px;
}
}
.page-container {
.page-tips{ .page-tips{
position:absolute; position:absolute;
font-size: 16px; font-size: 16px;
@ -48,24 +32,16 @@
flex-direction: row; flex-direction: row;
justify-content: flex-start; justify-content: flex-start;
align-items: center; align-items: center;
height: 60px;
overflow-x: hidden;
background-color:rgb(182, 206, 214);
overflow-x: hidden;
} }
.page-main{
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 10px;
border:1px solid #e8e8e8;
.page-header{
}
.page-main{
} }
.page-bottom{ .page-bottom{
margin-top:5px;
padding-left:5px;
padding-right:5px;
} }
}
}
.border{ .border{
border: 1px solid #e8e8e8; border: 1px solid #e8e8e8;
} }

4
src/views/xm/core/skill/skillMng.vue

@ -1,6 +1,6 @@
<template> <template>
<section>
<el-row class="app-container">
<section class="page-container page-full-height padding border">
<el-row >
<el-row> <el-row>
<el-col :span="10"> <el-col :span="10">
<el-button type="primary" v-if="jump==true" @click="selectConfirm" icon="el-icon-finished">确认选择</el-button> <el-button type="primary" v-if="jump==true" @click="selectConfirm" icon="el-icon-finished">确认选择</el-button>

2
src/views/xm/core/xmAttachment/XmAttachmentMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+xm_attachment</el-button> <el-button type="primary" @click="showAdd">+xm_attachment</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmAttachment xm_attachment--> <!--列表 XmAttachment xm_attachment-->
<el-table :data="xmAttachments" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmAttachments" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>

2
src/views/xm/core/xmBranchState/XmBranchStateMng.vue

@ -5,7 +5,7 @@
<el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmBranchStates">查询</el-button> <el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmBranchStates">查询</el-button>
<el-button type="warning" v-loading="load.edit" @click="loadProjectStateToXmBranchState">刷新数据</el-button> <el-button type="warning" v-loading="load.edit" @click="loadProjectStateToXmBranchState">刷新数据</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmBranchState 机构内所有项目指标汇总--> <!--列表 XmBranchState 机构内所有项目指标汇总-->
<el-table :data="xmBranchStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmBranchStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="index" width="45"></el-table-column> <el-table-column sortable type="index" width="45"></el-table-column>

2
src/views/xm/core/xmBranchTaskTypeState/XmBranchTaskTypeStateMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+按机构编号任务类型汇总</el-button> <el-button type="primary" @click="showAdd">+按机构编号任务类型汇总</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmBranchTaskTypeState 按机构编号任务类型汇总--> <!--列表 XmBranchTaskTypeState 按机构编号任务类型汇总-->
<el-table :data="xmBranchTaskTypeStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmBranchTaskTypeStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column type="selection" width="45"></el-table-column> <el-table-column type="selection" width="45"></el-table-column>

4
src/views/xm/core/xmEnvList/XmEnvListMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">添加环境清单</el-button> <el-button type="primary" @click="showAdd">添加环境清单</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmEnvList xm_env_list--> <!--列表 XmEnvList xm_env_list-->
<el-table ref="table" :height="tableHeight" :data="xmEnvLists" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmEnvLists" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>
@ -258,7 +258,7 @@
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmEnvLists(); this.getXmEnvLists();
}); });

2
src/views/xm/core/xmExchange/XmExchangeMng.vue

@ -1,6 +1,6 @@
<template> <template>
<section> <section>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<div style="overflow-x:hidden"> <div style="overflow-x:hidden">
<task-user-editor :id="'head'" :user="{userid:userInfo.userid,username:userInfo.username,headimgurl:userInfo.headimgurl}" :project-id="xmTask.projectId" :task-id="xmTask.taskId" @publish="onPublishContent"></task-user-editor> <task-user-editor :id="'head'" :user="{userid:userInfo.userid,username:userInfo.username,headimgurl:userInfo.headimgurl}" :project-id="xmTask.projectId" :task-id="xmTask.taskId" @publish="onPublishContent"></task-user-editor>
<div v-for="(item,i) in xmExchanges" :key="i" class="comment-list clearfix"> <div v-for="(item,i) in xmExchanges" :key="i" class="comment-list clearfix">

2
src/views/xm/core/xmFile/XmFileMng.vue

@ -273,7 +273,7 @@
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmFiles(); this.getXmFiles();
}); });

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

@ -479,7 +479,7 @@
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmIterations(); this.getXmIterations();
}); });

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

@ -350,7 +350,7 @@
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmIterations(); this.getXmIterations();
}); });

6
src/views/xm/core/xmIterationMenu/XmIterationMenuMng.vue

@ -6,7 +6,7 @@
<xm-iteration-mng :simple="true" @row-click="onIterationRowClick" @clear-select="onIterationClearSelect"></xm-iteration-mng> <xm-iteration-mng :simple="true" @row-click="onIterationRowClick" @clear-select="onIterationClearSelect"></xm-iteration-mng>
</el-col> </el-col>
<el-col :span="xmIteration?24:16"> <el-col :span="xmIteration?24:16">
<el-row class="app-container">
<el-row class="page-main page-main-height">
<el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"> <el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询">
<template slot="append"> <template slot="append">
<el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmIterationMenus" icon="el-icon-search"></el-button> <el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmIterationMenus" icon="el-icon-search"></el-button>
@ -14,7 +14,7 @@
</el-input> </el-input>
<el-button type="primary" @click="showAdd" icon="el-icon-plus">加入更多故事到迭代计划</el-button> <el-button type="primary" @click="showAdd" icon="el-icon-plus">加入更多故事到迭代计划</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmIterationMenu 迭代定义--> <!--列表 XmIterationMenu 迭代定义-->
<el-table ref="table" :height="tableHeight" :data="xmIterationMenusTreeData" default-expand-all row-key="menuId" :tree-props="{children: 'children', hasChildren: 'hasChildren'}" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmIterationMenusTreeData" default-expand-all row-key="menuId" :tree-props="{children: 'children', hasChildren: 'hasChildren'}" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column type="selection" width="45"></el-table-column> <el-table-column type="selection" width="45"></el-table-column>
@ -333,7 +333,7 @@
} }
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmIterationMenus(); this.getXmIterationMenus();
}); });

2
src/views/xm/core/xmIterationState/XmIterationStateMng.vue

@ -4,7 +4,7 @@
<el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input> <el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input>
<el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmIterationStates">查询</el-button> <el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmIterationStates">查询</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmIterationState 迭代定义--> <!--列表 XmIterationState 迭代定义-->
<el-table :data="xmIterationStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmIterationStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="index" width="45"></el-table-column> <el-table-column sortable type="index" width="45"></el-table-column>

2
src/views/xm/core/xmIterationState/XmIterationStateShow.vue

@ -4,7 +4,7 @@
<el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input> <el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input>
<el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmIterationStates">查询</el-button> <el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmIterationStates">查询</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmIterationState 迭代定义--> <!--列表 XmIterationState 迭代定义-->
<el-table :data="xmIterationStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmIterationStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="index" width="45"></el-table-column> <el-table-column sortable type="index" width="45"></el-table-column>

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

@ -1,6 +1,6 @@
<template> <template>
<section>
<el-row class="app-container" v-if=" !batchEditVisible">
<section class="page-container page-full-height padding border">
<el-row v-if=" !batchEditVisible">
<el-col :span="6"> <el-col :span="6">
<xm-product-mng :sel-project="selProject" @row-click="onProductSelected" ref="xmProductMng" :simple="true"></xm-product-mng> <xm-product-mng :sel-project="selProject" @row-click="onProductSelected" ref="xmProductMng" :simple="true"></xm-product-mng>
</el-col> </el-col>
@ -809,7 +809,7 @@
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmMenus(); this.getXmMenus();
}); });

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

@ -1086,7 +1086,7 @@
this.filters.product=this.product this.filters.product=this.product
this.getXmMenus(); this.getXmMenus();
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
if(this.selProject){ if(this.selProject){
subHeight=110/1000 * window.innerHeight; subHeight=110/1000 * window.innerHeight;
} }

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

@ -389,7 +389,7 @@
} }
this.getXmMenus(); this.getXmMenus();
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
}); });
} }

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

@ -517,7 +517,7 @@
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmMenus(); this.getXmMenus();
}); });

2
src/views/xm/core/xmMenuExchange/XmMenuExchangeMng.vue

@ -13,7 +13,7 @@
<el-divider></el-divider> <el-divider></el-divider>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<div style="overflow-x:hidden"> <div style="overflow-x:hidden">
<menu-user-editor :id="'head'+filters.xmMenu.menuId" v-if="filters.xmMenu" :user="{userid:userInfo.userid,username:userInfo.username,headimgurl:userInfo.headimgurl}" :product-id="filters.xmMenu.productId" :menu-id="filters.xmMenu.menuId" @publish="onPublishContent"></menu-user-editor> <menu-user-editor :id="'head'+filters.xmMenu.menuId" v-if="filters.xmMenu" :user="{userid:userInfo.userid,username:userInfo.username,headimgurl:userInfo.headimgurl}" :product-id="filters.xmMenu.productId" :menu-id="filters.xmMenu.menuId" @publish="onPublishContent"></menu-user-editor>
<div v-for="(item,i) in xmMenuExchanges" :key="i" class="comment-list clearfix"> <div v-for="(item,i) in xmMenuExchanges" :key="i" class="comment-list clearfix">

4
src/views/xm/core/xmMenuPlan/XmMenuPlanMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+功能计划表,无需前端维护所有数据由汇总统计得出</el-button> <el-button type="primary" @click="showAdd">+功能计划表,无需前端维护所有数据由汇总统计得出</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmMenuPlan 功能计划表,无需前端维护所有数据由汇总统计得出--> <!--列表 XmMenuPlan 功能计划表,无需前端维护所有数据由汇总统计得出-->
<el-table ref="table" :height="tableHeight" :data="xmMenuPlans" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmMenuPlans" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column type="selection" width="45"></el-table-column> <el-table-column type="selection" width="45"></el-table-column>
@ -266,7 +266,7 @@
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmMenuPlans(); this.getXmMenuPlans();
}); });

2
src/views/xm/core/xmMenuState/XmMenuStateMng.vue

@ -482,7 +482,7 @@
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmMenus(); this.getXmMenus();
}); });

2
src/views/xm/core/xmMyFocus/XmMyFocusMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+xm_my_focus</el-button> <el-button type="primary" @click="showAdd">+xm_my_focus</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmMyFocus xm_my_focus--> <!--列表 XmMyFocus xm_my_focus-->
<el-table :data="xmMyFocuss" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmMyFocuss" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>

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

@ -1,6 +1,6 @@
<template> <template>
<section>
<el-row class="app-container">
<section class="page-container page-full-height padding border">
<el-row >
<el-select v-model="filters.queryScope" placeholder="产品查询范围"> <el-select v-model="filters.queryScope" placeholder="产品查询范围">
<el-option :label="userInfo.branchName+'机构下所有的产品'" value="branchId"></el-option> <el-option :label="userInfo.branchName+'机构下所有的产品'" value="branchId"></el-option>
<el-option label="我相关的产品" value="compete"></el-option> <el-option label="我相关的产品" value="compete"></el-option>
@ -470,7 +470,7 @@
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmProducts(); this.getXmProducts();
}); });

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

@ -300,7 +300,7 @@
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmProducts(); this.getXmProducts();
}); });

8
src/views/xm/core/xmProductState/XmProductStateMng.vue

@ -1,10 +1,10 @@
<template> <template>
<section>
<el-row class="app-container" v-if="!xmProduct">
<section class="page-container page-full-height padding border">
<el-row v-if="!xmProduct">
<el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input> <el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input>
<el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmProductStates">查询</el-button> <el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmProductStates">查询</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProductState 功能状态表,无需前端维护所有数据由汇总统计得出--> <!--列表 XmProductState 功能状态表,无需前端维护所有数据由汇总统计得出-->
<el-table ref="table" :height="tableHeight" :data="xmProductStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmProductStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="index" width="45"></el-table-column> <el-table-column sortable type="index" width="45"></el-table-column>
@ -226,7 +226,7 @@
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmProductStates(); this.getXmProductStates();
}); });

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

@ -307,7 +307,7 @@ import { months } from 'moment';
this.showType = "人力"; this.showType = "人力";
this.$nextTick(() => { this.$nextTick(() => {
//var clientRect=this.$refs.table.$el.getBoundingClientRect(); //var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=500/1000 * window.innerHeight;
var subHeight=700/1000 * window.innerHeight;
this.tableHeight = window.innerHeight-subHeight; this.tableHeight = window.innerHeight-subHeight;
}); });
this.selProjectBudget=Object.assign({},this.selProject); this.selProjectBudget=Object.assign({},this.selProject);

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

@ -7,7 +7,7 @@
</template> </template>
</el-input> </el-input>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<el-table ref="table" :height="tableHeight" stripe :data="xmProjects" highlight-current-row v-loading="load.list" style="width: 100%;"> <el-table ref="table" :height="tableHeight" stripe :data="xmProjects" highlight-current-row v-loading="load.list" style="width: 100%;">
<el-table-column type="index" label="序号" width="55" ></el-table-column> <el-table-column type="index" label="序号" width="55" ></el-table-column>
<el-table-column prop="code" label="项目编号" min-width="80" ></el-table-column> <el-table-column prop="code" label="项目编号" min-width="80" ></el-table-column>
@ -156,7 +156,7 @@
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.showInfo = false; this.showInfo = false;
this.getXmProjects(); this.getXmProjects();

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

@ -670,7 +670,7 @@
} }
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.showInfo = false; this.showInfo = false;
this.getXmProjects(); this.getXmProjects();

2
src/views/xm/core/xmProjectBaseline/XmProjectBaselineMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+xm_project_baseline</el-button> <el-button type="primary" @click="showAdd">+xm_project_baseline</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectBaseline xm_project_baseline--> <!--列表 XmProjectBaseline xm_project_baseline-->
<el-table :data="xmProjectBaselines" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmProjectBaselines" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>

4
src/views/xm/core/xmProjectContract/XmProjectContractMng.vue

@ -10,7 +10,7 @@
<el-button type="primary" @click="showAdd" icon="el-icon-plus">添加合同</el-button> <el-button type="primary" @click="showAdd" icon="el-icon-plus">添加合同</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true" icon="el-icon-delete">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true" icon="el-icon-delete">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectContract xm_project_contract--> <!--列表 XmProjectContract xm_project_contract-->
<el-table ref="table" :height="tableHeight" :data="xmProjectContracts" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmProjectContracts" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<!-- ht_contract_card表 --> <!-- ht_contract_card表 -->
@ -242,7 +242,7 @@
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmProjectContracts(); this.getXmProjectContracts();
}); });

4
src/views/xm/core/xmProjectEnvList/XmProjectEnvListMng.vue

@ -7,7 +7,7 @@
<el-button type="primary" @click="showImport">选择已有环境清单</el-button> <el-button type="primary" @click="showImport">选择已有环境清单</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</div> </div>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectEnvList xm_project_env_list--> <!--列表 XmProjectEnvList xm_project_env_list-->
<el-table ref="table" :height="tableHeight" :data="xmProjectEnvLists" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmProjectEnvLists" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>
@ -320,7 +320,7 @@
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
console.log(this.currProject); console.log(this.currProject);
this.getXmProjectEnvLists(); this.getXmProjectEnvLists();

4
src/views/xm/core/xmProjectGroup/XmProjectGroupMng.vue

@ -1,6 +1,6 @@
<template> <template>
<section>
<el-row class="app-container" v-loading="load.edit">
<section class="page-container page-full-height padding border">
<el-row v-loading="load.edit">
<xm-project-group-formwork :is-select-single-user="isSelectSingleUser" :is-select-multi-user="isSelectMultiUser" :visible="groupSelectVisible" :sel-project="selProject" :sel-groups="groups" @select-confirm="onGroupSelected" @user-confirm="onUserSelected"></xm-project-group-formwork> <xm-project-group-formwork :is-select-single-user="isSelectSingleUser" :is-select-multi-user="isSelectMultiUser" :visible="groupSelectVisible" :sel-project="selProject" :sel-groups="groups" @select-confirm="onGroupSelected" @user-confirm="onUserSelected"></xm-project-group-formwork>
</el-row> </el-row>
</section> </section>

2
src/views/xm/core/xmProjectGroupFormwork/XmProjectGroupFormwork.vue

@ -85,7 +85,7 @@
direction="ltr" direction="ltr"
ref="drawer" ref="drawer"
> >
<el-row class="app-container">
<el-row class="page-main page-main-height">
<el-collapse> <el-collapse>
<el-collapse-item title="项目经理:项目整体、团队、进度、质量、计划、风险、沟通管理等" name="3"> <el-collapse-item title="项目经理:项目整体、团队、进度、质量、计划、风险、沟通管理等" name="3">

4
src/views/xm/core/xmProjectGroupFormwork/XmProjectGroupFormworkMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+xm_project_group_formwork</el-button> <el-button type="primary" @click="showAdd">+xm_project_group_formwork</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectGroupFormwork xm_project_group_formwork--> <!--列表 XmProjectGroupFormwork xm_project_group_formwork-->
<el-table ref="table" :height="tableHeight" :data="xmProjectGroupFormworks" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmProjectGroupFormworks" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>
@ -225,7 +225,7 @@
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmProjectGroupFormworks(); this.getXmProjectGroupFormworks();
}); });

4
src/views/xm/core/xmProjectGroupState/XmProjectGroupStateMng.vue

@ -5,7 +5,7 @@
<el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmProjectGroupStates">查询</el-button> <el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmProjectGroupStates">查询</el-button>
<el-button type="warning" v-loading="load.edit" @click="loadTasksToXmProjectGroupState">刷新数据</el-button> <el-button type="warning" v-loading="load.edit" @click="loadTasksToXmProjectGroupState">刷新数据</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectGroupState 功能状态表,无需前端维护所有数据由汇总统计得出--> <!--列表 XmProjectGroupState 功能状态表,无需前端维护所有数据由汇总统计得出-->
<el-table ref="table" :height="tableHeight" :data="xmProjectGroupStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmProjectGroupStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="index" width="45"></el-table-column> <el-table-column sortable type="index" width="45"></el-table-column>
@ -244,7 +244,7 @@
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmProjectGroupStates(); this.getXmProjectGroupStates();
}); });

4
src/views/xm/core/xmProjectGroupUser/XmProjectGroupUserMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+xm_project_group_user</el-button> <el-button type="primary" @click="showAdd">+xm_project_group_user</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectGroupUser xm_project_group_user--> <!--列表 XmProjectGroupUser xm_project_group_user-->
<el-table ref="table" :height="tableHeight" :data="xmProjectGroupUsers" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmProjectGroupUsers" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>
@ -225,7 +225,7 @@
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmProjectGroupUsers(); this.getXmProjectGroupUsers();
}); });

4
src/views/xm/core/xmProjectGroupUserCandidate/XmProjectGroupUserCandidateMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+xm_project_group_user_candidate</el-button> <el-button type="primary" @click="showAdd">+xm_project_group_user_candidate</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectGroupUserCandidate xm_project_group_user_candidate--> <!--列表 XmProjectGroupUserCandidate xm_project_group_user_candidate-->
<el-table ref="table" :height="tableHeight" :data="xmProjectGroupUserCandidates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmProjectGroupUserCandidates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>
@ -229,7 +229,7 @@
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmProjectGroupUserCandidates(); this.getXmProjectGroupUserCandidates();
}); });

2
src/views/xm/core/xmProjectKpi/XmProjectKpiMng.vue

@ -252,7 +252,7 @@
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmProjectKpis(); this.getXmProjectKpis();
}); });

2
src/views/xm/core/xmProjectKpiHis/XmProjectKpiHisMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+xm_project_kpi_his</el-button> <el-button type="primary" @click="showAdd">+xm_project_kpi_his</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectKpiHis xm_project_kpi_his--> <!--列表 XmProjectKpiHis xm_project_kpi_his-->
<el-table :data="xmProjectKpiHiss" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmProjectKpiHiss" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>

4
src/views/xm/core/xmProjectMBudgetCostNouser/XmProjectMBudgetCostNouserMng.vue

@ -18,7 +18,7 @@
<span style="margin-left:10px;font-size:14px;">外购人力总预算</span><el-tag type='warning'>{{selProject.planOutUserAt}}</el-tag> <span style="margin-left:10px;font-size:14px;">外购人力总预算</span><el-tag type='warning'>{{selProject.planOutUserAt}}</el-tag>
</font> </font>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectMBudgetCostNouser xm_project_m_budget_cost_nouser--> <!--列表 XmProjectMBudgetCostNouser xm_project_m_budget_cost_nouser-->
<el-table ref="table" :height="tableHeight" :data="xmProjectMBudgetCostNousers" show-summary @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmProjectMBudgetCostNousers" show-summary @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>
@ -346,7 +346,7 @@
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmProjectMBudgetCostNousers(); this.getXmProjectMBudgetCostNousers();
}); });

4
src/views/xm/core/xmProjectMBudgetCostUser/XmProjectMBudgetCostUserMng.vue

@ -18,7 +18,7 @@
<span style="margin-left:10px;font-size:14px;">外购人力总预算</span><el-tag type='warning'>{{selProject.planOutUserAt}}</el-tag> <span style="margin-left:10px;font-size:14px;">外购人力总预算</span><el-tag type='warning'>{{selProject.planOutUserAt}}</el-tag>
</font> </font>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectMBudgetCostUser xm_project_m_budget_cost_user--> <!--列表 XmProjectMBudgetCostUser xm_project_m_budget_cost_user-->
<el-table ref="table" :height="tableHeight" :data="xmProjectMBudgetCostUsers" show-summary @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmProjectMBudgetCostUsers" show-summary @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="60"></el-table-column> <el-table-column sortable type="selection" width="60"></el-table-column>
@ -351,7 +351,7 @@
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmProjectMBudgetCostUsers(); this.getXmProjectMBudgetCostUsers();
}); });

4
src/views/xm/core/xmProjectMCostNouser/XmProjectMCostNouserMng.vue

@ -17,7 +17,7 @@
<span style="margin-left:10px;font-size:14px;">外购人力总成本</span><el-tag type='warning'>{{selProject.planOutUserAt}}</el-tag> <span style="margin-left:10px;font-size:14px;">外购人力总成本</span><el-tag type='warning'>{{selProject.planOutUserAt}}</el-tag>
</font> </font>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectMCostNouser xm_project_m_budget_cost_nouser--> <!--列表 XmProjectMCostNouser xm_project_m_budget_cost_nouser-->
<el-table ref="table" :height="tableHeight" :data="xmProjectMCostNousers" show-summary @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmProjectMCostNousers" show-summary @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>
@ -347,7 +347,7 @@
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmProjectMCostNousers(); this.getXmProjectMCostNousers();
}); });

4
src/views/xm/core/xmProjectMCostUser/XmProjectMCostUserList.vue

@ -4,7 +4,7 @@
<el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input> <el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input>
<el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmProjectMCostUsers">查询</el-button> <el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmProjectMCostUsers">查询</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectMCostUser xm_project_m_budget_cost_user--> <!--列表 XmProjectMCostUser xm_project_m_budget_cost_user-->
<el-table ref="table" :height="tableHeight" :data="xmProjectMCostUsers" show-summary @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmProjectMCostUsers" show-summary @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>
@ -241,7 +241,7 @@
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmProjectMCostUsers(); this.getXmProjectMCostUsers();
}); });

4
src/views/xm/core/xmProjectMCostUser/XmProjectMCostUserMng.vue

@ -19,7 +19,7 @@
<span style="margin-left:10px;font-size:14px;">外购人力总成本</span><el-tag type='warning'>{{selProject.planOutUserAt}}</el-tag> <span style="margin-left:10px;font-size:14px;">外购人力总成本</span><el-tag type='warning'>{{selProject.planOutUserAt}}</el-tag>
</font> </font>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectMCostUser xm_project_m_budget_cost_user--> <!--列表 XmProjectMCostUser xm_project_m_budget_cost_user-->
<el-table ref="table" :height="tableHeight" :data="xmProjectMCostUsers" show-summary @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmProjectMCostUsers" show-summary @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="60"></el-table-column> <el-table-column sortable type="selection" width="60"></el-table-column>
@ -351,7 +351,7 @@
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmProjectMCostUsers(); this.getXmProjectMCostUsers();
}); });

2
src/views/xm/core/xmProjectOptions/XmProjectOptionsMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+xm_project_options</el-button> <el-button type="primary" @click="showAdd">+xm_project_options</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectOptions xm_project_options--> <!--列表 XmProjectOptions xm_project_options-->
<el-table :data="xmProjectOptionss" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmProjectOptionss" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>

2
src/views/xm/core/xmProjectPhase/XmProjectPhaseBatch.vue

@ -1211,7 +1211,7 @@
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
if(this.selProject){ if(this.selProject){
this.getXmProjectPhases(); this.getXmProjectPhases();

2
src/views/xm/core/xmProjectPhase/XmProjectPhaseMng.vue

@ -1318,7 +1318,7 @@ import XmProjectGroupSelect from '../xmProjectGroup/XmProjectGroupSelect.vue';
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
if(this.selProject){ if(this.selProject){
this.getXmProjectPhases(); this.getXmProjectPhases();

2
src/views/xm/core/xmProjectPhaseBaseline/XmProjectPhaseBaselineMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+xm_project_phase_baseline</el-button> <el-button type="primary" @click="showAdd">+xm_project_phase_baseline</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectPhaseBaseline xm_project_phase_baseline--> <!--列表 XmProjectPhaseBaseline xm_project_phase_baseline-->
<el-table :data="xmProjectPhaseBaselines" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmProjectPhaseBaselines" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>

4
src/views/xm/core/xmProjectPhaseTemplate/XmProjectPhaseTemplateMng.vue

@ -1,6 +1,6 @@
<template> <template>
<section>
<el-row class="app-container" v-if="!simple">
<section class="page-container page-full-height padding border">
<el-row v-if="!simple">
<el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input> <el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input>
<el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmProjectPhaseTemplates">查询</el-button> <el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmProjectPhaseTemplates">查询</el-button>
<el-button v-if="!selProjectTemplate" type="primary" @click="showProjectTemplate">选择项目模板</el-button> <el-button v-if="!selProjectTemplate" type="primary" @click="showProjectTemplate">选择项目模板</el-button>

2
src/views/xm/core/xmProjectState/XmCockpit.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+项目指标日统计表</el-button> <el-button type="primary" @click="showAdd">+项目指标日统计表</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectState 项目指标日统计表--> <!--列表 XmProjectState 项目指标日统计表-->
<el-table :data="xmProjectStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmProjectStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column type="selection" width="45"></el-table-column> <el-table-column type="selection" width="45"></el-table-column>

4
src/views/xm/core/xmProjectState/XmProjectStateMng.vue

@ -11,7 +11,7 @@
<el-button type="success" @click="loadTasksToXmProjectState" icon="el-icon-s-data">刷新数据</el-button> <el-button type="success" @click="loadTasksToXmProjectState" icon="el-icon-s-data">刷新数据</el-button>
<el-button type="success" @click="loadTasksSettleToXmProjectState" icon="el-icon-s-data">刷新结算数据</el-button> <el-button type="success" @click="loadTasksSettleToXmProjectState" icon="el-icon-s-data">刷新结算数据</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectState 项目指标日统计表--> <!--列表 XmProjectState 项目指标日统计表-->
<el-table ref="table" :height="tableHeight" :data="xmProjectStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmProjectStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column type="selection" width="45"></el-table-column> <el-table-column type="selection" width="45"></el-table-column>
@ -425,7 +425,7 @@
this.filters.selProject=this.selProject this.filters.selProject=this.selProject
} }
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
if(this.selProject){ if(this.selProject){
subHeight=100/1000 * window.innerHeight; subHeight=100/1000 * window.innerHeight;
} }

2
src/views/xm/core/xmProjectStateHis/XmProjectStateHisMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+xm_project_state_his</el-button> <el-button type="primary" @click="showAdd">+xm_project_state_his</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectStateHis xm_project_state_his--> <!--列表 XmProjectStateHis xm_project_state_his-->
<el-table :data="xmProjectStateHiss" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmProjectStateHiss" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>

2
src/views/xm/core/xmProjectTaskTypeState/XmProjectTaskTypeStateMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+按任务类型汇总</el-button> <el-button type="primary" @click="showAdd">+按任务类型汇总</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectTaskTypeState 按任务类型汇总--> <!--列表 XmProjectTaskTypeState 按任务类型汇总-->
<el-table :data="xmProjectTaskTypeStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmProjectTaskTypeStates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column type="selection" width="45"></el-table-column> <el-table-column type="selection" width="45"></el-table-column>

2
src/views/xm/core/xmProjectTemplate/XmProjectTemplateList.vue

@ -7,7 +7,7 @@
</el-select> </el-select>
<el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmProjectTemplates">查询</el-button> <el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmProjectTemplates">查询</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectTemplate xm_project_template--> <!--列表 XmProjectTemplate xm_project_template-->
<el-table :data="xmProjectTemplates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmProjectTemplates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column type="selection" width="45"></el-table-column> <el-table-column type="selection" width="45"></el-table-column>

2
src/views/xm/core/xmProjectTemplate/XmProjectTemplateMng.vue

@ -10,7 +10,7 @@
<el-button type="primary" @click="showAdd">+项目模板</el-button> <el-button type="primary" @click="showAdd">+项目模板</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmProjectTemplate xm_project_template--> <!--列表 XmProjectTemplate xm_project_template-->
<el-table :data="xmProjectTemplates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmProjectTemplates" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column type="selection" width="45"></el-table-column> <el-table-column type="selection" width="45"></el-table-column>

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

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+xm_question</el-button> <el-button type="primary" @click="showAdd">+xm_question</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmQuestion xm_question--> <!--列表 XmQuestion xm_question-->
<el-table :data="xmQuestions" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmQuestions" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>

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

@ -1,6 +1,6 @@
<template> <template>
<section>
<el-row class="app-container">
<section class="page-container padding">
<el-row class="page-header padding-bottom">
<el-select v-model="filters.bugStatus" placeholder="请选择状态" style="width:15%;" clearable @change="changeBugStatus"> <el-select v-model="filters.bugStatus" placeholder="请选择状态" style="width:15%;" clearable @change="changeBugStatus">
<el-option v-for="(b,index) in options['bugStatus']" :value="b.optionValue" :key="index" :label="b.optionName">{{b.optionName}} <el-option v-for="(b,index) in options['bugStatus']" :value="b.optionValue" :key="index" :label="b.optionName">{{b.optionName}}
</el-option> </el-option>
@ -121,7 +121,7 @@
</el-popover> </el-popover>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main">
<!--列表 XmQuestion xm_question--> <!--列表 XmQuestion xm_question-->
<el-table ref="table" :height="tableHeight" :data="xmQuestions" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmQuestions" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column type="index" width="45"></el-table-column> <el-table-column type="index" width="45"></el-table-column>
@ -902,7 +902,7 @@
this.filters.handlerUsername=this.userInfo.username; this.filters.handlerUsername=this.userInfo.username;
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
this.getXmQuestions(); this.getXmQuestions();
}); });

2
src/views/xm/core/xmQuestionHandle/XmQuestionHandleMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+xm_question_handle</el-button> <el-button type="primary" @click="showAdd">+xm_question_handle</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmQuestionHandle xm_question_handle--> <!--列表 XmQuestionHandle xm_question_handle-->
<el-table :data="xmQuestionHandles" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmQuestionHandles" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>

2
src/views/xm/core/xmQuestionTag/XmQuestionTagMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" @click="showAdd">+缺陷标签关联表</el-button> <el-button type="primary" @click="showAdd">+缺陷标签关联表</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmQuestionTag 缺陷标签关联表--> <!--列表 XmQuestionTag 缺陷标签关联表-->
<el-table :data="xmQuestionTags" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmQuestionTags" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>

8
src/views/xm/core/xmRecord/XmRecord.vue

@ -1,11 +1,11 @@
<template> <template>
<section>
<el-row class="app-container" v-if="!simple">
<section class="page-container page-full-height padding border">
<el-row v-if="!simple">
<el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input> <el-input v-model="filters.key" style="width: 20%;" placeholder="模糊查询"></el-input>
<el-radio v-model="filters.objType" v-for="i in objTypeOptions" :label="i.key" :key="i.key">{{i.name}}</el-radio> <el-radio v-model="filters.objType" v-for="i in objTypeOptions" :label="i.key" :key="i.key">{{i.name}}</el-radio>
<el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmRecords">查询</el-button> <el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmRecords">查询</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmRecord xm_record--> <!--列表 XmRecord xm_record-->
<el-table ref="table" :height="tableHeight" :data="xmRecords" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmRecords" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="index" width="40"></el-table-column> <el-table-column sortable type="index" width="40"></el-table-column>
@ -256,7 +256,7 @@
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
if(this.projectId){ if(this.projectId){
subHeight=100/1000 * window.innerHeight; subHeight=100/1000 * window.innerHeight;

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

@ -5,7 +5,7 @@
<xm-project-phase-mng :sel-project="filters.selProject" :simple="true" @row-click="projectPhaseRowClick" @clear-select="clearSelectPhase"></xm-project-phase-mng> <xm-project-phase-mng :sel-project="filters.selProject" :simple="true" @row-click="projectPhaseRowClick" @clear-select="clearSelectPhase"></xm-project-phase-mng>
</el-col> </el-col>
<el-col :span=" filters.selProject?20:24"> <el-col :span=" filters.selProject?20:24">
<el-row class="app-container">
<el-row class="page-main page-main-height">
<el-tag>{{filters.selProject?filters.selProject.name:'未选择项目'}}</el-tag><el-button type="success" v-if="!selProject" @click="selectProjectVisible=true"></el-button> <el-tag>{{filters.selProject?filters.selProject.name:'未选择项目'}}</el-tag><el-button type="success" v-if="!selProject" @click="selectProjectVisible=true"></el-button>
<el-select v-model="filters.taskType" placeholder="请选择任务类型" clearable @change="changeTaskType"> <el-select v-model="filters.taskType" placeholder="请选择任务类型" clearable @change="changeTaskType">
<el-option class="showall" value="all" label="全部类型">全部类型</el-option> <el-option class="showall" value="all" label="全部类型">全部类型</el-option>

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

@ -401,7 +401,7 @@
mounted() { mounted() {
this.$nextTick(()=>{ this.$nextTick(()=>{
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
if(this.isTaskCenter){ if(this.isTaskCenter){
subHeight=50/1000 * window.innerHeight; subHeight=50/1000 * window.innerHeight;
} }

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

@ -1736,7 +1736,7 @@ XmProjectGroupSelect,XmProductSelect
this.getXmTasks(); this.getXmTasks();
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight; this.tableHeight = window.innerHeight -clientRect.y - this.$refs.table.$el.offsetTop-subHeight;
// //
/** /**

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

@ -1271,7 +1271,7 @@
} }
this.$nextTick(()=>{ this.$nextTick(()=>{
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
if(this.isTaskCenter){ if(this.isTaskCenter){
subHeight=50/1000 * window.innerHeight; subHeight=50/1000 * window.innerHeight;
} }

4
src/views/xm/core/xmTaskExecuser/XmTaskExecuserMng.vue

@ -7,7 +7,7 @@
<el-button type="primary" @click="showAdd">邀请他人加入</el-button> <el-button type="primary" @click="showAdd">邀请他人加入</el-button>
<!-- <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> --> <!-- <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> -->
</div> </div>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmTaskExecuser xm_task_execuser--> <!--列表 XmTaskExecuser xm_task_execuser-->
<el-table ref="table" :height="tableHeight" :data="xmTaskExecusers" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmTaskExecusers" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column type="expand"> <el-table-column type="expand">
@ -814,7 +814,7 @@
mounted() { mounted() {
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
if(this.selProject){ if(this.selProject){
subHeight=100/1000 * window.innerHeight; subHeight=100/1000 * window.innerHeight;
} }

2
src/views/xm/core/xmTaskSkill/XmTaskSkillMng.vue

@ -6,7 +6,7 @@
<el-button type="primary" v-loading="load.list" @click="showAdd">添加技能</el-button> <el-button type="primary" v-loading="load.list" @click="showAdd">添加技能</el-button>
<el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmTaskSkill xm_task_skill--> <!--列表 XmTaskSkill xm_task_skill-->
<el-table :data="xmTaskSkills" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table :data="xmTaskSkills" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column sortable type="selection" width="40"></el-table-column> <el-table-column sortable type="selection" width="40"></el-table-column>

2
src/views/xm/core/xmTaskTemplate/XmTaskTemplateMng.vue

@ -10,7 +10,7 @@
<el-button v-if="!isSelect" type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button> <el-button v-if="!isSelect" type="danger" v-loading="load.del" @click="batchDel" :disabled="this.sels.length===0 || load.del==true">批量删除</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<el-col :span="4" > <el-col :span="4" >
<xm-project-phase-template-mng :sel-project-template="selProjectTemplate" :simple="true" @row-click="projectPhaseTemplateRowClick" @selected-project-template="onSelectedProjectTemplate" ref="projectPhaseTemplate"></xm-project-phase-template-mng> <xm-project-phase-template-mng :sel-project-template="selProjectTemplate" :simple="true" @row-click="projectPhaseTemplateRowClick" @selected-project-template="onSelectedProjectTemplate" ref="projectPhaseTemplate"></xm-project-phase-template-mng>

4
src/views/xm/core/xmTestCase/XmTestCaseMng.vue

@ -66,7 +66,7 @@
</el-popover> </el-popover>
</div> </div>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmTestCase 测试用例--> <!--列表 XmTestCase 测试用例-->
<el-table ref="table" :height="tableHeight" :data="xmTestCases" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" :data="xmTestCases" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column type="selection" width="45"></el-table-column> <el-table-column type="selection" width="45"></el-table-column>
@ -461,7 +461,7 @@
this.filters.luser=this.userInfo; this.filters.luser=this.userInfo;
this.getXmTestCases(); this.getXmTestCases();
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50;
var subHeight=70;
if(this.selProject){ if(this.selProject){
subHeight=100/1000 * window.innerHeight; subHeight=100/1000 * window.innerHeight;
} }

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

@ -1,6 +1,6 @@
<template> <template>
<section>
<el-row class="app-container" v-if="!batchEditVisible">
<section class="page-container page-full-height padding border">
<el-row v-if="!batchEditVisible">
<el-checkbox v-model="gstcVisible" >甘特图</el-checkbox> <el-checkbox v-model="gstcVisible" >甘特图</el-checkbox>
<el-tag type="primary" v-if="this.filters.selProject && !selProject " closable @close="clearProject" @click="showProjectList">{{ this.filters.selProject.name }}</el-tag> <el-tag type="primary" v-if="this.filters.selProject && !selProject " closable @close="clearProject" @click="showProjectList">{{ this.filters.selProject.name }}</el-tag>
<el-button v-if="!this.filters.selProject" @click="showProjectList">选择项目</el-button> <el-button v-if="!this.filters.selProject" @click="showProjectList">选择项目</el-button>
@ -76,7 +76,7 @@
<el-button type="warning" @click="batchEditXmTestCaseExec" icon="el-icon-finished">批量保存</el-button> <el-button type="warning" @click="batchEditXmTestCaseExec" icon="el-icon-finished">批量保存</el-button>
<el-button @click="noBatchEdit" icon="el-icon-back">返回</el-button> <el-button @click="noBatchEdit" icon="el-icon-back">返回</el-button>
</el-row> </el-row>
<el-row class="app-container">
<el-row class="page-main page-main-height">
<!--列表 XmTestCaseExec xm_test_case_exec--> <!--列表 XmTestCaseExec xm_test_case_exec-->
<el-table ref="table" :height="tableHeight" v-if="!gstcVisible" :data="xmTestCaseExecs" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;"> <el-table ref="table" :height="tableHeight" v-if="!gstcVisible" :data="xmTestCaseExecs" @sort-change="sortChange" highlight-current-row v-loading="load.list" border @selection-change="selsChange" @row-click="rowClick" style="width: 100%;">
<el-table-column type="selection" width="45"></el-table-column> <el-table-column type="selection" width="45"></el-table-column>
@ -768,7 +768,7 @@
this.filters.execUser=this.userInfo; this.filters.execUser=this.userInfo;
this.$nextTick(() => { this.$nextTick(() => {
var clientRect=this.$refs.table.$el.getBoundingClientRect(); var clientRect=this.$refs.table.$el.getBoundingClientRect();
var subHeight=50/1000 * window.innerHeight;
var subHeight=70/1000 * window.innerHeight;
if(this.selProject){ if(this.selProject){
subHeight=100/1000 * window.innerHeight; subHeight=100/1000 * window.innerHeight;
} }

Loading…
Cancel
Save