|
|
|
@ -80,18 +80,18 @@
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column> -->
|
|
|
|
|
<!-- <el-table-column align="center" label="开放时间" :show-overflow-tooltip="true" min-width="180" > -->
|
|
|
|
|
<el-table-column align="center" label="任务填报时间" :show-overflow-tooltip="true" min-width="180" >
|
|
|
|
|
<el-table-column label="任务填报时间" :show-overflow-tooltip="true" min-width="180" >
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span v-if="scope.row.startTime && scope.row.endTime">{{ scope.row.startTime }}~{{ scope.row.endTime }}</span>
|
|
|
|
|
<span v-else>长期有效</span>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="status" label="责任单位" min-width="80">
|
|
|
|
|
<el-table-column prop="status" label="责任单位" min-width="160">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<dict-tag :options="dict.type.bms_responsibility_unit" :value="scope.row.responsibilityUnit"/>
|
|
|
|
|
</template>
|
|
|
|
|
</el-table-column>
|
|
|
|
|
<el-table-column prop="notes" label="说明" min-width="80" :show-overflow-tooltip="true"></el-table-column>
|
|
|
|
|
<el-table-column prop="notes" label="说明" min-width="160" :show-overflow-tooltip="true"></el-table-column>
|
|
|
|
|
<el-table-column label="创建时间" align="center" prop="createTime" min-width="160">
|
|
|
|
|
<template slot-scope="scope">
|
|
|
|
|
<span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span>
|
|
|
|
@ -847,11 +847,11 @@ export default {
|
|
|
|
|
frontDownload() {
|
|
|
|
|
var a = document.createElement("a"); //创建一个<a></a>标签
|
|
|
|
|
// 测试环境下载地址
|
|
|
|
|
a.href = "/demo/JinJiHu/static/企业名录模板.xlsx";
|
|
|
|
|
// a.href = "/demo/JinJiHu/static/企业名录模板.xlsx";
|
|
|
|
|
// 脱敏三方测试用下载地址
|
|
|
|
|
// a.href = "/demo/JinJiHuTest/static/企业名录模板.xlsx";
|
|
|
|
|
// 正式环境下载地址
|
|
|
|
|
// a.href = "./static/企业名录模板.xlsx";
|
|
|
|
|
a.href = "./static/企业名录模板.xlsx";
|
|
|
|
|
//给a标签的href属性值加上地址,注意,这里是绝对路径,不用加 点.
|
|
|
|
|
a.download ="企业名录模板.xlsx";
|
|
|
|
|
//设置下载文件文件名,这里加上.xlsx指定文件类型,pdf文件就指定.fpd即可
|
|
|
|
|