Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-operate-sys-cscec
Project
Project
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
fulixin
dsk-operate-sys-cscec
Commits
b50b5bba
Commit
b50b5bba
authored
Oct 23, 2023
by
yht15023815643
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
区分甲方详情
parent
811dad48
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
12 deletions
+17
-12
detail.vue
dsk-operate-ui/src/views/detail.vue
+2
-2
index.vue
dsk-operate-ui/src/views/market/index.vue
+15
-10
No files found.
dsk-operate-ui/src/views/detail.vue
View file @
b50b5bba
...
...
@@ -35,7 +35,7 @@ export default {
this
.
domain
=
'https://plug.jiansheku.com'
}
else
{
this
.
domain
=
'https://pre-plug.jiansheku.com'
//
this.domain='http://192.168.60.210:3400'
this
.
domain
=
'http://192.168.60.210:3400'
}
this
.
gettokens
();
},
...
...
@@ -43,7 +43,7 @@ export default {
this
.
iframeLoading
();
// 判断iframe页面是否加载完成-当前页控制
let
that
=
this
window
.
addEventListener
(
'message'
,
function
(
event
)
{
if
(
event
.
data
.
url
){
if
(
!
event
.
data
.
id
&&
event
.
data
.
url
){
that
.
$tab
.
openPage
(
event
.
data
.
title
,
event
.
data
.
url
).
then
(()
=>
{
// 执行结束的逻辑
})
...
...
dsk-operate-ui/src/views/market/index.vue
View file @
b50b5bba
...
...
@@ -54,17 +54,22 @@ export default {
if
(
event
.
data
.
id
){
getUipIdByCid
([
event
.
data
.
id
]).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
console
.
log
(
res
)
if
(
res
.
data
&&
res
.
data
.
length
>
0
&&
res
.
data
[
0
].
uipId
){
that
.
$router
.
push
({
path
:
'/enterprise/'
+
that
.
encodeStr
(
event
.
data
.
id
)})
}
else
{
that
.
$tab
.
openPage
(
event
.
data
.
title
,
'/company/'
+
event
.
data
.
id
)
that
.
$tab
.
openPage
(
event
.
data
.
title
,
'/company/'
+
that
.
encodeStr
(
event
.
data
.
id
)
)
}
}
}).
catch
(
error
=>
{
});
}
else
{
if
(
event
.
data
.
url
){
that
.
$tab
.
openPage
(
event
.
data
.
title
,
event
.
data
.
url
).
then
(()
=>
{
// 执行结束的逻辑
})
}
}
},
false
);
...
...
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