项目新需求修改
This commit is contained in:
parent
a0eba936e8
commit
eb00c26a04
|
@ -96,6 +96,22 @@
|
|||
</el-select>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" prop="report_file_md" label="报告文件">
|
||||
<template #default="scope">
|
||||
<span
|
||||
v-if="!scope.row.report_file_md"
|
||||
>无</span
|
||||
>
|
||||
<el-button v-else @click="downReport(scope.row)" size="small"
|
||||
>报告下载
|
||||
</el-button
|
||||
>
|
||||
<!-- <el-button v-else type="success" @click="uploadFile(scope.row)" size="small"-->
|
||||
<!-- >报告上传-->
|
||||
<!-- </el-button-->
|
||||
<!-- >-->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" prop="publish_state" label="披露状态">
|
||||
<template #header>
|
||||
<el-select
|
||||
|
@ -121,14 +137,19 @@
|
|||
}"
|
||||
>{{ scope.row.publish_state }}</span
|
||||
>
|
||||
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
align="center"
|
||||
label="披露时间"
|
||||
prop="rate_time"
|
||||
width="180"
|
||||
></el-table-column>
|
||||
width="140"
|
||||
>
|
||||
<template #default="scope">
|
||||
{{ scope.row.rate_time ? dayjs(scope.row.rate_time).format("YYYY/MM/DD HH:mm") : ''}}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column align="center" label="操作" width="340">
|
||||
<template #default="scope">
|
||||
<div class="flex flex-c">
|
||||
|
@ -138,18 +159,14 @@
|
|||
<!-- :disabled="scope.row.rate_state=='已评级'" -->
|
||||
</el-button
|
||||
>
|
||||
<el-button type="success" @click="makeReport(scope.row)" size="small"
|
||||
<el-button @click="makeReport(scope.row)" size="small"
|
||||
>报告生成
|
||||
</el-button
|
||||
>
|
||||
<el-button type="success" @click="uploadFile(scope.row)" size="small"
|
||||
<el-button @click="uploadFile(scope.row)" size="small"
|
||||
>报告上传
|
||||
</el-button
|
||||
>
|
||||
<el-button type="success" @click="downReport(scope.row)" size="small"
|
||||
>报告下载
|
||||
</el-button
|
||||
>
|
||||
<el-button
|
||||
type="primary"
|
||||
@click="doPublish(scope.row)"
|
||||
|
@ -290,6 +307,7 @@ import {ElMessage, ElMessageBox} from "element-plus";
|
|||
import {onMounted, ref} from "vue";
|
||||
import {Search} from "@element-plus/icons-vue";
|
||||
import FileUploadMd from "@/components/EditTabel/fileUploadMd.vue";
|
||||
import dayjs from "dayjs";
|
||||
|
||||
const fileUploadDialogVisible = ref(false)
|
||||
const fileUploadInfo = ref({id: null, file_md: ""})
|
||||
|
@ -518,6 +536,7 @@ function uploadFile(row) {
|
|||
fileUploadDialogVisible.value = true
|
||||
|
||||
}
|
||||
|
||||
onMounted(() => {
|
||||
getData();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue