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
2a992152
Commit
2a992152
authored
May 16, 2024
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
d1543330
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
113 additions
and
5 deletions
+113
-5
qualification.js
dsk-operate-ui/src/api/detail/party-a/qualification.js
+32
-0
qualification.vue
.../src/views/detail/party-a/qualification/qualification.vue
+79
-3
MonitoringReportDetails.vue
...erate-ui/src/views/monitoring/MonitoringReportDetails.vue
+2
-2
No files found.
dsk-operate-ui/src/api/detail/party-a/qualification.js
View file @
2a992152
...
...
@@ -8,3 +8,35 @@ export function certPage(data) {
data
:
data
})
}
// 备案地
export
function
recordArea
(
data
)
{
return
request
({
url
:
'/enterpriseCert/recordArea'
,
method
:
'post'
,
data
:
data
})
}
// 资质变更
export
function
certChangePage
(
data
)
{
return
request
({
url
:
'/enterpriseCert/certChangePage'
,
method
:
'post'
,
data
:
data
})
}
// 备案网站
export
function
recordWebSite
(
data
)
{
return
request
({
url
:
'/enterpriseCert/recordWebSite'
,
method
:
'post'
,
data
:
data
})
}
// 安许证
export
function
lice
(
data
)
{
return
request
({
url
:
'/enterpriseCert/lice'
,
method
:
'post'
,
data
:
data
})
}
dsk-operate-ui/src/views/detail/party-a/qualification/qualification.vue
View file @
2a992152
...
...
@@ -37,13 +37,13 @@
<
script
>
import
skeleton
from
'../component/skeleton'
;
import
{
statistic
}
from
'@/api/detail/party-a/index'
;
import
{
certPage
}
from
'@/api/detail/party-a/qualification'
;
import
{
certPage
,
certChangePage
,
recordArea
,
recordWebSite
,
lice
}
from
'@/api/detail/party-a/qualification'
;
export
default
{
name
:
"qualification"
,
components
:
{
skeleton
,
},
props
:
[
'companyId'
],
//
props: ['companyId'],
data
()
{
return
{
tableData
:[],
...
...
@@ -53,6 +53,7 @@
pageNum
:
1
,
pageSize
:
10
},
companyId
:
'6034'
,
stateColor
:
''
,
tableDataTotal
:
null
,
show_page
:
true
,
...
...
@@ -86,8 +87,23 @@
this
.
statisticList
=
arr
;
this
.
stateColor
=
this
.
statisticList
[
0
].
qualificationParamNameCn
;
this
.
getCertPage
()
if
(
this
.
stateColor
===
'资质变更'
){
this
.
getCertChangePage
()
}
if
(
this
.
stateColor
===
'备案地'
){
this
.
getRecordArea
()
}
if
(
this
.
stateColor
===
'备案网站'
){
this
.
getRecordWebSite
()
}
if
(
this
.
stateColor
===
'安许证'
){
this
.
getLice
()
}
}
},
async
getCertPage
(){
this
.
isSkeleton
=
true
let
params
=
{
...
...
@@ -101,9 +117,69 @@
this
.
isSkeleton
=
false
}
},
//资质变更
async
getCertChangePage
(){
this
.
isSkeleton
=
true
let
params
=
{
...
this
.
queryParams
,
companyId
:
this
.
companyId
,
};
let
res
=
await
certChangePage
(
params
);
if
(
res
.
code
==
200
)
{
this
.
tableData
=
res
.
rows
;
this
.
isSkeleton
=
false
}
},
async
getRecordArea
(){
this
.
isSkeleton
=
true
let
params
=
{
...
this
.
queryParams
,
companyId
:
this
.
companyId
,
};
let
res
=
await
recordArea
(
params
);
if
(
res
.
code
==
200
)
{
this
.
tableData
=
res
.
rows
;
this
.
isSkeleton
=
false
}
},
async
getLice
(){
this
.
isSkeleton
=
true
let
params
=
{
...
this
.
queryParams
,
companyId
:
this
.
companyId
,
};
let
res
=
await
lice
(
params
);
if
(
res
.
code
==
200
)
{
this
.
tableData
=
res
.
rows
;
this
.
isSkeleton
=
false
}
},
async
getRecordWebSite
(){
this
.
isSkeleton
=
true
let
params
=
{
...
this
.
queryParams
,
companyId
:
this
.
companyId
,
};
let
res
=
await
recordWebSite
(
params
);
if
(
res
.
code
==
200
)
{
this
.
tableData
=
res
.
rows
;
this
.
isSkeleton
=
false
}
},
handleColor
(
value
){
this
.
queryParams
.
pageNum
=
1
this
.
stateColor
=
value
;
this
.
getCertPage
()
if
(
this
.
stateColor
===
'资质变更'
){
this
.
getCertChangePage
()
}
else
if
(
this
.
stateColor
===
'备案地'
){
this
.
getRecordArea
()
}
else
if
(
this
.
stateColor
===
'备案网站'
){
this
.
getRecordWebSite
()
}
else
if
(
this
.
stateColor
===
'安许证'
){
this
.
getLice
()
}
else
{
this
.
getCertPage
()
}
},
// 重置页数
handleSizeChange
(
val
)
{
...
...
dsk-operate-ui/src/views/monitoring/MonitoringReportDetails.vue
View file @
2a992152
...
...
@@ -131,8 +131,8 @@
>
<
template
slot-scope=
"scope"
>
<!--
<span
style=
"cursor: pointer;color:#0081FF;"
@
click=
"handleDetail(scope.row)"
>
查看详情
</span>
-->
<span
v-if=
"scope.row.
hasdetail
"
style=
"cursor: pointer;color:#0081FF;"
@
click=
"handleDetail(scope.row)"
>
查看详情
</span>
<span
v-else=
"scope.row.
hasdetail
"
@
click=
"handleDetail(scope.row)"
>
查看详情
</span>
<span
v-if=
"scope.row.
details
"
style=
"cursor: pointer;color:#0081FF;"
@
click=
"handleDetail(scope.row)"
>
查看详情
</span>
<span
v-else=
"scope.row.
details
"
@
click=
"handleDetail(scope.row)"
>
查看详情
</span>
</
template
>
</el-table-column>
</el-table>
...
...
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