|
@@ -20,12 +20,12 @@ export default {
|
|
data: () => ({
|
|
data: () => ({
|
|
opera: [
|
|
opera: [
|
|
{
|
|
{
|
|
- label: '查看全年计划',
|
|
|
|
|
|
+ label: '上报参加时间',
|
|
icon: 'el-icon-date',
|
|
icon: 'el-icon-date',
|
|
method: 'edit',
|
|
method: 'edit',
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: '上报时间',
|
|
|
|
|
|
+ label: '上报名单',
|
|
icon: 'el-icon-document',
|
|
icon: 'el-icon-document',
|
|
method: 'update',
|
|
method: 'update',
|
|
},
|
|
},
|
|
@@ -57,7 +57,7 @@ export default {
|
|
methods: {
|
|
methods: {
|
|
...mapActions(['query', 'delete']),
|
|
...mapActions(['query', 'delete']),
|
|
async search({ skip = 0, limit = 10, ...info } = {}) {
|
|
async search({ skip = 0, limit = 10, ...info } = {}) {
|
|
- const res = await this.query({ skip, limit, ...info });
|
|
|
|
|
|
+ const res = await this.query({ skip, limit, status: '1', ...info });
|
|
if (this.$checkRes(res)) {
|
|
if (this.$checkRes(res)) {
|
|
this.$set(this, `list`, res.data);
|
|
this.$set(this, `list`, res.data);
|
|
this.$set(this, `total`, res.total);
|
|
this.$set(this, `total`, res.total);
|