diff --git a/src/assets/scss/modules/visual/incident-info.scss b/src/assets/scss/modules/visual/incident-info.scss index 1ca5a43ac..ed3aacad8 100644 --- a/src/assets/scss/modules/visual/incident-info.scss +++ b/src/assets/scss/modules/visual/incident-info.scss @@ -103,17 +103,7 @@ .info-content { margin: 20px 0; } - .info-pics { - display: flex; - margin: 20px 0; - img { - display: block; - width: 32%; - height: 90px; - margin-right: 9px; - object-fit: cover; - } - } + .info-prop { position: relative; @@ -144,6 +134,18 @@ border-radius: 3px; margin-right: 10px; } + + .info-pics { + display: flex; + margin: 20px 0; + img { + display: block; + width: 32%; + height: 90px; + margin-right: 9px; + object-fit: cover; + } + } } } diff --git a/src/views/components/resiForm.vue b/src/views/components/resiForm.vue index 7246d608c..db3d6ac9f 100644 --- a/src/views/components/resiForm.vue +++ b/src/views/components/resiForm.vue @@ -198,6 +198,7 @@ v-else-if="n.itemType === 'cascader'" v-model.trim="form[n.columnName]" :options="n.options" + :props="{ emitPath: false }" clearable size="small" class="resi-cell-select"> @@ -295,8 +296,11 @@ export default { } let initForm = (obj, arr) => { let _form = {} - console.log('formInfo---arr', arr) + console.log('formInfo---obj', obj) if (Object.keys(obj).length > 0) { + for(const n in obj) { + if (obj[n] == null) obj[n] = '' + } _form = { ...obj } return _form } @@ -354,6 +358,8 @@ export default { } return { openSearch: false, + isParty: false, + partyInfo: [], fixedForm: { GRID_ID: '', VILLAGE_ID: '', @@ -532,7 +538,10 @@ export default { // console.log('columnName', item.columnName, columnName) if (item.columnName === columnName && item.itemType === 'radio' && item.childGroup) { console.log('columnName', item.columnName, columnName) - this.$emit('changegroup', { value, childGroup: item.childGroup }) + if (this.isParty) { + this.$emit('changegroup', { value, partyInfo: this.partyInfo, childGroup: item.childGroup }) + } else this.$emit('changegroup', { value, childGroup: item.childGroup }) + } }) }, @@ -671,7 +680,7 @@ export default { if (this.supportAdd) newForm = this.handlerMuscForm() return newForm }, - validateIdcard (idCard) { + validateIdcard (idCard, type) { this.$http .post('/epmetuser/icresiuser/getUserRoleByIdCard', { idCard }) .then(({ data: res }) => { @@ -679,8 +688,23 @@ export default { return this.$message.error(res.msg) } else { console.log('获取查询详情成功', res.data) + if (res.data.isVolunteer == '1') this.form.IS_VOLUNTEER = '1' else this.form.IS_VOLUNTEER = '0' + + if (res.data.isPartyMember == '1') { + this.form.IS_PARTY = '1' + this.isParty = true + this.partyInfo = res.data.detail.ic_party_member + } else this.form.IS_PARTY = '0' + + // if (type == 'vol') { + // this.isParty = false + + // } else if (res.data.isPartyMember == '1' && val == 'party') { + // this.isParty = true + // } + } }) .catch(() => { diff --git a/src/views/modules/base/community/community.vue b/src/views/modules/base/community/community.vue index 76138cba9..c19f811cf 100644 --- a/src/views/modules/base/community/community.vue +++ b/src/views/modules/base/community/community.vue @@ -539,6 +539,7 @@ export default { } + - - - diff --git a/src/views/modules/shequzhili/event copy/cpts/event-detail.vue b/src/views/modules/shequzhili/event copy/cpts/event-detail.vue deleted file mode 100644 index c24ccba68..000000000 --- a/src/views/modules/shequzhili/event copy/cpts/event-detail.vue +++ /dev/null @@ -1,350 +0,0 @@ - - - - - diff --git a/src/views/modules/shequzhili/event copy/cpts/event-info.vue b/src/views/modules/shequzhili/event copy/cpts/event-info.vue deleted file mode 100644 index 79a35d6ac..000000000 --- a/src/views/modules/shequzhili/event copy/cpts/event-info.vue +++ /dev/null @@ -1,624 +0,0 @@ - - - - - diff --git a/src/views/modules/shequzhili/event copy/cpts/process-form-demand.vue b/src/views/modules/shequzhili/event copy/cpts/process-form-demand.vue deleted file mode 100644 index 3f0f07281..000000000 --- a/src/views/modules/shequzhili/event copy/cpts/process-form-demand.vue +++ /dev/null @@ -1,665 +0,0 @@ - - - - - - - - - - diff --git a/src/views/modules/shequzhili/event copy/cpts/process-form-project.vue b/src/views/modules/shequzhili/event copy/cpts/process-form-project.vue deleted file mode 100644 index 58e96624d..000000000 --- a/src/views/modules/shequzhili/event copy/cpts/process-form-project.vue +++ /dev/null @@ -1,603 +0,0 @@ - - - - - - - - - - diff --git a/src/views/modules/shequzhili/event copy/cpts/process-form-replay.vue b/src/views/modules/shequzhili/event copy/cpts/process-form-replay.vue deleted file mode 100644 index 461aeb07f..000000000 --- a/src/views/modules/shequzhili/event copy/cpts/process-form-replay.vue +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - - - - diff --git a/src/views/modules/shequzhili/event copy/cpts/process-form.vue b/src/views/modules/shequzhili/event copy/cpts/process-form.vue deleted file mode 100644 index 754af4c7f..000000000 --- a/src/views/modules/shequzhili/event copy/cpts/process-form.vue +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - - - - - diff --git a/src/views/modules/shequzhili/event copy/eventList.vue b/src/views/modules/shequzhili/event copy/eventList.vue deleted file mode 100644 index 6f0556bed..000000000 --- a/src/views/modules/shequzhili/event copy/eventList.vue +++ /dev/null @@ -1,663 +0,0 @@ - - - - - diff --git a/src/views/modules/shequzhili/event/cpts/event-detail.vue b/src/views/modules/shequzhili/event/cpts/event-detail.vue index 13709ebd5..2158a7bdf 100644 --- a/src/views/modules/shequzhili/event/cpts/event-detail.vue +++ b/src/views/modules/shequzhili/event/cpts/event-detail.vue @@ -31,9 +31,9 @@ class="info-prop"> 语音: diff --git a/src/views/modules/shequzhili/event/eventList.vue b/src/views/modules/shequzhili/event/eventList.vue index 2664af1d8..fd1f74c04 100644 --- a/src/views/modules/shequzhili/event/eventList.vue +++ b/src/views/modules/shequzhili/event/eventList.vue @@ -169,7 +169,7 @@ width="80" label="音频">