|
|
@@ -2,13 +2,62 @@
|
|
|
<div class="sensitive-words">
|
|
|
<pageSearch ref="searchTableRef" :searchConfig="searchConfig" />
|
|
|
|
|
|
- <pageContent ref="tableListRef" :total="total" :contentConfig="contentConfig" :pageList="tableData">
|
|
|
+ <pageContent
|
|
|
+ ref="tableListRef"
|
|
|
+ :total="total"
|
|
|
+ :contentConfig="contentConfig"
|
|
|
+ :pageList="tableData"
|
|
|
+ @expand-change="handleExpandChange"
|
|
|
+ >
|
|
|
<template #button>
|
|
|
<el-button type="primary" @click="handleAdd()">新增</el-button>
|
|
|
<el-button type="primary" @click="handleExport()">导出</el-button>
|
|
|
</template>
|
|
|
+ <template #expand="scope">
|
|
|
+ <div>
|
|
|
+ <div class="flex-ac mb20 mt20">
|
|
|
+ <div class="flex-cc">
|
|
|
+ <div class="square green_bgc" />
|
|
|
+ <div class="green">接收单位正常期限提醒</div>
|
|
|
+ </div>
|
|
|
+ <div class="flex-cc">
|
|
|
+ <div class="square yellow_bgc" />
|
|
|
+ <div class="yellow">接收单位退回和补正超期提醒</div>
|
|
|
+ </div>
|
|
|
+ <div class="flex-cc">
|
|
|
+ <div class="square red_bgc" />
|
|
|
+ <div class="red">接收单位处理/处置完成超期提醒</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <el-table :data="mattersList" class="mb20">
|
|
|
+ <el-table-column show-overflow-tooltip prop="receivingUnitStr" label="接收单位" />
|
|
|
+ <el-table-column show-overflow-tooltip prop="userPhone" label="联络人电话" width="200" />
|
|
|
+ <el-table-column show-overflow-tooltip prop="notificationStatus" label="通报状态">
|
|
|
+ <template #default="scope">
|
|
|
+ {{ getStatusLabel(notificationStatus, scope.row.notificationStatus) }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column show-overflow-tooltip prop="takeMeasures" label="采取措施">
|
|
|
+ <template #default="scope">
|
|
|
+ {{ getStatusLabel(takeMeasures, scope.row.takeMeasures) }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column show-overflow-tooltip prop="overdueStatus" label="超期状态">
|
|
|
+ <template #default="scope">
|
|
|
+ {{ getStatusLabel(overdueStatus, scope.row.overdueStatus) }}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column show-overflow-tooltip prop="acceptanceDate" label="受理日期" />
|
|
|
+ <el-table-column fixed="right" label="操作">
|
|
|
+ <template #default>
|
|
|
+ <el-button link type="primary" size="small" @click="handleDetails(scope.row.releasedId)">查看</el-button>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
<!-- 接收单位 -->
|
|
|
- <template #names="scope">
|
|
|
+ <!-- <template #names="scope">
|
|
|
<el-popover placement="bottom" width="80%" trigger="click">
|
|
|
<template #reference>
|
|
|
<div @click="onClickNames(scope.row.releasedId)" class="pointer blue">{{ scope.row.names }}</div>
|
|
|
@@ -55,7 +104,7 @@
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</el-popover>
|
|
|
- </template>
|
|
|
+ </template> -->
|
|
|
<!-- 通报整体状态 -->
|
|
|
<!-- <template #releaseStatusStr="scope">
|
|
|
{{ getStatusLabel(allNotificationStatus, scope.row.releaseStatusStr) }}
|
|
|
@@ -70,6 +119,21 @@
|
|
|
<el-button v-if="scope.row.releasedStatus !== '2'" type="primary" link @click="handleDelete(scope.row.releasedId)">
|
|
|
删除
|
|
|
</el-button>
|
|
|
+ <!-- <el-button
|
|
|
+ v-if="scope.row.releaseStatusStr === '待发布'"
|
|
|
+ type="primary"
|
|
|
+ link
|
|
|
+ @click="handleDetails(scope.row.releasedId)"
|
|
|
+ >
|
|
|
+ 发布
|
|
|
+ </el-button> -->
|
|
|
+ <el-button
|
|
|
+ v-if="scope.row.releaseStatusStr === '已发布'"
|
|
|
+ type="primary"
|
|
|
+ link
|
|
|
+ @click="handleDetails(scope.row.releasedId)">
|
|
|
+ 撤回
|
|
|
+ </el-button>
|
|
|
</template>
|
|
|
</pageContent>
|
|
|
<router-view></router-view>
|
|
|
@@ -102,6 +166,10 @@ const getNotificationMattersList = async(id) => {
|
|
|
mattersList.value = response.data
|
|
|
}
|
|
|
|
|
|
+const handleExpandChange = async (row) => {
|
|
|
+ await getNotificationMattersList(row.releasedId)
|
|
|
+}
|
|
|
+
|
|
|
const onClickNames = (id) => {
|
|
|
getNotificationMattersList(id)
|
|
|
}
|