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
f6a2044b
Commit
f6a2044b
authored
May 20, 2024
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/V20231129-中建一局二公司' into V20231129-中建一局二公司
parents
0f99fb18
28b907bc
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
77 additions
and
39 deletions
+77
-39
qualification.js
dsk-operate-ui/src/api/detail/party-a/qualification.js
+7
-7
monitoring.js
dsk-operate-ui/src/api/monitoring/monitoring.js
+7
-0
qualification.vue
.../src/views/detail/party-a/qualification/qualification.vue
+46
-31
EnterpriseMonitoring.vue
dsk-operate-ui/src/views/monitoring/EnterpriseMonitoring.vue
+17
-1
No files found.
dsk-operate-ui/src/api/detail/party-a/qualification.js
View file @
f6a2044b
...
...
@@ -9,9 +9,9 @@ export function certPage(data) {
})
}
// 备案地
export
function
recordArea
(
data
)
{
export
function
recordArea
List
(
data
)
{
return
request
({
url
:
'/enterprise
Cert/recordArea
'
,
url
:
'/enterprise
/enterpriseCert/recordAreaList
'
,
method
:
'post'
,
data
:
data
})
...
...
@@ -19,23 +19,23 @@ export function recordArea(data) {
// 资质变更
export
function
certChangePage
(
data
)
{
return
request
({
url
:
'/enterpriseCert/certChangePage'
,
url
:
'/enterprise
/enterprise
Cert/certChangePage'
,
method
:
'post'
,
data
:
data
})
}
// 备案网站
export
function
recordWebSite
(
data
)
{
export
function
recordWebSite
List
(
data
)
{
return
request
({
url
:
'/enterprise
Cert/recordWebSite
'
,
url
:
'/enterprise
/enterpriseCert/recordWebSiteList
'
,
method
:
'post'
,
data
:
data
})
}
// 安许证
export
function
lice
(
data
)
{
export
function
lice
List
(
data
)
{
return
request
({
url
:
'/enterprise
Cert/lice
'
,
url
:
'/enterprise
/enterpriseCert/liceList
'
,
method
:
'post'
,
data
:
data
})
...
...
dsk-operate-ui/src/api/monitoring/monitoring.js
View file @
f6a2044b
...
...
@@ -34,6 +34,13 @@ export function companyList(data) {
data
:
data
})
}
// 添加默认监控
export
function
defaultAdd
()
{
return
request
({
url
:
'/monitor/add/default'
,
method
:
'post'
,
})
}
// 添加监控企业
export
function
companyAdd
(
data
)
{
return
request
({
...
...
dsk-operate-ui/src/views/detail/party-a/qualification/qualification.vue
View file @
f6a2044b
...
...
@@ -21,10 +21,18 @@
highlight-current-row
>
<el-table-column
label=
"序号"
width=
"60"
align=
"left"
type=
"index"
></el-table-column>
<el-table-column
label=
"资质编号"
width=
"
15
0"
prop=
"certificateNo"
></el-table-column>
<el-table-column
label=
"资质编号"
width=
"
20
0"
prop=
"certificateNo"
></el-table-column>
<el-table-column
label=
"资质名称"
min-width=
"200"
prop=
"certName"
></el-table-column>
<el-table-column
label=
"发证日期"
width=
"150"
prop=
"issueDate"
></el-table-column>
<el-table-column
label=
"有效期"
width=
"150"
prop=
"validityDate"
></el-table-column>
<el-table-column
label=
"发证日期"
width=
"180"
prop=
"issueDate"
>
<template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
issueDate
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"有效期"
width=
"180"
prop=
"validityDate"
>
<
template
slot-scope=
"scope"
>
<span>
{{
parseTime
(
scope
.
row
.
validityDate
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
label=
"发证机关"
min-width=
"200"
prop=
"authority"
></el-table-column>
</el-table>
<div
class=
"pagination-box"
v-if=
"show_page && tableDataTotal>queryParams.pageSize"
>
...
...
@@ -37,7 +45,7 @@
<
script
>
import
skeleton
from
'../component/skeleton'
;
import
{
statistic
}
from
'@/api/detail/party-a/index'
;
import
{
certPage
,
certChangePage
,
recordArea
,
recordWebSite
,
lice
}
from
'@/api/detail/party-a/qualification'
;
import
{
certPage
,
certChangePage
,
recordArea
List
,
recordWebSiteList
,
liceList
}
from
'@/api/detail/party-a/qualification'
;
export
default
{
name
:
"qualification"
,
components
:
{
...
...
@@ -77,29 +85,36 @@
};
let
res
=
await
statistic
(
params
);
if
(
res
.
code
==
200
)
{
// this.statisticList = res.data.newQualification;
let
data
=
res
.
data
.
newQualification
let
arr
=
[]
for
(
let
i
=
0
;
i
<
res
.
data
.
newQualification
.
length
;
i
++
){
if
(
res
.
data
.
newQualification
[
i
].
qualificationMount
!=
0
){
arr
.
push
(
res
.
data
.
newQualification
[
i
])
for
(
let
i
=
0
;
i
<
data
.
length
;
i
++
){
if
(
data
[
i
].
qualificationMount
!=
0
){
arr
.
push
(
data
[
i
])
}
}
this
.
statisticList
=
arr
;
let
removerList
=
[
'资质变更'
,
'备案地'
,
'备案网站'
,
'安许证'
]
let
arrList
=
arr
.
filter
(
function
(
item
)
{
return
!
removerList
.
includes
(
item
.
qualificationParamNameCn
)
})
this
.
statisticList
=
arrList
;
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
()
}
//
if(this.stateColor === '资质变更'){
//
this.getCertChangePage()
//
}
//
if(this.stateColor === '备案地'){
//
this.getRecordArea()
//
}
//
if(this.stateColor === '备案网站'){
//
this.getRecordWebSite()
//
}
//
if(this.stateColor === '安许证'){
//
this.getLice()
//
}
}
},
...
...
@@ -122,7 +137,7 @@
this
.
isSkeleton
=
true
let
params
=
{
...
this
.
queryParams
,
c
ompanyI
d
:
this
.
companyId
,
c
i
d
:
this
.
companyId
,
};
let
res
=
await
certChangePage
(
params
);
if
(
res
.
code
==
200
)
{
...
...
@@ -134,11 +149,11 @@
this
.
isSkeleton
=
true
let
params
=
{
...
this
.
queryParams
,
c
ompanyI
d
:
this
.
companyId
,
c
i
d
:
this
.
companyId
,
};
let
res
=
await
recordArea
(
params
);
let
res
=
await
recordArea
List
(
params
);
if
(
res
.
code
==
200
)
{
this
.
tableData
=
res
.
rows
;
this
.
tableData
=
res
.
data
;
this
.
isSkeleton
=
false
}
},
...
...
@@ -146,11 +161,11 @@
this
.
isSkeleton
=
true
let
params
=
{
...
this
.
queryParams
,
c
ompanyI
d
:
this
.
companyId
,
c
i
d
:
this
.
companyId
,
};
let
res
=
await
lice
(
params
);
let
res
=
await
lice
List
(
params
);
if
(
res
.
code
==
200
)
{
this
.
tableData
=
res
.
rows
;
this
.
tableData
=
res
.
data
;
this
.
isSkeleton
=
false
}
},
...
...
@@ -158,11 +173,11 @@
this
.
isSkeleton
=
true
let
params
=
{
...
this
.
queryParams
,
c
ompanyI
d
:
this
.
companyId
,
c
i
d
:
this
.
companyId
,
};
let
res
=
await
recordWebSite
(
params
);
let
res
=
await
recordWebSite
List
(
params
);
if
(
res
.
code
==
200
)
{
this
.
tableData
=
res
.
rows
;
this
.
tableData
=
res
.
data
;
this
.
isSkeleton
=
false
}
},
...
...
dsk-operate-ui/src/views/monitoring/EnterpriseMonitoring.vue
View file @
f6a2044b
...
...
@@ -33,6 +33,7 @@
<div
class=
"total"
>
共
{{
tableDataTotal
}}
条
</div>
<div
class=
"right"
>
<span
class=
"add"
@
click=
"addEnterprise"
>
添加企业
</span>
<span
class=
"add"
@
click=
"addDefault"
style=
"width: 110px;"
>
添加默认监控
</span>
<span
class=
"add1"
@
click=
"handleBatch"
>
批量监控
</span>
</div>
</div>
...
...
@@ -161,7 +162,7 @@
</template>
<
script
>
import
{
companyPage
,
companyList
,
companyAdd
,
companyCancel
,
queryMonitorCompany
}
from
'@/api/monitoring/monitoring'
import
{
companyPage
,
companyList
,
companyAdd
,
companyCancel
,
queryMonitorCompany
,
defaultAdd
}
from
'@/api/monitoring/monitoring'
import
{
getToken
}
from
'@/utils/auth'
import
skeleton
from
'../component/skeleton'
export
default
{
...
...
@@ -361,6 +362,21 @@
this
.
querySubmit
()
})
},
addDefault
(){
this
.
$confirm
(
'是否添加所有供应商监控'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
defaultAdd
().
then
(
res
=>
{
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
res
.
msg
);
}
})
}).
catch
(()
=>
{
});
},
addEnterprise
(){
this
.
qyVisible
=
true
;
this
.
loading
=
true
...
...
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