diff --git a/src/views/mineProject/MineProject.vue b/src/views/mineProject/MineProject.vue
index 7f9ab3d..fa9ccb6 100644
--- a/src/views/mineProject/MineProject.vue
+++ b/src/views/mineProject/MineProject.vue
@@ -10,19 +10,23 @@
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
-
-
-
-
-
-
查询
@@ -75,10 +79,11 @@
import { JeroListMixin } from '@/mixins/JeroListMixin'
import ProjectDetailModal from '@views/MessagePage/ProjectDetailModal'
import MineContractModule from '@views/mineContract/modules/MineContractModule'
+import JYearDate from '@comp/jero/JYearDate'
export default {
name: 'MineProject',
- components: { ProjectDetailModal, MineContractModule },
+ components: { ProjectDetailModal, MineContractModule, JYearDate },
mixins: [JeroListMixin],
data() {
return {
@@ -129,9 +134,19 @@ export default {
list: '/project/payCommonProject/queryCompanyPageList'
},
contractId: null,
- contractModuleVisible: false
+ contractModuleVisible: false,
+ disableMixinCreated: true
}
},
+ created() {
+ this.queryParam = {
+ year: this.getCurrentYear()
+ }
+ this.lastQueryParam = {
+ year: this.getCurrentYear()
+ }
+ this.loadData()
+ },
methods: {
/**
* 打开收入合同详情
@@ -154,6 +169,18 @@ export default {
projectType: 1
}
})
+ },
+ searchReset() {
+ this.queryParam = {
+ year: this.getCurrentYear()
+ }
+ this.lastQueryParam = {
+ year: this.getCurrentYear()
+ }
+ this.loadData(1)
+ },
+ getCurrentYear() {
+ return new Date().getFullYear().toString()
}
}
}
diff --git a/src/views/workTeam/WorkTeam.vue b/src/views/workTeam/WorkTeam.vue
index f19902b..8de5416 100644
--- a/src/views/workTeam/WorkTeam.vue
+++ b/src/views/workTeam/WorkTeam.vue
@@ -153,9 +153,19 @@ export default {
contractModuleVisible: false,
url: {
list: '/project/payWorkingGroupSubitem/queryCompanyPageList'
- }
+ },
+ disableMixinCreated: true
}
},
+ created() {
+ this.queryParam = {
+ year: this.getCurrentYear()
+ }
+ this.lastQueryParam = {
+ year: this.getCurrentYear()
+ }
+ this.loadData()
+ },
methods: {
toMeeting() {
this.$router.push({
@@ -200,6 +210,18 @@ export default {
workingGroupId: record.workingGroupId
}
})
+ },
+ searchReset() {
+ this.queryParam = {
+ year: this.getCurrentYear()
+ }
+ this.lastQueryParam = {
+ year: this.getCurrentYear()
+ }
+ this.loadData(1)
+ },
+ getCurrentYear() {
+ return new Date().getFullYear().toString()
}
}
}