diff --git a/src/assets/scss/pages/resiInfo.scss b/src/assets/scss/pages/resiInfo.scss
index ea519de3d..1262f0e2f 100644
--- a/src/assets/scss/pages/resiInfo.scss
+++ b/src/assets/scss/pages/resiInfo.scss
@@ -58,10 +58,17 @@
padding-left: 16px;
cursor: pointer;
line-height: 38px;
+ .full{
+ color: #0056d6;
+ }
+ .incomplete{
+ color: #ff5107;
+ }
}
+
.active{
background: #F7FAFF;
- color: #0056D6;
+ color: #0056D6 !important;
position: relative;
&::after{
content: '';
@@ -99,10 +106,12 @@
.f-label {
width: 100px;
text-align: right;
+ color: rgba(51, 51, 51, .85) ;
>b{
font-weight: 400;
position: relative;
- color:#ff5107;
+ color: rgba(51, 51, 51, .85) ;
+
&::after{
content: '*';
position: absolute;
@@ -124,12 +133,7 @@
}
}
}
-.full{
- color: #0056d6;
-}
-.incomplete{
- color: #ff5107;
-}
+
::v-deep .el-button--text{
padding: 0;
}
diff --git a/src/views/components/addResi.vue b/src/views/components/addResi.vue
index 049f942d1..fc105c67a 100644
--- a/src/views/components/addResi.vue
+++ b/src/views/components/addResi.vue
@@ -606,8 +606,8 @@ export default {
children: [
{
label: "所患大病",
- itemType: "select1",
- formName: "illnessCode",
+ itemType: "checkbox",
+ formName: "illnessCodes",
opctionUrl: 'sys/dict/data/dictlist',
opctionParams: { dictType: 'illness_code' },
opction: []
@@ -619,7 +619,7 @@ export default {
{
label: "所患慢病",
itemType: "checkbox",
- formName: "chronicDiseaseCode",
+ formName: "chronicDiseaseCodes",
opctionUrl: 'sys/dict/data/dictlist',
opctionParams: { dictType: 'chronic_disease_code' },
opction: []
diff --git a/src/views/components/resiExpand/index.vue b/src/views/components/resiExpand/index.vue
index 8dae3f639..ca51e964d 100644
--- a/src/views/components/resiExpand/index.vue
+++ b/src/views/components/resiExpand/index.vue
@@ -115,11 +115,11 @@ export default {
},
// 大病信息
seriousIllnessDto: {
- illnessCode: null
+ illnessCodes: []
},
// 慢病信息
chronicDiseaseDto: {
- chronicDiseaseCode: []
+ chronicDiseaseCodes: []
},
// 死亡信息
deathDto: {
@@ -147,9 +147,10 @@ export default {
employmentSituation: null,
pubWelfareJobFlag: null
},
+
// 保障房人员
ensureHouseDto: {
- community: null,
+ liveCommunity: null,
housingNature: null
},
// 统战人员
diff --git a/src/views/components/resiForm.vue b/src/views/components/resiForm.vue
index 6ccdc07e5..2e9b89933 100644
--- a/src/views/components/resiForm.vue
+++ b/src/views/components/resiForm.vue
@@ -1042,7 +1042,7 @@ export default {
},
{
label: "通知书领取日期",
- itemType: "datepicker1",//我在父组件中调用子组件,当我在父组件切换到其他子组件时,子组件的值会丢失,需要保存起来
+ itemType: "datepicker1",
formName: "notificationRcvDate",
opction: []
},
diff --git a/src/views/modules/base/resi.vue b/src/views/modules/base/resi.vue
index 3b6929ffd..962821f43 100644
--- a/src/views/modules/base/resi.vue
+++ b/src/views/modules/base/resi.vue
@@ -70,7 +70,8 @@
{{ handleFilterSpan(scope.row, item) }}
- {{ scope.row.gender == null ? '--' : scope.row.gender == 1 ? '男' : scope.row.gender == 2 ? '女' : '--' }}
+ {{ scope.row.gender == null ? '--' : scope.row.gender == 1 ? '男' : scope.row.gender == 2 ? '女' :
+ '--' }}
{{
@@ -240,7 +241,7 @@
编辑
+ @click="handelCLickShowCheckPassword(scope.row)" size="small" type="text">编辑
@@ -331,6 +332,17 @@
width="620px" top="5vh" class="dialog-h" @closed="diaClose">
+
+
+
+
+
+
+
+
@@ -379,6 +391,16 @@ export default {
isIndeterminate: false,
dialogEditVisible: false,
dialogVisible: false,
+ showCheckPassword: false,
+ checkPasswordFrom: {
+ password: ''
+ },
+ checkPasswordRulse: {
+ password: [
+ { required: true, message: '请输入密码', trigger: 'blur' },
+ { min: 6, max: 18, message: '长度在 6 到 18 个字符', trigger: 'blur' }
+ ]
+ },
formType: 'add',
// 显示人员详情
dialogVisible2: false,
@@ -875,30 +897,71 @@ export default {
return item;
});
},
-
- // 编辑
- async handleEdit(row) {
+ handelCLickShowCheckPassword(row) {
this.editUserId = row.resiId;
- this.formName = "编辑居民";
- this.formType = 'edit'
- this.dialogVisible = true;
- await this.residentBaseInfo();
+ this.showCheckPassword = true;
},
- // 获取详情
- residentBaseInfo() {
- this.$http
- .post(`/actual/base/residentBaseInfo/detail/clear/${this.editUserId}`)
- .then(({ data: res }) => {
- if (res.code !== 0) {
- return this.$message.error(res.msg);
+ handelClickCheckPassword() {
+ this.$refs.checkPasswordFrom.validate(async vali => {
+ if (vali) {
+ const url = `/actual/base/residentBaseInfo/getResiUserInfo/${this.checkPasswordFrom.password}`;
+ let parm = {
+ password
+ }
+ const { data, code, msg } = await requestPost(url, parm);
+ if (code === 0) {
+ this.formName = "编辑居民";
+ this.formType = 'edit'
+ this.dialogVisible = true;
+ this.$refs.baseForm.old_from(data);
+ this.showCheckPassword = false
} else {
- this.$refs.baseForm.old_from(res.data);
+ this.$message.error(msg);
}
- })
- .catch((err) => {
- return this.$message.error("网络错误");
- });
+ } else {
+ return false
+ }
+ })
},
+ // async handleSaveTuomin(password) {
+ // const url = `/actual/base/residentBaseInfo/getResiUserInfo/${this.editUserId}`;
+ // let parm = {
+ // password
+ // }
+ // const { data, code, msg } = await requestPost(url, parm);
+ // if (code === 0) {
+ // this.formName = "编辑居民";
+ // this.formType = 'edit'
+ // this.dialogVisible = true;
+ // this.$refs.baseForm.old_from(data);
+ // this.showCheckPassword = false
+ // } else {
+ // this.$message.error(msg);
+ // }
+ // },
+ // 编辑
+ // async handleEdit(row) {
+ // this.editUserId = row.resiId;
+ // this.formName = "编辑居民";
+ // this.formType = 'edit'
+ // this.dialogVisible = true;
+ // await this.residentBaseInfo();
+ // },
+ // 获取详情
+ // residentBaseInfo() {
+ // this.$http
+ // .post(`/actual/base/residentBaseInfo/detail/clear/${this.editUserId}`)
+ // .then(({ data: res }) => {
+ // if (res.code !== 0) {
+ // return this.$message.error(res.msg);
+ // } else {
+ // this.$refs.baseForm.old_from(res.data);
+ // }
+ // })
+ // .catch((err) => {
+ // return this.$message.error("网络错误");
+ // });
+ // },
handlerReset() {
this.$refs.baseForm.resetForm();
},
diff --git a/src/views/modules/communityParty/elegant/detail.vue b/src/views/modules/communityParty/elegant/detail.vue
index 084305fd4..bd75108a6 100644
--- a/src/views/modules/communityParty/elegant/detail.vue
+++ b/src/views/modules/communityParty/elegant/detail.vue
@@ -72,7 +72,6 @@ export default {
watch: {},
async mounted () {
- console.log('mounted-----我执行了')
},
diff --git a/src/views/modules/portrayal/jumin/cpts/graph.vue b/src/views/modules/portrayal/jumin/cpts/graph.vue
index b885fc660..2811b39f8 100644
--- a/src/views/modules/portrayal/jumin/cpts/graph.vue
+++ b/src/views/modules/portrayal/jumin/cpts/graph.vue
@@ -52,7 +52,6 @@ export default {
watch: {
userInfo: {
handler(newVal, oldVal) {
- console.log(newVal.resiId);
this.getFamilyRelationshipList()
},
deep: true
@@ -73,9 +72,9 @@ export default {
let familyList = data.map((item, index) => ({
'id': `N${index + 1}`,
'text': item.name,
- 'innerHTML': `${item.name.length === 2 ?
+ 'innerHTML': `
${item.type == 1?`${item.name}`:item.name.length === 2 ?
item.name.substring(0, 1) + '*' :
- item.name.substring(0, 1) + '*' + item.name.substring(2)} (${item.age})岁
`
+ item.name.substring(0, 1) + '*' + item.name.substring(2)} ${item.age?`(${item.age})岁`:''}
`
}))
let lineList = data.map((item, index) => ({
'from': 'N1',
diff --git a/src/views/modules/portrayal/jumin/cpts/staffTag.vue b/src/views/modules/portrayal/jumin/cpts/staffTag.vue
index 44b7ac4da..cff08638a 100644
--- a/src/views/modules/portrayal/jumin/cpts/staffTag.vue
+++ b/src/views/modules/portrayal/jumin/cpts/staffTag.vue
@@ -17,8 +17,9 @@
- {{ item.label
+ {{ item.label
}}
@@ -45,7 +46,7 @@ export default {
type: 'radio',
option: [
{ label: '群众', value: 0 },
- { label: '党员', value: 1},
+ { label: '党员', value: 1 },
{ label: '共青团员', value: 2 },
]
},
@@ -197,24 +198,21 @@ export default {
},
methods: {
updatedForm() {
- if (!this.userInfo.categoryInfo) return;
+ console.log(this.userInfo.baseInfoDto.categoryInfo);
+ if (!this.userInfo.baseInfoDto.categoryInfo) return;
const updateValue = (flag, dataIndex) => {
const { tableData } = this.formData;
const valueArray = tableData[dataIndex].value;
-
- if (this.userInfo.categoryInfo[flag] === 1) {
+ if (this.userInfo.baseInfoDto.categoryInfo[flag] === 1) {
valueArray.push(flag);
} else {
this.formData.tableData[dataIndex].value = valueArray.filter(item => item !== flag);
}
};
-
- // 更新 partyFlag
- if (this.userInfo.categoryInfo.partyFlag === 1) {
- this.formData.tableData[0].value = '2';
- } else if (this.userInfo.categoryInfo.partyFlag === 0) {
- this.formData.tableData[0].value = '1';
+ if(this.userInfo.baseInfoDto.categoryInfo.specialCrowdFlag == 1){
+ this.formData.tableData[3].value.push(...this.userInfo.specialDto.specialCategoryCodes);
}
+ this.formData.tableData[0].value = this.userInfo.baseInfoDto.categoryInfo.partyFlag;
//添加回填需要在这里加上key与对应的index(在formData.tableData中对应的下标)
updateValue('disabilityFlag', 1);
updateValue('seriousIllnessFlag', 1);
@@ -233,9 +231,9 @@ export default {
updateValue('publicWelfareFlag', 4);
},
handeleClickRadio(val) {
- this.$emit('showDialog', {value:val === '1'?'parymemberInfoDto':val},val === '1')
+ this.$emit('showDialog', { value: val === '1' ? 'parymemberInfoDto' : val }, val === '1')
},
- handeleClickchckbox(item, event,index) {
+ handeleClickchckbox(item, event, index) {
item.index = index
this.$emit('showDialog', item, event)
}
@@ -245,9 +243,18 @@ export default {
watch: {
userInfo: {
handler(newVal, oldVal) {
+ this.formData.tableData.forEach((item, index) =>{
+ if(index!=0){
+ item.value = []
+ }else{
+ item.value = ''
+ }
+ })
this.updatedForm()
},
- deep: true
+ deep: true,
+ immediate: true
+
}
},
}
diff --git a/src/views/modules/portrayal/jumin/index.vue b/src/views/modules/portrayal/jumin/index.vue
index 2fd3f892a..36bc8659e 100644
--- a/src/views/modules/portrayal/jumin/index.vue
+++ b/src/views/modules/portrayal/jumin/index.vue
@@ -9,16 +9,17 @@
@@ -118,14 +119,14 @@
备注:
- {{ resiDetailObj.baseInfoDt && resiDetailObj.baseInfoDto.remark ? resiDetailObj.baseInfoDto.remark :
+ {{ resiDetailObj.baseInfoDto.remark ? resiDetailObj.baseInfoDto.remark :
"--" }}
创建日期:
- {{ resiDetailObj.baseInfoDt && resiDetailObj.baseInfoDto.createdTime ?
+ {{ resiDetailObj.baseInfoDto.createdTime ?
resiDetailObj.baseInfoDto.createdTime : "--" }}
@@ -134,46 +135,59 @@
更新时间:
- {{ resiDetailObj.baseInfoDt && resiDetailObj.baseInfoDto.updatedTime ?
+ {{ resiDetailObj.baseInfoDto.updatedTime ?
resiDetailObj.baseInfoDto.updatedTime : "--" }}
居住信息
-
-
-
-
-
-
-
-
-
- 户籍所在地:
-
- --
-
-
-
- 与户主关系:
- --
-
-
+
+
+
+
+
所属网格:
+
+ {{ item.gridName || '--' }}
+
+
+
+
+
+
所属房屋:
+
+ {{ item.gridName + '-' + item.homeName || '--' }}
+
+
+
+
+
+
+
+
人房关系:
+
+ {{ item.resiHouseRel != null ? item.resiHouseRel === 0 ? '自住' : item.resiHouseRel ===
+ 1 ? '租住' : '--' : '--' }}
+
+
+
+
+
+
人户状况:
+
{{ householdSituationText(indexK) }}
+
+
+
+ 户籍所在地:
+
+ {{ item.placeOfDomicile || '--' }}
+
+
+
+ 与户主关系:
+ {{ houseHolderRelText(indexK) }}
+
+
+
拓展信息
@@ -205,7 +219,7 @@
- 工作单位:
+ 工作单位:
{{
resiDetailObj.workInfoDto
? resiDetailObj.workInfoDto.workUnit
@@ -255,10 +269,22 @@
关系图谱
-
+
人员标签
-
+
+
+ {{ sectionItem.title }}
+
+
+
+
{{ item.label }}:
+
{{ item.value ? item.value : "--" }}
+
+
+
+
+
业务记录
更新记录
@@ -267,7 +293,7 @@
-
+