瀏覽代碼

委外消息跳转

qinhb 1 年之前
父節點
當前提交
a0ed92e643
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      src/layout/components/NavBar/components/NavbarRight.vue

+ 6 - 1
src/layout/components/NavBar/components/NavbarRight.vue

@@ -89,6 +89,7 @@
               v-model:page="page"
               :table-loading="loading"
               @size-change="handleQuery"
+              @row-click="clickItem"
               @current-change="handleQuery"
               :data="pageData"
             />
@@ -145,7 +146,11 @@ const dialog = reactive({
   type: "0",
   state: "0",
 });
-
+const clickItem =(row) =>{
+  if(row.msgId === '4'){
+    window.open("/#/outsource",'_blank')
+  }
+}
 const openMessageDialog = () => {
   handleQuery();
   dialog.visible = true;