| | |
| | | <div class="app-container"> |
| | | <!--工具栏--> |
| | | <el-row v-loading="taskLoading" :gutter="15"> |
| | | <el-col :xs="24" :sm="24" :md="8" :lg="8" :xl="7"> |
| | | <el-card class="box-card" shadow="never" style="width: 750px"> |
| | | <el-col :span="24"> |
| | | <el-card class="box-card" shadow="never" style="width: 100%;"> |
| | | <el-tabs v-model="tobeOver" style="height: 200px;" @tab-click="handleClickTobeTasked"> |
| | | <el-tab-pane :label="tobeTasked" name="first"> |
| | | <el-table |
| | | :data="adventTasks" |
| | | height="180" |
| | | :show-header="false" |
| | | > |
| | | <el-table-column |
| | | prop="projectName" |
| | | :show-overflow-tooltip="true" |
| | | min-width="180px" |
| | | /> |
| | | <el-table-column |
| | | prop="name" |
| | | :show-overflow-tooltip="true" |
| | | min-width="180px" |
| | | /> |
| | | <el-table-column |
| | | prop="taskStartDate" |
| | | :show-overflow-tooltip="true" |
| | | min-width="180px" |
| | | /> |
| | | <el-table-column |
| | | prop="taskEndDate" |
| | | :show-overflow-tooltip="true" |
| | | min-width="180px" |
| | | /> |
| | | <el-table-column width="100px" style="align-items: center"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="primary" size="mini" @click="quickFilling(scope.row)">填写日报</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-tab-pane> |
| | | <el-tab-pane :label="tasking" name="second"> |
| | | <el-table |
| | | v-if="ongoingTasks.length != 0" |
| | | :data="ongoingTasks" |
| | | height="180" |
| | | :show-header="false" |
| | | :stripe="true" |
| | | > |
| | | <el-table-column |
| | | prop="name" |
| | | :show-overflow-tooltip="true" |
| | | min-width="150px" |
| | | /> |
| | | <el-table-column |
| | | prop="taskStartDate" |
| | | :show-overflow-tooltip="true" |
| | | min-width="180px" |
| | | /> |
| | | <el-table-column |
| | | prop="taskEndDate" |
| | | :show-overflow-tooltip="true" |
| | | min-width="180px" |
| | | /> |
| | | <el-table-column width="100px" style="align-items: center"> |
| | | <template slot-scope="scope"> |
| | | <el-button type="primary" size="mini" @click="quickFilling(scope.row)">填写日报</el-button> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <span v-else>暂无任务</span> |
| | | </el-tab-pane> |
| | | <el-tab-pane :label="tobeTask" name="third"> |
| | | <el-table |
| | | v-if="taskNotStarted.length != 0" |
| | | :data="taskNotStarted" |
| | | height="180" |
| | | :show-header="false" |
| | | > |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <span v-else>暂无任务</span> |
| | | </el-tab-pane> |
| | | </el-tabs> |
| | | </el-card> |
| | | </el-col> |
| | | <el-col :xs="24" :sm="24" :md="16" :lg="16" :xl="17" style="padding-left: 250px"> |
| | | <!-- <el-col :xs="24" :sm="24" :md="16" :lg="16" :xl="17" style="padding-left: 250px"> |
| | | <el-card class="box-card" shadow="never"> |
| | | <el-tabs v-model="activeName" style="height: 200px;"> |
| | | <el-tab-pane :label="tasking" name="first"> |
| | |
| | | </el-table> |
| | | <span v-else>暂无任务</span> |
| | | </el-tab-pane> |
| | | <!--<el-tab-pane label="未分配任务" name="third" style=":display: false">未分配任务</el-tab-pane>--> |
| | | </el-tabs> |
| | | </el-card> |
| | | </el-col> |
| | | </el-col> --> |
| | | </el-row> |
| | | <el-divider /> |
| | | <div class="head-container"> |
| | |
| | | loadingTast: false, |
| | | loadingQueryProjectsOne: false, |
| | | loadingQueryProjects: false, |
| | | loadingQueryProjectsTwo: false |
| | | loadingQueryProjectsTwo: false, |
| | | activeTab: "first" |
| | | } |
| | | }, |
| | | computed: { |
| | | ...mapGetters([ |
| | | 'user' |
| | | ]) |
| | | ]), |
| | | }, |
| | | watch: { |
| | | 'form.consumedHours': function(newVal, oldVal) { |