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
0f1a6c01
Commit
0f1a6c01
authored
Jan 25, 2022
by
潘际乾
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doctre事件
parent
d37cec0f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
61 additions
and
2 deletions
+61
-2
Doctre.vue
src/views/Public/Doctre.vue
+61
-2
No files found.
src/views/Public/Doctre.vue
View file @
0f1a6c01
...
...
@@ -121,7 +121,6 @@
import
Api
from
"~/service/Api"
import
CommonProcess
from
"~/mixin/CommonProcess"
;
import
CodeTable
from
"~/config/CodeTable"
import
Event
from
"~/model/Cptadv/Event"
export
default
{
inject
:
[
'root'
],
...
...
@@ -147,7 +146,7 @@ export default {
],
}
},
methods
:{
...
Event
,
methods
:{
handleNodeClick
(
data
)
{
if
(
!
data
.
children
){
//如果没有叶子节点 ,按钮置灰
this
.
atoDisabled
=
false
;
...
...
@@ -158,6 +157,66 @@ export default {
}
},
defaultProps
(){},
async
onTrndocButshw
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butshw"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButadd
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butadd"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButnew
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butnew"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButattto
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butattto"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButdel
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butdel"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
async
onTrndocButatt
()
{
let
rtnmsg
=
await
this
.
executeRule
(
"trndoc.butatt"
)
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
//TODO 处理数据逻辑
}
else
{
this
.
$notify
.
error
({
title
:
'错误'
,
message
:
'服务请求失败!'
});
}
},
},
created
:
function
(){
...
...
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