luohailiang %!s(int64=2) %!d(string=hai) anos
pai
achega
95df67f8d0
Modificáronse 1 ficheiros con 5 adicións e 2 borrados
  1. 5 2
      src/pages/process/index.vue

+ 5 - 2
src/pages/process/index.vue

@@ -109,8 +109,8 @@
                       <span class="ml-10px text-14px inline-block align-middle">11%</span>
                     </div>
                     <div class="mt-5px text-center">
-                      <button type="button" class="op-btn">批阅任务</button>
-                      <button type="button" class="ml-10px op-btn">查看</button>
+                      <button type="button" class="op-btn" @click="toReview(items)">批阅任务</button>
+                      <button type="button" class="ml-10px op-btn" @click="linkTo({name:'step-id',params:{id:items.ykl_id}})">查看</button>
                     </div>
                   </div>
                 </li>
@@ -366,6 +366,9 @@ function delProject(item) {
     });
   })
 }
+function toReview(item) {
+  window.location.href = window.GLOBAL_CONFIG.yzy+'/webapps/page/single-review.html?ze_id='+item.ze_id;
+}
 </script>
 <style lang="scss" scoped>
 $color: #0048e5;