Browse Source

修改取消分包合同等删除合同关联信息

余思翰 5 months ago
parent
commit
0ddec49463

+ 2
- 0
oa-ui/src/utils/deleteResource.js View File

16
       '/oa/contractMeeting/:id',
16
       '/oa/contractMeeting/:id',
17
       '/oa/contractPayment/:id',
17
       '/oa/contractPayment/:id',
18
       '/oa/projectContract/:id',
18
       '/oa/projectContract/:id',
19
+      '/oa/contractSubcontract/contractIds/:id',
19
     ]
20
     ]
20
   },
21
   },
21
   {
22
   {
27
       '/oa/contractMeeting/:id',
28
       '/oa/contractMeeting/:id',
28
       '/oa/contractPayment/:id',
29
       '/oa/contractPayment/:id',
29
       '/oa/projectSubcontract/:id',
30
       '/oa/projectSubcontract/:id',
31
+      '/oa/contractSubcontract/:id',
30
     ]
32
     ]
31
   },
33
   },
32
   {
34
   {

+ 3
- 2
oa-ui/src/views/contractStatistic/index.vue View File

2
  * @Author: ysh
2
  * @Author: ysh
3
  * @Date: 2024-12-16 10:25:17
3
  * @Date: 2024-12-16 10:25:17
4
  * @LastEditors: Please set LastEditors
4
  * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-12-20 10:37:08
5
+ * @LastEditTime: 2025-01-06 09:55:47
6
 -->
6
 -->
7
 <template>
7
 <template>
8
   <div class="app-container">
8
   <div class="app-container">
184
       })
184
       })
185
     },
185
     },
186
     handleCommand(command) {
186
     handleCommand(command) {
187
+      this.queryParams.pageNum = 1
187
       this.sortFn(command)
188
       this.sortFn(command)
188
     },
189
     },
189
     sortFn(field) {
190
     sortFn(field) {
190
       this.loading = true
191
       this.loading = true
191
       this.status = 'sort'
192
       this.status = 'sort'
192
       this.field = field
193
       this.field = field
193
-      this.queryParams.pageNum = 1
194
       this.queryInput = ''
194
       this.queryInput = ''
195
       getContractStatisticSortByField({ field }).then(res => {
195
       getContractStatisticSortByField({ field }).then(res => {
196
         let list = res.data.sort;
196
         let list = res.data.sort;
237
       }
237
       }
238
     },
238
     },
239
     changePage() {
239
     changePage() {
240
+      debugger
240
       if (this.status == 'normal') {
241
       if (this.status == 'normal') {
241
         this.getContractList();
242
         this.getContractList();
242
       } else {
243
       } else {

Loading…
Cancel
Save