Browse Source

Merge pull request #388 from millionfor/branch-1.0.2

Branch 1.0.2
millionfor 5 years ago
parent
commit
cf2b51746f

+ 1 - 1
escheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/processStateCount.vue

@@ -15,7 +15,7 @@
               </tr>
               <tr v-for="(item,$index) in processStateList">
                 <td><span>{{$index+1}}</span></td>
-                <td><span><a href="javascript:" @click="id && _goProcess(item.key)" :class="id ?'links':''">{{item.value}}</a></span></td>
+                <td><span><a href="javascript:" @click="searchParams.projectId && _goProcess(item.key)" :class="searchParams.projectId ?'links':''">{{item.value}}</a></span></td>
                 <td><span class="ellipsis" style="width: 98%;" :title="item.key">{{item.key}}</span></td>
               </tr>
             </table>

+ 3 - 3
escheduler-ui/src/js/conf/home/pages/projects/pages/index/_source/taskCtatusCount.vue

@@ -16,9 +16,9 @@
               <tr v-for="(item,$index) in taskCtatusList">
                 <td><span>{{$index+1}}</span></td>
                 <td>
-                        <span>
-                          <a href="javascript:" @click="id && _goTask(item.key)" :class="id ?'links':''">{{item.value}}</a>
-                        </span>
+                  <span>
+                    <a href="javascript:" @click="searchParams.projectId && _goTask(item.key)" :class="searchParams.projectId ?'links':''">{{item.value}}</a>
+                  </span>
                 </td>
                 <td><span class="ellipsis" style="width: 98%;" :title="item.key">{{item.key}}</span></td>
               </tr>