马宇豪
2023-06-14 d2d8982a787bf7267612c19983798d7aaa0c37fe
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=>{