diff --git a/src/project/police/AppMessageNotification/AppMessageNotification.vue b/src/project/police/AppMessageNotification/AppMessageNotification.vue index 19d35faa..d58a30e8 100644 --- a/src/project/police/AppMessageNotification/AppMessageNotification.vue +++ b/src/project/police/AppMessageNotification/AppMessageNotification.vue @@ -48,7 +48,15 @@

图片

- + +
+
+

视频

+ +
+
+

附件

+
@@ -68,14 +76,6 @@
-
-

视频

- -
-
-

附件

- -

小程序标题

@@ -150,7 +150,8 @@ export default { accessTitle: '', accessUrl: '', accessAppid: '', - file: {} + file: {}, + mediaId: '' }, areaIdList: [], tagIdList: [], @@ -162,7 +163,8 @@ export default { hour: true, minute: true, second: true - } + }, + fileData: null } }, computed: {...mapState(['user'])}, @@ -196,7 +198,7 @@ export default { if(!this.form.content) { return this.$u.toast('请输入文本内容') } - if(this.form.contentType == 'image' && !this.formData.imgList.length) { + if(this.form.contentType == 'image' && !this.formData.fileList.length) { return this.$u.toast('请上传图片') } if(this.form.contentType == 'video' && !this.formData.fileList.length) { @@ -208,9 +210,7 @@ export default { if(this.formData.fileList.length) { this.formData.file = this.formData.fileList[0] this.formData.accessUrl = this.formData.fileList[0].url - } - if(this.formData.imgList.length) { - this.formData.accessUrl = this.formData.imgList[0].url + this.formData.mediaId = this.fileData.media.mediaId } var params = { ...this.form, diff --git a/src/project/police/AppPeopleList/DetailCard.vue b/src/project/police/AppPeopleList/DetailCard.vue index 8ba8735a..a776af71 100644 --- a/src/project/police/AppPeopleList/DetailCard.vue +++ b/src/project/police/AppPeopleList/DetailCard.vue @@ -7,7 +7,10 @@
- {{resident.currentAreaName}}{{resident.currentAddress || ''}} + {{resident.currentAreaName}} + {{resident.currentAddressGroup}}组 + {{resident.currentAddressNo}}户 +
@@ -121,9 +124,6 @@ export default { } .areaHint { margin-top: 38px; - span { - margin-left: 14px; - } } } diff --git a/src/project/police/AppPeopleList/DetailPeople.vue b/src/project/police/AppPeopleList/DetailPeople.vue index 50cb2582..61581191 100644 --- a/src/project/police/AppPeopleList/DetailPeople.vue +++ b/src/project/police/AppPeopleList/DetailPeople.vue @@ -108,7 +108,7 @@
现住详细地址 - {{ data.resident.currentAddress }} + {{ data.resident.currentAddressGroup }}组{{ data.resident.currentAddressNo }}户
diff --git a/src/project/police/AppResidentFile/AppResidentFile.vue b/src/project/police/AppResidentFile/AppResidentFile.vue index 2652b965..8653c2c1 100644 --- a/src/project/police/AppResidentFile/AppResidentFile.vue +++ b/src/project/police/AppResidentFile/AppResidentFile.vue @@ -76,88 +76,11 @@ export default {