diff --git a/src/assets/scss/modules/management/form.scss b/src/assets/scss/modules/management/form.scss
new file mode 100644
index 000000000..18d1ed075
--- /dev/null
+++ b/src/assets/scss/modules/management/form.scss
@@ -0,0 +1,63 @@
+/deep/ .el-input.is-disabled .el-input__inner,
+/deep/ .el-textarea.is-disabled textarea.el-textarea__inner {
+ // border:none;background-color: transparent;
+}
+.div_btn {
+ text-align: right;
+}
+.div_map {
+ width: 100%;
+ height: 320px;
+ margin-left: 0px;
+}
+/deep/.el-dialog__body {
+ padding: 30px 80px;
+}
+/deep/.el-dialog__footer {
+ padding: 10px 80px 20px;
+}
+.form-item::v-deep .el-form-item__label {
+ color: #fff;
+}
+.form-item {
+ .el-radio {
+ color: #fff;
+ }
+
+ .el-checkbox {
+ color: #fff;
+ }
+}
+.verifyRed::before {
+ content: '*';
+ color: #f56c6c;
+ margin-right: 4px;
+}
+.form_label_box {
+ width: 150px;
+ display: inline-block;
+ text-align: right;
+ padding-right: 12px;
+}
+
+/deep/.m-record {
+ h3 {
+ &::before {
+ display: inline-block;
+ width: 4px;
+ height: 12px;
+ background: #0056D6;
+ content: '';
+ /**
+ 这个指为正的话 小方块就往上, 为负的话,小方块就往下
+ */
+ vertical-align: 1px;
+ margin-right: 5px;
+ }
+ }
+}
+/deep/.recordBox .m-table-item{
+ margin-top:0px;
+ max-height:200px;
+ overflow: auto;
+}
\ No newline at end of file
diff --git a/src/assets/scss/people-info2.scss b/src/assets/scss/people-info2.scss
new file mode 100644
index 000000000..7a28a1e3c
--- /dev/null
+++ b/src/assets/scss/people-info2.scss
@@ -0,0 +1,132 @@
+@import "c/config";
+@import "c/function";
+
+
+
+ .wrap2 {
+ box-sizing: border-box;
+ padding: 20px;
+ height: 90vh;
+ width: 1180px;
+ overflow-y: auto;
+ overflow-x: hidden;
+ position: relative;
+ }
+
+ .title {
+ padding: 10px;
+ font-size: 22px;
+ font-family: PingFang SC;
+ font-weight: 800;
+ color: #333;
+ display: flex;
+ align-items: center;
+
+ img {
+ display: block;
+ margin-right: 5px;
+ }
+ span {
+ display: block;
+ }
+ }
+
+ .div_tuomin{
+ position: absolute;
+ top:25px;
+ right:40px;
+ }
+
+ .btn-close {
+ position: absolute;
+ z-index: 2;
+ top: -30px;
+ right: -30px;
+ cursor: pointer;
+ }
+
+ .list {
+ display: flex;
+ flex-wrap: wrap;
+ padding: 10px 30px;
+
+ .item {
+ position: relative;
+ box-sizing: border-box;
+ padding: 0 15px;
+ width: 33%;
+ color: #fff;
+ font-size: 18px;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #333;
+ line-height: 24px;
+ margin: 15px 0;
+
+ &.z-long {
+ width: 100%;
+ }
+
+ &::before {
+ position: absolute;
+ left: 0;
+ top: 9px;
+ content: "";
+ display: block;
+ width: 7px;
+ height: 7px;
+ background: #ddd;
+ border-radius: 3px;
+ }
+ }
+ }
+
+ .line {
+ margin: 20px auto;
+ width: 900px;
+ height: 1px;
+ border: 1px dashed #ddd;
+ }
+
+ .tabs {
+ margin-top: 30px;
+ display: flex;
+ align-items: center;
+ padding-left: 20px;
+
+ .tab-btn {
+ margin: 0 5px;
+ width: 30px;
+ text-align: center;
+ cursor: pointer;
+ padding: 10px 0;
+ border-radius: 3px;
+ background-color: rgba(#000, 0.3);
+ }
+
+ .tab {
+ @include toe;
+ margin: 0 5px;
+ min-width: 80px;
+ padding: 0 8px;
+ height: 36px;
+ background: #fff;
+ border: 1px solid #eee;
+ box-shadow: 0 0 10px 0 inset #ddd;
+ border-radius: 2px;
+ text-align: center;
+ font-size: 17px;
+ font-family: PingFang SC;
+ font-weight: 400;
+ color: #333;
+ line-height: 36px;
+ cursor: pointer;
+ transition: all ease 0.1s;
+ &.z-on {
+ background: linear-gradient(90deg, #1a5afd, #009cff);
+ box-shadow: none;
+ color: #ffffff;
+ border: 1px solid #1a5afd;
+ }
+ }
+ }
diff --git a/src/views/modules/census/Option.js b/src/views/modules/census/Option.js
deleted file mode 100644
index d8c87dd75..000000000
--- a/src/views/modules/census/Option.js
+++ /dev/null
@@ -1,16 +0,0 @@
-import * as echarts from "echarts";
-export function pieOption() {
- return {
- xAxis: {
- type: 'category',
- data: ['Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat', 'Sun']
- },
- yAxis: {
- type: 'value'
- },
- series: [{
- data: [120, 200, 150, 80, 70, 110, 130],
- type: 'bar'
- }]
- };
-}
diff --git a/src/views/modules/census/addFormEnterprise.vue b/src/views/modules/census/addFormEnterprise.vue
new file mode 100644
index 000000000..14b4104f9
--- /dev/null
+++ b/src/views/modules/census/addFormEnterprise.vue
@@ -0,0 +1,513 @@
+
+
+
+ 新增
+ 修改
+ 查看
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.placeCategoryName }}
+
+
+
+ {{ formData.placeTypeName }}
+
+
+
+ {{ formData.gridName }}
+
+
+ {{ formData.placeOrgName }}
+
+
+ {{ formData.scaleTotal }}
+
+
+ {{ formData.personInCharge }}
+
+
+ {{ formData.mobile }}
+
+
+
+
+ {{ formData.address }}
+
+
+
+
+
+
取消
+
+ 取 消
+
+ 保 存
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/census/addFormHouse.vue b/src/views/modules/census/addFormHouse.vue
new file mode 100644
index 000000000..43f8bc68c
--- /dev/null
+++ b/src/views/modules/census/addFormHouse.vue
@@ -0,0 +1,541 @@
+
+
+
+ 新增
+ 修改
+ 查看房屋
+
+
+
+
+ 显示脱敏信息
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ formData.fullName }}
+
+
+
+ {{ formData.unitName ? formData.unitName : '--' }}
+
+
+ {{ formData.doorName }}
+
+
+ {{ formData.coding ? formData.coding : '--' }}
+
+
+ {{ formData.houseTypeName ? formData.houseTypeName : '--' }}
+
+
+ {{ formData.purposeName ? formData.purposeName : '--' }}
+
+
+ {{ formData.rentName ? formData.rentName : '--' }}
+
+
+ {{ formData.ownerName ? formData.ownerName : '--' }}
+
+
+ {{ formData.showOwnerPhone ? formData.showOwnerPhone : '--' }}
+
+
+ {{ formData.showOwnerIdCard ? formData.showOwnerIdCard : '--' }}
+
+
+ {{ formData.remark ? formData.remark : '--' }}
+
+
+
+
+
+
+ 取 消
+
+ 保 存
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/census/addFormResident.vue b/src/views/modules/census/addFormResident.vue
new file mode 100644
index 000000000..d30c3a45f
--- /dev/null
+++ b/src/views/modules/census/addFormResident.vue
@@ -0,0 +1,626 @@
+
+
+
+ 新增
+ 修改
+ 更多信息
+
+
+
+
+ 显示脱敏信息
+
+
+
+
+
+
+
+ {{ detailData.gridName }}
+
+
+
+
+ {{ detailData.villageName }}
+
+
+
+
+ {{ detailData.buildName }}
+
+
+
+
+ {{ detailData.doorName }}
+
+
+
+
+
+
+ {{ info[field.columnName] || '--' }}
+
+ {{ info[field.columnName] == null ? '--' : getOptionLabel(field.options, info[field.columnName], field.itemType) }}
+
+ {{ info[field.columnName] == null ? '--' : info[field.columnName] }}
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+ {{ field.label }}:
+
+ {{ infoItem[field.columnName] == null ? '--' : getOptionLabel(field.options, infoItem[field.columnName], field.itemType) }}
+
+
+ {{ infoItem[field.columnName] == null ? '--' : infoItem[field.columnName] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ field.label }}:
+
+ {{
+ !allInfo[group.tableName] || allInfo[group.tableName][0][field.columnName] == null
+ ? '--'
+ : getOptionLabel(field.options, allInfo[group.tableName][0][field.columnName], field.itemType)
+ }}
+
+
+
+ {{ !allInfo[group.tableName] || allInfo[group.tableName][0][field.columnName] == null ? '--' : allInfo[group.tableName][0][field.columnName] }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/census/census-accountActiveList.vue b/src/views/modules/census/census-accountActiveList.vue
index 89bd2d260..62d74b247 100644
--- a/src/views/modules/census/census-accountActiveList.vue
+++ b/src/views/modules/census/census-accountActiveList.vue
@@ -6,16 +6,15 @@
+ />
导出
-
+
+ :show-all-levels="false"
+ />
import screenEchartsFrame from './chart';
-import { pieOption } from './Option.js';
import { requestPost } from '@/js/dai/request';
import nextTick from 'dai-js/tools/nextTick';
import { mapGetters } from 'vuex';
@@ -185,6 +183,7 @@ export default {
return time.getTime() > nowData;
};
return {
+ optionsA: [],
pieChart: '',
pieOption: {},
pieInitState: false,
@@ -202,6 +201,7 @@ export default {
orgOptionProps: {
multiple: false,
value: 'agencyId',
+ emitPath: false,
label: 'agencyName',
children: 'subAgencyList',
checkStrictly: true
@@ -270,6 +270,12 @@ export default {
},
methods: {
handleSearch(val) {
+ let tmp = this.formData.orgId;
+ if (!(tmp && typeof tmp != 'undefined' && tmp != 0 && tmp != null)) {
+ this.formData.orgId = '';
+ this.formData.level = '';
+ }
+
this.getCountLevel();
this.getTableData();
this.getsubData();
@@ -341,7 +347,6 @@ export default {
handleChangeAgency(val) {
let obj = this.$refs['myCascader'].getCheckedNodes()[0].data;
console.log(obj);
- this.formData.orgId = obj.agencyId;
this.formData.level = obj.level;
},
getOrgTreeList() {
@@ -451,14 +456,14 @@ export default {
this.showNext();
},
deepTree(arr) {
- if (Array.isArray(arr)) {
- return arr.map(item => {
- return {
- ...item,
- subAgencyList: item.subAgencyList.length > 0 && this.deepTree(item.subAgencyList) || null
- }
- })
- }
+ if (Array.isArray(arr)) {
+ return arr.map(item => {
+ return {
+ ...item,
+ subAgencyList: (item.subAgencyList.length > 0 && this.deepTree(item.subAgencyList)) || null
+ };
+ });
+ }
},
pieInitOk() {
this.pieInitState = true;
@@ -493,7 +498,19 @@ export default {
},
xAxis: {
type: 'category',
- data: chartData.name
+ data: chartData.name,
+ axisLabel: {
+ interval: 0,
+ interval: 0, //设置横坐标为斜
+ rotate: 30, //文字倾斜角度
+ formatter: function(value) {
+ if (value.length > 10) {
+ value = value.substring(0, 9) + '..';
+ }
+ return value;
+ }
+ },
+ triggerEvent: true
},
yAxis: {
type: 'value',
diff --git a/src/views/modules/census/census-houseList.vue b/src/views/modules/census/census-houseList.vue
index aa1c0d227..ac20e4650 100644
--- a/src/views/modules/census/census-houseList.vue
+++ b/src/views/modules/census/census-houseList.vue
@@ -4,11 +4,10 @@
-
+
-
+
@@ -107,25 +106,34 @@
+
+
-
-
-
-
-
-
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+ background: #feb349;
+ box-shadow: 0px 2px 6px 0px rgba(198, 122, 16, 0.31);
+ border-radius: 6px;
+ color: #fff;
+}
+
diff --git a/src/views/modules/census/census-orgStatusList.vue b/src/views/modules/census/census-orgStatusList.vue
index 3d54778be..047b591ae 100644
--- a/src/views/modules/census/census-orgStatusList.vue
+++ b/src/views/modules/census/census-orgStatusList.vue
@@ -4,7 +4,7 @@
-
+
-
-
- 至
-
-
+
查询
-
-
+
@@ -54,7 +31,7 @@
-
+
@@ -64,7 +41,7 @@
-
+
@@ -74,7 +51,7 @@
-
+
@@ -97,7 +74,38 @@
-
下级社区数量统计
+
+ 下级社区数量统计
+
+
+
+
+ 至
+
+
+
+
+
import screenEchartsFrame from './chart';
-import { pieOption } from './Option.js';
+
import { requestPost, requestGet } from '@/js/dai/request';
import nextTick from 'dai-js/tools/nextTick';
import { mapGetters } from 'vuex';
@@ -148,8 +156,8 @@ export default {
let endDisabledDate = time => {
//这个关键属性我们一定要写在data的里面并且return的外面,这是动态改变区间的关键
let nowData = Date.now();
- if (this.formData.startDate) {
- let startDate = new Date(this.formData.startDate);
+ if (this.formData2.startDate) {
+ let startDate = new Date(this.formData2.startDate);
return time.getTime() > nowData || time.getTime() < startDate || time.getTime() === startDate;
} else {
return time.getTime() > nowData;
@@ -177,17 +185,20 @@ export default {
orgOptions: [],
orgOptionProps: {
multiple: false,
- value: 'agencyId',
- label: 'agencyName',
+ checkStrictly: true,
+ emitPath: false,
children: 'subAgencyList',
- checkStrictly: true
+ label: 'agencyName',
+ value: 'agencyId'
},
tableData: [],
tableDataView: [],
censusData: { district: '', street: '', community: '', grid: '', staff: '' },
formData: {
orgId: '',
- level: '',
+ level: ''
+ },
+ formData2: {
startDate: '',
endDate: ''
},
@@ -211,7 +222,8 @@ export default {
multipleSelection: [],
TableHeight: '',
- pieData: {}
+ pieData: {},
+ agencyId: ''
};
},
components: {
@@ -219,7 +231,7 @@ export default {
},
computed: {
maxTableHeight() {
- this.TableHeight = this.$store.state.inIframe ? this.clientHeight - 420 + this.iframeHeigh : this.clientHeight - 420;
+ this.TableHeight = this.$store.state.inIframe ? this.clientHeight - 450 + this.iframeHeigh : this.clientHeight - 450;
console.log('this.TableHeight', this.TableHeight);
return this.TableHeight;
},
@@ -227,10 +239,10 @@ export default {
...mapGetters(['clientHeight', 'iframeHeight'])
},
watch: {
- 'formData.endDate': function(val) {
+ 'formData2.endDate': function(val) {
if (val && val != '') {
let arrayTemp = val.split(' ');
- this.formData.endDate = arrayTemp[0] + ' 23:59:59';
+ this.formData2.endDate = arrayTemp[0] + ' 23:59:59';
}
}
},
@@ -238,7 +250,7 @@ export default {
console.log(this.$store.state);
this.user = this.$store.state.user;
this.agencyId = this.user.agencyId;
- console.log(this.user)
+ console.log(this.user);
this.getOrgTreeList();
this.getTableData();
@@ -271,8 +283,8 @@ export default {
url = '/gov/org/customeragency/getCommunityList';
param = {
agencyId: this.orgId,
- timeStart: this.formData.startDate,
- timeEnd: this.formData.endDate,
+ timeStart: this.formData2.startDate,
+ timeEnd: this.formData2.endDate,
pageNum: this.pageNo,
pageSize: this.pageSize
};
@@ -340,13 +352,15 @@ export default {
console.log('this.formData.orgId', this.formData.orgId);
let agencyId = '';
- if (this.formData.orgId == '') {
- agencyId = this.agencyId;
- this.level=this.user.level
- } else {
+ let tmp = this.formData.orgId;
+ if (!tmp && typeof tmp != 'undefined' && tmp != 0 && tmp != null) {
agencyId = this.formData.orgId;
- this.level=this.formData.level
+ this.level = this.formData.level;
+ } else {
+ agencyId = this.agencyId;
+ this.level = this.user.level;
}
+
const url = '/gov/org/customeragency/getAgencyCountList';
let params = { agencyId: agencyId };
const { data, code, msg } = await requestGet(url, params);
@@ -360,41 +374,18 @@ export default {
this.$message.error(msg);
}
},
- async getTableData() {
- // this.tableLoading = true;
- // const url = '/gov/org/customeragency/getCommunityCountList';
- // let agencyId = '';
- // if (this.formData.orgId == '') {
- // agencyId = this.agencyId;
- // } else {
- // agencyId = this.formData.orgId;
- // }
- // const { data, code, msg } = await requestPost(url, {
- // {agencyId:agencyId}
- // });
- // this.tableLoading = false;
- // if (code === 0) {
- // this.total = data.total || 0;
- // this.tableData = data.list
- // ? data.list.map(item => {
- // return item;
- // })
- // : [];
- // // console.log('this.tableData ', this.tableData);
- // } else {
- // this.$message.error(msg);
- // }
- },
+ async getTableData() {},
async getsubData() {
this.$refs.pieChart.showLoading();
let url = '/gov/org/customeragency/getCommunityCountList';
let agencyId = '';
- if (this.formData.orgId == '') {
- agencyId = this.agencyId;
- } else {
+ let tmp = this.formData.orgId;
+ if (!tmp && typeof tmp != 'undefined' && tmp != 0 && tmp != null) {
agencyId = this.formData.orgId;
+ } else {
+ agencyId = this.agencyId;
}
- const { data, code, msg } = await requestPost(url, { agencyId: agencyId });
+ const { data, code, msg } = await requestPost(url, { agencyId: agencyId, timeStart: this.formData2.startDate, timeEnd: this.formData2.endDate });
this.$refs.pieChart.hideLoading();
@@ -458,7 +449,18 @@ export default {
},
xAxis: {
type: 'category',
- data: chartData.name
+ data: chartData.name,
+ axisLabel: {
+ interval: 0,
+ interval: 0, //设置横坐标为斜
+ rotate: 30, //文字倾斜角度
+ formatter: function(value) {
+ if (value.length > 10) {
+ value = value.substring(0, 9) + '..';
+ }
+ return value;
+ }
+ }
},
yAxis: {
type: 'value',
diff --git a/src/views/modules/census/census-residentList.vue b/src/views/modules/census/census-residentList.vue
index 3763ac739..144f1ffc2 100644
--- a/src/views/modules/census/census-residentList.vue
+++ b/src/views/modules/census/census-residentList.vue
@@ -1,12 +1,874 @@
-
+
+
+
+
+
+
+ 居民年龄统计
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ item.name }}
+
{{ item.value }}
+
{{ item.value / 100 }}%
+
+
+
+
+
+
+
+
+ 居民学历统计
+
+
+
+
+
+
+
+
+
+
+
+
+
{{ item.name }}
+
{{ item.value }}
+
{{ item.value / 100 }}%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
-
+
+
+
+
diff --git a/src/views/modules/census/record.vue b/src/views/modules/census/record.vue
new file mode 100644
index 000000000..ba5d8ef36
--- /dev/null
+++ b/src/views/modules/census/record.vue
@@ -0,0 +1,422 @@
+
+
+
巡查记录
+
+
+ 新增
+
+
+
+
+
+
+
+ {{ scope.row.patrolTime }}
+
+
+
+
+
+
+
+
+ {{ scope.row.staffName }}
+
+
+
+
+
+
+ {{ scope.row.mobile }}
+
+
+
+
+
+
+
+
+ {{ scope.row.result == 1 ? '正常' : '异常' }}
+
+
+
+
+
+
+
+
+
+
+ 最多三张图片
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ scope.row.reviewTime }}
+
+
+
+
+
+
+ 保存
+ 取消
+
+
+
+ 修改
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/communityParty/dyhx/chart.vue b/src/views/modules/communityParty/dyhx/chart.vue
new file mode 100644
index 000000000..b78f0595c
--- /dev/null
+++ b/src/views/modules/communityParty/dyhx/chart.vue
@@ -0,0 +1,163 @@
+
+
+
+
+
+
+
diff --git a/src/views/modules/communityParty/dyhx/party.vue b/src/views/modules/communityParty/dyhx/party.vue
index 93ed4b792..90e9eb8a5 100644
--- a/src/views/modules/communityParty/dyhx/party.vue
+++ b/src/views/modules/communityParty/dyhx/party.vue
@@ -1,1184 +1,1006 @@
-
-
-
-
-
-
党员年龄统计
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
-
-
-
{{item.value}}
-
{{ item.radio }}
-
-
-
-
-
-
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查看
-
-
-
-
-
-
-
-
-
-
-
-
党员学历统计
-
-
- 导出
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 查看
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
-