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
f32d1c0f
Commit
f32d1c0f
authored
Nov 27, 2023
by
tianhongyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
08375307
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
56 additions
and
21 deletions
+56
-21
.env.development
dsk-operate-ui/.env.development
+1
-1
.env.production
dsk-operate-ui/.env.production
+2
-1
.env.test
dsk-operate-ui/.env.test
+2
-1
index.vue
dsk-operate-ui/src/views/detail/party-a/cooperate/index.vue
+42
-11
index.vue
dsk-operate-ui/src/views/detail/party-a/index.vue
+6
-1
index.vue
dsk-operate-ui/src/views/index.vue
+3
-6
No files found.
dsk-operate-ui/.env.development
View file @
f32d1c0f
...
@@ -16,4 +16,4 @@ VUE_CLI_BABEL_TRANSPILE_MODULES = true
...
@@ -16,4 +16,4 @@ VUE_CLI_BABEL_TRANSPILE_MODULES = true
VUE_APP_SUB_SYSTEM_ADDRESS = "http://192.168.60.104:3400"
VUE_APP_SUB_SYSTEM_ADDRESS = "http://192.168.60.104:3400"
# Bi大屏系统地址
# Bi大屏系统地址
VUE_APP_BI_SYSTEM_ADDRESS = "http://192.168.60.104:8001"
VUE_APP_BI_SYSTEM_ADDRESS = "https://192.168.60.104:8001"
\ No newline at end of file
\ No newline at end of file
dsk-operate-ui/.env.production
View file @
f32d1c0f
...
@@ -10,4 +10,5 @@ VUE_APP_BASE_API = 'https://szhapi.jiansheku.com'
...
@@ -10,4 +10,5 @@ VUE_APP_BASE_API = 'https://szhapi.jiansheku.com'
# 子系统地址
# 子系统地址
VUE_APP_SUB_SYSTEM_ADDRESS = "https://plug.jiansheku.com"
VUE_APP_SUB_SYSTEM_ADDRESS = "https://plug.jiansheku.com"
VUE_APP_BI_SYSTEM_ADDRESS = "http://192.168.60.104:8001"
# Bi大屏系统地址
VUE_APP_BI_SYSTEM_ADDRESS = "https://192.168.60.104:8001"
dsk-operate-ui/.env.test
View file @
f32d1c0f
...
@@ -14,4 +14,5 @@ VUE_APP_BASE_API = '/prod-api'
...
@@ -14,4 +14,5 @@ VUE_APP_BASE_API = '/prod-api'
# 子系统地址
# 子系统地址
VUE_APP_SUB_SYSTEM_ADDRESS
=
"https://pre-plug.jiansheku.com"
VUE_APP_SUB_SYSTEM_ADDRESS
=
"https://pre-plug.jiansheku.com"
VUE_APP_BI_SYSTEM_ADDRESS
=
"http://192.168.60.104:8001"
# Bi大屏系统地址
\ No newline at end of file
VUE_APP_BI_SYSTEM_ADDRESS
=
"https://192.168.60.104:8001"
\ No newline at end of file
dsk-operate-ui/src/views/detail/party-a/cooperate/index.vue
View file @
f32d1c0f
<
template
>
<
template
>
<div>
<div
class=
"details-of-cooperation"
>
<template
v-if=
"!isDetailId"
>
<template
v-if=
"!isDetailId"
>
<div
class=
"cooperate"
>
<div
class=
"cooperate"
>
...
@@ -62,8 +62,8 @@
...
@@ -62,8 +62,8 @@
<div
class=
"addhzqk_from"
>
<div
class=
"addhzqk_from"
>
<el-form
:model=
"addParam"
:rules=
"rules"
ref=
"addParam"
size=
"small"
label-width=
"70px"
>
<el-form
:model=
"addParam"
:rules=
"rules"
ref=
"addParam"
size=
"small"
label-width=
"70px"
>
<el-form-item
label=
"项目名称:"
prop=
"projectName"
label-width=
"120px"
>
<el-form-item
label=
"项目名称:"
prop=
"projectName"
label-width=
"120px"
>
<el-input
v-model=
"addParam.projectName"
placeholder=
"请输入项目名称"
@
input=
"
getCompany1
"
></el-input>
<el-input
v-model=
"addParam.projectName"
placeholder=
"请输入项目名称"
@
input=
"
resetProjectSearch();getCompany1()
"
></el-input>
<div
class=
"resultlist"
v-if=
"showlist1"
>
<div
class=
"resultlist"
v-i
nfinite-scroll=
"load"
v-i
f=
"showlist1"
>
<div
v-for=
"(item,index) in companData1"
@
click=
"selCompany1(item.projectName)"
><span
v-html=
"item.projectName"
></span></div>
<div
v-for=
"(item,index) in companData1"
@
click=
"selCompany1(item.projectName)"
><span
v-html=
"item.projectName"
></span></div>
</div>
</div>
</el-form-item>
</el-form-item>
...
@@ -219,6 +219,9 @@ export default {
...
@@ -219,6 +219,9 @@ export default {
//
//
detailId
:
null
,
detailId
:
null
,
isDetailId
:
false
,
isDetailId
:
false
,
projectpage
:
1
,
isscroll
:
false
,
threshold
:
false
,
}
}
},
},
watch
:{
watch
:{
...
@@ -253,6 +256,12 @@ export default {
...
@@ -253,6 +256,12 @@ export default {
},
},
methods
:
{
methods
:
{
load
(){
if
(
this
.
threshold
)
return
;
if
(
this
.
isscroll
){
this
.
getCompany1
()
}
},
handleQuery
(
params
)
{
handleQuery
(
params
)
{
this
.
list
(
params
)
this
.
list
(
params
)
},
},
...
@@ -309,18 +318,33 @@ export default {
...
@@ -309,18 +318,33 @@ export default {
}
}
});
});
},
},
resetProjectSearch
()
{
this
.
companData1
=
[]
this
.
projectpage
=
1
console
.
log
(
this
.
companData1
);
},
//获取项目名称
//获取项目名称
getCompany1
(
value
){
getCompany1
(){
if
(
value
.
length
>=
2
){
if
(
this
.
addParam
?.
projectName
?.
length
>=
2
){
this
.
threshold
=
true
;
let
param
=
{
let
param
=
{
projectName
:
value
,
projectName
:
this
.
addParam
?.
projectName
,
pageSize
:
20
,
pageNum
:
this
.
projectpage
}
}
queryProject
(
JSON
.
stringify
(
param
)).
then
(
result
=>
{
queryProject
(
JSON
.
stringify
(
param
)).
then
(
result
=>
{
if
(
result
.
code
!=
200
)
if
(
result
.
code
!=
200
){
return
return
false
this
.
showlist1
=
true
}
this
.
companData1
=
result
.
data
if
(
result
.
data
&&
result
.
data
?.
length
)
{
})
this
.
showlist1
=
true
;
this
.
isscroll
=
true
this
.
companData1
=
[...
this
.
companData
,...
result
.
data
]
this
.
projectpage
++
;
return
;
}
this
.
isscroll
=
false
;
}).
finally
(()
=>
this
.
threshold
=
false
)
}
}
},
},
selCompany1
(
item
){
selCompany1
(
item
){
...
@@ -632,9 +656,16 @@ export default {
...
@@ -632,9 +656,16 @@ export default {
}
}
::v-deep
.cooperate-detail
{
::v-deep
.cooperate-detail
{
width
:
100%
;
height
:
100%
;
.miantitle
,
.app-container
{
.miantitle
,
.app-container
{
//margin: 12px 0;
//margin: 12px 0;
}
}
}
}
.details-of-cooperation
{
width
:
100%
;
height
:
100%
;
}
</
style
>
</
style
>
dsk-operate-ui/src/views/detail/party-a/index.vue
View file @
f32d1c0f
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
:partBoxHeight=
"partBoxHeight"
:customerId=
"customerId"
:isCompany=
"isCompany"
:isCustomer=
"isCustomer"
/>
:partBoxHeight=
"partBoxHeight"
:customerId=
"customerId"
:isCompany=
"isCompany"
:isCustomer=
"isCustomer"
/>
</div>
</div>
<div
class=
"part-right"
>
<div
class=
"part-right"
>
<div
id=
"partBox"
v-if=
"companyId"
>
<div
id=
"partBox"
v-if=
"companyId"
class=
"part-common-container-style"
>
<template
v-if=
"isCompany"
>
<template
v-if=
"isCompany"
>
<!-- 企业概览 -->
<!-- 企业概览 -->
<Overview
v-if=
"currentPath.pathName=='overview'"
:company-id=
"companyId"
:isSkeleton=
"isSkeleton"
:companyInfo=
"companyInfo"
/>
<Overview
v-if=
"currentPath.pathName=='overview'"
:company-id=
"companyId"
:isSkeleton=
"isSkeleton"
:companyInfo=
"companyInfo"
/>
...
@@ -433,5 +433,10 @@ export default {
...
@@ -433,5 +433,10 @@ export default {
overflow
:
auto
;
overflow
:
auto
;
}
}
}
}
.part-common-container-style
{
width
:
100%
;
height
:
100%
;
}
}
}
</
style
>
</
style
>
dsk-operate-ui/src/views/index.vue
View file @
f32d1c0f
...
@@ -476,7 +476,7 @@
...
@@ -476,7 +476,7 @@
import
CustomTimeSelect
from
'./component/CustomTimeSelect'
import
CustomTimeSelect
from
'./component/CustomTimeSelect'
import
CustomMoneySelect
from
'./component/CustomMoneySelect'
import
CustomMoneySelect
from
'./component/CustomMoneySelect'
import
skeleton
from
'./component/skeleton'
import
skeleton
from
'./component/skeleton'
import
{
countByCompany
,
bidRank
,
bigWinningBidsPage
,
bigBidPage
,
getInfo
}
from
'@/api/index'
import
{
countByCompany
,
bidRank
,
bigWinningBidsPage
,
bigBidPage
}
from
'@/api/index'
import
{
getUipIdByCid
}
from
'@/api/macro/macro'
import
{
getUipIdByCid
}
from
'@/api/macro/macro'
import
api
from
'@/api/radar/radar.js'
;
import
api
from
'@/api/radar/radar.js'
;
import
{
v4
}
from
"uuid"
;
import
{
v4
}
from
"uuid"
;
...
@@ -741,11 +741,8 @@ export default {
...
@@ -741,11 +741,8 @@ export default {
}).
catch
(
error
=>
{});
}).
catch
(
error
=>
{});
},
},
getInfo
(){
getInfo
(){
getInfo
().
then
(
res
=>
{
this
.
permissions
=
this
.
$store
.
state
.
user
.
permissions
;
console
.
log
(
res
)
this
.
nickName
=
this
.
$store
.
state
.
user
.
name
this
.
permissions
=
res
.
data
.
permissions
;
this
.
nickName
=
res
.
data
.
user
.
nickName
}).
catch
(
error
=>
{});
},
},
getCountByCompany
(){
getCountByCompany
(){
let
params
=
{};
let
params
=
{};
...
...
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