diff --git a/index.html b/index.html index 78447f2..91592bd 100644 --- a/index.html +++ b/index.html @@ -10,6 +10,7 @@ +
diff --git a/public/imgs/police.jpeg b/public/imgs/police.jpeg new file mode 100644 index 0000000..fe8bdd0 Binary files /dev/null and b/public/imgs/police.jpeg differ diff --git a/src/App.vue b/src/App.vue index 43bc0b1..9a2415a 100644 --- a/src/App.vue +++ b/src/App.vue @@ -10,4 +10,5 @@ const elConfig = { zIndex: 3000, locale: zhCn } - \ No newline at end of file + + diff --git a/src/api/sensitivePerception/profileDepart.ts b/src/api/sensitivePerception/profileDepart.ts index 719ce94..86c7d60 100644 --- a/src/api/sensitivePerception/profileDepart.ts +++ b/src/api/sensitivePerception/profileDepart.ts @@ -7,8 +7,15 @@ export function listDepartNegative(query) { }); } -export function getDepartProfile(departId) { +export function getDepartProfile(departId, query) { return request.get({ - url: `/profile/depart/${departId}` + url: `/profile/depart/${departId}`, + query + }); +} + +export function listNegativeMonthly(departId) { + return request.get({ + url: `/profile/depart/${departId}/month` }); } \ No newline at end of file diff --git a/src/api/sensitivePerception/profilePolice.ts b/src/api/sensitivePerception/profilePolice.ts new file mode 100644 index 0000000..f4d3b15 --- /dev/null +++ b/src/api/sensitivePerception/profilePolice.ts @@ -0,0 +1,28 @@ +import request from "@/api/request"; + +export function listPoliceNegative(query) { + return request.get({ + url: `/profile/police`, + query + }); +} + +export function getPoliceProfile(idCode, query) { + return request.get({ + url: `/profile/police/${idCode}`, + query + }); +} + +export function listNegativeByPoliceIdCode(idCode, query) { + return request.get({ + url: `/profile/police/${idCode}/negative`, + query + }); +} + +export function listNegativeMonthly(idCode) { + return request.get({ + url: `/profile/police/${idCode}/month` + }); +} \ No newline at end of file diff --git a/src/components/datav/card.vue b/src/components/datav/card.vue index a074c69..5d3f7a9 100644 --- a/src/components/datav/card.vue +++ b/src/components/datav/card.vue @@ -23,7 +23,7 @@ defineProps({ \ No newline at end of file diff --git a/src/views/sensitivePerception/DepartNegative.vue b/src/views/sensitivePerception/DepartNegative.vue index 6de8d93..11bd9ae 100644 --- a/src/views/sensitivePerception/DepartNegative.vue +++ b/src/views/sensitivePerception/DepartNegative.vue @@ -4,7 +4,22 @@ - + + + + + + + + + + + + + + - - + @@ -32,7 +48,7 @@ -
+
\ No newline at end of file diff --git a/src/views/work/Fav.vue b/src/views/work/Fav.vue index e9ba7c0..d6a966a 100644 --- a/src/views/work/Fav.vue +++ b/src/views/work/Fav.vue @@ -5,27 +5,44 @@ - + - + - + - + @@ -36,12 +53,16 @@ - + - + @@ -89,7 +110,7 @@
- {{ }} + {{}}
@@ -103,7 +124,7 @@
- {{ }} + {{}}
@@ -120,18 +141,36 @@ - - - - - - + + + + + + + + @@ -154,51 +193,56 @@ \ No newline at end of file diff --git a/vite.config.ts.timestamp-1730686774606-8b00c58248ca4.mjs b/vite.config.ts.timestamp-1730686774606-8b00c58248ca4.mjs new file mode 100644 index 0000000..8679102 --- /dev/null +++ b/vite.config.ts.timestamp-1730686774606-8b00c58248ca4.mjs @@ -0,0 +1,88 @@ +// vite.config.ts +import { fileURLToPath } from "url"; +import { defineConfig, loadEnv } from "file:///D:/Workspace/%E5%88%9B%E5%AE%A2/%E5%85%AC%E5%AE%89%E9%A1%B9%E7%9B%AE/%E6%95%B0%E5%AD%97%E7%9D%A3%E5%AF%9F/supervision-vue/node_modules/vite/dist/node/index.js"; +import vue from "file:///D:/Workspace/%E5%88%9B%E5%AE%A2/%E5%85%AC%E5%AE%89%E9%A1%B9%E7%9B%AE/%E6%95%B0%E5%AD%97%E7%9D%A3%E5%AF%9F/supervision-vue/node_modules/@vitejs/plugin-vue/dist/index.mjs"; +import path from "path"; +import AutoImport from "file:///D:/Workspace/%E5%88%9B%E5%AE%A2/%E5%85%AC%E5%AE%89%E9%A1%B9%E7%9B%AE/%E6%95%B0%E5%AD%97%E7%9D%A3%E5%AF%9F/supervision-vue/node_modules/unplugin-auto-import/dist/vite.js"; +import Components from "file:///D:/Workspace/%E5%88%9B%E5%AE%A2/%E5%85%AC%E5%AE%89%E9%A1%B9%E7%9B%AE/%E6%95%B0%E5%AD%97%E7%9D%A3%E5%AF%9F/supervision-vue/node_modules/unplugin-vue-components/dist/vite.js"; +import { ElementPlusResolver } from "file:///D:/Workspace/%E5%88%9B%E5%AE%A2/%E5%85%AC%E5%AE%89%E9%A1%B9%E7%9B%AE/%E6%95%B0%E5%AD%97%E7%9D%A3%E5%AF%9F/supervision-vue/node_modules/unplugin-vue-components/dist/resolvers.js"; +import { createSvgIconsPlugin } from "file:///D:/Workspace/%E5%88%9B%E5%AE%A2/%E5%85%AC%E5%AE%89%E9%A1%B9%E7%9B%AE/%E6%95%B0%E5%AD%97%E7%9D%A3%E5%AF%9F/supervision-vue/node_modules/vite-plugin-svg-icons/dist/index.mjs"; +import postCssPxToRem from "file:///D:/Workspace/%E5%88%9B%E5%AE%A2/%E5%85%AC%E5%AE%89%E9%A1%B9%E7%9B%AE/%E6%95%B0%E5%AD%97%E7%9D%A3%E5%AF%9F/supervision-vue/node_modules/postcss-pxtorem/index.js"; +import { univerPlugin } from "file:///D:/Workspace/%E5%88%9B%E5%AE%A2/%E5%85%AC%E5%AE%89%E9%A1%B9%E7%9B%AE/%E6%95%B0%E5%AD%97%E7%9D%A3%E5%AF%9F/supervision-vue/node_modules/@univerjs/vite-plugin/lib/index.js"; +var __vite_injected_original_dirname = "D:\\Workspace\\\u521B\u5BA2\\\u516C\u5B89\u9879\u76EE\\\u6570\u5B57\u7763\u5BDF\\supervision-vue"; +var __vite_injected_original_import_meta_url = "file:///D:/Workspace/%E5%88%9B%E5%AE%A2/%E5%85%AC%E5%AE%89%E9%A1%B9%E7%9B%AE/%E6%95%B0%E5%AD%97%E7%9D%A3%E5%AF%9F/supervision-vue/vite.config.ts"; +var vite_config_default = ({ mode }) => { + const env = loadEnv(mode, process.cwd()); + return defineConfig({ + base: env.VITE_BASE, + define: { + "process.env": env + }, + server: { + host: "0.0.0.0", + port: 5172, + proxy: { + "/api/v2/": { + target: "http://127.0.0.1:8080/", + changeOrigin: true, + rewrite: (p) => p.replace(/^\/api\/v2/, "") + } + } + }, + plugins: [ + vue(), + AutoImport({ + imports: [ + "vue", + "vue-router" + ], + resolvers: [ElementPlusResolver()] + }), + Components({ + directoryAsNamespace: true, + resolvers: [ElementPlusResolver({ + importStyle: "sass" + })] + }), + createSvgIconsPlugin({ + // 配置路劲在你的src里的svg存放文件 + iconDirs: [fileURLToPath(new URL("./src/assets/icons", __vite_injected_original_import_meta_url))], + symbolId: "local-icon-[name]" + }), + univerPlugin() + ], + resolve: { + // https://cn.vitejs.dev/config/#resolve-alias + alias: { + // 设置别名 + "~/": `${path.resolve(__vite_injected_original_dirname, "src")}/`, + "@": path.resolve(__vite_injected_original_dirname, "./src/") + }, + // https://cn.vitejs.dev/config/#resolve-extensions + extensions: [".js", ".ts"] + }, + css: { + preprocessorOptions: { + scss: { + additionalData: `@use "src/style/theme.scss" as *;` + } + }, + postcss: { + plugins: [ + postCssPxToRem({ + rootValue: 192, + propList: ["*"] + }) + ] + } + }, + build: { + outDir: "v2" + // target: "es2015" + } + }); +}; +export { + vite_config_default as default +}; +//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcudHMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxXb3Jrc3BhY2VcXFxcXHU1MjFCXHU1QkEyXFxcXFx1NTE2Q1x1NUI4OVx1OTg3OVx1NzZFRVxcXFxcdTY1NzBcdTVCNTdcdTc3NjNcdTVCREZcXFxcc3VwZXJ2aXNpb24tdnVlXCI7Y29uc3QgX192aXRlX2luamVjdGVkX29yaWdpbmFsX2ZpbGVuYW1lID0gXCJEOlxcXFxXb3Jrc3BhY2VcXFxcXHU1MjFCXHU1QkEyXFxcXFx1NTE2Q1x1NUI4OVx1OTg3OVx1NzZFRVxcXFxcdTY1NzBcdTVCN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