From 835cdf38456715c8444f71528954980acc7481ec Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期三, 02 八月 2023 16:39:42 +0800 Subject: [PATCH] 村级响应措施对接 --- src/views/Admin/list.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/Admin/list.vue b/src/views/Admin/list.vue index 47941e9..10d681b 100644 --- a/src/views/Admin/list.vue +++ b/src/views/Admin/list.vue @@ -76,8 +76,8 @@ <!-- </div>--> <!-- </template>--> <template #operation="text, record, index"> - <a-button type="primary" v-if="record.responseStatus == 1" style="margin-right: 12px" @click="confirmResponce(record.id)">确认已收到</a-button> - <a-button type="primary" @click="openMod('repost',record)">转发</a-button> + <a-button type="primary" v-if="record.responseStatus == 1 && userInfo.unittype !== 4" style="margin-right: 12px" @click="confirmResponce(record.id)">确认已收到</a-button> + <a-button type="primary" @click="openMod('repost',record)" v-if="userInfo.unittype !== 4">转发</a-button> <a-button type="link" @click="openDetails(record,record.warnInfoId)">查看详情</a-button> </template> </a-table> @@ -200,9 +200,8 @@ confirmLoading: false, riskOptions: [ {name: '地震',value: 1}, - {name: '洪涝',value: 2}, {name: '气象',value: 3}, - {name: '泥石流',value: 4}, + {name: '地质灾害',value: 4}, {name: '水旱',value: 5}, {name: '森林草原火灾',value: 6} ], -- Gitblit v1.9.2