diff --git a/.env.development b/.env.development
index 30e67c27b..0fde813fa 100644
--- a/.env.development
+++ b/.env.development
@@ -1,9 +1,9 @@
NODE_ENV=development
# VUE_APP_API_SERVER = https://epmet-preview.elinkservice.cn/api
-# VUE_APP_API_SERVER = http://localhost:8080/api
+# VUE_APP_API_SERVER = http://192.168.1.60:8080/api
VUE_APP_API_SERVER = http://219.146.91.110:30801/api
-# VUE_APP_API_SERVER = http://219.146.91.110:30801/api
+# VUE_APP_API_SERVER = http://219.146.91.110:30801/api219.146.91.110:30801
# VUE_APP_API_SERVER = https://epmet-yantai.elinkservice.cn/api
# VUE_APP_API_SERVER = https://epmet-test.elinkservice.cn/api
# VUE_APP_API_SERVER = https://epmet-cloud.elinkservice.cn/api
diff --git a/.env.production.sit b/.env.production.sit
index 2191f2dde..5c4611a9a 100644
--- a/.env.production.sit
+++ b/.env.production.sit
@@ -1,7 +1,7 @@
NODE_ENV=production
# VUE_APP_API_SERVER = https://epmet-test.elinkservice.cn/api
-# VUE_APP_API_SERVER = http://192.168.1.140/api
-VUE_APP_API_SERVER = http://219.146.91.110:30801/api
+VUE_APP_API_SERVER = http://192.168.1.140/api
+# VUE_APP_API_SERVER = http://192.168.1.60:8080/api
VUE_APP_BIPASS_API_SERVER = http://dcommunity-dev.elinkservice.cn:30801/linkdata/linkdata-gateway/route
VUE_APP_NODE_ENV=prod:sit
VUE_APP_PUBLIC_PATH=epmet-oper
diff --git a/README.md b/README.md
index 9c118b8ac..cf2224fa6 100644
--- a/README.md
+++ b/README.md
@@ -19,3 +19,5 @@ npm run build
```
npm run lint
```
+
+export NODE_OPTIONS=--max-old-space-size=4096
\ No newline at end of file
diff --git a/src/router/index.js b/src/router/index.js
index 4de359e98..a4c73427a 100644
--- a/src/router/index.js
+++ b/src/router/index.js
@@ -118,6 +118,16 @@ export const moduleRoutes = {
title: "",
},
},
+ {
+ path: "house-huaxiang",
+ props: true,
+ name: "house-huaxiang",
+ component: () => import("@/views/modules/portrayal/house/index"),
+ meta: {
+ isTab: true,
+ title: "",
+ },
+ },
{
path: "fangwu-huaxiang",
props: true,
@@ -932,6 +942,10 @@ router.beforeEach((to, from, next) => {
to.meta.title = store.state.huaXiang.userInfo.name
return next();
}
+ if (to.name === 'house-huaxiang') {
+ to.meta.title = store.state.huaXiang.houseInfo.houseName
+ return next();
+ }
if (to.name === 'fangwu-huaxiang') {
to.meta.title = store.state.huaXiang.houseInfo.doorName
return next();
diff --git a/src/views/components/addResi.vue b/src/views/components/addResi.vue
index 8ef63d166..9e9e819a9 100644
--- a/src/views/components/addResi.vue
+++ b/src/views/components/addResi.vue
@@ -497,13 +497,13 @@ export default {
{
agencyName: this.$store.state.user.agencyName,
agencyId: this.$store.state.user.agencyId,
- gridId: null,//所属网格id
- villageId: null,//小区id
- buildId: null,//楼栋id
- unitId: null,//单元id
+ gridId: this.$route.params.gridId,//所属网格id
+ villageId: this.$route.params.villageId,//小区id
+ buildId: this.$route.params.buildId,//楼栋id
+ unitId: this.$route.params.unitId,//单元id
moveOutFlag: null,
outOfTime: null,//迁出时间
- homeId: null, //房屋id
+ homeId: this.$route.params.homeId, //房屋id
placeOfDomicile: null,//户籍所在地
currentResidence: null,//现居住地
householdSituation: null,//人户状况
@@ -985,8 +985,22 @@ export default {
created() {
this.getDicts()
this.getOrgTreeList()
+
+ this.initHouseBind();
+
},
methods: {
+ // 从房屋画像进行添加居民时绑定房屋信息
+ initHouseBind(){
+ for (let i in this.form.resideInfoDtos) {
+ this.getValiheList(i);
+ this.getBuildList(i);
+ this.getHouseList(i);
+ this.getUniList(i);
+ this.form.resideInfoDtos[i].orgOptions = []
+ this.getOrgTreeList(this.form.resideInfoDtos[i].agencyId,i);
+ }
+ },
async getDicts() {
try {
const requests = [
@@ -1185,8 +1199,6 @@ export default {
},
handleValidBlur() {
if (this.form.baseInfoDto.idType != 1) return
- this.getResidentInfoByIdNum()
-
if (!isCard(this.form.baseInfoDto.idNum) && !isPassport(this.form.baseInfoDto.idNum)) return
const { user } = this.$store.state
let huji = '', i = 0
@@ -1208,36 +1220,6 @@ export default {
}
},
- async getResidentInfoByIdNum(){
- try {
- let url = '/actual/base/residentBaseInfo/getResidentInfoByIdNum'
- let parm = {
- idType: this.form.baseInfoDto.idType,
- idNum: this.form.baseInfoDto.idNum
- }
- let { code, data, msg } = await requestGet(url,parm)
- if (code == 0 && data != null) {
- this.$confirm(`该居民已存在于“${data.name}”是否继续填写`, {
- confirmButtonText: '前往修改',
- cancelButtonText: '继续填写',
- type: 'warning'
- }).then(() => {
- this.$router.push({ name: 'edit-resi', query: { id: data.id }, params: { idNum: data.idNum, mobile: data.mobile } });
-
- }).catch(() => {
-
- });
-
- } else if (code >= 8000) {
- this.$message.error(msg);
- this.btnLoading = false;
- }
- }
- catch (error) {
- // this.$message.error(msg);
- console.log(msg);
- }
- },
handleLocalRadio(e) {
if (e.target.type === 'radio') return
this.form.baseInfoDto.localResidenceFlag = this.form.baseInfoDto.localResidenceFlag === 0 ? 1 : 0;
@@ -1302,7 +1284,6 @@ export default {
})
},
async submitForm(house) {
- this.btnLoading = true;
try {
let url = '/actual/base/residentBaseInfo/save'
let parm = {
@@ -1320,16 +1301,14 @@ export default {
this.$refs['addForm'].resetFields();
this.form.resideInfoDtos = homeArr
}
- this.btnLoading = false;
-
} else if (code >= 8000) {
this.$message.error(msg);
- this.btnLoading = false;
}
}
catch (error) {
this.$message.error(msg);
}
+
},
showDialog({ index, value }, event) {
if (value == 1) {
diff --git a/src/views/components/resiSearch.vue b/src/views/components/resiSearch.vue
index 4c34bde1a..0667b7215 100644
--- a/src/views/components/resiSearch.vue
+++ b/src/views/components/resiSearch.vue
@@ -56,11 +56,11 @@
-
至
-
@@ -723,8 +723,6 @@ export default {
// },
handleAgeChange() {
- console.log(11 > 5);
- console.log(11 > 10);
if (this.form.ageStart) {
if (this.form.ageStart > this.form.ageEnd) {
this.$message.warning('结束年龄不能小于开始年龄')
diff --git a/src/views/modules/base/community/roomTable.vue b/src/views/modules/base/community/roomTable.vue
index 26cb23de9..f1e376faf 100644
--- a/src/views/modules/base/community/roomTable.vue
+++ b/src/views/modules/base/community/roomTable.vue
@@ -602,12 +602,16 @@ export default {
},
handleDetail (row) {
- this.detailShow = true;
-
- // const _data = await this.detail(row)
- this.$nextTick(() => {
- this.$refs.ref_form_detail.initForm(row, this.agencyObj);
- });
+ this.lookResiId = row.resiId;
+ let { agencyId, gridId, gridName, houseId, houseName} = row
+ this.$store.dispatch('saveDataH', { agencyId, gridId, gridName, houseId, houseName});
+ this.$router.push({ name: 'house-huaxiang' });
+ this.$store.state.contentTabs = this.$store.state.contentTabs.map(item => {
+ if (item.name === "house-huaxiang") {
+ return { ...item, title: name };
+ }
+ return item;
+ });
},
detailFormCancle () {
diff --git a/src/views/modules/portrayal/house/cpts/businessRecord.vue b/src/views/modules/portrayal/house/cpts/businessRecord.vue
new file mode 100644
index 000000000..2371a5980
--- /dev/null
+++ b/src/views/modules/portrayal/house/cpts/businessRecord.vue
@@ -0,0 +1,298 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/portrayal/house/cpts/details/fwdetail.vue b/src/views/modules/portrayal/house/cpts/details/fwdetail.vue
new file mode 100644
index 000000000..7a7a7caf1
--- /dev/null
+++ b/src/views/modules/portrayal/house/cpts/details/fwdetail.vue
@@ -0,0 +1,206 @@
+
+
+
+
+
+
+
+ 所属组织:
+ {{ formData.principalName || '--' }}
+
+
+ 服务类型:
+ {{
+ formData.customerId && getFwType(formData.customerId)
+ }}
+
+
+ 服务事项:
+ {{ formData.serviceName || '--' }}
+
+
+ 服务时间:
+ {{ formData.serviceTimeStart || '--' }} ~
+ {{ formData.serviceTimeEnd || '--' }}
+
+
+ 服务内容:
+ {{ formData.remark || '--' }}
+
+
+ 经办人:
+ {{ formData.principalName || '--' }}
+
+
+ 联系电话:
+ {{ $sensitive(formData.principalContact, 3, 7) }}
+
+
+ 服务组织:
+ {{ formData.principalName || '--' }}
+
+
+ 政策依据:
+ {{ formData.policyTitle || '--' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/portrayal/house/cpts/details/shengdetail.vue b/src/views/modules/portrayal/house/cpts/details/shengdetail.vue
new file mode 100644
index 000000000..e8835661e
--- /dev/null
+++ b/src/views/modules/portrayal/house/cpts/details/shengdetail.vue
@@ -0,0 +1,189 @@
+
+
+
+
+
+
+
+ 所属组织:
+ {{ item.agencyName || '--' }}
+
+
+ 不满意事项来源:
+ 省满意度调查
+
+
+ 不满意事项类型:
+ {{ item.scopeId && getSxType(item.scopeId) }}
+
+
+ 所属月份:
+ {{
+ item.createdTime && getMonthData(item.createdTime)
+ }}
+
+
+
不满意事项描述:
+
{{ item.problemDesc || '--' }}
+
+
+ 提交人姓名:
+ {{ item.name || '--' }}
+
+
+ 提交人电话:
+ {{ $sensitive(item.mobile, 3, 7) }}
+
+
+ 完成时限:
+ {{ item.completeTime || '--' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/portrayal/house/cpts/details/sjdetail.vue b/src/views/modules/portrayal/house/cpts/details/sjdetail.vue
new file mode 100644
index 000000000..84c3084b7
--- /dev/null
+++ b/src/views/modules/portrayal/house/cpts/details/sjdetail.vue
@@ -0,0 +1,306 @@
+
+
+
+
+
+
+
+
+ 所属组织:
+ {{ item.gridName || '--' }}
+
+
+ 上报渠道:
+ {{ item.sourceTypeName || '--' }}
+
+
+ 事件类型:
+ {{ item.categoryName || '--' }}
+
+
+ 接受时间:
+ {{ item.happenTime || '--' }}
+
+
+
+
问题描述:
+
{{ item.eventContent || '--' }}
+
+
+
+ 联系人:
+ {{ item.name || '--' }}
+
+
+ 联系电话:
+ {{ item.mobile || '--' }}
+
+
+ 详细地址:
+ {{ item.address || '--' }}
+
+
+ 办结时限:
+ {{ item.latestOperatedTime || '--' }}
+
+
+ 满意度评价:
+ {{ item.satisfactionName || '--' }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 指派
+
+
+ 完成并回复
+
+
+ {{ item.processName || '--' }}
+
+
+ {{
+ item.processTime ? getTrueTime(item.processTime) : ""
+ }}
+
+
+
+
+
+
指派人:
+
+ {{ item.departmentName || '--' }}
+
+
+
+
指派部门:
+
+ {{ item.agencyName || '--' }}
+
+
+
+
转办意见:
+
+ {{ item.publicReply || '--' }}
+
+
+
+
办结时限:
+
+ {{ item.timeLimit || '--' }}
+
+
+
+
+
+
回复人:
+
+ {{ item.departmentName || '--' }}
+
+
+
+
回复内容:
+
+ {{ item.publicReply || '--' }}
+
+
+
+
办结时限:
+
+ {{ getTrueTime(item.timeLimit) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/portrayal/house/cpts/details/sqdetail.vue b/src/views/modules/portrayal/house/cpts/details/sqdetail.vue
new file mode 100644
index 000000000..b718abe25
--- /dev/null
+++ b/src/views/modules/portrayal/house/cpts/details/sqdetail.vue
@@ -0,0 +1,283 @@
+
+
+
+
+
+
+
+
+
+
+
+ 不满意事项来源:
+ 社区意度自查
+
+
+ 不满意事项类型:
+ {{ getSxType(item) }}
+
+
+
+
不满意事项描述:
+
{{ getSxReason(item) }}
+
+
+ 提交人姓名:
+ {{ item.reporterName || '--' }}
+
+
+ 提交人电话:
+ {{ $sensitive(item.reporterMobile, 3, 7) }}
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/portrayal/house/cpts/details/xqdetail.vue b/src/views/modules/portrayal/house/cpts/details/xqdetail.vue
new file mode 100644
index 000000000..047666a2d
--- /dev/null
+++ b/src/views/modules/portrayal/house/cpts/details/xqdetail.vue
@@ -0,0 +1,188 @@
+
+
+
+
+
+
+
+
+ 所属组织:
+ {{ item.gridName||'--' }}
+
+
+ 上报渠道:
+ {{ item.reportTypeName||'--' }}
+
+
+ 需求类型:
+ {{ item.categoryName ||'--'}}
+
+
+ 上报时间:
+ {{ item.reportTime||'--' }}
+
+
+
需求描述:
+
{{ item.content ||'--'}}
+
+
+ 需求人姓名:
+ {{ item.demandUserName ||'--'}}
+
+
+ 需求人电话:
+ {{ $sensitive(item.demandUserMobile, 3, 7) }}
+
+
+ 完成时限:
+ {{ item.wantServiceTime||'--' }}
+
+
+ 需求人住址:
+ {{ item.serviceAddress||'--' }}
+
+
+ 上报人:
+ {{ item.reportUserName||'--' }}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/portrayal/house/cpts/graph.vue b/src/views/modules/portrayal/house/cpts/graph.vue
new file mode 100644
index 000000000..18b3de69b
--- /dev/null
+++ b/src/views/modules/portrayal/house/cpts/graph.vue
@@ -0,0 +1,187 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/portrayal/house/cpts/table/changeRecord.vue b/src/views/modules/portrayal/house/cpts/table/changeRecord.vue
new file mode 100644
index 000000000..ff015281c
--- /dev/null
+++ b/src/views/modules/portrayal/house/cpts/table/changeRecord.vue
@@ -0,0 +1,56 @@
+
+
+
+
+
+
+
+
+ {{ handleFilterSpan(scope.row, item) }}
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/portrayal/house/cpts/table/complain.vue b/src/views/modules/portrayal/house/cpts/table/complain.vue
new file mode 100644
index 000000000..cc4b0a755
--- /dev/null
+++ b/src/views/modules/portrayal/house/cpts/table/complain.vue
@@ -0,0 +1,104 @@
+
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/portrayal/house/cpts/table/fuwu.vue b/src/views/modules/portrayal/house/cpts/table/fuwu.vue
new file mode 100644
index 000000000..f076a2c91
--- /dev/null
+++ b/src/views/modules/portrayal/house/cpts/table/fuwu.vue
@@ -0,0 +1,63 @@
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/portrayal/house/cpts/table/sheng.vue b/src/views/modules/portrayal/house/cpts/table/sheng.vue
new file mode 100644
index 000000000..d4d1013cb
--- /dev/null
+++ b/src/views/modules/portrayal/house/cpts/table/sheng.vue
@@ -0,0 +1,60 @@
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/portrayal/house/cpts/table/shequ.vue b/src/views/modules/portrayal/house/cpts/table/shequ.vue
new file mode 100644
index 000000000..4aac5e61d
--- /dev/null
+++ b/src/views/modules/portrayal/house/cpts/table/shequ.vue
@@ -0,0 +1,59 @@
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/portrayal/house/cpts/table/shijian.vue b/src/views/modules/portrayal/house/cpts/table/shijian.vue
new file mode 100644
index 000000000..92294cd37
--- /dev/null
+++ b/src/views/modules/portrayal/house/cpts/table/shijian.vue
@@ -0,0 +1,105 @@
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/portrayal/house/cpts/table/xuqiu.vue b/src/views/modules/portrayal/house/cpts/table/xuqiu.vue
new file mode 100644
index 000000000..9b524c715
--- /dev/null
+++ b/src/views/modules/portrayal/house/cpts/table/xuqiu.vue
@@ -0,0 +1,103 @@
+
+
+
+
+
+
+
+
+
+
+ 查看
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/modules/portrayal/house/index.vue b/src/views/modules/portrayal/house/index.vue
new file mode 100644
index 000000000..98435f874
--- /dev/null
+++ b/src/views/modules/portrayal/house/index.vue
@@ -0,0 +1,346 @@
+
+
+
+
+
房屋信息
+
+
+
+ 房屋编码:
+
+ {{houseDetailObj.houseCode || "--" }}
+
+
+
+ 房屋类型:
+
+ {{houseDetailObj.houseTypeName || "--" }}
+
+
+
+ 房屋用途:
+
+ {{houseDetailObj.purposeName || "--" }}
+
+
+
+ 房屋状态:
+
+ {{houseDetailObj.rentName || "--" }}
+
+
+
+
+
+
+
+ 家庭标签:
+
+ {{houseDetailObj.familyTags || "--" }}
+
+
+
+ 房主姓名:
+
+ {{houseDetailObj.ownerName || "--" }}
+
+
+
+
+ 证件号:
+
+ {{
+ houseDetailObj.ownerIdCard
+ ? houseDetailObj.ownerIdCard
+ : "--"
+ }}
+
+
+
+ {{ showFlagIdCardBtn ? "显示" : "隐藏" }}
+
+
+ 联系电话:
+
+ {{
+ houseDetailObj.ownerPhone
+ ? houseDetailObj.ownerPhone
+ : "--"
+ }}
+
+
+
+ {{ showFlagMobileBtn ? "显示" : "隐藏" }}
+
+
+
+
+
+
+ 备注:
+
+ {{houseDetailObj.remark || "--" }}
+
+
+
+ 创建时间:
+
+ {{houseDetailObj.createdTime || "--" }}
+
+
+
+ 更新时间:
+
+ {{houseDetailObj.updatedTime || "--" }}
+
+
+
+
+
+
关系图谱
+ 新增居民
+
+
+
+
+
业务记录
+
+
更新记录
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/modules/portrayal/jumin/cpts/staffTag.vue b/src/views/modules/portrayal/jumin/cpts/staffTag.vue
index 74fc9c442..a538c9f3e 100644
--- a/src/views/modules/portrayal/jumin/cpts/staffTag.vue
+++ b/src/views/modules/portrayal/jumin/cpts/staffTag.vue
@@ -202,7 +202,7 @@ export default {
if (val === 1) {
this.$emit('showDialog', { value: val }, val === 1)
this.formData.tableData[0].value= 1
- }else{
+ }else if(this.formType != 'add'){
this.$confirm(`确认取消党员标签`, '确认信息', {
confirmButtonText: '确认取消',
cancelButtonText: '暂不取消',
diff --git a/src/views/modules/portrayal/jumin/index.vue b/src/views/modules/portrayal/jumin/index.vue
index e2475a368..d62488fa8 100644
--- a/src/views/modules/portrayal/jumin/index.vue
+++ b/src/views/modules/portrayal/jumin/index.vue
@@ -4,7 +4,7 @@
- {{ resiDetailObj.baseInfoDto.name }}({{ age }}岁)
--
@@ -669,7 +669,6 @@ export default {
active: 0,
menuList: [],
score: null,
- age: null,
nationalityList: [], //国籍字典
marriageArr: [], //婚姻状况字典
@@ -1129,26 +1128,6 @@ export default {
console.log(error);
}
},
- // 计算年龄
- calculateAge(birthdayTimestamp) {
- // 获取当前日期
- const currentDate = new Date();
- // 将生日时间戳转换为日期对象
- const birthdayDate = new Date(birthdayTimestamp);
- // 计算年龄
- let age = currentDate.getFullYear() - birthdayDate.getFullYear();
- // 检查是否已经过了生日
- const currentMonth = currentDate.getMonth();
- const birthMonth = birthdayDate.getMonth();
- if (
- currentMonth < birthMonth ||
- (currentMonth === birthMonth &&
- currentDate.getDate() < birthdayDate.getDate())
- ) {
- age--;
- }
- return age;
- },
async getNationalityList() {
try {
const { data } = await this.$http.post("sys/dict/data/dictlist", {
@@ -1244,10 +1223,6 @@ export default {
);
this.score = res.data.data.integrityData.score;
- const birthdayTimestamp = Date.parse(
- res.data.data.baseInfoDto.birthday
- );
- this.age = this.calculateAge(birthdayTimestamp);
} else if (res.data.code >= 8000) {
this.resiDetailObj = {};
this.$message.error(res.data.msg);
diff --git a/vue.config.js b/vue.config.js
index fa6a9a897..d8dc2c0d7 100644
--- a/vue.config.js
+++ b/vue.config.js
@@ -35,8 +35,8 @@ module.exports = {
target: "http://bipaas.elinkservice.cn", // 我们要代理的真实接口地址
},
"/api": {
- // target: "http://219.146.91.110:30801", // 测试地址
- target: "http://localhost:8080", // 本地地址
+ target: "http://219.146.91.110:30801", // 测试地址
+ // target: "http://192.168.1.60:8080", // 本地地址
// target: "https://epmet-preview.elinkservice.cn", // 演示地址
changeOrigin: true,
pathRewrite: {