Merge branch 'zhipeng_dev' into 'shenzhen-dev'

feat: 通知公告我已知晓优化

See merge request !8
This commit is contained in:
Jane 2023-05-23 15:24:52 +08:00
commit 29c0e5333e
10 changed files with 9 additions and 28 deletions

View File

@ -53,7 +53,7 @@ export const initDynamicRouter = async (params?: any) => {
} else {
router.addRoute("layout", item);
if (globalStore.path) {
console.log("exec");
// console.log("exec");
router.push(globalStore.path);
// globalStore.setPath(null);

View File

@ -4,9 +4,6 @@
.el-table :deep(.el-table__header th) {
height: 36px;
}
.el-table :deep(.el-table__inner-wrapper) {
min-height: 120px;
}
.list {
margin: 18px 0 32px 0;

View File

@ -62,7 +62,7 @@
</el-table>
<template #footer>
<el-button type="primary" v-if="!store.isManager" @click="onKnow">我已知晓</el-button>
<el-button type="primary" @click="visible = false">关闭</el-button>
<el-button type="primary" v-else @click="visible = false">关闭</el-button>
</template>
</el-dialog>
<el-dialog v-model="fileVisible" title="查看附件" width="30%" show-close>

View File

@ -4,9 +4,9 @@
.el-table :deep(.el-table__header th) {
height: 36px;
}
.el-table :deep(.el-table__inner-wrapper) {
min-height: 120px;
}
// .el-table :deep(.el-table__inner-wrapper) {
// min-height: 120px;
// }
.list {
margin: 18px 0 32px 0;

View File

@ -36,7 +36,6 @@
<el-table
:data="annexFiles"
border
max-height="200"
class="el-table"
:header-cell-style="{ backgroundColor: '#e1eeff', textAlign: 'center' }"
:cell-style="{ textAlign: 'center' }"
@ -66,8 +65,8 @@
<el-table-column prop="readTime" label="查看时间" />
</el-table>
<template #footer>
<el-button type="primary" v-if="!store.isManager" @click="onKnow">我已知晓</el-button>
<el-button type="primary" v-else @click="visible = false">关闭</el-button>
<!-- <el-button type="primary" v-if="!store.isManager" @click="onKnow">我已知晓</el-button> -->
<el-button type="primary" @click="visible = false">关闭</el-button>
</template>
</el-dialog>
<el-dialog v-model="fileVisible" title="查看附件" width="30%" show-close>
@ -173,13 +172,6 @@ const onLook = async row => {
rowNoticeId.value = row.noticeId;
};
const onKnow = async () => {
await noticeReadMyPost({ noticeId: rowNoticeId.value });
visible.value = false;
ElMessage.success("已知晓");
proTable.value.getTableList();
};
//
const handleEditItem = async (row: any) => {
const { result } = await noticeDetailMyPost({ noticeId: row.noticeId });

View File

@ -4,9 +4,6 @@
.el-table :deep(.el-table__header th) {
height: 36px;
}
.el-table :deep(.el-table__inner-wrapper) {
min-height: 120px;
}
.list {
margin: 18px 0 32px 0;

View File

@ -62,7 +62,7 @@
</el-table>
<template #footer>
<el-button type="primary" v-if="!store.isManager" @click="onKnow">我已知晓</el-button>
<el-button type="primary" @click="visible = false">关闭</el-button>
<el-button type="primary" v-else @click="visible = false">关闭</el-button>
</template>
</el-dialog>
<el-dialog v-model="fileVisible" title="查看附件" width="30%" show-close>

View File

@ -90,8 +90,6 @@ const onChange = async (val: string) => {
// );
onMounted(async () => {
console.log(import.meta.url);
const res1 = await getHomePage();
data.value = res1.result || {};
const res = await getModuleList();

View File

@ -4,9 +4,6 @@
.el-table :deep(.el-table__header th) {
height: 36px;
}
.el-table :deep(.el-table__inner-wrapper) {
min-height: 120px;
}
.list {
margin: 18px 0 32px 0;

View File

@ -62,7 +62,7 @@
</el-table>
<template #footer>
<el-button type="primary" v-if="!store.isManager" @click="onKnow">我已知晓</el-button>
<el-button type="primary" @click="visible = false">关闭</el-button>
<el-button type="primary" v-else @click="visible = false">关闭</el-button>
</template>
</el-dialog>
<el-dialog v-model="fileVisible" title="查看附件" width="30%" show-close>