Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
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
fukai
vue-gjjs
Commits
bbac7d80
Commit
bbac7d80
authored
Sep 20, 2022
by
lianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
面函Docpan.vue中点Detail操作按钮弹出Dialog页面中的Suppress/Activate按钮事件
parent
f6133ae0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
7 deletions
+15
-7
Docpan.vue
src/views/Public/Docpan.vue
+15
-7
No files found.
src/views/Public/Docpan.vue
View file @
bbac7d80
...
...
@@ -36,6 +36,7 @@
style=
"width: 100%"
placeholder=
"请选择"
@
change=
"executeDefault('trnmod.trndoc.doccur.docsnf')"
:disabled=
"suppress"
>
<el-option
v-for=
"item in codes.docsnf"
...
...
@@ -55,6 +56,7 @@
"
style=
"width: 100%"
placeholder=
"请选择"
:disabled=
"suppress"
>
<el-option
v-for=
"item in codes.uiltxt"
...
...
@@ -100,6 +102,7 @@
:readonly=
"true"
style=
"width: 100%"
placeholder=
"请选择"
:disabled=
"suppress"
>
</c-input>
</
template
>
...
...
@@ -112,7 +115,7 @@
"
style=
"width: 100%"
placeholder=
"请选择"
:disabled=
"suppress"
>
</c-input>
</
template
>
...
...
@@ -129,6 +132,7 @@
"
style=
"width: 100%"
placeholder=
"请选择"
:disabled=
"suppress"
>
<el-option
v-for=
"item in codes.swttlx"
...
...
@@ -147,9 +151,9 @@
type=
"primary"
size=
"small"
:disabled=
"
scope.row
(
scope.row
.pandsc == 'MT799' && model.didgrp && model.didgrp.rec &&
model.didgrp.rec.elcflg == 'Y'
model.didgrp.rec.elcflg == 'Y'
)||suppress
"
@
click=
"handleDisplay(scope.row.index, scope.row, model.trnmod.trndoc.doceot[scope.row.idx])"
icon=
"el-icon-search"
...
...
@@ -546,20 +550,24 @@ export default {
})
},
activateDialog
()
{
this
.
executeRule
(
"trnmod.trndoc.doccur.butdel"
).
then
(
res
=>
{
this
.
executeRule
(
`trnmod.trndoc.doceot(
${
this
.
index
+
1
}
).butdel`
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
){
//TODO
this
.
updateModel
(
res
.
data
)
this
.
dialog
=
this
.
model
.
trnmod
.
trndoc
.
doceot
[
this
.
index
]
this
.
suppress
=
false
;
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
})
},
suppressDialog
()
{
this
.
executeRule
(
"trnmod.trndoc.doccur.butdel"
).
then
(
res
=>
{
this
.
executeRule
(
`trnmod.trndoc.doceot(
${
this
.
index
+
1
}
).butdel`
).
then
(
res
=>
{
if
(
res
.
respCode
==
SUCCESS
){
//TODO
this
.
suppress
=
true
;
this
.
updateModel
(
res
.
data
)
this
.
dialog
=
this
.
model
.
trnmod
.
trndoc
.
doceot
[
this
.
index
]
this
.
suppress
=
true
;
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
...
...
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