|
@@ -253,18 +253,18 @@ a {
|
|
|
<el-table-column prop="journal_name" label="所属期刊"></el-table-column>
|
|
<el-table-column prop="journal_name" label="所属期刊"></el-table-column>
|
|
|
<el-table-column prop="cname" label="状态">
|
|
<el-table-column prop="cname" label="状态">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
- <span v-if="scope.row.post_status">已填报</span>
|
|
|
|
|
- <span v-else>未填报</span>
|
|
|
|
|
|
|
+ <span v-if="scope.row.post_status">已阅读</span>
|
|
|
|
|
+ <span v-else>未阅读</span>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <!-- <el-table-column prop="post_time" label="填报时间"> </el-table-column> -->
|
|
|
|
|
- <el-table-column prop="zip" width="80" label="操作">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-button class="edit" type="text" @click="showPostResult(scope.row)"
|
|
|
|
|
- >查看</el-button
|
|
|
|
|
- >
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
|
|
+ <el-table-column prop="post_time" label="查阅时间"> </el-table-column>
|
|
|
|
|
+ <!-- <el-table-column prop="zip" width="80" label="操作">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <el-button class="edit" type="text" @click="showPostResult(scope.row)"
|
|
|
|
|
+ >查看</el-button
|
|
|
|
|
+ >
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column> -->
|
|
|
</el-table>
|
|
</el-table>
|
|
|
<Page
|
|
<Page
|
|
|
ref="pageButton"
|
|
ref="pageButton"
|
|
@@ -346,7 +346,7 @@ export default {
|
|
|
this.$router.push({path:'/message/message/analyse'})
|
|
this.$router.push({path:'/message/message/analyse'})
|
|
|
},
|
|
},
|
|
|
downloadExcel(){
|
|
downloadExcel(){
|
|
|
- this.$api.downloadSurveyResult({message_id:this.cur_message_id,type:this.cur_post_type}).then((res)=>{
|
|
|
|
|
|
|
+ this.$api.downloadNoticeAnalyse({id:this.cur_message_id,type:this.cur_post_type}).then((res)=>{
|
|
|
var elink = document.createElement('a');
|
|
var elink = document.createElement('a');
|
|
|
let blob=new Blob([res.data], {type: 'application/vnd.ms-excel,charset=UTF-8'});
|
|
let blob=new Blob([res.data], {type: 'application/vnd.ms-excel,charset=UTF-8'});
|
|
|
let objUrl=URL.createObjectURL(blob);
|
|
let objUrl=URL.createObjectURL(blob);
|
|
@@ -369,7 +369,7 @@ export default {
|
|
|
analyseData(type,message_id) {
|
|
analyseData(type,message_id) {
|
|
|
this.dialogTitle2 = "统计结果"
|
|
this.dialogTitle2 = "统计结果"
|
|
|
this.dialogVisible2 = true;
|
|
this.dialogVisible2 = true;
|
|
|
- this.$api.getMessageSurveyAnalyse({type:type,message_id:message_id}).then((res)=>{
|
|
|
|
|
|
|
+ this.$api.getNoticeAnalyse({type:type,id:message_id}).then((res)=>{
|
|
|
this.analyseDataList = res.data.data.list
|
|
this.analyseDataList = res.data.data.list
|
|
|
this.cur_message_id = message_id
|
|
this.cur_message_id = message_id
|
|
|
this.cur_post_type = type
|
|
this.cur_post_type = type
|