This commit is contained in:
2025-11-23 16:48:51 +08:00
parent 4dc7783c22
commit 881b77ddde
3 changed files with 17 additions and 17 deletions

View File

@@ -1,5 +1,5 @@
<template>
<!-- 档案利用授权电子借阅 -->
<!-- 档案利用授权电子借阅 -->
<div class="page">
<el-table border v-loading='tableloading' :data="tableData">
<el-table-column prop="userName" align="center" label="申请人"></el-table-column>
@@ -8,7 +8,7 @@
<el-table-column prop="className" align="center" label="所属门类"></el-table-column>
<el-table-column prop="useStyle" align="center" label="利用方式" width="120">
<template slot-scope="scope">
{{scope.row.useStyle === 'view' ? '查看' : '打印'}}
{{ scope.row.useStyle === 'view' ? '查看' : '打印' }}
</template>
</el-table-column>
<el-table-column prop="type" align="center" label="类型" width="120">
@@ -103,16 +103,16 @@ export default {
},
mark(row) {
this.curRow = row;
if(row.recId.indexOf(',') > -1){ // 三层
getTable({
classId: row.classId
}).then(res => {
if(res.code === '100'){
// 案卷表名
this.curRow.tableName = res.body.InterfaceSystem[1].tableName
}
})
}
if (row.recId.indexOf(',') > -1) { // 三层
getTable({
classId: row.classId
}).then(res => {
if (res.code === '100') {
// 案卷表名
this.curRow.tableName = res.body.InterfaceSystem[1].tableName
}
})
}
this.$refs.diaMark.form.flag = "";
this.$refs.diaMark.form.note = "";
this.markVisible = true;
@@ -166,8 +166,8 @@ export default {
look(row) { // 查看功能
let newDate = new Date().getTime();
let lookDate = new Date(row.expireDate).getTime();
if(lookDate < newDate){
message('warning','授权截止时间已过期,无法查看',3000)
if (lookDate < newDate) {
message('warning', '授权截止时间已过期,无法查看', 3000)
return;
}
// 案卷