qinzhipeng_v преди 5 години
родител
ревизия
fa7ccb8ef5
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/views/projectManage/dialog_vue.vue

+ 2 - 1
src/views/projectManage/dialog_vue.vue

@@ -177,6 +177,7 @@ export default {
           this.projectId = url.split('?id=')
           projectList({ id: Number(this.projectId[1]), curIndex: 1, pageSize: 15 }).then(res => {
             this.dialogFormVisible = true
+            console.log(res.data[0].id, 'ddsdssdssdds')
             var that = this
             setTimeout(function() {
               that.task_form = {}
@@ -245,7 +246,7 @@ export default {
           })
           break
       }
-      projectList({ }).then(res => { // 获取项目(查询)
+      projectList({ curIndex: 1, pageSize: 50 }).then(res => { // 获取项目(查询)
         this.projectList = res.data
       })
       configShowRequirementVersionEnum('').then(res => {