test
This commit is contained in:
@@ -26,7 +26,7 @@ http {
|
||||
tcp_nodelay on;
|
||||
keepalive_timeout 65;
|
||||
types_hash_max_size 2048;
|
||||
client_max_body_size 100M;
|
||||
client_max_body_size 1000M;
|
||||
|
||||
# Gzip压缩
|
||||
gzip on;
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
// 案卷
|
||||
|
||||
@@ -34,8 +34,8 @@ module.exports = {
|
||||
disableHostCheck: true,
|
||||
port: process.env.VUE_APP_PROXY_PORT,
|
||||
proxy: {
|
||||
"/api": {
|
||||
target: "http://127.0.0.1:9081",
|
||||
"/apis": {
|
||||
target: "http://121.40.38.249/",
|
||||
changeOrigin: true,
|
||||
ws: true,
|
||||
pathRewrite: {
|
||||
|
||||
Reference in New Issue
Block a user