From 2e76e056f45b86a6c6ffef4ae839e2b30dd317a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=97=8B?= <723607471@qq.com> Date: Thu, 13 Apr 2023 17:04:59 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E6=B7=BB=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 12 ++- .../responseManagement/userResponse/index.vue | 78 ++++++++++--------- 2 files changed, 46 insertions(+), 44 deletions(-) diff --git a/package-lock.json b/package-lock.json index c62f0ac..ceda835 100644 --- a/package-lock.json +++ b/package-lock.json @@ -329,6 +329,11 @@ "fastq": "^1.6.0" } }, + "@popperjs/core": { + "version": "npm:@sxzz/popperjs-es@2.11.7", + "resolved": "https://registry.npmmirror.com/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz", + "integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==" + }, "@rollup/pluginutils": { "version": "4.2.1", "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-4.2.1.tgz", @@ -946,13 +951,6 @@ "lodash-unified": "^1.0.2", "memoize-one": "^6.0.0", "normalize-wheel-es": "^1.2.0" - }, - "dependencies": { - "@popperjs/core": { - "version": "npm:@sxzz/popperjs-es@2.11.7", - "resolved": "https://registry.npmjs.org/@sxzz/popperjs-es/-/popperjs-es-2.11.7.tgz", - "integrity": "sha512-Ccy0NlLkzr0Ex2FKvh2X+OyERHXJ88XJ1MXtsI9y9fGexlaXaVTPzBCRBwIxFkORuOb+uBqeu+RqnpgYTEZRUQ==" - } } }, "esbuild": { diff --git a/src/views/responseManagement/userResponse/index.vue b/src/views/responseManagement/userResponse/index.vue index e3b9f44..b5c4fee 100644 --- a/src/views/responseManagement/userResponse/index.vue +++ b/src/views/responseManagement/userResponse/index.vue @@ -26,15 +26,13 @@ @@ -91,8 +89,8 @@ @@ -124,20 +122,22 @@ - + + + Point + Area + Clear + + + Latitude: + + Longitude: + + - - + + \ No newline at end of file diff --git a/src/router/route.js b/src/router/route.js index de4aec2..81f8859 100644 --- a/src/router/route.js +++ b/src/router/route.js @@ -77,22 +77,6 @@ export const dynamicRoutes = [ zh: '用户响应管理', }, }, - { - path: '/responseManagement/administrator', - name: 'administrator-management', - component: () => import('/@/views/responseManagement/administrator/index.vue'), - meta: { - title: 'Administrator management', - isLink: '', - isHide: false, - isKeepAlive: true, - isAffix: false, - isIframe: false, - roles: ['admin', 'chief'], - icon: 'ele-ColdDrink', - zh: '管理员管理', - }, - }, { path: '/responseManagement/dataUpload', name: 'data-upload-management', @@ -176,6 +160,38 @@ export const dynamicRoutes = [ zh: '其他数据服务', }, }, + { + path: '/dataService/visualData', + name: 'visualData', + component: () => import('/@/views/dataService/visualData/index.vue'), + meta: { + title: 'visual data service', + isLink: '', + isHide: false, + isKeepAlive: true, + isAffix: false, + isIframe: false, + roles: ['admin', 'chief'], + icon: 'ele-ColdDrink', + zh: '其他数据服务', + }, + }, + { + path: '/dataService/pictureInfo', + name: 'pictureInfo', + component: () => import('/@/views/dataService/pictureInfo/index.vue'), + meta: { + title: 'picture info service', + isLink: '', + isHide: false, + isKeepAlive: true, + isAffix: false, + isIframe: false, + roles: ['admin', 'chief'], + icon: 'ele-ColdDrink', + zh: '其他数据服务', + }, + }, ], }, { @@ -195,6 +211,22 @@ export const dynamicRoutes = [ zh: '系统管理', }, children: [ + { + path: '/systemManagement/chief/administrator', + name: 'chief-administrator-management', + component: () => import('/@/views/systemManagement/chiefAdministrator/index.vue'), + meta: { + title: 'Chief Administrator management', + isLink: '', + isHide: false, + isKeepAlive: true, + isAffix: false, + isIframe: false, + roles: ['admin', 'chief'], + icon: 'ele-ColdDrink', + zh: '管理员管理', + }, + }, { path: '/systemManagement/administrator', name: 'administratorManagement', diff --git a/src/views/dataService/otherData/component/upload.vue b/src/views/dataService/otherData/component/upload.vue new file mode 100644 index 0000000..34dc48c --- /dev/null +++ b/src/views/dataService/otherData/component/upload.vue @@ -0,0 +1,185 @@ + + + + + \ No newline at end of file diff --git a/src/views/dataService/otherData/index.vue b/src/views/dataService/otherData/index.vue index 0443ea4..8112ab1 100644 --- a/src/views/dataService/otherData/index.vue +++ b/src/views/dataService/otherData/index.vue @@ -1,191 +1,142 @@ - + diff --git a/src/views/dataService/pictureInfo/component/upload.vue b/src/views/dataService/pictureInfo/component/upload.vue new file mode 100644 index 0000000..e7b7f4b --- /dev/null +++ b/src/views/dataService/pictureInfo/component/upload.vue @@ -0,0 +1,169 @@ + + + + + \ No newline at end of file diff --git a/src/views/dataService/pictureInfo/index.vue b/src/views/dataService/pictureInfo/index.vue new file mode 100644 index 0000000..256004e --- /dev/null +++ b/src/views/dataService/pictureInfo/index.vue @@ -0,0 +1,283 @@ + + + + diff --git a/src/views/dataService/visualData/component/hotspotForm.vue b/src/views/dataService/visualData/component/hotspotForm.vue new file mode 100644 index 0000000..78e4b11 --- /dev/null +++ b/src/views/dataService/visualData/component/hotspotForm.vue @@ -0,0 +1,125 @@ + + + + + \ No newline at end of file diff --git a/src/views/dataService/visualData/component/wordCloudForm.vue b/src/views/dataService/visualData/component/wordCloudForm.vue new file mode 100644 index 0000000..35b33d5 --- /dev/null +++ b/src/views/dataService/visualData/component/wordCloudForm.vue @@ -0,0 +1,131 @@ + + + + + \ No newline at end of file diff --git a/src/views/dataService/visualData/index.vue b/src/views/dataService/visualData/index.vue new file mode 100644 index 0000000..ad5d532 --- /dev/null +++ b/src/views/dataService/visualData/index.vue @@ -0,0 +1,348 @@ + + + + diff --git a/src/views/responseManagement/dataUpload/component/audit.vue b/src/views/responseManagement/dataUpload/component/audit.vue new file mode 100644 index 0000000..7fb7f00 --- /dev/null +++ b/src/views/responseManagement/dataUpload/component/audit.vue @@ -0,0 +1,99 @@ + + + + + \ No newline at end of file diff --git a/src/views/responseManagement/dataUpload/index.vue b/src/views/responseManagement/dataUpload/index.vue index 92b35bb..292b704 100644 --- a/src/views/responseManagement/dataUpload/index.vue +++ b/src/views/responseManagement/dataUpload/index.vue @@ -1,82 +1,94 @@ diff --git a/src/views/systemManagement/administrator/component/audit.vue b/src/views/systemManagement/administrator/component/audit.vue index 9d7ff89..18fdf15 100644 --- a/src/views/systemManagement/administrator/component/audit.vue +++ b/src/views/systemManagement/administrator/component/audit.vue @@ -23,6 +23,7 @@ import {addAdmin} from '/@/api/response/administrator.js'; import {auditData} from '/@/api/response/adminManager.js'; import {ElMessage} from "element-plus"; const adminAddFormRef = ref(); +const emit = defineEmits(['callback']); const state = reactive({ isShowDialog: false, isLoading:false, diff --git a/src/views/systemManagement/administrator/index.vue b/src/views/systemManagement/administrator/index.vue index 2b92f44..7f3ad17 100644 --- a/src/views/systemManagement/administrator/index.vue +++ b/src/views/systemManagement/administrator/index.vue @@ -122,7 +122,6 @@ const auditManager = (row) => { const getTableData = () => { state.tableData.loading = true; getAdminManagerPage(state.tableData.param.pageNum,state.tableData.param.pageSize,{"managerName":state.searchName}).then(res=>{ - console.log("分页数据",res); state.tableData.data = res.records; state.tableData.total = res.total; }) diff --git a/src/views/responseManagement/administrator/component/addAdministrator.vue b/src/views/systemManagement/chiefAdministrator/component/addAdministrator.vue similarity index 72% rename from src/views/responseManagement/administrator/component/addAdministrator.vue rename to src/views/systemManagement/chiefAdministrator/component/addAdministrator.vue index 9284c36..c7e5a97 100644 --- a/src/views/responseManagement/administrator/component/addAdministrator.vue +++ b/src/views/systemManagement/chiefAdministrator/component/addAdministrator.vue @@ -14,7 +14,7 @@ - +