Commit bacfa3d1 authored by 盖献康's avatar 盖献康

检查管理-bug

parent 15fab05c
......@@ -60,6 +60,14 @@ export default {
this.$modal.msgError('内容不能为空')
return
}
this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
customClass: 'box-logout',
cancelButtonClass: 'resetBtn',
confirmButtonClass: 'queryBtn',
type: 'warning'
}).then(() => {
if (this.isAdd) {
// 新增
addManagement(this.privacyPolicy).then(response => {
......@@ -75,6 +83,7 @@ export default {
}
})
}
})
},
getPrivacyPolicy() {
listManagement({ type: '2' }).then(res => {
......
......@@ -39,7 +39,7 @@
<span class="title-text">授权合同</span>
</div>
<!-- 授权合同表 -->
<el-table v-loading="loading" :data="authorizationHistory" style="width: 90%;margin: 0 0 0 60px;">
<el-table v-loading="loading" :data="authorizationHistory" style="width: 90%;margin: 0 0 0 60px;overflow: auto;">
<el-table-column prop="createTime" label="授权日期">
<template slot-scope="scope">
<span>{{ parseTime(scope.row.createTime, '{y}/{m}/{d}') }}</span>
......@@ -161,6 +161,7 @@ export default {
},
downloadPdf(row) {
this.$download.resource(row.contract)
this.$modal.msgSuccess('正在下载中,请稍等…')
},
/** 通过授权历史获取到期日期 */
addDays(date, str) {
......
......@@ -60,6 +60,14 @@ export default {
this.$modal.msgError('内容不能为空')
return
}
this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
customClass: 'box-logout',
cancelButtonClass: 'resetBtn',
confirmButtonClass: 'queryBtn',
type: 'warning'
}).then(() => {
if (this.isAdd) {
// 新增
addManagement(this.privacyPolicy).then(response => {
......@@ -75,6 +83,7 @@ export default {
}
})
}
})
},
getPrivacyPolicy() {
listManagement({ type: '0' }).then(res => {
......
......@@ -60,6 +60,14 @@ export default {
this.$modal.msgError('内容不能为空')
return
}
this.$confirm('系统将立即发布编辑内容,是否确定?', '提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
customClass: 'box-logout',
cancelButtonClass: 'resetBtn',
confirmButtonClass: 'queryBtn',
type: 'warning'
}).then(() => {
if (this.isAdd) {
// 新增
addManagement(this.privacyPolicy).then(response => {
......@@ -75,6 +83,7 @@ export default {
}
})
}
})
},
getPrivacyPolicy() {
listManagement({ type: '1' }).then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment