diff --git a/package.json b/package.json index 799ec0ed1..76454b2f6 100644 --- a/package.json +++ b/package.json @@ -19,60 +19,60 @@ "@antv/l7": "2.9.14", "@antv/l7-draw": "3.0.5", "@antv/l7-maps": "2.9.14", - "@riophae/vue-treeselect": "^0.4.0", - "@tinymce/tinymce-vue": "^3.2.8", - "async-validator": "^4.2.5", - "axios": "^0.19.0", - "babel-eslint": "^8.0.1", - "babel-plugin-component": "^1.1.1", - "echarts": "^5.2.2", - "echarts-gl": "^2.0.9", + "@riophae/vue-treeselect": "0.4.0", + "@tinymce/tinymce-vue": "3.2.8", + "async-validator": "4.2.5", + "axios": "0.19.0", + "babel-eslint": "8.0.1", + "babel-plugin-component": "1.1.1", + "echarts": "5.2.2", + "echarts-gl": "2.0.9", "element-theme": "2.0.1", "element-ui": "2.13.2", - "file-saver": "^2.0.5", - "gulp-autoprefixer": "^6.1.0", - "gulp-clean-css": "^4.2.0", - "gulp-load-plugins": "^2.0.0", - "gulp-rename": "^1.4.0", - "gulp-sass": "^4.0.2", - "js-cookie": "^2.2.0", - "jsencrypt": "^3.0.3", - "lodash": "^4.17.15", - "mint-ui": "^2.2.13", - "node-sass": "^4.12.0", - "ol": "^6.9.0", - "portfinder": "^1.0.21", - "proj4": "^2.8.0", - "qs": "^6.7.0", - "quill": "^1.3.6", - "screenfull": "^4.2.1", - "sortablejs": "^1.12.0", - "svg-sprite-loader": "^4.1.6", - "throttle-debounce": "^3.0.1", - "v-distpicker": "^1.2.2", - "vue": "^2.6.11", - "vue-baidu-map": "^0.21.22", - "vue-i18n": "^8.12.0", - "vue-quill-editor": "^3.0.6", - "vue-router": "^3.0.7", - "vuex": "^3.1.1", - "xlsx": "^0.17.1" + "file-saver": "2.0.5", + "gulp-autoprefixer": "6.1.0", + "gulp-clean-css": "4.2.0", + "gulp-load-plugins": "2.0.0", + "gulp-rename": "1.4.0", + "gulp-sass": "4.0.2", + "js-cookie": "2.2.0", + "jsencrypt": "3.0.3", + "lodash": "4.17.15", + "mint-ui": "2.2.13", + "node-sass": "4.12.0", + "ol": "6.9.0", + "portfinder": "1.0.21", + "proj4": "2.8.0", + "qs": "6.7.0", + "quill": "1.3.6", + "screenfull": "4.2.1", + "sortablejs": "1.12.0", + "svg-sprite-loader": "4.1.6", + "throttle-debounce": "3.0.1", + "v-distpicker": "1.2.2", + "vue": "2.6.11", + "vue-baidu-map": "0.21.22", + "vue-i18n": "8.12.0", + "vue-quill-editor": "3.0.6", + "vue-router": "3.0.7", + "vuex": "3.1.1", + "xlsx": "0.17.1" }, "devDependencies": { - "@antv/f2": "^3.8.10-beta.1", + "@antv/f2": "3.8.10-beta.1", "@tinymce/tinymce-vue": "3.2.8", - "@vue/cli-plugin-babel": "^3.10.0", - "@vue/cli-plugin-eslint": "^3.10.0", - "@vue/cli-service": "^3.10.0", - "@vue/eslint-config-standard": "^4.0.0", - "dai-js": "^0.0.12", - "element-theme-chalk": "^2.13.0", - "natives": "^1.1.6", - "ol": "^6.9.0", - "sass-loader": "^7.3.1", - "script-loader": "^0.7.2", + "@vue/cli-plugin-babel": "3.10.0", + "@vue/cli-plugin-eslint": "3.10.0", + "@vue/cli-service": "3.10.0", + "@vue/eslint-config-standard": "4.0.0", + "dai-js": "0.0.12", + "element-theme-chalk": "2.13.0", + "natives": "1.1.6", + "ol": "6.9.0", + "sass-loader": "7.3.1", + "script-loader": "0.7.2", "tinymce": "5.8.2", - "vue-template-compiler": "^2.6.11" + "vue-template-compiler": "2.6.11" }, "eslintConfig": { "root": true, diff --git a/src/views/modules/base/communityYantai/community.vue b/src/views/modules/base/communityYantai/community.vue index aa8a2889b..f419fb31e 100644 --- a/src/views/modules/base/communityYantai/community.vue +++ b/src/views/modules/base/communityYantai/community.vue @@ -1,707 +1,791 @@ - - - - - - - - - {{ data.showName }} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 至 - - - - - 查询 - 重置 - - - - - - - - - - - - - + + + + {{ data.showName }} + handleClickAgencyIcon(data, e)" + >! + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 至 + + + + + 查询 + 重置 + + + + + + + + + + + + - - - +.custom-tree-node { + i { + margin-left: 4px; + display: inline-block; + width: 14px; + height: 14px; + background-color: #ddd; + color: #ffffff; + border-radius: 100%; + text-align: center; + line-height: 14px; + font-size: 12px; + font-weight: bold; + font-style: normal; + } +} +.m-pop { + position: absolute; + z-index: 500; + transition: all ease 0.4s; +} + diff --git a/src/views/modules/base/communityYantai/cpts/agency-info.vue b/src/views/modules/base/communityYantai/cpts/agency-info.vue new file mode 100644 index 000000000..a128b1228 --- /dev/null +++ b/src/views/modules/base/communityYantai/cpts/agency-info.vue @@ -0,0 +1,176 @@ + + + + + + + + + + {{ info.agencyName || '--' }} + + 组织区划: + {{ info.areaName || '--' }} + + + 组织编码: + {{ info.areaCode || '--' }} + + + 负责人: + {{ info.contacts || '--' }} + + + 联系电话: + {{ info.mobile || '--' }} + + + 组织简介: + {{ info.remark || '--' }} + + + 管辖范围: + + + + + + + + + + + diff --git a/src/views/modules/base/communityYantai/cpts/grid-info.vue b/src/views/modules/base/communityYantai/cpts/grid-info.vue new file mode 100644 index 000000000..3c174ec4c --- /dev/null +++ b/src/views/modules/base/communityYantai/cpts/grid-info.vue @@ -0,0 +1,176 @@ + + + + + + + + + + {{ info.gridName || '--' }} + + 组织区划: + {{ info.areaName || '--' }} + + + 组织编码: + {{ info.areaCode || '--' }} + + + 负责人: + {{ info.contacts || '--' }} + + + 联系电话: + {{ info.mobile || '--' }} + + + 网格简介: + {{ info.remark || '--' }} + + + 管辖范围: + + + + + + + + + + + diff --git a/src/views/modules/base/communityYantai/cpts/map.vue b/src/views/modules/base/communityYantai/cpts/map.vue new file mode 100644 index 000000000..1f49e7ef4 --- /dev/null +++ b/src/views/modules/base/communityYantai/cpts/map.vue @@ -0,0 +1,535 @@ + + + + + + + + + diff --git a/src/views/modules/base/epidemic/antiInfo.vue b/src/views/modules/base/epidemic/antiInfo.vue index a63b56854..4860522fc 100644 --- a/src/views/modules/base/epidemic/antiInfo.vue +++ b/src/views/modules/base/epidemic/antiInfo.vue @@ -293,6 +293,7 @@ :close-on-press-escape="false" :title="formTitle" width="1150px" + :z-index="2000" top="5vh" class="dialog-h" @closed="handleCnalceForm"> @@ -878,7 +879,7 @@ export default { let params = { id } - + // this.$message.error('111') const { data, code, msg } = await requestPost(url, params) if (code === 0) { diff --git a/src/views/modules/base/organization/organization.vue b/src/views/modules/base/organization/organization.vue index 362cd5f56..8eb4655a8 100644 --- a/src/views/modules/base/organization/organization.vue +++ b/src/views/modules/base/organization/organization.vue @@ -15,12 +15,10 @@ 修改 @@ -714,6 +712,17 @@ + + + + @@ -1036,6 +1045,7 @@ export default { areaCode: "", agencyId: "", areaName: "", + remark:"" }, // 下级机关单位 OrgUnitDetailsForm: { @@ -2413,6 +2423,7 @@ export default { this.OrgDetailsForm.centerAddress = data.centerAddress; this.OrgDetailsForm.areaCode = data.areaCode; this.OrgDetailsForm.mobile = data.mobile; + this.OrgDetailsForm.remark = data.remark; this.latitude = data.latitude; this.longitude = data.longitude; this.OrgDetailsForm.agencyId = data.agencyId; @@ -2479,6 +2490,7 @@ export default { mobile: this.OrgDetailsForm.mobile, code: this.OrgDetailsForm.code, latitude: this.latitude, + remark:this.OrgDetailsForm.remark, longitude: this.longitude, }; diff --git a/src/views/modules/base/userinfo/userInfoDetail.vue b/src/views/modules/base/userinfo/userInfoDetail.vue new file mode 100644 index 000000000..229dba4c1 --- /dev/null +++ b/src/views/modules/base/userinfo/userInfoDetail.vue @@ -0,0 +1,193 @@ + + + + + + + + + 姓名: + {{ formData.realName||'--' }} + + + 昵称: + {{ formData.nickname||'--' }} + + + + 证件号: + {{ formData.idNum||'--' }} + + + 路牌号: + {{ formData.street||'--' }} + + + 小区名称: + {{ formData.district||'--' }} + + + 详细地址: + {{ formData.buildingAddress||'--' }} + + + + 头像: + + + + + + + + + + + + + + + 关 闭 + + + + + + + + + + + + + + + diff --git a/src/views/modules/base/userinfo/userInfoList.vue b/src/views/modules/base/userinfo/userInfoList.vue new file mode 100644 index 000000000..2528286ec --- /dev/null +++ b/src/views/modules/base/userinfo/userInfoList.vue @@ -0,0 +1,407 @@ + + + + + + + + + + + + + + + + + 至 + + + + + + + + + + 查询 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查看 + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/modules/communityParty/orgActivity/activivityList/addActivity.vue b/src/views/modules/communityParty/orgActivity/activivityList/addActivity.vue index bbc79ac31..4b8e251ec 100644 --- a/src/views/modules/communityParty/orgActivity/activivityList/addActivity.vue +++ b/src/views/modules/communityParty/orgActivity/activivityList/addActivity.vue @@ -171,14 +171,14 @@ - + diff --git a/src/views/modules/communityService/fuwujilu/addForm.vue b/src/views/modules/communityService/fuwujilu/addForm.vue index fdf967767..df60972ef 100644 --- a/src/views/modules/communityService/fuwujilu/addForm.vue +++ b/src/views/modules/communityService/fuwujilu/addForm.vue @@ -1,229 +1,304 @@ - - - - - + + + + + - - + + - - - + + + - - - + + - - + + - - - + + + - 预览 + 预览 - - + + - - + + - - + + 至 - + - - + + - - + + - - - + + + - - + + - - + + - + 已完成 - - - + + + - - + + - + - + - 查询 + 查询 - - - 点击上传 - 支持图片、word、pdf + + + 点击上传 + 支持图片、word、pdf @@ -308,29 +405,35 @@ - 取 消 - 确 定 + 取 消 + 确 定 - - + + @@ -342,14 +445,11 @@ import { Loading } from "element-ui"; // 引入Loading服务 import { requestPost } from "@/js/dai/request"; import personList from "../policy/personList"; import nextTick from "dai-js/tools/nextTick"; - -var map; -var search; -var markers; -var infoWindowList; -var geocoder; // 新建一个正逆地址解析类 +import daiMap from "@/utils/dai-map"; let loading; // 加载动画 +let map; + export default { props: { defaultData: { @@ -377,7 +477,7 @@ export default { }, categrayArray: { type: Array, - default () { + default() { return []; }, }, @@ -388,7 +488,7 @@ export default { }, }, - data () { + data() { let endDisabledDate = (time) => { //这个关键属性我们一定要写在data的里面并且return的外面,这是动态改变区间的关键 let nowData = Date.now(); @@ -501,7 +601,7 @@ export default { }, computed: { - dataRule () { + dataRule() { return { serviceName: [ { required: true, message: "服务名称不能为空", trigger: "change" }, @@ -518,7 +618,7 @@ export default { ], }; }, - feedbackDataRule () { + feedbackDataRule() { return { serviceGoal: [ { required: true, message: "服务目标不能为空", trigger: "blur" }, @@ -552,7 +652,7 @@ export default { components: { personList }, - async mounted () { + async mounted() { this.startLoading(); // 都已经重置了,还放在prop里干嘛,我不理解 this.categrayOptions = this.categrayArray; @@ -560,7 +660,7 @@ export default { this.getCategrayList(); this.getDictOptions(); this.getPolicyList(); - if (this.formType === 'feedback' || this.showFeedback) { + if (this.formType === "feedback" || this.showFeedback) { this.initMap(); this.$refs.ref_form_feedback.resetFields(); } @@ -577,7 +677,7 @@ export default { }, methods: { - async iniDefaultData () { + async iniDefaultData() { const { defaultData } = this; console.log("iniDefaultData3", defaultData); if (defaultData) { @@ -598,7 +698,7 @@ export default { }, //加载组织数据 - async handlePersonList () { + async handlePersonList() { if (!this.formData.policyId) { this.$message.info("请先选择政策"); return false; @@ -610,7 +710,7 @@ export default { this.showPersonList = true; }, - async loadRuleList () { + async loadRuleList() { const url = "/heart/policy/rulelist/" + this.policyId; let params = {}; @@ -624,14 +724,14 @@ export default { } }, - handleClose () { + handleClose() { this.showPersonList = false; }, - handleOk () { + handleOk() { this.showPersonList = false; }, - async getPolicyList () { + async getPolicyList() { const url = "/heart/policy/policyListSelect"; let params = {}; @@ -644,7 +744,7 @@ export default { this.$message.error(msg); } }, - async getDictOptions () { + async getDictOptions() { this.$http .post("/sys/dict/data/dictlist", { dictType: "user_demand_service_type", @@ -662,7 +762,7 @@ export default { }, // 字典 - async getCategrayList () { + async getCategrayList() { const url = "/sys/dict/data/dictlist"; let params = { @@ -677,14 +777,14 @@ export default { this.$message.error(msg); } }, - handleServiceChange (type, val) { + handleServiceChange(type, val) { if (val === "social_org") { if (type === "add") this.getServiceuserList(val, "add_demand"); else this.getServiceuserList(val, "query_demand"); } else this.getServiceuserList(val, ""); }, - async getServiceuserList (serviceType, query) { + async getServiceuserList(serviceType, query) { if (!serviceType) return false; const params = { @@ -705,7 +805,7 @@ export default { return this.$message.error("网络错误"); }); }, - handleChangeFeedback (val) { + handleChangeFeedback(val) { this.showFeedback = val; if (this.firstInitMap) { @@ -716,7 +816,7 @@ export default { }, // 获取服务范围树 - async loadScopeTree () { + async loadScopeTree() { const url = "/gov/org/icServiceProject/service/serviceScopeTree"; // const url = 'http://yapi.elinkservice.cn/mock/245/gov/org/isServiceProject/service/serviceScopeTree' let params = {}; @@ -733,7 +833,7 @@ export default { } }, - handleChangeScope (value) { + handleChangeScope(value) { this.formData.objList = []; let selArray = this.$refs["myCascader"].getCheckedNodes(); console.log("handleChangeScope", selArray); @@ -743,8 +843,8 @@ export default { element.data.objectType === "grid" ? "grid" : element.data.objectType === "neighborhood" - ? "neighborhood" - : "agency", + ? "neighborhood" + : "agency", objectId: element.data.objectId, objectName: element.data.objectName, }; @@ -752,7 +852,7 @@ export default { }); }, - async handleComfirm () { + async handleComfirm() { if (this.formType === "add") { this.handleAdd(); } else if (this.formType === "feedback") { @@ -760,7 +860,7 @@ export default { } }, - async handleAdd () { + async handleAdd() { this.btnDisable = true; setTimeout(() => { this.btnDisable = false; @@ -794,7 +894,7 @@ export default { }); }, - async addFuwu () { + async addFuwu() { if (this.showFeedback) { this.feedbackFormData.fileList = []; this.feedbackFormData.fileList = [...this.fileList]; @@ -839,7 +939,7 @@ export default { } }, - async handleFeedback () { + async handleFeedback() { this.btnDisable = true; setTimeout(() => { this.btnDisable = false; @@ -855,7 +955,7 @@ export default { }); }, - async addFeecback () { + async addFeecback() { this.feedbackFormData.fileList = []; this.feedbackFormData.fileList = [...this.fileList]; this.feedbackFormData.serviceRecordId = this.serviceRecordId; @@ -880,7 +980,7 @@ export default { } }, - beforeUpload (file) { + beforeUpload(file) { const array = file.name.split("."); const extension = array[array.length - 1]; @@ -906,7 +1006,7 @@ export default { } }, - handleFileRemove (file) { + handleFileRemove(file) { if (file && file.status === "success") { this.fileList.splice( this.fileList.findIndex((item) => item.uid === file.uid), @@ -915,7 +1015,7 @@ export default { } }, - handleFileSuccess (res, file) { + handleFileSuccess(res, file) { if (res.code === 0 && res.msg === "success") { const array = file.name.split("."); const fileType = array[array.length - 1]; @@ -948,7 +1048,7 @@ export default { }, //下载 - handleFileDownload (file) { + handleFileDownload(file) { var a = document.createElement("a"); var event = new MouseEvent("click"); a.download = file.name; @@ -956,137 +1056,61 @@ export default { a.href = file.url; a.dispatchEvent(event); }, - handleCancle () { + handleCancle() { this.resetData(); this.$emit("handleClose"); }, // 地图初始化函数,本例取名为init,开发者可根据实际情况定义 - initMap () { - // 定义地图中心点坐标 + initMap() { let { latitude, longitude } = this.$store.state.user; - console.log('lat' + latitude + ',lon' + longitude) - - if (!latitude || latitude == "" || latitude == "0") { - latitude = 39.9088810666821; - longitude = 116.39743841556731; - } - var center = new window.TMap.LatLng(latitude, longitude) - // 定义map变量,调用 TMap.Map() 构造函数创建地图 - map = new window.TMap.Map(document.getElementById("map_app"), { - center: center, // 设置地图中心点坐标 - zoom: 17.2, // 设置地图缩放级别 - pitch: 43.5, // 设置俯仰角 - rotation: 45, // 设置地图旋转角度 - }); - - search = new window.TMap.service.Search({ pageSize: 10 }); - // 新建一个地点搜索类 - markers = new TMap.MultiMarker({ - map: map, - geometries: [], - }); - infoWindowList = Array(10); - - geocoder = new TMap.service.Geocoder(); // 新建一个正逆地址解析类 + map = new daiMap( + document.getElementById("map_app"), + { latitude, longitude }, + { + zoom: 16.2, // 设置地图缩放级别 + pitch: 43.5, // 设置俯仰角 + rotation: 45, // 设置地图旋转角度 + } + ); // 监听地图平移结束 - map.on("panend", () => { - this.handleMoveCenter(); + map.on("dragend", (e) => { + this.handleMoveCenter(e); }); - this.handleMoveCenter(); - // this.convert(); - this.firstInitMap = false; + map.setCenter(latitude, longitude); + map.setMarker(latitude, longitude); }, - setMarker (lat, lng) { - markers.setGeometries([]); - markers.add([ - { - id: "4", - styleId: "marker", - position: new TMap.LatLng(lat, lng), - properties: { - title: "marker4", - }, - }, - ]); - }, - - handleSearchMap () { - infoWindowList.forEach((infoWindow) => { - infoWindow.close(); - }); - infoWindowList.length = 0; - markers.setGeometries([]); - // 在地图显示范围内以给定的关键字搜索地点 - search - .searchNearby({ - keyword: this.keyWords, - radius: 1000, - autoExtend: true, - center: map.getCenter(), - }) - .then((result) => { - let { data } = result; - if (Array.isArray(data) && data.length > 0) { - const { - location: { lat, lng }, - } = data[0]; - - map.setCenter(new TMap.LatLng(lat, lng)); - this.setMarker(lat, lng); - this.feedbackFormData.latitude = lat; - this.feedbackFormData.longitude = lng; - this.convert(); - } else { - this.$message.error("未检索到相关位置坐标"); - } - }); - }, - - handleMoveCenter () { + async handleMoveCenter() { //修改地图中心点 - const center = map.getCenter(); - const lat = center.getLat(); - const lng = center.getLng(); + const { lat, lng } = map.getCenter(); this.feedbackFormData.latitude = lat; this.feedbackFormData.longitude = lng; - this.setMarker(lat, lng); - this.convert(lat, lng); + map.setMarker(lat, lng); + + let { msg, data } = await map.getAddress(lat, lng); + if (msg == "success") { + this.feedbackFormData.address = data.address; + } }, - convert (lat, lng) { - markers.setGeometries([]); - // var input = document.getElementById('location').value.split(','); - let location; - if (lat && lng) { - location = new TMap.LatLng(lat, lng); + async handleSearchMap() { + const { msg, data } = await map.searchNearby(this.keyWords); + if (msg == "success") { + const { lat, lng } = data; + map.setCenter(lat, lng); + map.setMarker(lat, lng); + this.feedbackFormData.latitude = lat; + this.feedbackFormData.longitude = lng; } else { - location = new TMap.LatLng( - this.feedbackFormData.latitude, - this.feedbackFormData.longitude - ); + this.$message.error("未检索到相关位置坐标"); } - - // map.setCenter(location); - markers.updateGeometries([ - { - id: "main", // 点标注数据数组 - position: location, - }, - ]); - geocoder - .getAddress({ location: location }) // 将给定的坐标位置转换为地址 - .then((result) => { - this.feedbackFormData.address = result.result.address; - // 显示搜索到的地址 - }); }, - resetData () { + resetData() { this.formData = { objList: [], // principalName: "", //经办人(责任人)姓名 @@ -1109,7 +1133,7 @@ export default { }; }, // 开启加载动画 - startLoading () { + startLoading() { loading = Loading.service({ lock: true, // 是否锁定 text: "正在加载……", // 加载中需要显示的文字 @@ -1117,7 +1141,7 @@ export default { }); }, // 结束加载动画 - endLoading () { + endLoading() { // clearTimeout(timer); if (loading) { loading.close(); diff --git a/src/views/modules/communityService/fuwujilu/detailForm.vue b/src/views/modules/communityService/fuwujilu/detailForm.vue index eade139ad..a666746ca 100644 --- a/src/views/modules/communityService/fuwujilu/detailForm.vue +++ b/src/views/modules/communityService/fuwujilu/detailForm.vue @@ -1,511 +1,377 @@ - + 服务名称: - {{ formData.serviceName||'--' }} + {{ formData.serviceName || "--" }} 服务组织: - {{ serviceOrgName||'--' }} + {{ serviceOrgName || "--" }} 服务范围: - {{ formData.gridIdListName ||'--' }} + {{ formData.gridIdListName || "--" }} 政策依据: - {{ formData.policyTitle||'--' }} - 预览 + {{ formData.policyTitle || "--" }} + 预览 经办人: - {{ formData.principalName||'--' }} + {{ formData.principalName || "--" }} 联系方式: - {{ formData.principalContact||'--' }} + {{ formData.principalContact || "--" }} 服务时间: - {{ formData.serviceTimeStart||'--' }}至 - {{ formData.serviceTimeEnd||'--' }} + {{ formData.serviceTimeStart || "--" }}至 + {{ formData.serviceTimeEnd || "--" }} 备注: - {{ formData.remark||'--' }} + {{ formData.remark || "--" }} - + 反馈内容 服务目标: - {{ feedbackFormData.serviceGoal||'--' }} + {{ feedbackFormData.serviceGoal || "--" }} 服务效果: - {{ feedbackFormData.serviceEffect||'--' }} + {{ feedbackFormData.serviceEffect || "--" }} 服务人数: - {{ feedbackFormData.servicePeopleNumber||0 }} + {{ feedbackFormData.servicePeopleNumber || 0 }} 服务状态: - {{ feedbackFormData.serviceStatusShow||'--' }} + {{ feedbackFormData.serviceStatusShow || "--" }} 满意度: - {{ feedbackFormData.satisfactionShow||'--' }} + {{ feedbackFormData.satisfactionShow || "--" }} 地理位置: - {{ feedbackFormData.address||'--' }} + {{ feedbackFormData.address || "--" }} 地图位置: - - 附件: - + -- - - - - - 关 闭 - + 关 闭 - - + + - - \ No newline at end of file + diff --git a/src/views/modules/cpts/base/index.vue b/src/views/modules/cpts/base/index.vue index 685e21816..7e66c198d 100644 --- a/src/views/modules/cpts/base/index.vue +++ b/src/views/modules/cpts/base/index.vue @@ -123,6 +123,7 @@ - + {{ item.num }} {{ item.name }} - + 下级平台使用进度汇总 - - - + + + - + - {{ + {{ scope.row.usingCommunityNum }} - - - - - - - + + + + + + + - - + + @@ -115,10 +94,12 @@ import shequtongji from "./cpts/shequtongji"; export default { name: "renFangTongJi", components: { shequtongji }, - data() { + data () { return { displayedDetail: false, tableData: [], + tableLoading: false, + loadInfo: '', orgId: "", orgType: "", @@ -185,35 +166,35 @@ export default { }; }, computed: { - maxTableHeight() { + maxTableHeight () { return this.clientHeight - 420; }, ...mapGetters(["clientHeight"]), }, watch: { - orgId() { + orgId () { this.getTableData(); }, }, - mounted() { + mounted () { this.getCommunityData(); this.getResiData(); this.getHouseData(); this.getTableData(); }, methods: { - handleClickCard(item) { + handleClickCard (item) { if (item.name == "开通平台社区数") { this.showDetail(); } }, - async showDetail(orgId = "") { + async showDetail (orgId = "") { this.displayedDetail = true; this.detailOrgId = orgId; }, - async getCommunityData() { + async getCommunityData () { const url = "/gov/org/agency/usingCommunityStats"; const { data, code, msg } = await requestPost(url, { @@ -230,7 +211,7 @@ export default { } }, - async getResiData() { + async getResiData () { const url = "/epmetuser/icresiuser/userchart"; const { data, code, msg } = await requestPost(url, { @@ -257,7 +238,7 @@ export default { } }, - async getHouseData() { + async getHouseData () { const url = "/gov/org/house/housechart"; const { data, code, msg } = await requestPost(url, { @@ -286,7 +267,9 @@ export default { } }, - async getTableData() { + async getTableData () { + this.loadInfo = '数据加载中' + this.tableLoading = true const url = "/gov/org/house/subuserhouselist"; const { data, code, msg } = await requestPost(url, { @@ -297,9 +280,17 @@ export default { if (code === 0) { this.tableData = data ? data.map((item) => { - return item; - }) + return item; + }) : []; + + if (this.tableData.length === 0) { + this.loadInfo = '暂无数据' + } else { + this.loadInfo = '' + + } + } }, }, @@ -318,6 +309,7 @@ export default { .item { display: flex; + justify-content: center; width: 24%; margin-top: 15px; // margin-right: 1%; diff --git a/src/views/modules/shequ/index.vue b/src/views/modules/shequ/index.vue index 1e9825252..03c824e91 100644 --- a/src/views/modules/shequ/index.vue +++ b/src/views/modules/shequ/index.vue @@ -823,7 +823,8 @@ export default { }); } }); - return selectedFuncIdList.map((id) => obj[id]); + console.log('88888888888888888', selectedFuncIdList) + return selectedFuncIdList.filter((id) => obj[id]).map((id) => obj[id]); }, maxTableHeight() { // return this.clientHeight - 450; diff --git a/src/views/modules/shequzhili/event/cpts/process-form-demand.vue b/src/views/modules/shequzhili/event/cpts/process-form-demand.vue index 77c0193f0..f5a0c1bce 100644 --- a/src/views/modules/shequzhili/event/cpts/process-form-demand.vue +++ b/src/views/modules/shequzhili/event/cpts/process-form-demand.vue @@ -1,10 +1,12 @@ - + - - - + + + - - - - + + + - - - - + + + - - - + + + - - - - + + + - - - - - + + + - - - - + + - - - + - + - 查询 + 查询 @@ -136,103 +157,108 @@ - - - + + + - - - + - - - + + + - - - + + - - - - - - \ No newline at end of file diff --git a/src/views/modules/shequzhili/htgl/htgl.vue b/src/views/modules/shequzhili/htgl/htgl.vue new file mode 100644 index 000000000..115aa5bbb --- /dev/null +++ b/src/views/modules/shequzhili/htgl/htgl.vue @@ -0,0 +1,331 @@ + + + + + + + + + + + + + + + + + + + + + + + + + 至 + + + + + 查询 + 重置 + + + + + + + + + + + + + + + + + + + + + + + + + + 查看 + + + + + + + + + + + + + + + + + + + diff --git a/src/views/modules/workSys/feedbackDetail.vue b/src/views/modules/workSys/feedbackDetail.vue new file mode 100644 index 000000000..779a06280 --- /dev/null +++ b/src/views/modules/workSys/feedbackDetail.vue @@ -0,0 +1,440 @@ + + + + 建议详情 + + + + + 客户名: + {{ adviceData.customerName }} + + + + 组织名: + {{ adviceData.agencyName}} + + + + + + + 网格名: + {{ adviceData.gridName}} + + + + 注册手机: + {{ adviceData.regPhone}} + + + + + + 问题分类: + {{ adviceData.adviceType}} + + + + 提出时间: + {{ adviceData.adviceTime}} + + + + + + 提出者: + {{ adviceData.userName}} + + + + 联系方式: + {{ adviceData.phone}} + + + + + + 建议内容: + {{ adviceData.adviceContent}} + + + + + 建议图片: + + + + + + + + + + + + + 回复详情 + + + + + 回复者: + {{ adviceData.replyUserName }} + + + + 回复时间: + {{ adviceData.replyTime}} + + + + + + 回复内容: + {{ adviceData.replyContent}} + + + + 政府回复文本: + {{ adviceData.govContent}} + + + + 政府回复取证: + + + + + + + + + + + + + + + + 回复内容: + + + 建议只可回复一次,请谨慎回复 + + + + + + 政府回复文本: + + + + + 政府回复取证: + + + + 选择图片 + + 最多上传3张图片,图片支持jpg、jpeg、bmp、git或png格式 + + + + + + + + + + + + 关 闭 + 回 复 + + + + + + + + + + + diff --git a/src/views/modules/workSys/feedbackList.vue b/src/views/modules/workSys/feedbackList.vue new file mode 100644 index 000000000..1bdf3586f --- /dev/null +++ b/src/views/modules/workSys/feedbackList.vue @@ -0,0 +1,449 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 至 + + + + + 查询 + 重置 + + + + + + + + + + + + + + + {{item}} + + + + + + + + + + + + + {{scope.row.adviceContent}} + + + + + + + + 查看 + + + + + + + + + + + + + + + + + + + + +
{{item}}