新购报告还未上传加颜色标识

This commit is contained in:
zzyuan 2025-01-07 16:31:19 +08:00
parent 2cf85bbe1f
commit 58437e4919
5 changed files with 12 additions and 18 deletions

View File

@ -180,12 +180,8 @@
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div <div style="color: #02A7F0;cursor: pointer;" @click="openFileDialog(scope.row)" v-if="scope.row.isExitFile==0">报告管理</div>
style="color: rgb(2, 167, 240); cursor: pointer" <div style="color: red;cursor: pointer;" @click="openFileDialog(scope.row)" v-if="scope.row.isExitFile==1">报告管理</div>
@click="openFileDialog(scope.row)"
>
报告管理
</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column

View File

@ -215,7 +215,7 @@
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div style="color: #02A7F0;cursor: pointer;" @click="openFileDialog(scope.row)" v-if="scope.row.isExitFile==0">报告管理</div> <div style="color: #02A7F0;cursor: pointer;" @click="openFileDialog(scope.row)" v-if="scope.row.isExitFile==0">报告管理</div>
<div style="color: #ccc;cursor: pointer;" @click="openFileDialog(scope.row)" v-if="scope.row.isExitFile==1">报告管理</div> <div style="color: red;cursor: pointer;" @click="openFileDialog(scope.row)" v-if="scope.row.isExitFile==1">报告管理</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="状态" align="center" prop="status" :show-overflow-tooltip="true"> <el-table-column label="状态" align="center" prop="status" :show-overflow-tooltip="true">

View File

@ -67,7 +67,8 @@
prop="" prop=""
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div style="color: rgb(2, 167, 240);cursor: pointer;" @click="openFileDialog(scope.row)">报告管理</div> <div style="color: #02A7F0;cursor: pointer;" @click="openFileDialog(scope.row)" v-if="scope.row.isExitFile==0">报告管理</div>
<div style="color: red;cursor: pointer;" @click="openFileDialog(scope.row)" v-if="scope.row.isExitFile==1">报告管理</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="状态" align="center" prop="status" :show-overflow-tooltip="true"> <el-table-column label="状态" align="center" prop="status" :show-overflow-tooltip="true">

View File

@ -129,12 +129,8 @@
<el-table-column label="相关配套资料" align="center" prop="bmFileInfos"> <el-table-column label="相关配套资料" align="center" prop="bmFileInfos">
<template slot-scope="scope"> <template slot-scope="scope">
<div <div style="color: #02A7F0;cursor: pointer;" @click="openFileDialog(scope.row)" v-if="scope.row.isExitFile==0">报告管理</div>
style="color: rgb(2, 167, 240); cursor: pointer" <div style="color: red;cursor: pointer;" @click="openFileDialog(scope.row)" v-if="scope.row.isExitFile==1">报告管理</div>
@click="openFileDialog(scope.row)"
>
报告管理
</div>
</template> </template>
</el-table-column> </el-table-column>

View File

@ -104,7 +104,8 @@
</el-table-column> </el-table-column>
<el-table-column label="相关配套资料" align="center" prop="" :show-overflow-tooltip="true"> <el-table-column label="相关配套资料" align="center" prop="" :show-overflow-tooltip="true">
<template slot-scope="scope"> <template slot-scope="scope">
<div style="color: rgb(2, 167, 240);cursor: pointer;" @click="openFileDialog(scope.row)">报告管理</div> <div style="color: #02A7F0;cursor: pointer;" @click="openFileDialog(scope.row)" v-if="scope.row.isExitFile==0">报告管理</div>
<div style="color: red;cursor: pointer;" @click="openFileDialog(scope.row)" v-if="scope.row.isExitFile==1">报告管理</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="验收结论" align="center" prop="checkResult" :show-overflow-tooltip="true"/> <el-table-column label="验收结论" align="center" prop="checkResult" :show-overflow-tooltip="true"/>
@ -260,7 +261,7 @@ export default {
{dictLabel:"型式试验报告",fileType:"1",name:"",url:""}, {dictLabel:"型式试验报告",fileType:"1",name:"",url:""},
{dictLabel:"出厂检测报告",fileType:"2",name:"",url:""}, {dictLabel:"出厂检测报告",fileType:"2",name:"",url:""},
{dictLabel:"第三方监测报告",fileType:"3",name:"",url:""}, {dictLabel:"第三方监测报告",fileType:"3",name:"",url:""},
{dictLabel:"其他",fileType:"4",name:"",url:""}, {dictLabel:"其他报告",fileType:"4",name:"",url:""},
], ],
// //
queryParams: { queryParams: {
@ -460,7 +461,7 @@ export default {
{dictLabel:"型式试验报告",fileType:"1",name:"",url:""}, {dictLabel:"型式试验报告",fileType:"1",name:"",url:""},
{dictLabel:"出厂检测报告",fileType:"2",name:"",url:""}, {dictLabel:"出厂检测报告",fileType:"2",name:"",url:""},
{dictLabel:"第三方监测报告",fileType:"3",name:"",url:""}, {dictLabel:"第三方监测报告",fileType:"3",name:"",url:""},
{dictLabel:"其他",fileType:"4",name:"",url:""}] {dictLabel:"其他报告",fileType:"4",name:"",url:""}]
this.getFileData() this.getFileData()
this.open=true this.open=true
}, },