test
This commit is contained in:
@@ -26,7 +26,7 @@ http {
|
|||||||
tcp_nodelay on;
|
tcp_nodelay on;
|
||||||
keepalive_timeout 65;
|
keepalive_timeout 65;
|
||||||
types_hash_max_size 2048;
|
types_hash_max_size 2048;
|
||||||
client_max_body_size 100M;
|
client_max_body_size 1000M;
|
||||||
|
|
||||||
# Gzip压缩
|
# Gzip压缩
|
||||||
gzip on;
|
gzip on;
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<!-- 档案利用——授权电子借阅 -->
|
<!-- 档案利用——授权电子借阅 -->
|
||||||
<div class="page">
|
<div class="page">
|
||||||
<el-table border v-loading='tableloading' :data="tableData">
|
<el-table border v-loading='tableloading' :data="tableData">
|
||||||
<el-table-column prop="userName" align="center" label="申请人"></el-table-column>
|
<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="className" align="center" label="所属门类"></el-table-column>
|
||||||
<el-table-column prop="useStyle" align="center" label="利用方式" width="120">
|
<el-table-column prop="useStyle" align="center" label="利用方式" width="120">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
{{scope.row.useStyle === 'view' ? '查看' : '打印'}}
|
{{ scope.row.useStyle === 'view' ? '查看' : '打印' }}
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column prop="type" align="center" label="类型" width="120">
|
<el-table-column prop="type" align="center" label="类型" width="120">
|
||||||
@@ -103,16 +103,16 @@ export default {
|
|||||||
},
|
},
|
||||||
mark(row) {
|
mark(row) {
|
||||||
this.curRow = row;
|
this.curRow = row;
|
||||||
if(row.recId.indexOf(',') > -1){ // 三层
|
if (row.recId.indexOf(',') > -1) { // 三层
|
||||||
getTable({
|
getTable({
|
||||||
classId: row.classId
|
classId: row.classId
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if(res.code === '100'){
|
if (res.code === '100') {
|
||||||
// 案卷表名
|
// 案卷表名
|
||||||
this.curRow.tableName = res.body.InterfaceSystem[1].tableName
|
this.curRow.tableName = res.body.InterfaceSystem[1].tableName
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
this.$refs.diaMark.form.flag = "";
|
this.$refs.diaMark.form.flag = "";
|
||||||
this.$refs.diaMark.form.note = "";
|
this.$refs.diaMark.form.note = "";
|
||||||
this.markVisible = true;
|
this.markVisible = true;
|
||||||
@@ -166,8 +166,8 @@ export default {
|
|||||||
look(row) { // 查看功能
|
look(row) { // 查看功能
|
||||||
let newDate = new Date().getTime();
|
let newDate = new Date().getTime();
|
||||||
let lookDate = new Date(row.expireDate).getTime();
|
let lookDate = new Date(row.expireDate).getTime();
|
||||||
if(lookDate < newDate){
|
if (lookDate < newDate) {
|
||||||
message('warning','授权截止时间已过期,无法查看',3000)
|
message('warning', '授权截止时间已过期,无法查看', 3000)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// 案卷
|
// 案卷
|
||||||
|
|||||||
@@ -34,8 +34,8 @@ module.exports = {
|
|||||||
disableHostCheck: true,
|
disableHostCheck: true,
|
||||||
port: process.env.VUE_APP_PROXY_PORT,
|
port: process.env.VUE_APP_PROXY_PORT,
|
||||||
proxy: {
|
proxy: {
|
||||||
"/api": {
|
"/apis": {
|
||||||
target: "http://127.0.0.1:9081",
|
target: "http://121.40.38.249/",
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
ws: true,
|
ws: true,
|
||||||
pathRewrite: {
|
pathRewrite: {
|
||||||
|
|||||||
Reference in New Issue
Block a user