Sfoglia il codice sorgente

修改项目详情页面中,数据只显示10条的问题

余思翰 3 mesi fa
parent
commit
11cf757fc3

+ 9
- 9
oa-ui/src/views/flowable/form/inProgress/achiData.vue Vedi File

@@ -111,10 +111,10 @@ export default {
111 111
     return {
112 112
       achiList: [],
113 113
       definitionList: [],
114
-      open:false,
115
-      openObj:{},
116
-      form:{
117
-        projectName:''
114
+      open: false,
115
+      openObj: {},
116
+      form: {
117
+        projectName: ''
118 118
       }
119 119
     }
120 120
   },
@@ -124,7 +124,7 @@ export default {
124 124
   },
125 125
   methods: {
126 126
     getAchiData() {
127
-      listArchive({ projectId: this.taskForm.formId }).then(res => {
127
+      listArchive({ pageSize: 9999, projectId: this.taskForm.formId }).then(res => {
128 128
         if (res.code == 200) {
129 129
           this.achiList = res.rows
130 130
         }
@@ -149,11 +149,11 @@ export default {
149 149
       });
150 150
     },
151 151
     handleLook(row) {
152
-      this.form= row
152
+      this.form = row
153 153
       this.openObj.formId = row.archiveId
154
-      getProject(row.projectId).then(res=>{
155
-        if(res.data)
156
-          this.$set(this.form,'projectName',res.data.projectNumber + '-' + res.data.projectName)
154
+      getProject(row.projectId).then(res => {
155
+        if (res.data)
156
+          this.$set(this.form, 'projectName', res.data.projectNumber + '-' + res.data.projectName)
157 157
         this.open = true
158 158
       })
159 159
     },

+ 4
- 4
oa-ui/src/views/flowable/form/inProgress/borrowData.vue Vedi File

@@ -2,7 +2,7 @@
2 2
  * @Author: ysh
3 3
  * @Date: 2024-05-10 14:45:08
4 4
  * @LastEditors: Please set LastEditors
5
- * @LastEditTime: 2024-07-15 16:35:32
5
+ * @LastEditTime: 2025-02-25 16:51:16
6 6
 -->
7 7
 <template>
8 8
   <div class="mt20">
@@ -28,7 +28,7 @@
28 28
       <el-table-column prop="borrowUsage" label="申请类型" width="100">
29 29
         <template slot-scope="scope">
30 30
           <el-tag :type="scope.row.borrowUsage === '0' ? 'primary' : 'info'">{{ scope.row.borrowUsage === '0' ?
31
-      '项目借款' : '非项目借款' }}</el-tag>
31
+            '项目借款' : '非项目借款' }}</el-tag>
32 32
         </template>
33 33
       </el-table-column>
34 34
       <el-table-column prop="applyAmount" label="申请金额" />
@@ -123,14 +123,14 @@ export default {
123 123
   },
124 124
   methods: {
125 125
     getBorrowData() {
126
-      listBorrow({ projectId: this.taskForm.formId }).then(res => {
126
+      listBorrow({ pageSize: 9999, projectId: this.taskForm.formId }).then(res => {
127 127
         if (res.code == 200) {
128 128
           this.borrowList = res.rows
129 129
         }
130 130
       })
131 131
     },
132 132
     getBorrowDetailData(borrowId) {
133
-      listBorrowDetail({ borrowId: borrowId }).then(res => {
133
+      listBorrowDetail({ pageSize: 9999, borrowId: borrowId }).then(res => {
134 134
         if (res.rows.length != 0) {
135 135
           this.detailList = res.rows
136 136
         }

+ 8
- 8
oa-ui/src/views/flowable/form/inProgress/changeData.vue Vedi File

@@ -25,10 +25,10 @@
25 25
         </template>
26 26
       </el-table-column>
27 27
     </el-table>
28
-    
28
+
29 29
     <el-dialog title=" 变更记录" :visible.sync="open" append-to-body width="65%">
30 30
       <change-form :taskForm="openObj" :taskName="''" :isFlow="false"></change-form>
31
-      </el-dialog>
31
+    </el-dialog>
32 32
   </div>
33 33
 </template>
34 34
 
@@ -59,7 +59,7 @@ export default {
59 59
     return {
60 60
       // 是否显示弹出层
61 61
       open: false,
62
-      openObj:{},
62
+      openObj: {},
63 63
       // 表单参数
64 64
       form: {},
65 65
       definitionList: [],
@@ -73,7 +73,7 @@ export default {
73 73
   methods: {
74 74
     /** 查询cmc项目变更列表 */
75 75
     getList() {
76
-      listProjectChange(this.queryParams).then(response => {
76
+      listProjectChange({ pageSize: 9999, projectId: this.taskForm.formId }).then(response => {
77 77
         this.projectChangeList = response.rows;
78 78
       });
79 79
     },
@@ -87,11 +87,11 @@ export default {
87 87
       });
88 88
     },
89 89
     handleLook(row) {
90
-      this.form= row
90
+      this.form = row
91 91
       this.openObj.formId = row.changeId
92
-      getProject(row.projectId).then(res=>{
93
-        if(res.data)
94
-          this.$set(this.form,'projectName',res.data.projectNumber + '-' + res.data.projectName)
92
+      getProject(row.projectId).then(res => {
93
+        if (res.data)
94
+          this.$set(this.form, 'projectName', res.data.projectNumber + '-' + res.data.projectName)
95 95
         this.open = true
96 96
       })
97 97
     },

+ 5
- 5
oa-ui/src/views/flowable/form/inProgress/settleData.vue Vedi File

@@ -1,8 +1,8 @@
1 1
 <!--
2 2
  * @Author: ysh
3 3
  * @Date: 2024-05-10 14:45:03
4
- * @LastEditors: wrh
5
- * @LastEditTime: 2024-10-22 15:20:58
4
+ * @LastEditors: Please set LastEditors
5
+ * @LastEditTime: 2025-02-25 16:54:25
6 6
 -->
7 7
 <template>
8 8
   <div class="mt20">
@@ -34,8 +34,8 @@
34 34
       </el-table-column>
35 35
     </el-table>
36 36
     <el-dialog title="结算明细" :visible.sync="open" append-to-body width="65%">
37
-      <settle-print :form="clickRow" :chooseProject="chooseProject" :workList="workList"
38
-        :settleList="summaryList" @cancel="open = false"></settle-print>
37
+      <settle-print :form="clickRow" :chooseProject="chooseProject" :workList="workList" :settleList="summaryList"
38
+        @cancel="open = false"></settle-print>
39 39
     </el-dialog>
40 40
   </div>
41 41
 </template>
@@ -102,7 +102,7 @@ export default {
102 102
       })
103 103
     },
104 104
     getSettleData() {
105
-      listSettle({ projectId: this.taskForm.formId }).then(res => {
105
+      listSettle({ pageSize: 9999, projectId: this.taskForm.formId }).then(res => {
106 106
         if (res.code == 200) {
107 107
           this.dataList = res.rows
108 108
           for (let row of res.rows) {

Loading…
Annulla
Salva