详情信息标签

xuhongjie
严飞永 5 days ago
parent 4d96aaca4c
commit 2d62675cea

@ -817,19 +817,19 @@ export function markSmartReminderAsRead(id) {
} }
//分页查询智能提醒规则数据 //分页查询智能提醒规则数据
export function getSmartReminderPage(param) { export function getSmartReminderPage(params) {
return request({ return request({
url: '/gysl/jSmartReminders', url: '/gysl/jSmartReminders',
method: 'get', method: 'get',
params: param params: params
}); });
} }
//新增智能提醒规则 //新增智能提醒规则
export function addSmartReminder(param) { export function addSmartReminder(params) {
return request({ return request({
url: '/gysl/jSmartReminders/add', url: '/gysl/jSmartReminders/add',
method: 'post', method: 'post',
data: param data: params
}); });
} }
//删除智能提醒规则 //删除智能提醒规则
@ -849,19 +849,19 @@ export function getSmartReminderDetail(id) {
} }
//修改定期提醒数据和不定期提醒数据 //修改定期提醒数据和不定期提醒数据
export function updateSmartReminder(param) { export function updateSmartReminder(params) {
return request({ return request({
url: '/gysl/jSmartReminders/updateDq', url: '/gysl/jSmartReminders/updateDq',
method: 'post', method: 'post',
data: param data: params
}); });
} }
//定时器更新不定期提醒数据 //定时器更新不定期提醒数据
export function updateSmartReminderUntimer(param) { export function updateSmartReminderUntimer(params) {
return request({ return request({
url: '/gysl/jSmartReminders/updateNoRegularReminders', url: '/gysl/jSmartReminders/updateNoRegularReminders',
method: 'post', method: 'post',
data: param data: params
}); });
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

@ -1,3 +1,237 @@
<template> <template>
<div>项目手册报告</div> <div>
<!-- 项目手册报告 -->
<!-- 表单查询项 -->
<div v-if="!previewMode" class="headerbox">
<el-form size="small" :inline="true" label-width="200">
<el-row>
<el-col :span="5">
<el-form-item label="文件标题" style="width: 100%;">
<el-input v-model="queryParams.title" placeholder="请输入模板标题" clearable />
</el-form-item>
</el-col>
<el-col :span="5">
<el-form-item label="发布时间">
<el-date-picker v-model="queryParams.startTime" type="date" placeholder="选择日期"
style="width: 100%;"></el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini"
@click="handleQuery">查询</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
<!-- 表格内容区 -->
<div v-if="!previewMode" class="tablebox">
<el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center" prop="id" />
<el-table-column label="文件标题" align="center" prop="title" />
<el-table-column label="发布单位" align="center" prop="unit" />
<!-- <el-table-column label="发布人" align="center" prop="author" /> -->
<el-table-column label="发布时间" align="center" prop="createTime" />
<el-table-column label="操作" align="center">
<template slot-scope="scope">
<el-button size="mini" type="text" style="color: gray;"
@click="handlePreview(scope.row)">预览</el-button>
</template>
</el-table-column>
</el-table>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.current"
:limit.sync="queryParams.size" @pagination="getList" />
</div>
<!-- DOCX预览区域 -->
<div v-if="previewMode" class="previewbox">
<div class="previewhead">
<h3>{{ previewData.title }}</h3>
<div class="headtwo">
<el-button size="mini" @click="previewMode = false">返回</el-button>
</div>
</div>
<div class="previewcontent">
<vue-office-docx :src="docxFileData"
style="width: 100%; height: calc(100vh - 250px); border: 1px solid #eee;"
@rendered="renderedHandler" />
</div>
</div>
</div>
</template> </template>
<script>
import VueOfficeDocx from '@vue-office/docx'
import axios from 'axios'
export default {
components: {
'vue-office-docx': VueOfficeDocx
},
data() {
return {
//
queryParams: {
current: 1,
size: 10,
title: undefined,
startTime: undefined
},
//
allPostList: [
{ id: 1, title: '苏州工业园区总体报告模板', unit: '经发委', author: '', createTime: '2024-08-20', fileUrl: 'docx/苏州工业园区总体报告模板.docx' },
],
//
postList: [],
//
loading: false,
//
total: 0,
//
previewMode: false,
//
previewData: {},
// DOCX
docxFileData: null
}
},
created() {
this.getList()
},
methods: {
//
getList() {
this.loading = true;
//
let filteredData = this.allPostList.filter(item => {
if (this.queryParams.title && !item.title.includes(this.queryParams.title)) {
return false;
}
if (this.queryParams.startTime && new Date(item.createTime) < new Date(this.queryParams.startTime)) {
return false;
}
return true;
});
//
const start = (this.queryParams.current - 1) * this.queryParams.size;
const end = start + this.queryParams.size;
this.postList = filteredData.slice(start, end);
this.total = filteredData.length;
this.loading = false;
},
//
handleQuery() {
this.queryParams.current = 1;
this.getList();
},
//
resetQuery() {
this.queryParams = {
current: 1,
size: 10,
title: undefined,
startTime: undefined
};
this.handleQuery();
},
//
handleSelectionChange(selection) {
this.ids = selection.map(item => item.id)
this.single = selection.length !== 1
this.multiple = !selection.length
},
//
handlePreview(row) {
this.previewMode = true
this.previewData = row
this.loadDocxFile(row.fileUrl)
},
// DOCX
loadDocxFile(url) {
this.docxFileData = null
axios.get(url, { responseType: 'arraybuffer' })
.then(response => {
this.docxFileData = response.data
})
.catch(error => {
console.error('加载文档失败:', error)
this.$message.error('文档加载失败')
})
},
//
renderedHandler() {
console.log('文档渲染完成')
}
}
}
</script>
<style scoped>
.headerbox {
background-color: #fff;
border-radius: .5rem;
padding: 1rem;
margin: .5rem;
border: 1px solid #eee;
}
.tablebox {
background-color: #fff;
border-radius: .5rem;
padding: 1rem;
margin: .5rem;
border: 1px solid #eee;
}
.tablebtntwo {
width: 100%;
display: flex;
justify-content: space-between;
margin-top: 1rem;
margin-bottom: 1rem;
}
.previewbox {
width: 99%;
margin-left: 0.5%;
height: 92rem;
margin-top: .3rem;
display: flex;
flex-direction: column;
padding: 1rem;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.previewhead {
width: 100%;
height: 2rem;
display: flex;
align-items: center;
justify-content: space-between;
}
.headtwo {
display: flex;
gap: .5rem;
}
.previewinfo {
display: flex;
gap: 1rem;
justify-content: flex-start;
margin-top: 1rem;
}
.previewcontent {
margin-top: 1rem;
width: 100%;
}
</style>

@ -1,69 +1,67 @@
<template> <template>
<div> <div>
<!-- 报告管理 --> <!-- 单片材料管理 -->
<!-- 表单查询项 --> <!-- 表单查询项 -->
<div v-if="!previewMode" class="headerbox"> <div v-if="!previewMode" class="headerbox">
<el-form size="small" :inline="true" label-width="200"> <el-form size="small" :inline="true" label-width="200">
<el-row> <el-row>
<el-col :span="5"> <el-col :span="5">
<el-form-item label="文件标题" style="width: 100%;"> <el-form-item label="文件标题" style="width: 100%;">
<el-input v-model="queryParams.fileTitle" placeholder="请输入模板标题" clearable /> <el-input v-model="queryParams.title" placeholder="请输入模板标题" clearable />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="5">
<el-form-item label="发布时间"> <el-form-item label="发布时间">
<el-date-picker v-model="queryParams.startTime" type="date" placeholder="选择日期" <el-date-picker v-model="queryParams.startTime" type="date" placeholder="选择日期"
style="width: 100%;"></el-date-picker> style="width: 100%;"></el-date-picker>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="8"> <el-col :span="8">
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" <el-button type="primary" icon="el-icon-search" size="mini"
@click="handleQuery">查询</el-button> @click="handleQuery">查询</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery"></el-button>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</el-form> </el-form>
</div> </div>
<!-- 表格内容区 --> <!-- 表格内容区 -->
<div v-if="!previewMode" class="tablebox"> <div v-if="!previewMode" class="tablebox">
<el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange"> <el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange">
<el-table-column type="selection" width="55" align="center" /> <el-table-column type="selection" width="55" align="center" />
<el-table-column label="序号" align="center" prop="id" /> <el-table-column label="序号" align="center" prop="id" />
<el-table-column label="文件标题" align="center" prop="title" /> <el-table-column label="文件标题" align="center" prop="title" />
<el-table-column label="发布单位" align="center" prop="unit" /> <el-table-column label="发布单位" align="center" prop="unit" />
<!-- <el-table-column label="发布人" align="center" prop="author" /> --> <!-- <el-table-column label="发布人" align="center" prop="author" /> -->
<el-table-column label="发布时间" align="center" prop="createTime" /> <el-table-column label="发布时间" align="center" prop="createTime" />
<el-table-column label="操作" align="center"> <el-table-column label="操作" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="text" style="color: gray;" <el-button size="mini" type="text" style="color: gray;"
@click="handlePreview(scope.row)">预览</el-button> @click="handlePreview(scope.row)">预览</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.current" <pagination v-show="total > 0" :total="total" :page.sync="queryParams.current"
:limit.sync="queryParams.size" @pagination="getList" /> :limit.sync="queryParams.size" @pagination="getList" />
</div> </div>
<!-- DOCX预览区域 --> <!-- DOCX预览区域 -->
<div v-if="previewMode" class="previewbox"> <div v-if="previewMode" class="previewbox">
<div class="previewhead"> <div class="previewhead">
<h3>{{ previewData.title }}</h3> <h3>{{ previewData.title }}</h3>
<div class="headtwo"> <div class="headtwo">
<el-button size="mini" @click="previewMode = false">返回</el-button> <el-button size="mini" @click="previewMode = false">返回</el-button>
</div> </div>
</div> </div>
<div class="previewcontent"> <div class="previewcontent">
<vue-office-docx <vue-office-docx :src="docxFileData"
:src="docxFileData" style="width: 100%; height: calc(100vh - 250px); border: 1px solid #eee;"
style="width: 100%; height: calc(100vh - 250px); border: 1px solid #eee;" @rendered="renderedHandler" />
@rendered="renderedHandler" </div>
/> </div>
</div> </div>
</div>
</div>
</template> </template>
<script> <script>
@ -71,152 +69,169 @@ import VueOfficeDocx from '@vue-office/docx'
import axios from 'axios' import axios from 'axios'
export default { export default {
components: { components: {
'vue-office-docx': VueOfficeDocx 'vue-office-docx': VueOfficeDocx
}, },
data() { data() {
return { return {
// //
queryParams: { queryParams: {
current: 1, current: 1,
size: 10, size: 10,
fileTitle: undefined, title: undefined,
startTime: undefined startTime: undefined
}, },
// //
postList: [], allPostList: [
// { id: 1, title: 'xxxx项目单体材料模板', unit: '经发委', author: '', createTime: '2024-08-20', fileUrl: 'docx/单体材料模板.docx' },
loading: false, ],
// //
total: 0, postList: [],
// //
previewMode: false, loading: false,
// //
previewData: {}, total: 0,
// DOCX //
docxFileData: null previewMode: false,
} //
}, previewData: {},
created() { // DOCX
this.getList() docxFileData: null
}, }
methods: { },
// created() {
getList() { this.getList()
this.loading = true },
// methods: {
setTimeout(() => { //
this.postList = [ getList() {
{ id: 1, title: 'xxxx项目单体材料模板', unit: '经发委', author: '', createTime: '2024-08-20', fileUrl: 'docx/单体材料模板.docx' }, this.loading = true;
]
this.total = 1 //
this.loading = false let filteredData = this.allPostList.filter(item => {
}, 500) if (this.queryParams.title && !item.title.includes(this.queryParams.title)) {
}, return false;
// }
handleQuery() { if (this.queryParams.startTime && new Date(item.createTime) < new Date(this.queryParams.startTime)) {
this.queryParams.current = 1 return false;
this.getList() }
}, return true;
// });
resetQuery() {
this.queryParams = { //
current: 1, const start = (this.queryParams.current - 1) * this.queryParams.size;
size: 10, const end = start + this.queryParams.size;
fileTitle: undefined, this.postList = filteredData.slice(start, end);
startTime: undefined this.total = filteredData.length;
}
this.handleQuery() this.loading = false;
}, },
// //
handleSelectionChange(selection) { handleQuery() {
this.ids = selection.map(item => item.id) this.queryParams.current = 1;
this.single = selection.length !== 1 this.getList();
this.multiple = !selection.length },
}, //
// resetQuery() {
handlePreview(row) { this.queryParams = {
this.previewMode = true current: 1,
this.previewData = row size: 10,
this.loadDocxFile(row.fileUrl) title: undefined,
}, startTime: undefined
// DOCX };
loadDocxFile(url) { this.handleQuery();
this.docxFileData = null },
axios.get(url, { responseType: 'arraybuffer' }) //
.then(response => { handleSelectionChange(selection) {
this.docxFileData = response.data this.ids = selection.map(item => item.id)
}) this.single = selection.length !== 1
.catch(error => { this.multiple = !selection.length
console.error('加载文档失败:', error) },
this.$message.error('文档加载失败') //
}) handlePreview(row) {
}, this.previewMode = true
// this.previewData = row
renderedHandler() { this.loadDocxFile(row.fileUrl)
console.log('文档渲染完成') },
} // DOCX
} loadDocxFile(url) {
this.docxFileData = null
axios.get(url, { responseType: 'arraybuffer' })
.then(response => {
this.docxFileData = response.data
})
.catch(error => {
console.error('加载文档失败:', error)
this.$message.error('文档加载失败')
})
},
//
renderedHandler() {
console.log('文档渲染完成')
}
}
} }
</script> </script>
<style scoped> <style scoped>
.headerbox { .headerbox {
background-color: #fff; background-color: #fff;
border-radius: .5rem; border-radius: .5rem;
padding: 1rem; padding: 1rem;
margin: .5rem; margin: .5rem;
border: 1px solid #eee; border: 1px solid #eee;
} }
.tablebox { .tablebox {
background-color: #fff; background-color: #fff;
border-radius: .5rem; border-radius: .5rem;
padding: 1rem; padding: 1rem;
margin: .5rem; margin: .5rem;
border: 1px solid #eee; border: 1px solid #eee;
} }
.tablebtntwo { .tablebtntwo {
width: 100%; width: 100%;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
margin-top: 1rem; margin-top: 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
.previewbox { .previewbox {
width: 100%; width: 99%;
height: 92rem; margin-left: 0.5%;
display: flex; height: 92rem;
flex-direction: column; margin-top: .3rem;
padding: 1rem; display: flex;
background-color: #fff; flex-direction: column;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); padding: 1rem;
background-color: #fff;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
} }
.previewhead { .previewhead {
width: 100%; width: 100%;
height: 2rem; height: 2rem;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
} }
.headtwo { .headtwo {
display: flex; display: flex;
gap: .5rem; gap: .5rem;
} }
.previewinfo { .previewinfo {
display: flex; display: flex;
gap: 1rem; gap: 1rem;
justify-content: flex-start; justify-content: flex-start;
margin-top: 1rem; margin-top: 1rem;
} }
.previewcontent { .previewcontent {
margin-top: 1rem; margin-top: 1rem;
width: 100%; width: 100%;
} }
</style> </style>

@ -7,7 +7,7 @@
<el-row> <el-row>
<el-col :span="5"> <el-col :span="5">
<el-form-item label="文件标题" style="width: 100%;"> <el-form-item label="文件标题" style="width: 100%;">
<el-input v-model="queryParams.fileTitle" placeholder="请输入模板标题" clearable /> <el-input v-model="queryParams.title" placeholder="请输入模板标题" clearable />
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="5">
@ -56,11 +56,9 @@
</div> </div>
</div> </div>
<div class="previewcontent"> <div class="previewcontent">
<vue-office-docx <vue-office-docx :src="docxFileData"
:src="docxFileData"
style="width: 100%; height: calc(100vh - 250px); border: 1px solid #eee;" style="width: 100%; height: calc(100vh - 250px); border: 1px solid #eee;"
@rendered="renderedHandler" @rendered="renderedHandler" />
/>
</div> </div>
</div> </div>
</div> </div>
@ -80,10 +78,14 @@ export default {
queryParams: { queryParams: {
current: 1, current: 1,
size: 10, size: 10,
fileTitle: undefined, title: undefined,
startTime: undefined startTime: undefined
}, },
// //
allPostList: [
{ id: 1, title: '苏州工业园区总体报告模板', unit: '经发委', author: '', createTime: '2024-08-20', fileUrl: 'docx/苏州工业园区总体报告模板.docx' },
],
//
postList: [], postList: [],
// //
loading: false, loading: false,
@ -103,30 +105,41 @@ export default {
methods: { methods: {
// //
getList() { getList() {
this.loading = true this.loading = true;
//
setTimeout(() => { //
this.postList = [ let filteredData = this.allPostList.filter(item => {
{ id: 1, title: '苏州工业园区总体报告模板', unit: '经发委', author: '', createTime: '2024-08-20', fileUrl: 'docx/苏州工业园区总体报告模板.docx' }, if (this.queryParams.title && !item.title.includes(this.queryParams.title)) {
] return false;
this.total = 1 }
this.loading = false if (this.queryParams.startTime && new Date(item.createTime) < new Date(this.queryParams.startTime)) {
}, 500) return false;
}
return true;
});
//
const start = (this.queryParams.current - 1) * this.queryParams.size;
const end = start + this.queryParams.size;
this.postList = filteredData.slice(start, end);
this.total = filteredData.length;
this.loading = false;
}, },
// //
handleQuery() { handleQuery() {
this.queryParams.current = 1 this.queryParams.current = 1;
this.getList() this.getList();
}, },
// //
resetQuery() { resetQuery() {
this.queryParams = { this.queryParams = {
current: 1, current: 1,
size: 10, size: 10,
fileTitle: undefined, title: undefined,
startTime: undefined startTime: undefined
} };
this.handleQuery() this.handleQuery();
}, },
// //
handleSelectionChange(selection) { handleSelectionChange(selection) {
@ -186,9 +199,9 @@ export default {
} }
.previewbox { .previewbox {
width: 90%; width: 99%;
margin-left: 0.5%;
height: 92rem; height: 92rem;
margin-left: 5%;
margin-top: .3rem; margin-top: .3rem;
display: flex; display: flex;
flex-direction: column; flex-direction: column;

@ -0,0 +1,94 @@
<template>
<div class="container">
<img src="@/assets/images/信息.png" alt="" @click="handleAdd">
<!-- 添加规则弹框 -->
<el-dialog :title="dialogTitle" :visible.sync="dialogVisible" width="600px" append-to-body>
<el-form ref="ruleForm" label-width="120px" size="small">
<el-form-item label="提醒规则名称">
<el-input v-model="ruleForm.name" placeholder="请输入提醒名称" />
</el-form-item>
<el-form-item label="提醒对象">
<el-radio-group v-model="ruleForm.target">
<el-radio label="政务用户">政务用户</el-radio>
<!-- <el-radio label="企业用户">企业用户</el-radio> -->
</el-radio-group>
</el-form-item>
<el-form-item label="提醒方式">
<el-radio-group v-model="ruleForm.mode">
<el-radio label="定期提醒">定期提醒</el-radio>
<!-- <el-radio label="不定期提醒">不定期提醒</el-radio> -->
</el-radio-group>
</el-form-item>
<el-form-item label="提醒方法">
<el-radio-group v-model="ruleForm.method">
<el-radio label="短信提醒" disabled >短信提醒</el-radio>
<el-radio label="邮件提醒" disabled >邮件提醒</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item label="提醒时间">
<el-date-picker v-model="ruleForm.time" type="datetime" placeholder="选择日期时间"
value-format="yyyy-MM-dd HH:mm:ss" />
</el-form-item>
<el-form-item label="提醒内容">
<el-input v-model="ruleForm.content" type="textarea" :rows="4" placeholder="请输入提醒内容" />
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button @click="cancelAdd"> </el-button>
<el-button type="primary" @click="submitForm"> </el-button>
</div>
</el-dialog>
</div>
</template>
<script>
export default {
data() {
return {
//
dialogVisible: false,
dialogTitle: "",
ruleForm: {
name: "",
target: "政务用户",
mode: "定期提醒",
method: "邮件提醒",
time: "",
content: "",
},
};
},
methods: {
//
handleAdd() {
this.dialogVisible = true;
this.dialogTitle = "新增智能提醒规则";
this.ruleForm = {
name: "",
target: "政务用户",
mode: "定期提醒",
method: "短信提醒",
time: "",
content: "",
};
},
//
cancelAdd() {
this.dialogVisible = false;
},
//
submitForm() {
console.log(this.ruleForm);
this.dialogVisible = false;
},
},
};
</script>
<style scoped>
.container img {
width: 2.5rem;
height: 2.5rem;
}
</style>

@ -129,8 +129,8 @@
<pagination <pagination
v-show="pagination.total > 0" v-show="pagination.total > 0"
:total="pagination.total" :total="pagination.total"
:page.sync="pagination.currentPage" :page.sync="pagination.current"
:limit.sync="pagination.pageSize" :limit.sync="pagination.size"
@pagination="handleSearch" @pagination="handleSearch"
/> />
</div> </div>
@ -262,8 +262,8 @@ export default {
tableData: [], tableData: [],
pagination: { pagination: {
total: 0, total: 0,
currentPage: 1, current: 1,
pageSize: 10, size: 10,
}, },
selectedRows: [], selectedRows: [],
dialogVisible: false, dialogVisible: false,
@ -308,8 +308,8 @@ export default {
methods: { methods: {
initData() { initData() {
const params = { const params = {
pageNum: this.pagination.currentPage, current: this.pagination.current,
pageSize: this.pagination.pageSize, size: this.pagination.size,
}; };
getSmartReminderPage(params).then((res) => { getSmartReminderPage(params).then((res) => {
if (res.code === 200) { if (res.code === 200) {
@ -342,8 +342,8 @@ export default {
// //
handleSearch() { handleSearch() {
const params = { const params = {
pageNum: this.pagination.currentPage, current: this.pagination.current,
pageSize: this.pagination.pageSize, size: this.pagination.size,
rulesName: this.searchForm.rulesName || '', rulesName: this.searchForm.rulesName || '',
alertType: this.searchForm.alertType || '', alertType: this.searchForm.alertType || '',
}; };
@ -355,7 +355,7 @@ export default {
} }
}); });
getSmartReminderPage({ params }).then((res) => { getSmartReminderPage( params).then((res) => {
if (res.code === 200) { if (res.code === 200) {
this.tableData = res.data.records; this.tableData = res.data.records;
this.pagination.total = res.data.total; this.pagination.total = res.data.total;

@ -91,6 +91,8 @@
</div> </div>
<!-- 返回顶部 --> <!-- 返回顶部 -->
<el-button icon="el-icon-caret-top" circle id="back-to-top" @click="scrollToTop" plain></el-button> <el-button icon="el-icon-caret-top" circle id="back-to-top" @click="scrollToTop" plain></el-button>
<!-- 消息提醒 -->
<div class="message-notice"><Supericon /></div>
</div> </div>
</template> </template>
@ -108,6 +110,7 @@ import Projectgift from '@/views/components/ProjectDetails/Projectgift.vue';
import Projectpicture from '@/views/components/ProjectDetails/Projectpicture.vue'; import Projectpicture from '@/views/components/ProjectDetails/Projectpicture.vue';
import Projectpicturetwo22 from '@/views/components/ProjectDetails/Projectpicturetwo22.vue'; import Projectpicturetwo22 from '@/views/components/ProjectDetails/Projectpicturetwo22.vue';
import Others from '@/views/components/ProjectDetails/Others.vue'; import Others from '@/views/components/ProjectDetails/Others.vue';
import Supericon from '@/views/components/ProjectDetails/supervisionicon.vue';
import { checkPermi, checkRole } from "@/utils/permission"; import { checkPermi, checkRole } from "@/utils/permission";
import { getzwBasicInformationById, fillBasicInformation, auditBasicInformation, tempBasicInformation } from '@/api/ManageApi/index'; import { getzwBasicInformationById, fillBasicInformation, auditBasicInformation, tempBasicInformation } from '@/api/ManageApi/index';
@ -126,6 +129,7 @@ export default {
Projectpicture, Projectpicture,
Projectpicturetwo22, Projectpicturetwo22,
Others, Others,
Supericon
}, },
data() { data() {
return { return {
@ -472,12 +476,19 @@ export default {
#back-to-top { #back-to-top {
position: fixed; position: fixed;
bottom: 40%; bottom:50%;
right: 5px; right: 5px;
z-index: 99; z-index: 99;
font-size: 23px; font-size: 23px;
} }
.message-notice{
position: fixed;
bottom:40%;
right: 1%;
z-index: 99;
font-size: 23px;
cursor: pointer;
}
.footer { .footer {
display: flex; display: flex;
padding: 0 0 2rem 0; padding: 0 0 2rem 0;

@ -509,7 +509,7 @@ export default {
#back-to-top { #back-to-top {
position: fixed; position: fixed;
bottom: 40%; bottom: 50%;
right: 5px; right: 5px;
z-index: 99; z-index: 99;
font-size: 23px; font-size: 23px;

Loading…
Cancel
Save