|
|
@ -138,7 +138,7 @@
|
|
|
|
</el-select>
|
|
|
|
</el-select>
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="上报模板" v-if="taskShow">
|
|
|
|
<el-form-item label="上报模板" v-if="taskShow">
|
|
|
|
<file-upload v-model="form.fileTempName" :fileType="['md']"/>
|
|
|
|
<file-upload v-model="form.fileTempName" :noFileType="true" />
|
|
|
|
</el-form-item>
|
|
|
|
</el-form-item>
|
|
|
|
<el-form-item label="内容">
|
|
|
|
<el-form-item label="内容">
|
|
|
|
<editor v-model="form.displayContent" :min-height="192"/>
|
|
|
|
<editor v-model="form.displayContent" :min-height="192"/>
|
|
|
@ -157,11 +157,16 @@
|
|
|
|
</el-dialog>
|
|
|
|
</el-dialog>
|
|
|
|
<!-- 上报企业统计 -->
|
|
|
|
<!-- 上报企业统计 -->
|
|
|
|
<el-dialog :title="title" :visible.sync="openFile" width="500px" append-to-body>
|
|
|
|
<el-dialog :title="title" :visible.sync="openFile" width="500px" append-to-body>
|
|
|
|
<el-table v-loading="loading" :data="ehsNoticeMessageFileList" @selection-change="handleSelectionChange" @cell-click="dload">
|
|
|
|
<el-table v-loading="loading" :data="ehsNoticeMessageFileList" @selection-change="handleSelectionChange">
|
|
|
|
<el-table-column label="部门名称" align="center" prop="deptName" />
|
|
|
|
<el-table-column label="部门名称" align="center" prop="deptName" />
|
|
|
|
<el-table-column label="上报情况" align="center" prop="originalName" >
|
|
|
|
<el-table-column label="上报情况" align="center" prop="originalName" >
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<template slot-scope="scope">
|
|
|
|
<span> {{scope.row.originalName==null?"未上报":scope.row.originalName}}</span>
|
|
|
|
<span v-if="scope.row.originalName==null">未上报</span>
|
|
|
|
|
|
|
|
<span v-else>
|
|
|
|
|
|
|
|
<el-tooltip class="item" effect="dark" content="点击下载文件" placement="right">
|
|
|
|
|
|
|
|
<el-link type="primary" @click="dload(scope.row)">{{scope.row.originalName}}</el-link>
|
|
|
|
|
|
|
|
</el-tooltip>
|
|
|
|
|
|
|
|
</span>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table-column>
|
|
|
|
</el-table>
|
|
|
|
</el-table>
|
|
|
@ -170,7 +175,7 @@
|
|
|
|
small
|
|
|
|
small
|
|
|
|
:page.sync="pageNum"
|
|
|
|
:page.sync="pageNum"
|
|
|
|
:limit.sync="pageSize"
|
|
|
|
:limit.sync="pageSize"
|
|
|
|
@pagination="handleListFile"
|
|
|
|
@pagination="diloagListFile"
|
|
|
|
:hide-on-single-page="true"
|
|
|
|
:hide-on-single-page="true"
|
|
|
|
:total="total1">
|
|
|
|
:total="total1">
|
|
|
|
</el-pagination>
|
|
|
|
</el-pagination>
|
|
|
@ -413,7 +418,7 @@ export default {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
// 查询弹框内部分页
|
|
|
|
// 查询弹框内部分页
|
|
|
|
handleListFile(row){
|
|
|
|
diloagListFile(row){
|
|
|
|
this.loading = true;
|
|
|
|
this.loading = true;
|
|
|
|
this.openFile = true;
|
|
|
|
this.openFile = true;
|
|
|
|
let data = { pageNum : this.pageNum, pageSize: this.pageSize, "noticeMessageId":row.noticeMessageId}
|
|
|
|
let data = { pageNum : this.pageNum, pageSize: this.pageSize, "noticeMessageId":row.noticeMessageId}
|
|
|
|