Browse Source

优化

master
陈裕财 4 years ago
parent
commit
d9938d8122
  1. 2
      src/views/xm/core/xmTask/XmTaskCenter.vue
  2. 14
      src/views/xm/core/xmTaskExecuser/XmTaskExecuserMng.vue

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

@ -1,7 +1,7 @@
<template> <template>
<section> <section>
<el-row class="xm-task"> <el-row class="xm-task">
<xm-task-mng :is-task-center="1" ptype="0" ntype="0"></xm-task-mng>
<xm-task-mng :is-task-center="1" ptype="0" ntype="0" queryScope="task"></xm-task-mng>
</el-row> </el-row>
</section> </section>
</template> </template>

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

@ -1,14 +1,14 @@
<template> <template>
<section>
<div class="exec-navbar">
<section class="padding">
<el-row>
<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-input v-model="filters.taskId" style="width:120px;" placeholder="任务编号查询" clearable></el-input>
<el-input v-model="filters.projectId" style="width: 120px;" placeholder="项目编号" clearable></el-input>
<el-input v-model="filters.execUserBranchId" style="width: 120px;" placeholder="归属公司" clearable></el-input>
<el-input v-model="filters.taskId" style="width:150px;" placeholder="任务编号查询" clearable></el-input>
<el-input v-model="filters.projectId" style="width: 150px;" placeholder="项目编号" clearable></el-input>
<el-input v-model="filters.execUserBranchId" style="width: 150px;" placeholder="归属公司" clearable></el-input>
<el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmTaskExecusers">查询</el-button> <el-button type="primary" v-loading="load.list" :disabled="load.list==true" v-on:click="searchXmTaskExecusers">查询</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>
</el-row>
<el-row class="page-main "> <el-row class="page-main ">
<!--列表 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%;">
@ -193,7 +193,7 @@
'visible': function(val) { 'visible': function(val) {
if(val == true){ if(val == true){
console.log("visible"); console.log("visible");
this.getXmTaskExecusers();
this.searchXmTaskExecusers();
} }
}, },
}, },

Loading…
Cancel
Save