|
@@ -35,7 +35,7 @@
|
|
|
<el-tabs v-model="activeName" type="border-card" @tab-click="handleClick">
|
|
<el-tabs v-model="activeName" type="border-card" @tab-click="handleClick">
|
|
|
<el-tab-pane label="待办任务" name="first">
|
|
<el-tab-pane label="待办任务" name="first">
|
|
|
<el-table
|
|
<el-table
|
|
|
- :data="entityList"
|
|
|
|
|
|
|
+ :data="entityListtode"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
border
|
|
border
|
|
|
:stripe="true"
|
|
:stripe="true"
|
|
@@ -87,7 +87,7 @@
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
<el-tab-pane label="已办任务" name="second">
|
|
<el-tab-pane label="已办任务" name="second">
|
|
|
<el-table
|
|
<el-table
|
|
|
- :data="entityList"
|
|
|
|
|
|
|
+ :data="entityListdone"
|
|
|
size="mini"
|
|
size="mini"
|
|
|
border
|
|
border
|
|
|
:stripe="true"
|
|
:stripe="true"
|
|
@@ -363,7 +363,8 @@
|
|
|
LinkZipCode: '',
|
|
LinkZipCode: '',
|
|
|
HseTraining: ''
|
|
HseTraining: ''
|
|
|
},
|
|
},
|
|
|
- entityList: []
|
|
|
|
|
|
|
+ entityListtode: [],
|
|
|
|
|
+ entityListdone: []
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
created () {
|
|
created () {
|
|
@@ -395,7 +396,7 @@
|
|
|
Object.assign(params, this.searchForm)
|
|
Object.assign(params, this.searchForm)
|
|
|
// 访问接口
|
|
// 访问接口
|
|
|
api.getTodoList(params, this.$axios).then(res => {
|
|
api.getTodoList(params, this.$axios).then(res => {
|
|
|
- this.entityList = res.data.items
|
|
|
|
|
|
|
+ this.entityListtode = res.data.items
|
|
|
this.currentItemCount = res.data.currentItemCount
|
|
this.currentItemCount = res.data.currentItemCount
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
console.error(err)
|
|
@@ -583,7 +584,7 @@
|
|
|
// 查询条件
|
|
// 查询条件
|
|
|
Object.assign(params, this.searchForm)
|
|
Object.assign(params, this.searchForm)
|
|
|
api.getMyTaskFinished(params, this.$axios).then(res => {
|
|
api.getMyTaskFinished(params, this.$axios).then(res => {
|
|
|
- this.entityList = res.data.items
|
|
|
|
|
|
|
+ this.entityListdone = res.data.items
|
|
|
this.currentItemCount = res.data.currentItemCount
|
|
this.currentItemCount = res.data.currentItemCount
|
|
|
}).catch(err => {
|
|
}).catch(err => {
|
|
|
console.error(err)
|
|
console.error(err)
|