From d2d8982a787bf7267612c19983798d7aaa0c37fe Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期三, 14 六月 2023 16:22:37 +0800
Subject: [PATCH] 新增页面和配置,对接口

---
 src/views/Admin/release.vue |   11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/src/views/Admin/release.vue b/src/views/Admin/release.vue
index 2f880b1..162678b 100644
--- a/src/views/Admin/release.vue
+++ b/src/views/Admin/release.vue
@@ -63,11 +63,12 @@
           </a-tag>
         </template>
         <template #operation="text, record, index">
-          <a-button type="primary">叫应列表</a-button>
+          <a-button type="primary" @click="openList(record.id)">叫应列表</a-button>
           <a-button type="link" @click="openMod('view',record)">查看详情</a-button>
         </template>
       </a-table>
       <msg-edit-mod ref="msgEdit" @refresh="getData"></msg-edit-mod>
+      <call-list-mod ref="callList" @refresh="getData"></call-list-mod>
     </div>
 	  <!-- 对话框 -->
 	  <a-modal title="查看叫应详情" 
@@ -80,6 +81,7 @@
 <script>
 import {getMsgRecord, getPublishRecord} from "@/api/list";
 import msgEditMod from "@/views/Admin/components/msgEditMod";
+import callListMod from "@/views/Admin/components/callListMod";
 import {getReviewDetailByWorker} from "@/api/review";
   const columns = [{
 			title: '序号',
@@ -149,7 +151,7 @@
 	];
 	export default {
     name: 'release',
-    components: { msgEditMod },
+    components: { msgEditMod, callListMod },
 		data() {
 			return {
         search:{
@@ -207,6 +209,11 @@
         }
       },
 
+      openList(id){
+        const t = this
+        t.$refs.callList.openMod(id)
+      },
+
       openMod(type,data){
         const t = this
         getReviewDetailByWorker(data.id).then(res=>{

--
Gitblit v1.9.2