|
@@ -2,7 +2,7 @@
|
2
|
2
|
* @Author: wrh
|
3
|
3
|
* @Date: 2024-08-14 14:24:11
|
4
|
4
|
* @LastEditors: Please set LastEditors
|
5
|
|
- * @LastEditTime: 2024-10-21 17:31:27
|
|
5
|
+ * @LastEditTime: 2025-01-03 09:28:39
|
6
|
6
|
-->
|
7
|
7
|
<template>
|
8
|
8
|
<div class="app-container">
|
|
@@ -240,6 +240,12 @@ export default {
|
240
|
240
|
if (this.$store.getters.deptId > 103) {
|
241
|
241
|
this.queryParams.deptId = this.$store.getters.deptId;
|
242
|
242
|
}
|
|
243
|
+ if (this.$store.getters.roles.includes('projectLeader')) {
|
|
244
|
+ this.queryParams.projectLeader = this.$store.getters.userId
|
|
245
|
+ }
|
|
246
|
+ if (this.$store.getters.roles.includes('dept')) {
|
|
247
|
+ this.queryParams.projectLeader = null
|
|
248
|
+ }
|
243
|
249
|
listDeclare(this.queryParams).then(response => {
|
244
|
250
|
this.declareList = response.rows;
|
245
|
251
|
this.total = response.total;
|