浏览代码

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

余思翰 3 个月前
父节点
当前提交
11cf757fc3

+ 9
- 9
oa-ui/src/views/flowable/form/inProgress/achiData.vue 查看文件

111
     return {
111
     return {
112
       achiList: [],
112
       achiList: [],
113
       definitionList: [],
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
   },
124
   },
125
   methods: {
125
   methods: {
126
     getAchiData() {
126
     getAchiData() {
127
-      listArchive({ projectId: this.taskForm.formId }).then(res => {
127
+      listArchive({ pageSize: 9999, projectId: this.taskForm.formId }).then(res => {
128
         if (res.code == 200) {
128
         if (res.code == 200) {
129
           this.achiList = res.rows
129
           this.achiList = res.rows
130
         }
130
         }
149
       });
149
       });
150
     },
150
     },
151
     handleLook(row) {
151
     handleLook(row) {
152
-      this.form= row
152
+      this.form = row
153
       this.openObj.formId = row.archiveId
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
         this.open = true
157
         this.open = true
158
       })
158
       })
159
     },
159
     },

+ 4
- 4
oa-ui/src/views/flowable/form/inProgress/borrowData.vue 查看文件

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

+ 8
- 8
oa-ui/src/views/flowable/form/inProgress/changeData.vue 查看文件

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

+ 5
- 5
oa-ui/src/views/flowable/form/inProgress/settleData.vue 查看文件

1
 <!--
1
 <!--
2
  * @Author: ysh
2
  * @Author: ysh
3
  * @Date: 2024-05-10 14:45:03
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
 <template>
7
 <template>
8
   <div class="mt20">
8
   <div class="mt20">
34
       </el-table-column>
34
       </el-table-column>
35
     </el-table>
35
     </el-table>
36
     <el-dialog title="结算明细" :visible.sync="open" append-to-body width="65%">
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
     </el-dialog>
39
     </el-dialog>
40
   </div>
40
   </div>
41
 </template>
41
 </template>
102
       })
102
       })
103
     },
103
     },
104
     getSettleData() {
104
     getSettleData() {
105
-      listSettle({ projectId: this.taskForm.formId }).then(res => {
105
+      listSettle({ pageSize: 9999, projectId: this.taskForm.formId }).then(res => {
106
         if (res.code == 200) {
106
         if (res.code == 200) {
107
           this.dataList = res.rows
107
           this.dataList = res.rows
108
           for (let row of res.rows) {
108
           for (let row of res.rows) {

正在加载...
取消
保存