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
71ec9ba3
Commit
71ec9ba3
authored
May 08, 2025
by
祁正
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(通知单内容维护):作废
parent
ecba96cb
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
index.vue
...olPlan/controlPlanNotice/notificationManagement/index.vue
+17
-2
No files found.
src/views/controlPlan/controlPlanNotice/notificationManagement/index.vue
View file @
71ec9ba3
...
...
@@ -259,9 +259,9 @@
<el-table-column
label=
"操作"
align=
"center"
width=
"140"
>
<
template
#
default=
"scope"
>
<el-button
type=
"text"
style=
"color: rgb(0,0,255)"
@
click=
"handleDetail(scope.row)"
>
查看详情
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.notificationStatus === '1' || scope.row.notificationStatus === '4'"
style=
"color: rgb(255,54,54)"
@
click=
"delNotification(scope.row)"
>
删除
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.notificationStatus === '1' || scope.row.notificationStatus === '4'
|| scope.row.notificationStatus === '5'
"
style=
"color: rgb(255,54,54)"
@
click=
"delNotification(scope.row)"
>
删除
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.notificationStatus === '2'"
style=
"color: rgb(255,153,0)"
@
click=
"revocation(scope.row)"
>
撤回
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.notificationStatus === '3'"
style=
"color: rgb(255,153,0)"
@
click=
"c
opeAdd
(scope.row)"
>
作废
</el-button>
<el-button
type=
"text"
v-if=
"scope.row.notificationStatus === '3'"
style=
"color: rgb(255,153,0)"
@
click=
"c
ancellation
(scope.row)"
>
作废
</el-button>
</
template
>
</el-table-column>
</el-table>
...
...
@@ -662,6 +662,21 @@ function addNotifiction(){
drawer
.
value
=
true
getALLModelCodeList
()
}
//作废
function
cancellation
(
row
){
//通知单状态1收集2待批准3已批准4已退回5已作废
let
obj
=
{
id
:
row
.
id
,
status
:
'5'
}
updateStatus
(
obj
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
code
===
200
){
ElMessage
.
success
(
'作废成功'
)
getList
()
}
})
}
const
rules
=
ref
({
certificationBody
:
[
...
...
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