Browse Source

委外消息跳转

qinhb 1 year ago
parent
commit
a0ed92e643
1 changed files with 6 additions and 1 deletions
  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"
               v-model:page="page"
               :table-loading="loading"
               :table-loading="loading"
               @size-change="handleQuery"
               @size-change="handleQuery"
+              @row-click="clickItem"
               @current-change="handleQuery"
               @current-change="handleQuery"
               :data="pageData"
               :data="pageData"
             />
             />
@@ -145,7 +146,11 @@ const dialog = reactive({
   type: "0",
   type: "0",
   state: "0",
   state: "0",
 });
 });
-
+const clickItem =(row) =>{
+  if(row.msgId === '4'){
+    window.open("/#/outsource",'_blank')
+  }
+}
 const openMessageDialog = () => {
 const openMessageDialog = () => {
   handleQuery();
   handleQuery();
   dialog.visible = true;
   dialog.visible = true;