Quellcode durchsuchen

修改项目台账项目概况的获取pagesize

余思翰 vor 11 Monaten
Ursprung
Commit
0c304265d8
1 geänderte Dateien mit 3 neuen und 25 gelöschten Zeilen
  1. 3
    25
      oa-ui/src/views/oa/project/info.vue

+ 3
- 25
oa-ui/src/views/oa/project/info.vue Datei anzeigen

@@ -160,7 +160,7 @@
160 160
                 <svg-icon slot="prefix" icon-class="dept" />
161 161
                 承担部门
162 162
               </template>
163
-              <div style="display: flex;">
163
+              <div style="display: flex;" class="ml20">
164 164
                 <div>{{ getDeptNames(project.undertakingDept) }}</div>
165 165
                 <div>
166 166
                   <el-button class="ml20" type="success" plain size="mini" icon="el-icon-refresh"
@@ -183,7 +183,7 @@
183 183
                 <svg-icon slot="prefix" icon-class="user" />
184 184
                 项目负责人
185 185
               </template>
186
-              <div style="display: flex;">
186
+              <div style="display: flex;" class="ml20">
187 187
                 <div>{{ project.projectLeaderUser ? project.projectLeaderUser.nickName : "" }}</div>
188 188
                 <div>
189 189
                   <el-button class="ml20" type="success" plain size="mini" icon="el-icon-refresh"
@@ -208,28 +208,6 @@
208 208
               <!-- v-hasPermi="['oa:project:edit']" -->
209 209
               <el-link type="primary" @click="openBudget = true">项目预算表</el-link>
210 210
             </el-descriptions-item>
211
-            <!-- <el-descriptions-item>
212
-              <template slot="label">
213
-                <svg-icon slot="prefix" icon-class="date" />
214
-                组织交底时间
215
-              </template>
216
-              {{ project.organizeTime }}
217
-            </el-descriptions-item>
218
-            <el-descriptions-item>
219
-              <template slot="label">
220
-                <svg-icon slot="prefix" icon-class="documentation" />
221
-                组织交底文档
222
-              </template>
223
-              <div v-if="project.organizeDocument">
224
-                <el-link type="primary" @click="reviewWord(`${baseUrl}${'/profile/upload' + project.organizeDocument}`)">
225
-                  {{ getFileName(project.organizeDocument) }}
226
-                </el-link>
227
-                <el-link class="ml20" type="warning" :href="`${baseUrl}${'/profile/upload' + project.organizeDocument}`"
228
-                  :underline="false" target="_blank">
229
-                  <span class="el-icon-download">下载文件</span>
230
-                </el-link>
231
-              </div>
232
-            </el-descriptions-item> -->
233 211
           </el-descriptions>
234 212
         </div>
235 213
       </div>
@@ -630,7 +608,7 @@ export default {
630 608
       })
631 609
     },
632 610
     getProjectWorkList(projectId) {
633
-      listProjectWork({ projectId }).then(res => {
611
+      listProjectWork({ pageNum: 1, pageSize: 50, projectId }).then(res => {
634 612
         this.workList = res.rows;
635 613
       })
636 614
     },

Laden…
Abbrechen
Speichern