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
5b0cb545
Commit
5b0cb545
authored
May 22, 2024
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
41d29fce
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
77 additions
and
9 deletions
+77
-9
consultingAgencyCooperation.vue
...rty-a/internalCooperation/consultingAgencyCooperation.vue
+75
-7
index.vue
dsk-operate-ui/src/views/supplier/supplierOverview/index.vue
+2
-2
No files found.
dsk-operate-ui/src/views/detail/party-a/internalCooperation/consultingAgencyCooperation.vue
View file @
5b0cb545
...
@@ -43,6 +43,7 @@ import { getConsultingAgencyCooperationListApi, getConsultingAgencyCooperationTy
...
@@ -43,6 +43,7 @@ import { getConsultingAgencyCooperationListApi, getConsultingAgencyCooperationTy
import
{
getAllAreaApi
}
from
"@/api/common"
;
import
{
getAllAreaApi
}
from
"@/api/common"
;
import
{
getTreeSelectAreaList
}
from
"@/utils"
;
import
{
getTreeSelectAreaList
}
from
"@/utils"
;
import
{
encodeStr
}
from
"@/assets/js/common"
;
import
{
encodeStr
}
from
"@/assets/js/common"
;
import
{
getProjectUndertakingTypesApi
}
from
"@/api/consultingOrgManagement"
;
export
default
{
export
default
{
name
:
"consultingAgencyCooperation"
,
name
:
"consultingAgencyCooperation"
,
mixins
:
[
mixin
],
mixins
:
[
mixin
],
...
@@ -64,7 +65,7 @@ export default {
...
@@ -64,7 +65,7 @@ export default {
{
label
:
'省市'
,
prop
:
'provinceName'
,
minWidth
:
'140'
,
slot
:
true
}
,
{
label
:
'省市'
,
prop
:
'provinceName'
,
minWidth
:
'140'
,
slot
:
true
}
,
{
label
:
'项目承接类型'
,
prop
:
'isinvestproject'
,
width
:
'120'
,
showOverflowTooltip
:
true
}
,
{
label
:
'项目承接类型'
,
prop
:
'isinvestproject'
,
width
:
'120'
,
showOverflowTooltip
:
true
}
,
{
label
:
'工程基础大类'
,
prop
:
'projectType1'
,
width
:
'120'
,
showOverflowTooltip
:
true
}
,
{
label
:
'工程基础大类'
,
prop
:
'projectType1'
,
width
:
'120'
,
showOverflowTooltip
:
true
}
,
{
label
:
'工程类别明细'
,
prop
:
'projectType'
,
width
:
'120'
,
showOverflowTooltip
:
true
}
,
{
label
:
'工程类别明细'
,
prop
:
'projectType
2
'
,
width
:
'120'
,
showOverflowTooltip
:
true
}
,
{
label
:
'项目负责人姓名'
,
prop
:
'projectLeader'
,
width
:
'120'
}
,
{
label
:
'项目负责人姓名'
,
prop
:
'projectLeader'
,
width
:
'120'
}
,
{
label
:
'项目负责人专业'
,
prop
:
'projectLeaderMajor'
,
width
:
"120"
}
,
{
label
:
'项目负责人专业'
,
prop
:
'projectLeaderMajor'
,
width
:
"120"
}
,
{
label
:
'项目负责人联系电话'
,
prop
:
'projectLeaderPhone'
,
width
:
"160"
}
,
{
label
:
'项目负责人联系电话'
,
prop
:
'projectLeaderPhone'
,
width
:
"160"
}
,
...
@@ -83,8 +84,8 @@ export default {
...
@@ -83,8 +84,8 @@ export default {
// checkStrictly: true
// checkStrictly: true
}
}
}
,
}
,
{
type
:
4
,
fieldName
:
'projectUndertakingType
'
,
value
:
''
,
placeholder
:
'项目承接类型'
,
options
:
[],
uid
:
this
.
getUid
()
}
,
{
type
:
1
,
fieldName
:
'isinvestproject
'
,
value
:
''
,
placeholder
:
'项目承接类型'
,
options
:
[],
uid
:
this
.
getUid
()
}
,
{
type
:
4
,
fieldName
:
'detailOfWorksCategory
'
,
value
:
''
,
placeholder
:
'工程类别明细'
,
options
:
[],
uid
:
this
.
getUid
()
}
,
{
type
:
1
,
fieldName
:
'projectType2
'
,
value
:
''
,
placeholder
:
'工程类别明细'
,
options
:
[],
uid
:
this
.
getUid
()
}
,
{
type
:
3
,
fieldName
:
'advisoryBodyName'
,
value
:
''
,
placeholder
:
'请输入'
,
uid
:
this
.
getUid
()
}
,
{
type
:
3
,
fieldName
:
'advisoryBodyName'
,
value
:
''
,
placeholder
:
'请输入'
,
uid
:
this
.
getUid
()
}
,
],
],
//列表
//列表
...
@@ -92,12 +93,51 @@ export default {
...
@@ -92,12 +93,51 @@ export default {
tableData
:
[],
tableData
:
[],
tableDataTotal
:
0
,
tableDataTotal
:
0
,
isSkeleton
:
true
,
isSkeleton
:
true
,
areaList
:
[]
areaList
:
[],
engineeringCategoryDetailOptions
:
[
{
value
:
"住宅"
,
label
:
"住宅"
}
,
{
value
:
"房建其他"
,
label
:
"房建其他"
}
,
{
value
:
"装饰"
,
label
:
"装饰"
}
,
{
value
:
"专业其他"
,
label
:
"专业其他"
}
,
{
value
:
"市政工程"
,
label
:
"市政工程"
}
,
{
value
:
"教育"
,
label
:
"教育"
}
,
{
value
:
"安装"
,
label
:
"安装"
}
,
{
value
:
"工业厂房"
,
label
:
"工业厂房"
}
,
{
value
:
"商业综合"
,
label
:
"商业综合"
}
]
}
;
}
;
}
,
}
,
//可访问data属性
//可访问data属性
created
()
{
created
()
{
this
.
initDetail
();
this
.
initDetail
();
this
.
formData
[
2
].
options
=
this
.
engineeringCategoryDetailOptions
}
,
}
,
//计算集
//计算集
computed
:
{
computed
:
{
...
@@ -107,6 +147,7 @@ export default {
...
@@ -107,6 +147,7 @@ export default {
methods
:
{
methods
:
{
async
initDetail
()
{
async
initDetail
()
{
try
{
try
{
this
.
getProjectUndertakingTypes
()
await
this
.
handleQuery
();
await
this
.
handleQuery
();
await
this
.
getAllArea
();
await
this
.
getAllArea
();
await
this
.
getConsultingAgencyCooperationTypes
();
await
this
.
getConsultingAgencyCooperationTypes
();
...
@@ -114,6 +155,16 @@ export default {
...
@@ -114,6 +155,16 @@ export default {
}
}
}
,
}
,
async
getProjectUndertakingTypes
()
{
try
{
const
result
=
await
getProjectUndertakingTypesApi
();
if
(
result
.
code
==
200
&&
result
?.
data
?.
length
)
{
this
.
formData
[
1
].
options
=
result
.
data
.
map
(
item
=>
({
value
:
item
,
label
:
item
}
));
}
}
catch
(
error
)
{
}
}
,
async
getAllArea
()
{
async
getAllArea
()
{
try
{
try
{
const
area
=
await
getAllAreaApi
();
const
area
=
await
getAllAreaApi
();
...
@@ -156,11 +207,28 @@ export default {
...
@@ -156,11 +207,28 @@ export default {
this
.
isSkeleton
=
false
;
this
.
isSkeleton
=
false
;
}
}
}
,
}
,
async
handleSearch
(
params
)
{
async
handleSearch
()
{
try
{
try
{
console
.
log
(
params
);
let
params
=
this
.
formParams
(
);
const
areaSearchList
=
this
.
$refs
[
"searchFormNew"
].
$refs
[
"cascader"
][
0
].
getCheckedNodes
();
const
areaSearchList
=
this
.
$refs
[
"searchFormNew"
].
$refs
[
"cascader"
][
0
].
getCheckedNodes
();
console
.
log
(
areaSearchList
);
let
province
=
[]
let
city
=
[]
if
(
params
.
projectProvince
){
for
(
let
i
=
0
;
i
<
params
.
projectProvince
.
length
;
i
++
){
province
.
push
(
params
.
projectProvince
[
i
][
1
])
city
.
push
(
params
.
projectProvince
[
i
][
2
])
}
}
province
=
province
.
filter
((
item
,
index
,
self
)
=>
self
.
indexOf
(
item
)
===
index
);
if
(
province
){
params
.
province
=
province
}
if
(
city
){
params
.
city
=
city
}
delete
params
.
projectProvince
this
.
handleQuery
(
params
)
}
catch
(
error
)
{
}
catch
(
error
)
{
}
}
...
...
dsk-operate-ui/src/views/supplier/supplierOverview/index.vue
View file @
5b0cb545
...
@@ -174,8 +174,8 @@
...
@@ -174,8 +174,8 @@
</el-table-column>
</el-table-column>
<el-table-column
label=
"司法风险"
prop=
"judicatureRiskCount"
>
<el-table-column
label=
"司法风险"
prop=
"judicatureRiskCount"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.
riskTotal > 0"
style=
"color:red;"
>
{{
scope
.
row
.
riskTotal
}}
</span>
<span
v-if=
"scope.row.
judicatureRiskCount > 0"
style=
"color:red;"
>
{{
scope
.
row
.
judicatureRiskCount
}}
</span>
<span
v-else
>
{{
scope
.
row
.
riskTotal
}}
</span>
<span
v-else
>
{{
scope
.
row
.
judicatureRiskCount
}}
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"经营风险"
prop=
"operatingRiskCount"
>
<el-table-column
label=
"经营风险"
prop=
"operatingRiskCount"
>
...
...
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