sunjh %!s(int64=6) %!d(string=hai) anos
pai
achega
fbdbd66b89

+ 1 - 1
src/components/Mine.vue

@@ -100,7 +100,7 @@ export default {
       this.setUserInfo()
     },
     loadData () {
-      Http.get(Apis.PAGE.MY_CROWD_TEST_PAGE.replace('{userId}', this.user.userVO.id), {}).then((res) => {
+      Http.get(Apis.PAGE.MY_CROWD_TEST_PAGE.replace('{userId}', 1), {}).then((res) => {
         if (res.unfinishedTasks != null && res.unfinishedTasks.length > 0) {
           this.unFinishedTaskList = res.unfinishedTasks
         }

+ 1 - 5
src/components/cheat/AgencyAdd.vue

@@ -240,13 +240,9 @@ export default {
           // { min: 3, max: 5, message: "长度在 3 到 5 个字符", trigger: "blur" }
         ],
         evaluationAgencyAbilityList: [
-          {type: 'array', required: true, message: '请至少选择一个活动性质', trigger: 'change'}
+          {type: 'array', required: true, message: '请至少选择一个机构能力', trigger: 'change'}
           // { min: 3, max: 5, message: "长度在 3 到 5 个字符", trigger: "blur" }
         ],
-        // resource: [
-        //   {required: true, message: '请输入测评机构资源', trigger: 'blur'}
-        //   // { min: 3, max: 5, message: "长度在 3 到 5 个字符", trigger: "blur" }
-        // ],
       },
       tableData: [{
         date: '2016-05-02',

+ 1 - 1
src/components/commons/ProjectItem.vue

@@ -13,7 +13,7 @@
     </span>
     <span class="col-md-1 col-sm-5">¥{{project.price}}</span>
     <span class="project-td">
-      <span class="btn btn-medium btn-info" @click="goToProjectDetail(projectId)">查看详情</span>
+      <span class="btn btn-medium btn-info" @click="goToProjectDetail(project.id)">查看详情</span>
     </span>
   </div>
 </template>

+ 48 - 48
src/components/project/Project.vue

@@ -191,55 +191,55 @@
       </el-form>
     </div>
 
-    <div class="create-body" v-if="!isModifyMode">
-      <div class="title h2">分析需求</div>
-      <div class="task-list">
-        <el-table :data="analyseDemandList" style="width: 100%" max-height="400">
-          <el-table-column prop="institution" label="承接单位" title="承接单位"></el-table-column>
-          <el-table-column prop="feasibilityReport" sortable label="可行性分析报告">
-            <template slot-scope="scope">
-              <span v-if="!scope.row.feasibilityReport.url">暂无文件</span>
-              <a
-                :href="scope.row.feasibilityReport.url"
-                v-if="scope.row.feasibilityReport.url"
-                target="_blank"
-              >
-                <i class="fa fa-file-text-o"></i>
-                {{scope.row.feasibilityReport.name}}
-              </a>
-            </template>
-          </el-table-column>
-          <el-table-column prop="priceAuditReport" sortable label="可行性分析报告">
-            <template slot-scope="scope">
-              <span v-if="!scope.row.priceAuditReport.url">暂无文件</span>
-              <a
-                :href="scope.row.priceAuditReport.url"
-                v-if="scope.row.priceAuditReport.url"
-                target="_blank"
-              >
-                <i class="fa fa-file-text-o"></i>
-                {{scope.row.priceAuditReport.name}}
-              </a>
-            </template>
-          </el-table-column>
+    <!--<div class="create-body" v-if="!isModifyMode">-->
+      <!--<div class="title h2">分析需求</div>-->
+      <!--<div class="task-list">-->
+        <!--<el-table :data="analyseDemandList" style="width: 100%" max-height="400">-->
+          <!--<el-table-column prop="institution" label="承接单位" title="承接单位"></el-table-column>-->
+          <!--<el-table-column prop="feasibilityReport" sortable label="可行性分析报告">-->
+            <!--<template slot-scope="scope">-->
+              <!--<span v-if="!scope.row.feasibilityReport.url">暂无文件</span>-->
+              <!--<a-->
+                <!--:href="scope.row.feasibilityReport.url"-->
+                <!--v-if="scope.row.feasibilityReport.url"-->
+                <!--target="_blank"-->
+              <!--&gt;-->
+                <!--<i class="fa fa-file-text-o"></i>-->
+                <!--{{scope.row.feasibilityReport.name}}-->
+              <!--</a>-->
+            <!--</template>-->
+          <!--</el-table-column>-->
+          <!--<el-table-column prop="priceAuditReport" sortable label="可行性分析报告">-->
+            <!--<template slot-scope="scope">-->
+              <!--<span v-if="!scope.row.priceAuditReport.url">暂无文件</span>-->
+              <!--<a-->
+                <!--:href="scope.row.priceAuditReport.url"-->
+                <!--v-if="scope.row.priceAuditReport.url"-->
+                <!--target="_blank"-->
+              <!--&gt;-->
+                <!--<i class="fa fa-file-text-o"></i>-->
+                <!--{{scope.row.priceAuditReport.name}}-->
+              <!--</a>-->
+            <!--</template>-->
+          <!--</el-table-column>-->
 
-          <el-table-column align="right" label="操作">
-            <template slot-scope="scope">
-              <div
-                class="btn btn-small btn-info"
-                @click="handleAccept(scope.$index, scope.row.id)"
-              >接受
-              </div>
-              <div
-                class="btn btn-small btn-danger"
-                @click="handleReject(scope.$index, scope.row.id)"
-              >拒绝
-              </div>
-            </template>
-          </el-table-column>
-        </el-table>
-      </div>
-    </div>
+          <!--<el-table-column align="right" label="操作">-->
+            <!--<template slot-scope="scope">-->
+              <!--<div-->
+                <!--class="btn btn-small btn-info"-->
+                <!--@click="handleAccept(scope.$index, scope.row.id)"-->
+              <!--&gt;接受-->
+              <!--</div>-->
+              <!--<div-->
+                <!--class="btn btn-small btn-danger"-->
+                <!--@click="handleReject(scope.$index, scope.row.id)"-->
+              <!--&gt;拒绝-->
+              <!--</div>-->
+            <!--</template>-->
+          <!--</el-table-column>-->
+        <!--</el-table>-->
+      <!--</div>-->
+    <!--</div>-->
 
     <div class="create-body" v-if="!isModifyMode">
       <div class="title h2">任务列表</div>