Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dxgaqgl-vue
Project
Project
Details
Activity
Releases
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
李苏
dxgaqgl-vue
Commits
60bfa587
Commit
60bfa587
authored
Nov 28, 2024
by
李苏
💬
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页带参跳转
parent
9f47fa96
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
453 additions
and
282 deletions
+453
-282
index.vue
src/views/daily/aqglry/index.vue
+254
-142
index.vue
src/views/daily/holdCertificate/index.vue
+20
-1
index.vue
src/views/daily/tzzyry/index.vue
+20
-1
index.vue
src/views/threeViolations/homePage/index.vue
+159
-138
No files found.
src/views/daily/aqglry/index.vue
View file @
60bfa587
<
template
>
<
template
>
<div
class=
"min_full"
>
<div
class=
"min_full"
>
<!-- 查询条件-->
<!-- 查询条件-->
<div
class=
"search"
v-condition
>
<div
class=
"search"
v-condition
>
<SearchButton
:app=
'app'
></SearchButton>
<SearchButton
:app=
'app'
></SearchButton>
<el-row
:gutter=
"30"
class=
"search-row-1"
>
<el-row
:gutter=
"30"
class=
"search-row-1"
>
<!--
<el-col
:span=
"6"
class=
"search-col"
>
<!--
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
公司:
</span>
<span
class=
"search-span"
>
公司:
</span>
<RelSelect
style=
"width: 100%;"
src=
'jcsj/common/bm/queryGs'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='queryParams.gsid' >
</RelSelect>
<RelSelect
style=
"width: 100%;"
src=
'jcsj/common/bm/queryGs'
filterable
clearable
:match=
"
{value:'id',label:'bmmc'}" v-model='queryParams.gsid' >
</RelSelect>
</div>
</div>
</el-col>
-->
</el-col>
-->
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
证书编号:
</span>
<el-input
v-model=
"queryParams.code"
></el-input>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
职工工号:
</span>
<span
class=
"search-span"
>
证书编号:
</span>
<el-input
v-model=
"queryParams.user"
></el-input>
<el-input
v-model=
"queryParams.code"
></el-input>
</div>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
职工工号:
</span>
<el-input
v-model=
"queryParams.user"
></el-input>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
证书状态:
</span>
<RelSelect
src=
'aqgl/rcgl/uaqglry/init/zt'
clearable
:match=
"
{value:'id',label:'name'}"
v-model='queryParams.zt'>
</RelSelect>
</div>
</el-col>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
证书状态:
</span>
<RelSelect
src=
'aqgl/rcgl/uaqglry/init/zt'
clearable
:match=
"
{value:'id',label:'name'}" v-model='queryParams.zt' >
</RelSelect>
</div>
</el-col>
<el-col
:span=
"6"
class=
"search-col"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
适用范围:
</span>
<span
class=
"search-span"
>
适用范围:
</span>
<RelSelect
src=
'aqgl/rcgl/uaqglry/init/syfw'
clearable
:match=
"
{value:'id',label:'name'}" v-model='queryParams.syfw' >
</RelSelect>
<RelSelect
src=
'aqgl/rcgl/uaqglry/init/syfw'
clearable
:match=
"
{value:'id',label:'name'}"
</div>
v-model='queryParams.syfw'>
</RelSelect>
</div>
</el-col>
</el-row>
<el-row
:gutter=
"30"
class=
"search-row-1"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
超期情况:
</span>
<RelSelect
:optionsData=
"[
{
id:'Y',name:'有效期内'
},
{
id:'D',name:'即将到期'
},
{
id:'C',name:'超期'
},
]" clearable :match="{value:'id',label:'name'}" v-model='queryParams.homeCzyjType'>
</RelSelect>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
</div>
</div>
<!-- 按钮操作-->
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<el-row
class=
"tool-bar"
>
<PrintButton
:app=
'app'
></PrintButton>
<PrintButton
:app=
'app'
></PrintButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<ViewButton
ref=
"view"
:app=
'app'
></ViewButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<AddButton
ref=
"add"
:app=
'app'
></AddButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<CopyButton
ref=
"copy"
:app=
'app'
></CopyButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<EditButton
ref=
"edit"
:app=
'app'
></EditButton>
<AttachFileButton
:app=
'app'
></AttachFileButton>
<AttachFileButton
:app=
'app'
></AttachFileButton>
<FieldButton
:app=
'app'
></FieldButton>
<FieldButton
:app=
'app'
></FieldButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<ExcelButton
:app=
'app'
></ExcelButton>
<!-- 额外按钮-->
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 表头设置 -->
<!-- 权限-->
<!-- 权限-->
</el-row>
</el-row>
<!-- 表格-->
<!-- 表格-->
<div
class=
"tablePagers"
>
<div
class=
"tablePagers"
>
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
<TablePager
@
getData=
'getData'
:ref=
"'TablePager'"
:app=
'app'
:query=
'query'
@
selectItem=
'selectItem'
@
getRow=
'getRow'
>
@
getRow=
'getRow'
>
</TablePager>
</TablePager>
</div>
</div>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
/* 引入需要的接口*/
/* 引入需要的接口*/
import
{
import
{
doQuery
,
doQuery
,
doAdd
,
doAdd
,
doUpdate
,
doUpdate
,
doDelete
,
doDelete
,
doInitSyfw
doInitSyfw
}
from
'@/api/daily/aqglry.js'
;
}
from
'@/api/daily/aqglry.js'
;
/* edit页面*/
/* edit页面*/
import
Edit
from
'./edit'
import
Edit
from
'./edit'
import
{
import
{
tableMixin
tableMixin
}
from
'common'
}
from
'common'
export
default
{
export
default
{
mixins
:
[
tableMixin
],
mixins
:
[
tableMixin
],
name
:
'appVersion'
,
name
:
'appVersion'
,
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
this
.
$refs
[
'TablePager'
].
pageQuery
()
this
.
queryParams
.
homeCzyjType
=
this
.
$route
.
query
.
homeCzyjType
||
''
},
this
.
$refs
[
'TablePager'
].
pageQuery
()
data
()
{
},
return
{
data
()
{
return
{
/*需要的额外参数 */
showDialog
:
false
,
/*需要的额外参数 */
DialogName
:
''
,
showDialog
:
false
,
type
:
''
,
DialogName
:
''
,
DialogTitle
:
''
,
type
:
''
,
/* 基础url*/
DialogTitle
:
''
,
baseUrl
:
'/aqgl/rcgl/uaqglry'
,
/* 基础url*/
/* 查询参数*/
baseUrl
:
'/aqgl/rcgl/uaqglry'
,
queryParams
:
{
/* 查询参数*/
gsid
:
''
,
queryParams
:
{
code
:
''
,
gsid
:
''
,
user
:
''
,
code
:
''
,
syfw
:
''
,
user
:
''
,
zt
:
''
syfw
:
''
,
zt
:
''
,
},
homeCzyjType
:
''
/* 表格标题对应参数*/
tableTitle
:
[
},
// {label: "公司", prop: "gsName", fieldType: "ftString",width:100},
/* 表格标题对应参数*/
{
label
:
"状态"
,
prop
:
"ztName"
,
fieldType
:
"ftString"
,
width
:
60
},
tableTitle
:
[
{
label
:
"职工工号"
,
prop
:
"usercode"
,
fieldType
:
"ftString"
,
width
:
140
},
// {label: "公司", prop: "gsName", fieldType: "ftString",width:100},
{
label
:
"职工姓名"
,
prop
:
"username"
,
fieldType
:
"ftString"
,
width
:
160
},
{
{
label
:
"证书编号"
,
prop
:
"code"
,
fieldType
:
"ftString"
,
width
:
160
},
label
:
"状态"
,
{
label
:
"证书名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
180
},
prop
:
"ztName"
,
{
label
:
"作业类别"
,
prop
:
"zsflName"
,
fieldType
:
"ftString"
,
width
:
100
},
fieldType
:
"ftString"
,
{
label
:
"发证日期"
,
prop
:
"fzrq"
,
fieldType
:
"ftDateTime"
},
width
:
60
{
label
:
"有效期"
,
prop
:
"yxq"
,
fieldType
:
"float"
},
},
{
label
:
"职工工号"
,
prop
:
"usercode"
,
fieldType
:
"ftString"
,
width
:
140
},
{
label
:
"职工姓名"
,
prop
:
"username"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"证书编号"
,
prop
:
"code"
,
fieldType
:
"ftString"
,
width
:
160
},
{
label
:
"证书名称"
,
prop
:
"name"
,
fieldType
:
"ftString"
,
width
:
180
},
{
label
:
"作业类别"
,
prop
:
"zsflName"
,
fieldType
:
"ftString"
,
width
:
100
},
{
label
:
"发证日期"
,
prop
:
"fzrq"
,
fieldType
:
"ftDateTime"
},
{
label
:
"有效期"
,
prop
:
"yxq"
,
fieldType
:
"float"
},
{
{
label
:
"提醒周期(天)"
,
label
:
"提醒周期(天)"
,
prop
:
"txzq"
prop
:
"txzq"
...
@@ -124,47 +183,100 @@ import {
...
@@ -124,47 +183,100 @@ import {
prop
:
"txrq"
,
prop
:
"txrq"
,
fieldType
:
"ftDateTime"
fieldType
:
"ftDateTime"
},
},
{
label
:
"截止日期"
,
prop
:
"jzrq"
,
fieldType
:
"ftDateTime"
},
{
{
label
:
"复审日期1"
,
prop
:
"fsrq1"
,
fieldType
:
"ftDateTime"
},
label
:
"截止日期"
,
{
label
:
"复审日期2"
,
prop
:
"fsrq2"
,
fieldType
:
"ftDateTime"
},
prop
:
"jzrq"
,
{
label
:
"实际复审日期1"
,
prop
:
"sjfsrq1"
,
fieldType
:
"ftDateTime"
},
fieldType
:
"ftDateTime"
{
label
:
"实际复审日期2"
,
prop
:
"sjfsrq2"
,
fieldType
:
"ftDateTime"
},
},
{
label
:
"发证单位"
,
prop
:
"fzdw"
,
fieldType
:
"ftString"
,
width
:
300
},
{
// {label: "适用范围", prop: "syfw", fieldType: "ftString",width:60},
label
:
"复审日期1"
,
{
label
:
"适用范围"
,
prop
:
"syfwName"
,
fieldType
:
"ftString"
,
width
:
160
},
prop
:
"fsrq1"
,
{
label
:
"备注"
,
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
fieldType
:
"ftDateTime"
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
,
show
:
false
},
label
:
"复审日期2"
,
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
,
show
:
false
}
prop
:
"fsrq2"
,
fieldType
:
"ftDateTime"
]
},
}
{
},
label
:
"实际复审日期1"
,
methods
:
{
prop
:
"sjfsrq1"
,
fieldType
:
"ftDateTime"
query
:
doQuery
,
},
/* 基础增*/
{
apiAdd
:
doAdd
,
label
:
"实际复审日期2"
,
/* 基础更新*/
prop
:
"sjfsrq2"
,
apiUpdate
:
doUpdate
,
fieldType
:
"ftDateTime"
/* 删除操作*/
},
apiDelete
:
doDelete
,
{
/* 初始化赋值操作*/
label
:
"发证单位"
,
init
()
{
prop
:
"fzdw"
,
fieldType
:
"ftString"
,
},
width
:
300
/* 启用停用*/
},
// {label: "适用范围", prop: "syfw", fieldType: "ftString",width:60},
{
label
:
"适用范围"
,
},
prop
:
"syfwName"
,
components
:
{
fieldType
:
"ftString"
,
Edit
,
width
:
160
}
},
{
label
:
"备注"
,
}
prop
:
"bz"
,
fieldType
:
"ftString"
,
width
:
300
},
{
label
:
"维护人"
,
prop
:
"whr"
,
fieldType
:
"ftString"
},
{
label
:
"维护时间"
,
prop
:
"whsj"
,
fieldType
:
"ftDateTime"
},
{
label
:
"创建人"
,
prop
:
"cjr"
,
fieldType
:
"ftString"
,
show
:
false
},
{
label
:
"创建时间"
,
prop
:
"cjsj"
,
fieldType
:
"ftDateTime"
,
show
:
false
}
]
}
},
methods
:
{
query
:
doQuery
,
/* 基础增*/
apiAdd
:
doAdd
,
/* 基础更新*/
apiUpdate
:
doUpdate
,
/* 删除操作*/
apiDelete
:
doDelete
,
/* 初始化赋值操作*/
init
()
{
},
/* 启用停用*/
},
components
:
{
Edit
,
}
}
</
script
>
</
script
>
<
style
scoped
>
<
style
scoped
>
...
...
src/views/daily/holdCertificate/index.vue
View file @
60bfa587
...
@@ -38,6 +38,23 @@
...
@@ -38,6 +38,23 @@
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"30"
class=
"search-row-1"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
超期情况:
</span>
<RelSelect
:optionsData=
"[
{
id:'Y',name:'有效期内'
},
{
id:'D',name:'即将到期'
},
{
id:'C',name:'超期'
},
]" clearable :match="{value:'id',label:'name'}" v-model='queryParams.homeCzyjType'>
</RelSelect>
</div>
</el-col>
</el-row>
</div>
</div>
<!-- 按钮操作-->
<!-- 按钮操作-->
<el-row
class=
"tool-bar"
>
<el-row
class=
"tool-bar"
>
...
@@ -85,6 +102,7 @@
...
@@ -85,6 +102,7 @@
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
this
.
queryParams
.
homeCzyjType
=
this
.
$route
.
query
.
homeCzyjType
||
''
this
.
$refs
[
'TablePager'
].
pageQuery
()
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
},
data
()
{
data
()
{
...
@@ -103,7 +121,8 @@
...
@@ -103,7 +121,8 @@
code
:
''
,
code
:
''
,
user
:
''
,
user
:
''
,
syfw
:
''
,
syfw
:
''
,
zt
:
''
zt
:
''
,
homeCzyjType
:
''
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
...
...
src/views/daily/tzzyry/index.vue
View file @
60bfa587
...
@@ -35,6 +35,23 @@
...
@@ -35,6 +35,23 @@
<RelSelect
src=
'aqgl/rcgl/utzzyry/init/syfw'
clearable
:match=
"
{value:'id',label:'name'}" v-model='queryParams.syfw' >
</RelSelect>
<RelSelect
src=
'aqgl/rcgl/utzzyry/init/syfw'
clearable
:match=
"
{value:'id',label:'name'}" v-model='queryParams.syfw' >
</RelSelect>
</div>
</div>
</el-col>
</el-col>
</el-row>
<el-row
:gutter=
"30"
class=
"search-row-1"
>
<el-col
:span=
"6"
class=
"search-col"
>
<div
class=
"search-item"
>
<span
class=
"search-span"
>
超期情况:
</span>
<RelSelect
:optionsData=
"[
{
id:'Y',name:'有效期内'
},
{
id:'D',name:'即将到期'
},
{
id:'C',name:'超期'
},
]" clearable :match="{value:'id',label:'name'}" v-model='queryParams.homeCzyjType'>
</RelSelect>
</div>
</el-col>
</el-row>
</el-row>
</div>
</div>
<!-- 按钮操作-->
<!-- 按钮操作-->
...
@@ -83,6 +100,7 @@ import {
...
@@ -83,6 +100,7 @@ import {
/* 初始额外赋值*/
/* 初始额外赋值*/
async
mounted
()
{
async
mounted
()
{
this
.
queryParams
.
homeCzyjType
=
this
.
$route
.
query
.
homeCzyjType
||
''
this
.
$refs
[
'TablePager'
].
pageQuery
()
this
.
$refs
[
'TablePager'
].
pageQuery
()
},
},
data
()
{
data
()
{
...
@@ -101,7 +119,8 @@ import {
...
@@ -101,7 +119,8 @@ import {
code
:
''
,
code
:
''
,
user
:
''
,
user
:
''
,
syfw
:
''
,
syfw
:
''
,
zt
:
''
zt
:
''
,
homeCzyjType
:
''
},
},
/* 表格标题对应参数*/
/* 表格标题对应参数*/
...
...
src/views/threeViolations/homePage/index.vue
View file @
60bfa587
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<div
class=
"hpbody"
>
<div
class=
"hpbody"
>
<div
class=
"hpbodyItem flex flex1"
style=
"flex-direction: row;gap: 10px;"
>
<div
class=
"hpbodyItem flex flex1"
style=
"flex-direction: row;gap: 10px;"
>
<!-- 安全指数-->
<!-- 安全指数-->
<div
style=
"width: 32.5%;height: 100%;"
@
click=
"$router.push('/dailya/tzzyry')"
>
<div
style=
"width: 32.5%;height: 100%;"
>
<div
class=
"full data-box1"
>
<div
class=
"full data-box1"
>
<i
class=
"topL"
></i>
<i
class=
"topL"
></i>
<i
class=
"topR"
></i>
<i
class=
"topR"
></i>
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
</div>
</div>
</div>
</div>
<div
class=
"flex1"
>
<div
class=
"flex1"
>
<div
class=
"full data-box1"
style=
'padding-bottom:0'
>
<div
class=
"full data-box1"
style=
'padding-bottom:0'
>
<i
class=
"topL"
></i>
<i
class=
"topL"
></i>
<i
class=
"topR"
></i>
<i
class=
"topR"
></i>
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
<div
class=
"full flex-center"
style=
"height: calc(100% );font-size: 36px;color: #55d5c6;font-weight: 700;"
>
<div
class=
"full flex-center"
style=
"height: calc(100% );font-size: 36px;color: #55d5c6;font-weight: 700;"
>
<span
<span
style=
"font-size: 24px;color: #3279d5;font-style: italic;font-weight:500;letter-spacing:10px"
>
已安全生产
</span>
style=
"font-size: 24px;color: #3279d5;font-style: italic;font-weight:500;letter-spacing:10px"
>
已
连续
安全生产
</span>
<span
class=
'textDown'
>
{{
aqts
}}
<span
class=
'textDown'
>
{{
aqts
}}
</span><span
</span><span
style=
"font-size: 24px;color: #3279d5;font-weight:500;font-style: italic;letter-spacing:10px "
>
天
</span>
style=
"font-size: 24px;color: #3279d5;font-weight:500;font-style: italic;letter-spacing:10px "
>
天
</span>
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
</div>
</div>
<div
class=
"hpbodyItem flex flex1"
style=
"flex-direction: row;margin-top: 15px;margin-bottom: 15px;gap:10px"
>
<div
class=
"hpbodyItem flex flex1"
style=
"flex-direction: row;margin-top: 15px;margin-bottom: 15px;gap:10px"
>
<div
style=
"width: 32.5%;height: 100%;"
@
click=
"$router.push('/dangerManagement/dangerReviewRecord')"
>
<div
style=
"width: 32.5%;height: 100%;"
@
click=
"$router.push('/dangerManagement/dangerReviewRecord')"
>
<div
class=
"full data-box1"
>
<div
class=
"full data-box1"
>
<i
class=
"topL"
></i>
<i
class=
"topL"
></i>
<i
class=
"topR"
></i>
<i
class=
"topR"
></i>
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
</div>
</div>
</div>
</div>
<div
style=
"flex: 1"
@
click=
"$router.push('/riskPrecontrol/queryRiskTask')"
>
<div
style=
"flex: 1"
@
click=
"$router.push('/riskPrecontrol/queryRiskTask')"
>
<div
class=
"full data-box1"
>
<div
class=
"full data-box1"
>
<i
class=
"topL"
></i>
<i
class=
"topL"
></i>
<i
class=
"topR"
></i>
<i
class=
"topR"
></i>
...
@@ -124,7 +124,7 @@
...
@@ -124,7 +124,7 @@
<div
class=
"full"
style=
"overflow: hidden;"
>
<div
class=
"full"
style=
"overflow: hidden;"
>
<div
class=
"lbbt"
style=
"font-size: 13px;"
>
<div
class=
"lbbt"
style=
"font-size: 13px;"
>
<div
class=
"flex1 flex-center"
style=
"border-right: 1px solid transparent;"
>
<div
class=
"flex1 flex-center"
style=
"border-right: 1px solid transparent;"
>
单位
单位
</div>
</div>
<div
class=
"flex1 text-center "
>
<div
class=
"flex1 text-center "
>
...
@@ -190,52 +190,52 @@
...
@@ -190,52 +190,52 @@
完成率
完成率
</div>
</div>
</div>
</div>
<ScrollSeamless
:class-option=
"optionSingleHeight"
:data=
"fxgkList"
class=
"lbbody"
<!--
<ScrollSeamless
:class-option=
"optionSingleHeight"
:data=
"fxgkList"
class=
"lbbody"
style=
"overflow: hidden;"
>
style=
""
>
-->
<div
class=
"full lbtit"
>
<div
class=
"full lbtit"
>
<div
style=
"line-height: 25px;display: flex;font-size: 12px;text-align: center"
v-for=
"(item,index) in fxgkList"
<div
style=
"line-height: 25px;display: flex;font-size: 12px;text-align: center"
>
v-for=
"(item,index) in fxgkList"
>
<div
class=
"flex1"
style=
"color: #68D8FE ;"
v-text=
"item.dwmc"
></div>
<div
class=
"flex1"
style=
"color: #68D8FE ;"
v-text=
"item.dwmc"
></div>
<div
class=
"flex1 flex"
style=
"color: #68D8FE ;"
>
<div
class=
"flex1 flex"
style=
"color: #68D8FE ;"
>
<div
class=
"flex1"
>
<div
class=
"flex1"
>
{{
item
.
zdyjCount
}}
{{
item
.
zdyjCount
}}
</div>
<div
class=
"flex1"
>
{{
item
.
zddjCount
}}
</div>
</div>
</div>
<div
class=
"flex1 flex"
style=
"color: #68D8FE ;"
>
<div
class=
"flex1"
>
<div
class=
"flex1"
>
{{
item
.
zddjCount
}}
{{
item
.
jdyjCount
}}
</div>
<div
class=
"flex1"
>
{{
item
.
jddjCount
}}
</div>
</div>
</div>
<div
class=
"flex1 flex"
style=
"color: #68D8FE ;"
>
</div>
<div
class=
"flex1"
>
<div
class=
"flex1 flex"
style=
"color: #68D8FE ;"
>
{{
item
.
ybyjCount
}}
<div
class=
"flex1"
>
</div>
{{
item
.
jdyjCount
}}
<div
class=
"flex1"
>
{{
item
.
ybdjCount
}}
</div>
</div>
</div>
<div
class=
"flex1 flex"
style=
"color: #68D8FE ;"
>
<div
class=
"flex1"
>
<div
class=
"flex1"
>
{{
item
.
jddjCount
}}
{{
item
.
dfxyjCount
}}
</div>
<div
class=
"flex1"
>
{{
item
.
dfxzddjCount
}}
</div>
</div>
</div>
<div
class=
"flex1"
style=
"color: #68D8FE ;"
v-text=
"item.allCount"
></div>
</div>
<div
class=
"flex1"
style=
"color: #68D8FE ;"
v-text=
"item.wcRatio+'%'"
></div>
<div
class=
"flex1 flex"
style=
"color: #68D8FE ;"
>
<div
class=
"flex1"
>
{{
item
.
ybyjCount
}}
</div>
<div
class=
"flex1"
>
{{
item
.
ybdjCount
}}
</div>
</div>
<div
class=
"flex1 flex"
style=
"color: #68D8FE ;"
>
<div
class=
"flex1"
>
{{
item
.
dfxyjCount
}}
</div>
<div
class=
"flex1"
>
{{
item
.
dfxzddjCount
}}
</div>
</div>
<div
class=
"flex1"
style=
"color: #68D8FE ;"
v-text=
"item.allCount"
></div>
<div
class=
"flex1"
style=
"color: #68D8FE ;"
v-text=
"item.wcRatio+'%'"
></div>
</div>
</div>
<!--
<div
style=
"line-height: 25px;display: flex;font-size: 12px;text-align: center"
<!--
<div
style=
"line-height: 25px;display: flex;font-size: 12px;text-align: center"
v-for=
"item in fxgkList"
>
v-for=
"item in fxgkList"
>
<div
class=
"flex1"
style=
"color: #68D8FE ;"
v-text=
"item.jdCode"
></div>
<div
class=
"flex1"
style=
"color: #68D8FE ;"
v-text=
"item.jdCode"
></div>
<div
class=
"flex1"
style=
"color: #68D8FE ;"
v-text=
"item.name"
></div>
<div
class=
"flex1"
style=
"color: #68D8FE ;"
v-text=
"item.name"
></div>
...
@@ -244,8 +244,8 @@
...
@@ -244,8 +244,8 @@
<div
class=
"flex1"
style=
"color: #68D8FE ;"
v-text=
"item.z"
></div>
<div
class=
"flex1"
style=
"color: #68D8FE ;"
v-text=
"item.z"
></div>
<div
class=
"flex1"
style=
"color: #68D8FE ;"
v-text=
"item.gj"
></div>
<div
class=
"flex1"
style=
"color: #68D8FE ;"
v-text=
"item.gj"
></div>
</div>
-->
</div>
-->
</div>
</div>
<
/ScrollSeamless
>
<
!--
</ScrollSeamless>
--
>
</div>
</div>
...
@@ -257,7 +257,8 @@
...
@@ -257,7 +257,8 @@
</div>
</div>
<div
class=
"hpbodyItem flex flex1"
style=
"flex-direction: row;gap: 10px;"
>
<div
class=
"hpbodyItem flex flex1"
style=
"flex-direction: row;gap: 10px;"
>
<!-- 隐患 -->
<!-- 隐患 -->
<div
style=
"width: 32.3%;height: 100%;min-width: 0px;min-height: 0px;"
@
click=
"$router.push('/contingency/contingencyplan')"
>
<div
style=
"width: 32.3%;height: 100%;min-width: 0px;min-height: 0px;"
@
click=
"$router.push('/contingency/contingencyplan')"
>
<div
class=
"full data-box1"
>
<div
class=
"full data-box1"
>
<i
class=
"topL"
></i>
<i
class=
"topL"
></i>
<i
class=
"topR"
></i>
<i
class=
"topR"
></i>
...
@@ -277,12 +278,7 @@
...
@@ -277,12 +278,7 @@
</div>
</div>
<div
class=
"flex1"
style=
""
>
<div
class=
"full"
ref=
'bzjyjgl'
>
</div>
</div>
<div
class=
"flex1"
>
<div
class=
"flex1"
>
<div
class=
"full"
ref=
'cjjyjgl'
>
<div
class=
"full"
ref=
'cjjyjgl'
>
...
@@ -290,7 +286,12 @@
...
@@ -290,7 +286,12 @@
</div>
</div>
</div>
</div>
<div
class=
"flex1"
style=
""
>
<div
class=
"full"
ref=
'bzjyjgl'
>
</div>
</div>
</div>
</div>
...
@@ -298,7 +299,7 @@
...
@@ -298,7 +299,7 @@
</div>
</div>
<div
class=
"flex1"
@
click=
"$router.push('/dailyc/duty')"
>
<div
class=
"flex1"
@
click=
"$router.push('/dailyc/duty')"
>
<div
class=
"full data-box1"
>
<div
class=
"full data-box1"
>
<i
class=
"topL"
></i>
<i
class=
"topL"
></i>
<i
class=
"topR"
></i>
<i
class=
"topR"
></i>
...
@@ -321,7 +322,7 @@
...
@@ -321,7 +322,7 @@
<div
class=
"flex1"
style=
"margin-right: 5px;"
@
click=
"$router.push('/train/assessment')"
>
<div
class=
"flex1"
style=
"margin-right: 5px;"
@
click=
"$router.push('/train/assessment')"
>
<div
class=
"full data-box1"
>
<div
class=
"full data-box1"
>
<i
class=
"topL"
></i>
<i
class=
"topL"
></i>
<i
class=
"topR"
></i>
<i
class=
"topR"
></i>
...
@@ -404,43 +405,43 @@
...
@@ -404,43 +405,43 @@
},
1000
)
},
1000
)
/* 初始化公司*/
/* 初始化公司*/
this
.
$post
(
'aqgl/jcsj/ubm/query'
,
{}).
then
(
res
=>
{
this
.
$post
(
'aqgl/jcsj/ubm/query'
,
{}).
then
(
res
=>
{
let
bmList
=
res
.
data
.
records
||
[]
let
bmList
=
res
.
data
.
records
||
[]
let
bmMap
=
new
Map
(
bmList
.
map
(
item
=>
{
let
bmMap
=
new
Map
(
bmList
.
map
(
item
=>
{
if
(
item
.
bmmc
==
'生产单位'
)
{
if
(
item
.
bmmc
==
'生产单位'
)
{
item
.
bmmc
=
'公司'
item
.
bmmc
=
'公司'
}
}
return
[
item
.
bmmc
,
item
.
id
]
return
[
item
.
bmmc
,
item
.
id
]
}))
}))
this
.
menusItems
.
forEach
(
item
=>
{
this
.
menusItems
.
forEach
(
item
=>
{
if
(
bmMap
.
get
(
item
.
name
))
{
if
(
bmMap
.
get
(
item
.
name
))
{
item
.
id
=
bmMap
.
get
(
item
.
name
)
item
.
id
=
bmMap
.
get
(
item
.
name
)
}
}
})
})
if
(
this
.
superuser
)
{
if
(
this
.
superuser
)
{
this
.
changeItem
(
0
)
this
.
changeItem
(
0
)
}
else
{
}
else
{
/* 选中个人orgName*/
/* 选中个人orgName*/
let
index
=
0
let
index
=
0
this
.
$post
(
'aqgl/aqhd/ubzhzy/queryBmWithUser'
,
{
this
.
$post
(
'aqgl/aqhd/ubzhzy/queryBmWithUser'
,
{
bmId
:
this
.
orgname
bmId
:
this
.
orgname
}).
then
(
res
=>
{
}).
then
(
res
=>
{
let
bmmc
=
res
.
data
.
records
.
bmmc
let
bmmc
=
res
.
data
.
records
.
bmmc
this
.
menusItems
.
forEach
((
item
,
itemIndex
)
=>
{
this
.
menusItems
.
forEach
((
item
,
itemIndex
)
=>
{
if
(
item
.
name
==
bmmc
)
{
if
(
item
.
name
==
bmmc
)
{
index
=
itemIndex
index
=
itemIndex
console
.
log
(
'存在部门'
)
console
.
log
(
'存在部门'
)
}
}
})
})
this
.
changeItem
(
index
)
this
.
changeItem
(
index
)
})
})
...
@@ -465,11 +466,27 @@
...
@@ -465,11 +466,27 @@
this
.
elzgl
=
this
.
$echarts
.
init
(
this
.
$refs
.
lzgl
)
this
.
elzgl
=
this
.
$echarts
.
init
(
this
.
$refs
.
lzgl
)
/* 监听持证预警*/
this
.
eczyj
.
on
(
'click'
,
(
params
)
=>
{
const
pathMap
=
{
'安全管理'
:
'/dailya/aqglry'
,
'特种作业'
:
'/dailya/tzzyry'
,
'公司资质证照'
:
'/dailya/holdCertificate'
}
/* 待定todo*/
const
colorMap
=
{
'#91cc75'
:
'Y'
,
'#ffb56b'
:
'D'
,
'#FF7474'
:
'C'
}
/* 开始判定*/
this
.
$router
.
push
({
path
:
pathMap
[
params
.
name
],
query
:
{
homeCzyjType
:
colorMap
[
params
.
color
]
}
});
})
})
})
},
},
beforeDestroy
()
{
beforeDestroy
()
{
clearInterval
(
this
.
timer1
)
clearInterval
(
this
.
timer1
)
clearInterval
(
this
.
allInitTimer
)
clearInterval
(
this
.
allInitTimer
)
...
@@ -484,35 +501,36 @@
...
@@ -484,35 +501,36 @@
timer1
:
null
,
timer1
:
null
,
allInitTimer
:
null
,
allInitTimer
:
null
,
menusItems
:
[{
menusItems
:
[{
name
:
'公司'
,
name
:
'公司'
,
id
:
'4028909F8F806101018F99D332040062'
,
id
:
'4028909F8F806101018F99D332040062'
,
type
:
'gsId'
type
:
'gsId'
},
},
{
{
name
:
'采矿作业区'
,
name
:
'采矿作业区'
,
id
:
'4028909F8F775B76018F79D1A62C0046'
,
id
:
'4028909F8F775B76018F79D1A62C0046'
,
type
:
'bmId'
type
:
'bmId'
},
},
{
{
name
:
'第一选矿车间'
,
name
:
'第一选矿车间'
,
id
:
'4028909F8F775B76018F79D1E8ED0048'
,
id
:
'4028909F8F775B76018F79D1E8ED0048'
,
type
:
'bmId'
type
:
'bmId'
},
},
{
{
name
:
'第二焙烧车间'
,
name
:
'第二焙烧车间'
,
id
:
'4028909F8F806101018F99E09C40008C'
,
id
:
'4028909F8F806101018F99E09C40008C'
,
type
:
'bmId'
type
:
'bmId'
},
},
{
{
name
:
'质量计量控制中心'
,
name
:
'质量计量控制中心'
,
id
:
'4028909F8F775B76018F79D23B22004A'
,
id
:
'4028909F8F775B76018F79D23B22004A'
,
type
:
'bmId'
type
:
'bmId'
},
},
{
{
name
:
'加油站'
,
name
:
'加油站'
,
id
:
'4028909F8F775B76018F79CEFC4F0037'
,
id
:
'4028909F8F775B76018F79CEFC4F0037'
,
type
:
'bmId'
type
:
'bmId'
}],
}
],
active
:
0
,
active
:
0
,
/* 仪表盘*/
/* 仪表盘*/
colors
:
[{
colors
:
[{
...
@@ -667,16 +685,16 @@
...
@@ -667,16 +685,16 @@
}],
}],
};
};
key
==
'公司
领导
'
&&
this
.
egsjaqpx
.
setOption
(
option
);
key
==
'公司
级
'
&&
this
.
egsjaqpx
.
setOption
(
option
);
key
==
'
职能部门
'
&&
this
.
ecjjaqpx
.
setOption
(
option
);
key
==
'
车间级
'
&&
this
.
ecjjaqpx
.
setOption
(
option
);
key
==
'
生产单位
'
&&
this
.
ebzjaqpx
.
setOption
(
option
);
key
==
'
班组级
'
&&
this
.
ebzjaqpx
.
setOption
(
option
);
},
},
/* 公司级安全培训*/
/* 公司级安全培训*/
initFxgk
(){
initFxgk
()
{
let
params
=
{}
let
params
=
{}
params
[
this
.
menusItems
[
this
.
active
][
'type'
]]
=
this
.
menusItems
[
this
.
active
][
'id'
]
params
[
this
.
menusItems
[
this
.
active
][
'type'
]]
=
this
.
menusItems
[
this
.
active
][
'id'
]
this
.
$post
(
'aqgl/homepage/fxgk'
,
params
).
then
(
res
=>
{
this
.
$post
(
'aqgl/homepage/fxgk'
,
params
).
then
(
res
=>
{
this
.
fxgkList
=
res
.
data
.
records
||
[]
this
.
fxgkList
=
res
.
data
.
records
||
[]
})
})
...
@@ -684,8 +702,8 @@
...
@@ -684,8 +702,8 @@
/* 查询安全天数*/
/* 查询安全天数*/
initAqts
()
{
initAqts
()
{
let
params
=
{}
let
params
=
{}
params
[
this
.
menusItems
[
this
.
active
][
'type'
]]
=
this
.
menusItems
[
this
.
active
][
'id'
]
params
[
this
.
menusItems
[
this
.
active
][
'type'
]]
=
this
.
menusItems
[
this
.
active
][
'id'
]
this
.
$post
(
'aqgl/homepage/aqts'
,
params
).
then
(
res
=>
{
this
.
$post
(
'aqgl/homepage/aqts'
,
params
).
then
(
res
=>
{
this
.
aqts
=
res
.
data
.
records
||
0
this
.
aqts
=
res
.
data
.
records
||
0
})
})
...
@@ -695,8 +713,8 @@
...
@@ -695,8 +713,8 @@
},
},
/* 应急管理*/
/* 应急管理*/
initEyjgl
()
{
initEyjgl
()
{
let
params
=
{}
let
params
=
{}
params
[
this
.
menusItems
[
this
.
active
][
'type'
]]
=
this
.
menusItems
[
this
.
active
][
'id'
]
params
[
this
.
menusItems
[
this
.
active
][
'type'
]]
=
this
.
menusItems
[
this
.
active
][
'id'
]
this
.
$post
(
'aqgl/homepage/yjgl'
,
params
).
then
(
res
=>
{
this
.
$post
(
'aqgl/homepage/yjgl'
,
params
).
then
(
res
=>
{
let
records
=
res
.
data
.
records
let
records
=
res
.
data
.
records
let
KeyList
=
Object
.
keys
(
records
)
let
KeyList
=
Object
.
keys
(
records
)
...
@@ -708,8 +726,8 @@
...
@@ -708,8 +726,8 @@
},
},
/* 安全培训*/
/* 安全培训*/
initEaqpx
()
{
initEaqpx
()
{
let
params
=
{}
let
params
=
{}
params
[
this
.
menusItems
[
this
.
active
][
'type'
]]
=
this
.
menusItems
[
this
.
active
][
'id'
]
params
[
this
.
menusItems
[
this
.
active
][
'type'
]]
=
this
.
menusItems
[
this
.
active
][
'id'
]
this
.
$post
(
'aqgl/homepage/aqpx'
,
params
).
then
(
res
=>
{
this
.
$post
(
'aqgl/homepage/aqpx'
,
params
).
then
(
res
=>
{
let
records
=
res
.
data
.
records
||
[]
let
records
=
res
.
data
.
records
||
[]
let
KeyList
=
Object
.
keys
(
records
)
let
KeyList
=
Object
.
keys
(
records
)
...
@@ -720,8 +738,8 @@
...
@@ -720,8 +738,8 @@
})
})
},
},
initlzgl
()
{
initlzgl
()
{
let
params
=
{}
let
params
=
{}
params
[
this
.
menusItems
[
this
.
active
][
'type'
]]
=
this
.
menusItems
[
this
.
active
][
'id'
]
params
[
this
.
menusItems
[
this
.
active
][
'type'
]]
=
this
.
menusItems
[
this
.
active
][
'id'
]
this
.
$post
(
'aqgl/homepage/lzgl'
,
params
).
then
(
res
=>
{
this
.
$post
(
'aqgl/homepage/lzgl'
,
params
).
then
(
res
=>
{
let
records
=
_
.
cloneDeep
(
res
.
data
.
records
||
[])
let
records
=
_
.
cloneDeep
(
res
.
data
.
records
||
[])
let
keyList
=
Object
.
keys
(
records
)
let
keyList
=
Object
.
keys
(
records
)
...
@@ -810,8 +828,8 @@
...
@@ -810,8 +828,8 @@
},
},
/* 持证预警*/
/* 持证预警*/
initscyj
()
{
initscyj
()
{
let
params
=
{}
let
params
=
{}
params
[
this
.
menusItems
[
this
.
active
][
'type'
]]
=
this
.
menusItems
[
this
.
active
][
'id'
]
params
[
this
.
menusItems
[
this
.
active
][
'type'
]]
=
this
.
menusItems
[
this
.
active
][
'id'
]
this
.
$post
(
'aqgl/homepage/czyj'
,
params
).
then
(
res
=>
{
this
.
$post
(
'aqgl/homepage/czyj'
,
params
).
then
(
res
=>
{
let
records
=
res
.
data
.
records
let
records
=
res
.
data
.
records
/* x 轴*/
/* x 轴*/
...
@@ -916,13 +934,11 @@
...
@@ -916,13 +934,11 @@
})
})
},
},
inityhpc
()
{
inityhpc
()
{
let
params
=
{}
let
params
=
{}
params
[
this
.
menusItems
[
this
.
active
][
'type'
]]
=
this
.
menusItems
[
this
.
active
][
'id'
]
params
[
this
.
menusItems
[
this
.
active
][
'type'
]]
=
this
.
menusItems
[
this
.
active
][
'id'
]
this
.
$post
(
'aqgl/homepage/yhpc'
,
params
).
then
(
res
=>
{
this
.
$post
(
'aqgl/homepage/yhpc'
,
params
).
then
(
res
=>
{
let
records
=
res
.
data
.
records
let
records
=
res
.
data
.
records
let
xData
=
Object
.
keys
(
records
)
let
xData
=
[
'人员违章'
,
'设备设施'
,
'环境影响'
,
'管理缺陷'
]
let
yhList
=
[]
let
yhList
=
[]
xData
.
forEach
(
key
=>
{
xData
.
forEach
(
key
=>
{
yhList
.
push
(
records
[
key
])
yhList
.
push
(
records
[
key
])
...
@@ -1010,14 +1026,17 @@
...
@@ -1010,14 +1026,17 @@
height
:
calc
(
100%
-
8vh
);
height
:
calc
(
100%
-
8vh
);
overflow
:
hidden
;
overflow
:
hidden
;
}
}
.flex1
{
.flex1
{
min-height
:
0
;
min-height
:
0
;
// min-width:0
// min-width:0
}
}
.flex2
{
.flex2
{
min-height
:
0
;
min-height
:
0
;
flex
:
2
1
0%
flex
:
2
1
0%
}
}
.fullmain
{
.fullmain
{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
10px
;
padding
:
10px
;
...
@@ -1076,8 +1095,8 @@
...
@@ -1076,8 +1095,8 @@
}
}
.menusItemActive
{
.menusItemActive
{
color
:
#55d5c6
!
important
;
color
:
#55d5c6
!
important
;
text-shadow
:
0
0
.5rem
#00d8ff
;
text-shadow
:
0
0
.5rem
#00d8ff
;
}
}
}
}
}
}
...
@@ -1188,11 +1207,13 @@
...
@@ -1188,11 +1207,13 @@
background-image
:
url(./static/gs.jpg)
;
background-image
:
url(./static/gs.jpg)
;
background-size
:
100%
100%
;
background-size
:
100%
100%
;
}
}
.gsIndex
{
font-size
:
15px
!
important
;
.gsIndex
{
font-size
:
15px
!
important
;
font-weight
:
800
font-weight
:
800
}
}
.nogsIndex
{
font-style
:
italic
;
.nogsIndex
{
font-style
:
italic
;
}
}
</
style
>
</
style
>
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