|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="user-management-container">
|
|
<div class="user-management-container">
|
|
|
- <el-row :gutter="20">
|
|
|
|
|
- <el-col :span="2">
|
|
|
|
|
- <span>操作类型</span>
|
|
|
|
|
|
|
+ <el-row :gutter="20" type="flex">
|
|
|
|
|
+ <el-col :span="6">
|
|
|
|
|
+ <span class="type">操作类型</span>
|
|
|
<div style="margin-top: 25px; cursor: pointer" @click="search('1')">
|
|
<div style="margin-top: 25px; cursor: pointer" @click="search('1')">
|
|
|
<i class="el-icon-message-solid" style="margin-right: 10px"></i>
|
|
<i class="el-icon-message-solid" style="margin-right: 10px"></i>
|
|
|
我的待办({{ statisticsForm.toDoNumber }})
|
|
我的待办({{ statisticsForm.toDoNumber }})
|
|
@@ -15,10 +15,8 @@
|
|
|
<i class="el-icon-folder-checked" style="margin-right: 10px"></i>
|
|
<i class="el-icon-folder-checked" style="margin-right: 10px"></i>
|
|
|
我处理的({{ statisticsForm.completedNumber }})
|
|
我处理的({{ statisticsForm.completedNumber }})
|
|
|
</div>
|
|
</div>
|
|
|
- <div style="margin-top: 50px">督办类型</div>
|
|
|
|
|
- <div style="margin-top: 20px; cursor: pointer" @click="searchType('')">
|
|
|
|
|
- 全部
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <div class="type" style="margin-top: 50px">督办类型</div>
|
|
|
|
|
+ <div style="margin-top: 20px; cursor: pointer" @click="searchType('')">全部</div>
|
|
|
<div
|
|
<div
|
|
|
v-for="item in types"
|
|
v-for="item in types"
|
|
|
:key="item.dictCode"
|
|
:key="item.dictCode"
|
|
@@ -27,28 +25,19 @@
|
|
|
{{ item.dictLabel }}
|
|
{{ item.dictLabel }}
|
|
|
</div>
|
|
</div>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="22">
|
|
|
|
|
|
|
+ <el-col :span="18">
|
|
|
<el-row :gutter="10" style="margin-bottom: 10px">
|
|
<el-row :gutter="10" style="margin-bottom: 10px">
|
|
|
<el-col :span="4">
|
|
<el-col :span="4">
|
|
|
- <el-input
|
|
|
|
|
- v-model.trim="queryForm.taskTitle"
|
|
|
|
|
- clearable
|
|
|
|
|
- placeholder="请输入督办标题" />
|
|
|
|
|
|
|
+ <el-input v-model.trim="queryForm.taskTitle" clearable placeholder="请输入督办标题" />
|
|
|
</el-col>
|
|
</el-col>
|
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
|
- <el-button icon="el-icon-search" type="primary" @click="queryData">
|
|
|
|
|
- 查询
|
|
|
|
|
- </el-button>
|
|
|
|
|
- <el-button icon="el-icon-refresh-right" @click="reset">
|
|
|
|
|
- 重置
|
|
|
|
|
- </el-button>
|
|
|
|
|
|
|
+ <el-button icon="el-icon-search" type="primary" @click="queryData">查询</el-button>
|
|
|
|
|
+ <el-button icon="el-icon-refresh-right" @click="reset">重置</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<vab-query-form>
|
|
<vab-query-form>
|
|
|
<vab-query-form-left-panel :span="12">
|
|
<vab-query-form-left-panel :span="12">
|
|
|
- <el-button icon="el-icon-plus" type="primary" @click="handleAdd">
|
|
|
|
|
- 添加
|
|
|
|
|
- </el-button>
|
|
|
|
|
|
|
+ <el-button icon="el-icon-plus" type="primary" @click="handleAdd">添加</el-button>
|
|
|
</vab-query-form-left-panel>
|
|
</vab-query-form-left-panel>
|
|
|
<vab-query-form-right-panel :span="12">
|
|
<vab-query-form-right-panel :span="12">
|
|
|
<el-button icon="el-icon-download" @click="exportData" />
|
|
<el-button icon="el-icon-download" @click="exportData" />
|
|
@@ -56,7 +45,7 @@
|
|
|
</vab-query-form-right-panel>
|
|
</vab-query-form-right-panel>
|
|
|
</vab-query-form>
|
|
</vab-query-form>
|
|
|
<!-- 主页面 -->
|
|
<!-- 主页面 -->
|
|
|
- <el-table v-loading="listLoading" border :data="list" :height="height">
|
|
|
|
|
|
|
+ <el-table v-loading="listLoading" border :data="list" height="calc(100vh - 340px)">
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
v-for="(item, index) in finallyColumns"
|
|
v-for="(item, index) in finallyColumns"
|
|
|
:key="index"
|
|
:key="index"
|
|
@@ -76,18 +65,11 @@
|
|
|
<span v-else-if="item.prop === 'isOverdue'">
|
|
<span v-else-if="item.prop === 'isOverdue'">
|
|
|
{{ row.isOverdue === '10' ? '否' : '是' }}
|
|
{{ row.isOverdue === '10' ? '否' : '是' }}
|
|
|
</span>
|
|
</span>
|
|
|
- <span
|
|
|
|
|
- v-else-if="
|
|
|
|
|
- item.prop === 'mainUserId' || item.prop === 'supervisorUserId'
|
|
|
|
|
- ">
|
|
|
|
|
|
|
+ <span v-else-if="item.prop === 'mainUserId' || item.prop === 'supervisorUserId'">
|
|
|
{{ userMap[row[item.prop]] }}
|
|
{{ userMap[row[item.prop]] }}
|
|
|
</span>
|
|
</span>
|
|
|
<span
|
|
<span
|
|
|
- v-else-if="
|
|
|
|
|
- item.prop === 'taskStartDate' ||
|
|
|
|
|
- item.prop === 'taskEndDate' ||
|
|
|
|
|
- item.prop === 'createdTime'
|
|
|
|
|
- ">
|
|
|
|
|
|
|
+ v-else-if="item.prop === 'taskStartDate' || item.prop === 'taskEndDate' || item.prop === 'createdTime'">
|
|
|
{{ parseTime(row[item.prop]) }}
|
|
{{ parseTime(row[item.prop]) }}
|
|
|
</span>
|
|
</span>
|
|
|
<span v-else>{{ row[item.prop] }}</span>
|
|
<span v-else>{{ row[item.prop] }}</span>
|
|
@@ -99,9 +81,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<template #empty>
|
|
<template #empty>
|
|
|
- <el-image
|
|
|
|
|
- class="vab-data-empty"
|
|
|
|
|
- :src="require('@/assets/empty_images/data_empty.png')" />
|
|
|
|
|
|
|
+ <el-image class="vab-data-empty" :src="require('@/assets/empty_images/data_empty.png')" />
|
|
|
</template>
|
|
</template>
|
|
|
</el-table>
|
|
</el-table>
|
|
|
<el-pagination
|
|
<el-pagination
|
|
@@ -115,11 +95,7 @@
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
<!-- 新建督办 -->
|
|
<!-- 新建督办 -->
|
|
|
- <taskAdd
|
|
|
|
|
- :do-refresh="doRefresh"
|
|
|
|
|
- :self-visible.sync="addDialogVisible"
|
|
|
|
|
- :types="types"
|
|
|
|
|
- :users="users" />
|
|
|
|
|
|
|
+ <taskAdd :do-refresh="doRefresh" :self-visible.sync="addDialogVisible" :types="types" :users="users" />
|
|
|
<!-- 查看详情 -->
|
|
<!-- 查看详情 -->
|
|
|
<taskDetail
|
|
<taskDetail
|
|
|
:do-refresh="doRefresh"
|
|
:do-refresh="doRefresh"
|
|
@@ -253,9 +229,7 @@
|
|
|
return this.$baseTableHeight(1)
|
|
return this.$baseTableHeight(1)
|
|
|
},
|
|
},
|
|
|
finallyColumns() {
|
|
finallyColumns() {
|
|
|
- return this.columns.filter((item) =>
|
|
|
|
|
- this.checkList.includes(item.label)
|
|
|
|
|
- )
|
|
|
|
|
|
|
+ return this.columns.filter((item) => this.checkList.includes(item.label))
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
async created() {
|
|
async created() {
|
|
@@ -405,3 +379,8 @@
|
|
|
},
|
|
},
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|
|
|
|
|
+<style lang="scss" scoped>
|
|
|
|
|
+ .type {
|
|
|
|
|
+ font-weight: bold;
|
|
|
|
|
+ }
|
|
|
|
|
+</style>
|