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
18a7c885
Commit
18a7c885
authored
Jun 07, 2022
by
liuxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
detsel跳转修改
parent
112e655e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
Sel.vue
src/views/Business/Detsel/Sel.vue
+1
-1
SelMune.vue
src/views/Business/Detsel/SelMune.vue
+12
-3
No files found.
src/views/Business/Detsel/Sel.vue
View file @
18a7c885
...
...
@@ -347,7 +347,7 @@
</div>
<!-- ========================操作菜单================== -->
<c-col
:span=
"2
3
"
>
<c-col
:span=
"2
4
"
>
<el-form-item>
<el-divider
/>
</el-form-item>
...
...
src/views/Business/Detsel/SelMune.vue
View file @
18a7c885
...
...
@@ -9,7 +9,7 @@
<el-table-column
prop=
"label"
align=
"center"
>
<template
slot-scope=
"scope"
>
<c-button
@
click
.
native=
"onNarBtnClick(scope.row.ur
l)"
@
click
=
"onNarBtnClick(scope.row.url, scope.row.labe
l)"
:label=
"scope.row.label"
:disabled=
"scope.row.disabled"
>
{{
scope
.
row
.
label
}}
</c-button
...
...
@@ -39,8 +39,17 @@ export default {
},
methods
:
{
//各入口按钮请求
async
onNarBtnClick
(
url
)
{
let
rtnmsg
=
await
this
.
executeRule
(
"dedgrp.rec.ownref,cfgfil.hotsub7"
);
async
onNarBtnClick
(
url
,
label
)
{
let
key
=
0
;
for
(
let
i
=
1
;
i
<=
11
;
i
++
){
let
temp_label
=
this
.
model
.
cfgfil
[
'subtxt'
+
i
];
if
(
temp_label
==
label
){
key
=
i
;
break
;
}
}
let
rtnmsg
=
await
this
.
executeRule
(
"cfgfil.hotsub"
+
key
);
if
(
rtnmsg
.
respCode
==
SUCCESS
)
{
this
.
updateModel
(
rtnmsg
.
data
);
this
.
$router
.
history
.
push
(
"/business/"
+
url
);
...
...
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