diff --git a/project/fengdu/app/AppIntegratingAudit/components/Detail.vue b/project/fengdu/app/AppIntegratingAudit/components/Detail.vue index d5fb1388..67901e44 100644 --- a/project/fengdu/app/AppIntegratingAudit/components/Detail.vue +++ b/project/fengdu/app/AppIntegratingAudit/components/Detail.vue @@ -36,11 +36,24 @@ - +
-
- - + + + +
+ + +
+
+
@@ -65,6 +78,7 @@ + - + + + + + @@ -111,7 +134,9 @@ auditStatus: '' }, eventForm: { - files: [], + files: null, + images: [], + videos: [], content: '', applyIntegral: '' }, @@ -144,15 +169,19 @@ this.eventForm.content = res.data.content this.eventForm.applyIntegral = res.data.applyIntegral } + this.info.images = res.data.files.filter(e => (['jpeg', 'jpg', 'png'].includes(e.postfix.split('.')[1]))) + this.info.videos = res.data.files.filter(e => (['mp4', 'MOV'].includes(e.postfix.split('.')[1]))) } } }) }, showEvent () { - this.eventForm.files = this.info.files + this.eventForm.files = null this.eventForm.content = this.info.content this.eventForm.applyIntegral = this.info.applyIntegral + this.eventForm.images = this.info.images + this.eventForm.videos = this.info.videos this.isShowEvent = true }, @@ -162,11 +191,16 @@ }, onEventConfirm () { + if ((this.eventForm.images.length + this.eventForm.videos.length) > 9) { + return this.$message.error('图片和视频不得超过9个') + } else { + this.eventForm.files = [...this.eventForm.images,...this.eventForm.videos] + } this.$refs.eventForm.validate((valid) => { if (valid) { this.instance.post(`/app/appintegraluserapply/updateByGirdMember`, { ...this.eventForm, - id: this.params.id + id: this.params.id, }).then(res => { if (res.code == 0) { this.$message.success('编辑成功!') @@ -212,8 +246,8 @@ align-items: center; flex-wrap: wrap; .file-item { - width: 240px; - height: 240px; + width: 118px; + height: 118px; margin: 0 20px 20px 0; img, video { diff --git a/project/fengdu/app/AppIntegratingOrder/AppIntegratingOrder.vue b/project/fengdu/app/AppIntegratingOrder/AppIntegratingOrder.vue index 081eb3b5..ffed4121 100644 --- a/project/fengdu/app/AppIntegratingOrder/AppIntegratingOrder.vue +++ b/project/fengdu/app/AppIntegratingOrder/AppIntegratingOrder.vue @@ -1,7 +1,7 @@ diff --git a/project/fengdu/app/AppResidentInfo/components/Detail.vue b/project/fengdu/app/AppResidentInfo/components/Detail.vue index 55285b20..c824b6e3 100644 --- a/project/fengdu/app/AppResidentInfo/components/Detail.vue +++ b/project/fengdu/app/AppResidentInfo/components/Detail.vue @@ -24,13 +24,13 @@ - + diff --git a/project/fengdu/app/AppResidentInfo/components/List.vue b/project/fengdu/app/AppResidentInfo/components/List.vue index edcdd560..512d95de 100644 --- a/project/fengdu/app/AppResidentInfo/components/List.vue +++ b/project/fengdu/app/AppResidentInfo/components/List.vue @@ -24,12 +24,12 @@ @@ -69,7 +69,7 @@ current: 1, size: 10, total: 0, - title: '', + name: '', areaId: '' }, tableData: [] @@ -80,9 +80,12 @@ colConfigs() { return [ { label: "姓名", prop: "name", align: "left" }, - { label: "性别", prop: "sex", dict: 'sex', align: "center" }, - { prop: 'idNumber', label: '身份证号', align: 'center', format: v => v.substring(0, 10) + '****' + v.substring(14, 18) }, - { label: "年龄", prop: "age", align: "center"}, + // { label: "性别", prop: "sex", dict: 'sex', align: "center" }, + { prop: 'idNumber', label: '身份证号', align: 'center'}, + // format: v => v.substring(0, 10) + '****' + v.substring(14, 18) + // { label: "年龄", prop: "age", align: "center"}, + { label: "现住址", prop: "currentAreaName", align: "center" }, + { label: "网格", prop: "girdName", align: "center" }, { label: "民族", prop: "nation", align: "center", dict: "nation" }, { label: "文化程度", prop: "education", align: "center", dict: "education" }, { label: "政治面貌", prop: "politicsStatus", align: "center", dict: "politicsStatus" }, diff --git a/project/fengdu/app/AppResidentIntegrating/components/Detail.vue b/project/fengdu/app/AppResidentIntegrating/components/Detail.vue index 0afde2c5..3736ece9 100644 --- a/project/fengdu/app/AppResidentIntegrating/components/Detail.vue +++ b/project/fengdu/app/AppResidentIntegrating/components/Detail.vue @@ -5,16 +5,22 @@