diff --git a/src/common/modules.js b/src/common/modules.js index 1ab93bd8..723034fa 100644 --- a/src/common/modules.js +++ b/src/common/modules.js @@ -26,7 +26,7 @@ export const config = { if (!!params?.action) { action = params.action delete params.action - } else if (!!params.suiteId) { + } else if (!!params?.suiteId) { action = "/app/wxcptp/portal/agentSign" } return http.post(action, null, { diff --git a/src/project/police/AppMessageNotification/chooseUser.vue b/src/project/police/AppMessageNotification/chooseUser.vue index 37bd1f39..914363d0 100644 --- a/src/project/police/AppMessageNotification/chooseUser.vue +++ b/src/project/police/AppMessageNotification/chooseUser.vue @@ -10,22 +10,15 @@
-

部门

-
- - - -
+

部门/人员

+ + + 已选择 + 请选择 + +
-
-

人员

-
- - - -
-
-

{{ item.name }}

@@ -48,6 +41,7 @@ import {mapState} from 'vuex' export default { name: "chooseUser", + appName: "条件选择", data() { return { value: '', @@ -62,23 +56,27 @@ export default { }, computed: { ...mapState(['user']), - moreText() { - if (this.userList.length) return '已选择' - }, - moreTextDept() { - if (this.deptList.length) return '已选择' - }, + deptUserList: { + set(v) { + this.userList = v.filter(e => e.kind == 'user') + this.deptList = v.filter(e => e.kind == 'dept') + }, + get() { + let {userList, deptList} = this + return [userList, deptList].flat() + } + } }, methods: { + toSelectDept() { + uni.navigateTo({url: `./selectDeptUser`}) + }, getTagList() { this.$http.post("/app/wxcp/wxcorptag/listAll?size=100").then(res => { if (res?.code == 0) { res.data.records.map((item) => { item.tagList.map((items) => { - items.isCheck = false - if (this.tagIdList.includes(items.id)) { - items.isCheck = true - } + items.isCheck = this.tagIdList.includes(items.id); }) }) this.tagList = res.data.records @@ -281,5 +279,8 @@ export default { font-size: 28px !important; } + .right { + float: right; + } } diff --git a/src/project/police/AppMessageNotification/components/img/gird--select-icon.png b/src/project/police/AppMessageNotification/components/img/gird--select-icon.png new file mode 100644 index 00000000..205144d2 Binary files /dev/null and b/src/project/police/AppMessageNotification/components/img/gird--select-icon.png differ diff --git a/src/project/police/AppMessageNotification/components/img/tx@2x.png b/src/project/police/AppMessageNotification/components/img/tx@2x.png new file mode 100644 index 00000000..d9620e08 Binary files /dev/null and b/src/project/police/AppMessageNotification/components/img/tx@2x.png differ diff --git a/src/project/police/AppMessageNotification/selectDeptUser.vue b/src/project/police/AppMessageNotification/selectDeptUser.vue new file mode 100644 index 00000000..2a37efb3 --- /dev/null +++ b/src/project/police/AppMessageNotification/selectDeptUser.vue @@ -0,0 +1,281 @@ + + + + + diff --git a/src/project/police/AppPeopleList/Add.vue b/src/project/police/AppPeopleList/Add.vue index f077f206..d3318eb5 100644 --- a/src/project/police/AppPeopleList/Add.vue +++ b/src/project/police/AppPeopleList/Add.vue @@ -47,7 +47,7 @@
姓名 - +
@@ -56,7 +56,7 @@
身份证号 - +
@@ -100,7 +100,7 @@
- + *
现住址 @@ -115,7 +115,7 @@
- + *
@@ -124,7 +124,7 @@
- + *
@@ -249,18 +249,18 @@ export default { // if(!this.form.birthDate) { // return this.$u.toast('请选择出生日期') // } - // if(!this.form.currentAreaId) { - // return this.$u.toast('请选择现住址') - // } - // if(!/[^0]0{0,2}$/.test(this.form.currentAreaId)) { - // return this.$u.toast('现住址必须选到村级') - // } - // if(!this.form.currentAddressGroup) { - // return this.$u.toast('请输入组') - // } - // if(!this.form.currentAddressNo) { - // return this.$u.toast('请输入户') - // } + if(!this.form.currentAreaId) { + return this.$u.toast('请选择现住址') + } + if(!/[^0]0{0,2}$/.test(this.form.currentAreaId)) { + return this.$u.toast('现住址必须选到村级') + } + if(!this.form.currentAddressGroup) { + return this.$u.toast('请输入组') + } + if(!this.form.currentAddressNo) { + return this.$u.toast('请输入户') + } // if(this.form.householdAreaId && !/[^0]0{0,2}$/.test(this.form.householdAreaId)) { // return this.$u.toast('户籍地必须选到村级') // } @@ -322,9 +322,9 @@ export default { this.$http.post(`/app/appresident/detail?id=${this.form.id}`).then(res => { if (res.code === 0) { this.form = {...res.data.resident} - var info = this.$idCardNoUtil.getIdCardInfo(this.form.idNumber) - this.form.birthDate = info.birthday - this.form.sex = info.gender + // var info = this.$idCardNoUtil.getIdCardInfo(this.form.idNumber) + // this.form.birthDate = info.birthday + // this.form.sex = info.gender } }) } diff --git a/src/project/police/AppPeopleList/AppPeopleList.vue b/src/project/police/AppPeopleList/AppPeopleList.vue index dc9870f8..db557863 100644 --- a/src/project/police/AppPeopleList/AppPeopleList.vue +++ b/src/project/police/AppPeopleList/AppPeopleList.vue @@ -127,7 +127,7 @@ export default { }, toDetailCard(item) { - uni.navigateTo({url: `./DetailCard?id=${item.id}`}) + uni.navigateTo({url: `./DetailPeople?id=${item.id}`}) }, changeArea(e) { diff --git a/src/project/police/AppPeopleList/DetailCard.vue b/src/project/police/AppPeopleList/DetailCard.vue deleted file mode 100644 index a776af71..00000000 --- a/src/project/police/AppPeopleList/DetailCard.vue +++ /dev/null @@ -1,222 +0,0 @@ - - - - - diff --git a/src/project/police/AppPeopleList/DetailPeople.vue b/src/project/police/AppPeopleList/DetailPeople.vue index 61581191..b02b64c1 100644 --- a/src/project/police/AppPeopleList/DetailPeople.vue +++ b/src/project/police/AppPeopleList/DetailPeople.vue @@ -10,33 +10,12 @@
{{ data.resident && data.resident.name }} 已注销 - 户主 - - {{ $dict.getLabel('householdRelation', data.resident && data.resident.householdRelation) }} -
-
{{ data.resident.phone }}
- -
-
-
- - -
-
- - -
- -

{{item.name}}

-

{{item.applicationName}}

-
-
@@ -50,7 +29,22 @@
身份证号 - {{ data.resident && data.resident.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1********$2') }} + {{ data.resident.idNumber}} +
+ +
+ 性别 + {{ $dict.getLabel('sex', data.resident.sex) }} +
+ +
+ 出生日期 + {{ data.resident.birthDate }} +
+ +
+ 年龄 + {{ data.resident.age }}
@@ -111,16 +105,6 @@ {{ data.resident.currentAddressGroup }}组{{ data.resident.currentAddressNo }}户
-
- 户籍地址 - {{ data.resident.householdAreaName }} -
- -
- 户籍详细地址 - {{ data.resident.householdAddress }} -
-
处理结果 {{ data.resident.auditStatus == 1 ? '通过' : '不通过' }} @@ -167,8 +151,6 @@ export default { tabIndex: 0, } }, - computed: {}, - watch: {}, onLoad(o) { this.id = o.id this.type = o.type @@ -180,7 +162,7 @@ export default { }) }, onShow() { - document.title = '家庭成员信息' + document.title = '居民详情' }, methods: { getDetail() { diff --git a/src/project/police/AppPeopleList/ExamineList.vue b/src/project/police/AppPeopleList/ExamineList.vue deleted file mode 100644 index 1266b12c..00000000 --- a/src/project/police/AppPeopleList/ExamineList.vue +++ /dev/null @@ -1,276 +0,0 @@ - - - - - diff --git a/src/project/police/AppPeopleList/PeopleList.vue b/src/project/police/AppPeopleList/PeopleList.vue deleted file mode 100644 index 147bcfb8..00000000 --- a/src/project/police/AppPeopleList/PeopleList.vue +++ /dev/null @@ -1,320 +0,0 @@ - - - - - diff --git a/src/project/police/AppResidentFile/components/document.vue b/src/project/police/AppResidentFile/components/document.vue index 107073f7..5212b1b0 100644 --- a/src/project/police/AppResidentFile/components/document.vue +++ b/src/project/police/AppResidentFile/components/document.vue @@ -6,8 +6,9 @@
{{ top.detail.realName || top.detail.name }} - - {{ IDObj.btn }} + {{resident.idNumber}} +
@@ -30,7 +31,7 @@ {{resident.currentAddressNo}}户
-
+