Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qr-consistency-vue3
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
刘怀志
qr-consistency-vue3
Commits
f471bf7e
Commit
f471bf7e
authored
May 08, 2025
by
祁正
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(通知单内容维护):批准加日期
parent
a6e995e5
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
6 deletions
+11
-6
list.js
src/api/notificationContent/list.js
+7
-0
info.vue
...ontrolPlan/controlPlanNotice/notificationContent/info.vue
+4
-6
No files found.
src/api/notificationContent/list.js
View file @
f471bf7e
...
...
@@ -97,3 +97,10 @@ export function sendBack(data) {
params
:
data
})
}
// 批准-维护变更记录
export
function
authorize
(
id
)
{
return
request
({
url
:
'/control/notificationManagement/authorize/'
+
id
,
method
:
'get'
})
}
src/views/controlPlan/controlPlanNotice/notificationContent/info.vue
View file @
f471bf7e
...
...
@@ -304,6 +304,7 @@ import {
updateStatus
,
sendBack
,
cencalWeihu
,
authorize
}
from
"@/api/notificationContent/list.js"
import
{
useRoute
,
useRouter
}
from
'vue-router'
;
import
{
ElMessage
}
from
"element-plus"
;
...
...
@@ -464,11 +465,8 @@ function finishWeiHu(){
//批准
function
approve
(){
//通知单状态1收集2待批准3已批准4已退回5已作废
let
obj
=
{
id
:
id
,
status
:
'3'
}
updateStatus
(
obj
).
then
(
res
=>
{
authorize
(
id
).
then
(
res
=>
{
if
(
res
.
code
===
200
){
ElMessage
.
success
(
'批准成功'
)
goBack
()
...
...
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