feat:增加文件路径 super-task2do
This commit is contained in:
parent
5f398d6540
commit
5ba68d1d99
|
@ -427,7 +427,16 @@
|
|||
<el-table-column label="检查结果" prop="result"></el-table-column>
|
||||
<el-table-column label="结果日期" prop="result_date"></el-table-column>
|
||||
<el-table-column label="检查通知单" prop="notification_form"></el-table-column>
|
||||
<el-table-column label="检查结果告知单" prop="result_form"></el-table-column>
|
||||
<el-table-column label="检查结果告知单" prop="result_form">
|
||||
<template slot-scope="scope">
|
||||
<el-link
|
||||
type="primary"
|
||||
@click = "openPDF(scope.row.result_form)"
|
||||
v-if="scope.row.result_form">
|
||||
查看PDF
|
||||
</el-link>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</el-card>
|
||||
</el-col>
|
||||
|
@ -606,6 +615,13 @@ export default {
|
|||
}
|
||||
});
|
||||
},
|
||||
openPDF(path) {
|
||||
if(path){
|
||||
window.open(path);
|
||||
}else{
|
||||
this.$message.warning("无效文件路径");
|
||||
}
|
||||
},
|
||||
getOrgList() {
|
||||
getOrgList({can_supervision:true}).then((res) => {
|
||||
this.deptOptions = res.data;
|
||||
|
|
Loading…
Reference in New Issue