diff --git a/src/views/modules/api/imgconfig-add-or-update.vue b/src/views/modules/api/imgconfig-add-or-update.vue new file mode 100644 index 0000000..c5373c6 --- /dev/null +++ b/src/views/modules/api/imgconfig-add-or-update.vue @@ -0,0 +1,206 @@ + + + + + + + + + + + + + + + + + + 只能上传jpg/png文件,且不超过500kb + + + + + + + + + + + + + + + + + + {{ $t('cancel') }} + {{ $t('confirm') }} + + + + + + diff --git a/src/views/modules/api/imgconfig.vue b/src/views/modules/api/imgconfig.vue new file mode 100644 index 0000000..cd50a5d --- /dev/null +++ b/src/views/modules/api/imgconfig.vue @@ -0,0 +1,133 @@ + + + + + + + + + + + + {{ $t('query') }} + + + {{ $t('add') }} + + + {{ $t('deleteBatch') }} + + + + + + + + + + + + + + + + + + + + + + {{ $t('update') }} + {{ $t('delete') }} + + + + + + + + + + + + + diff --git a/src/views/modules/custom/suggestionfeedback-add-or-update.vue b/src/views/modules/custom/suggestionfeedback-add-or-update.vue new file mode 100644 index 0000000..19d5b95 --- /dev/null +++ b/src/views/modules/custom/suggestionfeedback-add-or-update.vue @@ -0,0 +1,68 @@ + + + + + + + + + {{ $t('cancel') }} + {{ $t('confirm') }} + + + + + diff --git a/src/views/modules/custom/suggestionmake-add-or-update.vue b/src/views/modules/custom/suggestionmake-add-or-update.vue new file mode 100644 index 0000000..3c08cb7 --- /dev/null +++ b/src/views/modules/custom/suggestionmake-add-or-update.vue @@ -0,0 +1,229 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('cancel') }} + {{ $t('confirm') }} + + + + + diff --git a/src/views/modules/custom/suggestionmake-detail.vue b/src/views/modules/custom/suggestionmake-detail.vue new file mode 100644 index 0000000..3200255 --- /dev/null +++ b/src/views/modules/custom/suggestionmake-detail.vue @@ -0,0 +1,115 @@ + + + + + {{dataForm.suggestionTitle}} + + + {{dataForm.nickname}} + + + {{dataForm.deptName}} + + + {{dataForm.createdTimeStr}} + + + {{dataForm.suggestionContent}} + + + + + + + + + + + + + + + + {{ $t('cancel') }} + + + + + diff --git a/src/views/modules/custom/suggestionmake.vue b/src/views/modules/custom/suggestionmake.vue new file mode 100644 index 0000000..f9bf2b0 --- /dev/null +++ b/src/views/modules/custom/suggestionmake.vue @@ -0,0 +1,188 @@ + + + + + + + + + + + + + + + + + + + + + {{ $t('query') }} + + + {{ $t('add') }} + + + + + + + + + + + + 查看 + 回复 + + + + + + + + + + + + + diff --git a/src/views/modules/custom/suggestiontype-add-or-update.vue b/src/views/modules/custom/suggestiontype-add-or-update.vue new file mode 100644 index 0000000..9b2c72e --- /dev/null +++ b/src/views/modules/custom/suggestiontype-add-or-update.vue @@ -0,0 +1,163 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('cancel') }} + {{ $t('confirm') }} + + + + + diff --git a/src/views/modules/custom/suggestiontype.vue b/src/views/modules/custom/suggestiontype.vue new file mode 100644 index 0000000..5f61856 --- /dev/null +++ b/src/views/modules/custom/suggestiontype.vue @@ -0,0 +1,58 @@ + + + + + + {{ $t('add') }} + + + + + + + + + + {{ $t('update') }} + {{ $t('delete') }} + + + + + + + + + + \ No newline at end of file diff --git a/src/views/modules/epidemic/persontesting-add-or-update.vue b/src/views/modules/epidemic/persontesting-add-or-update.vue index 0d6f5f0..cc7d9ad 100644 --- a/src/views/modules/epidemic/persontesting-add-or-update.vue +++ b/src/views/modules/epidemic/persontesting-add-or-update.vue @@ -72,27 +72,15 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + {{ $t('cancel') }} @@ -128,10 +116,12 @@ updatedBy: '', updatedTime: '', delFlag: '', - mobile:'' + mobile:'', + testingPointId:'' }, uploadUrl: '', loading: false, + optionTestingPoint: [] } }, computed: { @@ -205,6 +195,8 @@ methods: { init() { this.visible = true + this.dataForm.testingPointId = '' + this.getListSimpleByDictType() this.$nextTick(() => { this.$refs['dataForm'].resetFields() // this.$set(this.dataForm,'testingTime', new Date()) @@ -250,6 +242,14 @@ } } }, + getListSimpleByDictType () { + this.$http.get(`/custom/testingpoint/testingPointSelection`).then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } + this.optionTestingPoint = res.data + }).catch(() => {}) + }, // 获取信息 getInfo() { this.$http.get(`/custom/persontesting/${this.dataForm.id}`).then(({data: res}) => { @@ -317,3 +317,4 @@ display: block; } + diff --git a/src/views/modules/epidemic/persontesting-look.vue b/src/views/modules/epidemic/persontesting-look.vue index a987ec5..fed3a34 100644 --- a/src/views/modules/epidemic/persontesting-look.vue +++ b/src/views/modules/epidemic/persontesting-look.vue @@ -58,6 +58,9 @@ {{dataForm.address}} + + {{dataForm.testingPointName}} + @@ -112,7 +115,8 @@ export default { createdTime: '', updatedBy: '', updatedTime: '', - delFlag: '' + delFlag: '', + testingPointName: '' }, uploadUrl: '', loading: false, diff --git a/src/views/modules/epidemic/persontesting.vue b/src/views/modules/epidemic/persontesting.vue index 83810fd..dbde422 100644 --- a/src/views/modules/epidemic/persontesting.vue +++ b/src/views/modules/epidemic/persontesting.vue @@ -72,8 +72,8 @@ - {{ $t('查看') }} + {{ $t('update') }} {{ $t('delete') }} diff --git a/src/views/modules/epidemic/reader.vue b/src/views/modules/epidemic/reader.vue index 50be367..a9ccdbc 100644 --- a/src/views/modules/epidemic/reader.vue +++ b/src/views/modules/epidemic/reader.vue @@ -46,6 +46,15 @@ + + + + + + + + + + + + + + diff --git a/src/views/modules/heart/org-user.vue b/src/views/modules/heart/org-user.vue new file mode 100644 index 0000000..d6475b7 --- /dev/null +++ b/src/views/modules/heart/org-user.vue @@ -0,0 +1,153 @@ + + + + + + + + + + + + + + + + + + + {{ $t('query') }} + + + + + + + + + + + + + + + + + + + + + + {{"确定"}} + + + + + + + + \ No newline at end of file diff --git a/src/views/modules/heart/vactorgtype-add-or-update.vue b/src/views/modules/heart/vactorgtype-add-or-update.vue new file mode 100644 index 0000000..4b330ef --- /dev/null +++ b/src/views/modules/heart/vactorgtype-add-or-update.vue @@ -0,0 +1,138 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('cancel') }} + {{ $t('confirm') }} + + + + + diff --git a/src/views/modules/heart/vactorgtype.vue b/src/views/modules/heart/vactorgtype.vue new file mode 100644 index 0000000..82d0f46 --- /dev/null +++ b/src/views/modules/heart/vactorgtype.vue @@ -0,0 +1,77 @@ + + + + + + + + + + + + {{ $t('add') }} + + + {{ $t('deleteBatch') }} + + + + + + + + + + + + + + + + + + {{ $t('update') }} + {{ $t('delete') }} + + + + + + + + + + + + diff --git a/src/views/modules/heart/volunteerorg-add-or-update.vue b/src/views/modules/heart/volunteerorg-add-or-update.vue index 611dadb..2ad1e95 100644 --- a/src/views/modules/heart/volunteerorg-add-or-update.vue +++ b/src/views/modules/heart/volunteerorg-add-or-update.vue @@ -1,14 +1,22 @@ - + + + + + + + - - + + + + {{"选择管理员"}} - - + + @@ -16,50 +24,53 @@ - + - + - - + + + + + 只能上传jpg/png文件,且不超过500kb + + + - - + + - - - - - - - - - - - - - - - - - - + {{ $t('cancel') }} {{ $t('confirm') }} + + \ No newline at end of file diff --git a/src/views/modules/heart/volunteerorg-look.vue b/src/views/modules/heart/volunteerorg-look.vue new file mode 100644 index 0000000..f713ca2 --- /dev/null +++ b/src/views/modules/heart/volunteerorg-look.vue @@ -0,0 +1,194 @@ + + + + + + + + + {{getTypeName(dataForm.orgType)}} + + + {{dataForm.volunteerOrgName}} + + + {{dataForm.headName}} + + + {{dataForm.mobile}} + + + + + + + + + + {{ + dataForm.isOpen == 0 + ? "启用" + : dataForm.isOpen == 1 + ? "禁用" + : "" + }} + + + + {{dataForm.sort}} + + + + + + + + + {{dataForm.address}} + + + {{dataForm.note}} + + + + + + + + + + + + + + + + + + + + + + {{ $t('cancel') }} + {{ $t('confirm') }} + + + + + + \ No newline at end of file diff --git a/src/views/modules/heart/volunteerorg.vue b/src/views/modules/heart/volunteerorg.vue index 7712d35..d77eeab 100644 --- a/src/views/modules/heart/volunteerorg.vue +++ b/src/views/modules/heart/volunteerorg.vue @@ -2,11 +2,28 @@ - + + + + + + + + + + + + + + {{ $t('query') }} @@ -27,13 +44,15 @@ width="50" label="序号" align="center"> + - + - - - + + + + @@ -42,8 +61,9 @@ + {{ $t('详情') }} {{ $t('update') }} - {{ $t('delete') }} + @@ -58,6 +78,7 @@ + @@ -65,6 +86,7 @@ diff --git a/src/views/modules/news/moduletype-add-or-update.vue b/src/views/modules/news/moduletype-add-or-update.vue index a8727bc..53ab289 100644 --- a/src/views/modules/news/moduletype-add-or-update.vue +++ b/src/views/modules/news/moduletype-add-or-update.vue @@ -7,6 +7,23 @@ + + + + + 只能上传jpg/png文件,且不超过500kb + + @@ -63,6 +80,7 @@ + \ No newline at end of file diff --git a/src/views/modules/sys/gridmember-add-or-update.vue b/src/views/modules/sys/gridmember-add-or-update.vue new file mode 100644 index 0000000..2ddcdbc --- /dev/null +++ b/src/views/modules/sys/gridmember-add-or-update.vue @@ -0,0 +1,297 @@ + + + + + + + + + + + + + + + + + 只能上传jpg/png文件,且不超过500kb + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('cancel') }} + {{ $t('confirm') }} + + + + + + \ No newline at end of file diff --git a/src/views/modules/sys/gridmember.vue b/src/views/modules/sys/gridmember.vue new file mode 100644 index 0000000..4dc06bd --- /dev/null +++ b/src/views/modules/sys/gridmember.vue @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + {{ $t('query') }} + + + {{ $t('add') }} + + + {{ $t('deleteBatch') }} + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ $t('update') }} + {{ $t('delete') }} + + + + + + + + + + + + diff --git a/src/views/modules/sys/user-add-or-update.vue b/src/views/modules/sys/user-add-or-update.vue index fe19e0a..12ff50d 100644 --- a/src/views/modules/sys/user-add-or-update.vue +++ b/src/views/modules/sys/user-add-or-update.vue @@ -36,6 +36,17 @@ :readonly="true" :placeholder="$t('user.deptName')"> + + + + + + import debounce from 'lodash/debounce' import { isEmail, isMobile } from '@/utils/validate' -import Cookies from "js-cookie" +import Cookies from 'js-cookie' export default { data () { return { @@ -178,6 +189,8 @@ export default { username: '', deptId: '0', deptName: '', + projectName: '', + projectId: '', password: '', comfirmPassword: '', realName: '', @@ -204,6 +217,7 @@ export default { }, verifyMobileList: [], userTagDictList: [], + projectList: [], loading: false } }, @@ -275,7 +289,7 @@ export default { this.uploadUrl = `${window.SITE_CONFIG['apiURL']}/oss/file/upload?token=${Cookies.get('token')}` Promise.all([ this.getDeptList(), - this.getRoleList() + this.getRoleList(), ]).then(() => { if (this.dataForm.id) { this.getInfo() @@ -283,6 +297,7 @@ export default { }) }) this.getUserTagDicList() + this.getProjectList() }, // 根据手机号获取产品工作人员信息 relationEpmetStaffUser (mobile) { @@ -329,6 +344,14 @@ export default { this.roleList = res.data }).catch(() => { }) }, + getPropertyUserList () { + return this.$http.get('/sys/syspropertyuser/list').then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } + this.propertyUserList = res.data + }).catch(() => { }) + }, // 获取用户标签字典列表 getUserTagDicList () { this.$http.get(`/sys/dict/listSimple/user_tag`).then(({ data: res }) => { @@ -338,6 +361,16 @@ export default { this.userTagDictList = res.data }).catch(() => { }) }, + // 获取用物业项目列表 + getProjectList () { + this.$http.get(`/property/project/dict`).then(({ data: res }) => { + if (res.code !== 0) { + return this.$message.error(res.msg) + } + this.projectList = res.data + }).catch(() => { + }) + }, // 获取信息 getInfo () { this.$http.get(`/sys/user/${this.dataForm.id}`).then(({ data: res }) => { @@ -433,6 +466,14 @@ export default { }, handelError () { this.loading = false + }, + projectHandleChange (value) { + console.log(value) + let obj = this.projectList.find((item) => { + return item.dictValue === value + }) + console.log(obj.dictName) + this.dataForm.projectName = obj.dictName } } } diff --git a/src/views/modules/user/userinfo.vue b/src/views/modules/user/userinfo.vue index d4eda62..2fba91b 100644 --- a/src/views/modules/user/userinfo.vue +++ b/src/views/modules/user/userinfo.vue @@ -21,11 +21,11 @@ - - - - - + + + + + 详情