Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-business-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
刘怀志
pet-business-web
Commits
bacfa3d1
Commit
bacfa3d1
authored
Jun 15, 2023
by
盖献康
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
检查管理-bug
parent
15fab05c
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
74 additions
and
46 deletions
+74
-46
about-us.vue
src/views/document-management/about-us/about-us.vue
+24
-15
entry-contract.vue
...ews/document-management/entry-contract/entry-contract.vue
+2
-1
privacy-policy.vue
...ews/document-management/privacy-policy/privacy-policy.vue
+24
-15
user-protocol.vue
...views/document-management/user-protocol/user-protocol.vue
+24
-15
No files found.
src/views/document-management/about-us/about-us.vue
View file @
bacfa3d1
...
...
@@ -60,21 +60,30 @@ export default {
this
.
$modal
.
msgError
(
'内容不能为空'
)
return
}
if
(
this
.
isAdd
)
{
// 新增
addManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
else
{
// 修改
updateManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
this
.
$confirm
(
'系统将立即发布编辑内容,是否确定?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
customClass
:
'box-logout'
,
cancelButtonClass
:
'resetBtn'
,
confirmButtonClass
:
'queryBtn'
,
type
:
'warning'
}).
then
(()
=>
{
if
(
this
.
isAdd
)
{
// 新增
addManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
else
{
// 修改
updateManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
})
},
getPrivacyPolicy
()
{
listManagement
({
type
:
'2'
}).
then
(
res
=>
{
...
...
src/views/document-management/entry-contract/entry-contract.vue
View file @
bacfa3d1
...
...
@@ -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
)
{
...
...
src/views/document-management/privacy-policy/privacy-policy.vue
View file @
bacfa3d1
...
...
@@ -60,21 +60,30 @@ export default {
this
.
$modal
.
msgError
(
'内容不能为空'
)
return
}
if
(
this
.
isAdd
)
{
// 新增
addManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
else
{
// 修改
updateManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
this
.
$confirm
(
'系统将立即发布编辑内容,是否确定?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
customClass
:
'box-logout'
,
cancelButtonClass
:
'resetBtn'
,
confirmButtonClass
:
'queryBtn'
,
type
:
'warning'
}).
then
(()
=>
{
if
(
this
.
isAdd
)
{
// 新增
addManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
else
{
// 修改
updateManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
})
},
getPrivacyPolicy
()
{
listManagement
({
type
:
'0'
}).
then
(
res
=>
{
...
...
src/views/document-management/user-protocol/user-protocol.vue
View file @
bacfa3d1
...
...
@@ -60,21 +60,30 @@ export default {
this
.
$modal
.
msgError
(
'内容不能为空'
)
return
}
if
(
this
.
isAdd
)
{
// 新增
addManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
else
{
// 修改
updateManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
this
.
$confirm
(
'系统将立即发布编辑内容,是否确定?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
customClass
:
'box-logout'
,
cancelButtonClass
:
'resetBtn'
,
confirmButtonClass
:
'queryBtn'
,
type
:
'warning'
}).
then
(()
=>
{
if
(
this
.
isAdd
)
{
// 新增
addManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
else
{
// 修改
updateManagement
(
this
.
privacyPolicy
).
then
(
response
=>
{
if
(
response
.
code
===
200
)
{
this
.
$modal
.
msgSuccess
(
'编辑成功'
)
}
})
}
})
},
getPrivacyPolicy
()
{
listManagement
({
type
:
'1'
}).
then
(
res
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment