Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
ea897892
authored
2024-07-24 17:26:06 +0800
by
tianhaohao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
添加从业人员统计功能
1 parent
f418bcc7
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
165 additions
and
7 deletions
.env.development
src/api/bdcdj.js
src/views/jktj/qjdcsjcx/index.vue
src/views/jktj/worker/index.js
src/views/jktj/worker/index.vue
.env.development
View file @
ea89789
...
...
@@ -8,6 +8,6 @@ NODE_ENV=development
VUE_APP_BASE_API = '/api'
# 开发环境
#VUE_APP_API_BASE_URL = 'http://192.168.2.38
:8027'
VUE_APP_API_BASE_URL = 'http://192.168.2.22
:8027'
#VUE_APP_API_BASE_URL = 'http://192.168.2.91:8027' #田浩
VUE_APP_API_BASE_URL = 'http://172.16.56.32:8027' #黄南州
#
VUE_APP_API_BASE_URL = 'http://172.16.56.32:8027' #黄南州
...
...
src/api/bdcdj.js
View file @
ea89789
...
...
@@ -37,5 +37,19 @@ class bdcdj {
data
})
}
/**
* @description: 成功率统计
* @param {*} startDate
* @param {*} endDate
* @param {*} qxdm
* @author: renchao
*/
async
getWorkerStatistics
()
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/statistics/qjdc/getWorkerStatistics'
,
method
:
'get'
})
}
}
export
default
new
bdcdj
()
...
...
src/views/jktj/qjdcsjcx/index.vue
View file @
ea89789
...
...
@@ -17,10 +17,12 @@
</el-form-item>
</el-col>
<el-col
:span=
"4"
>
<el-form-item
label=
"是否归档"
class=
"d-flex"
>
<el-select
v-model=
"form.qqzt"
class=
"width100"
clearable
placeholder=
"是否确权"
>
<el-option
key=
"gd1"
label=
"已确权"
value=
"1"
></el-option>
<el-option
key=
"gd2"
label=
"未确权"
value=
"2"
></el-option>
<el-form-item
label=
"数据状态"
class=
"d-flex"
>
<el-select
v-model=
"form.zt"
class=
"width100"
clearable
placeholder=
"请选择"
>
<el-option
label=
"临时"
value=
"0"
></el-option>
<el-option
label=
"现势"
value=
"1"
></el-option>
<el-option
label=
"历史"
value=
"2"
></el-option>
<el-option
label=
"权属调查"
value=
"4"
></el-option>
</el-select>
</el-form-item>
</el-col>
...
...
@@ -71,7 +73,7 @@ export default {
// 搜索表单
form
:
{
pcode
:
""
,
qq
zt
:
"1"
zt
:
"1"
},
chartData
:
[]
};
...
...
src/views/jktj/worker/index.js
0 → 100644
View file @
ea89789
import
filter
from
'@/utils/filter.js'
class
data
extends
filter
{
constructor
()
{
super
()
}
columns
()
{
return
[
{
prop
:
"areaName"
,
label
:
"行政区划"
,
},
{
prop
:
"total"
,
label
:
"从业人数"
,
},
{
prop
:
"womanNum"
,
label
:
"女性从业人数"
,
},
{
prop
:
"womanRatio"
,
label
:
"女性从业占比"
,
// render: (h, scope) => {
// return (
// <span> {scope.row.womanRatio.toFixed(4)*100}%</span>
// );
// },
},
]
}
}
export
default
new
data
()
src/views/jktj/worker/index.vue
0 → 100644
View file @
ea89789
<!--
* @Author: yangwei
* @Date: 2023-02-17 16:32:50
* @LastEditors: Please set LastEditors
* @LastEditTime: 2023-05-11 10:11:15
* @FilePath: \bdcjg-web\src\views\statistics\registerBookQuality\index.vue
* @Description:
*
* Copyright (c) 2023 by ${git_name_email}, All Rights Reserved.
-->
<!-- 从业人员展示表 -->
<
template
>
<div
class=
"from-clues"
>
<!-- 头部搜索 -->
<div
class=
"from-clues-header"
>
<div
style=
"
height: 60px;
line-height: 60px;
color: white;
margin: 0 auto;
display: block;
width: 100%;
font-size: 24px;
text-align: center;
"
>
黄南州各市县登记中心从业人员展示图
</div>
</div>
<!-- 列表区域 -->
<div
class=
"from-clues-content complex-header"
>
<lb-table
ref=
"table"
:pagination=
"false"
:border=
"true"
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
</div>
</
template
>
<
script
>
// 登簿质量评价表
// 引入表格头部数据
import
data
from
"./index"
;
// 引入table混入方法
import
tableMixin
from
"@/mixins/tableMixin.js"
;
import
bdcdj
from
"@/api/bdcdj.js"
;
export
default
{
name
:
"jsbwcx"
,
mixins
:
[
tableMixin
],
data
()
{
return
{
// 表格数据
tableData
:
{
// 表格头部
columns
:
data
.
columns
(),
data
:
[],
},
downTitle
:
""
,
};
},
created
()
{
this
.
loading
();
},
mounted
()
{},
methods
:
{
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
*/
loading
()
{
bdcdj
.
getWorkerStatistics
().
then
((
res
)
=>
{
this
.
tableData
.
data
=
res
.
result
;
for
(
let
item
of
this
.
tableData
.
data
)
{
item
.
womanRatio
=
((
item
.
womanNum
/
item
.
total
)
*
100
).
toFixed
(
2
)
+
'%'
;
}
console
.
log
(
this
.
tableData
.
data
);
});
},
// 重置
/**
* @description: 重置
* @author: renchao
*/
// handleResetForm() {
// this.form.startTime = getCurrentDate();
// this.form.endTime = getCurrentDate("time");
// this.featchDataSelf();
// },
},
};
</
script
>
<
style
scoped
lang=
"scss"
>
//
引入表单整体样式
@import
"../css/index.scss"
;
/
deep
/
.el-table
thead
.is-group
th
.el-table__cell
{
height
:
14px
!important
;
}
</
style
>
Please
register
or
sign in
to post a comment