Compare commits

...

26 Commits

Author SHA1 Message Date
faae591f4c 修改代码样式 2025-10-27 11:06:03 +08:00
da4b440b0e 1 2025-10-27 10:35:37 +08:00
d8bf6fd1b5 修改样式 2025-10-27 10:33:48 +08:00
ffe45a240d 合并代码 2025-10-27 09:54:17 +08:00
0ed458cb08 Merge branch 'pathPlan' of https://git.rangutech.com/yiqiuyang/kxfx into yqy 2025-10-27 09:50:49 +08:00
a562e2cea8 add 样式 2025-10-27 09:46:51 +08:00
af252cd65e fix 2025-10-24 09:02:28 +08:00
2f6de52604 修改字体 2025-10-24 09:01:00 +08:00
278176a0fb Merge branch 'pathPlan' of https://git.rangutech.com/yiqiuyang/kxfx into yqy 2025-10-23 10:24:10 +08:00
444bded88f add 字体 2025-10-23 10:23:50 +08:00
9444e6db5d Merge branch 'pathPlan' of https://git.rangutech.com/yiqiuyang/kxfx into yqy 2025-10-23 09:47:02 +08:00
2b639ea0f3 1 2025-10-23 09:43:28 +08:00
964ce7cede fix bug修复 2025-10-16 16:02:23 +08:00
ce70fd98ec add json编辑功能 2025-10-15 09:27:20 +08:00
7d22506f18 add json 编辑 2025-10-14 17:23:54 +08:00
0aecd99d65 改成ES5打包 2025-10-14 11:35:33 +08:00
04f23de755 去掉this.$alert 2025-10-13 13:34:22 +08:00
7dca973b3b 新增全部导出功能 2025-10-13 11:33:48 +08:00
31f8c849b8 新增导出功能 2025-10-10 18:32:13 +08:00
328700ec89 fix 2025-10-10 18:31:44 +08:00
2ad6bc1b47 add 导出 2025-10-10 15:32:47 +08:00
41f9034f54 ## 机动路线规划 2025-10-10 11:38:34 +08:00
ae2f9d94e1 fix 路线规划 隐蔽 2025-10-10 11:35:42 +08:00
c1876d23bd add 隐蔽规划 2025-09-24 11:15:23 +08:00
e2b73640df Merge branch 'main' of https://work.rangutech.cn:85/yiqiuyang/kxfx 2025-09-10 09:44:48 +08:00
f084fc92e9 代码提交 2025-09-10 09:44:44 +08:00
20 changed files with 8249 additions and 791 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@ pnpm-debug.log*
*.njsproj
*.sln
*.sw?
*.zip

View File

@ -4,5 +4,6 @@
"semi": false,
"singleQuote": true,
"trailingComma": "es5",
"bracketSpacing": false
"bracketSpacing": false,
"printWidth": 120
}

View File

@ -1,29 +1,3 @@
# kxfx
## Project setup
```
npm install
```
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
### Lints and fixes files
```
npm run lint
```
### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
## 机动路线规划

421
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -9,12 +9,15 @@
"lint": "vue-cli-service lint"
},
"dependencies": {
"@babel/preset-env": "^7.28.3",
"axios": "0.21.0",
"core-js": "^3.8.3",
"echarts": "^5.4.3",
"element-ui": "2.9.2",
"file-saver": "^2.0.5",
"gsap": "^3.13.0",
"ini-parser": "^0.0.2",
"js-cookie": "2.2.1",
"raw-loader": "^4.0.2",
"vue": "^2.6.14",
"vue-router": "^3.5.1",
"vuex": "^3.6.2",
@ -22,13 +25,15 @@
"vxe-table": "~3.18.9"
},
"devDependencies": {
"@babel/core": "^7.12.16",
"@babel/core": "^7.28.4",
"@babel/eslint-parser": "^7.12.16",
"@vue/cli-plugin-babel": "~5.0.0",
"@vue/cli-plugin-eslint": "~5.0.0",
"@vue/cli-plugin-router": "~5.0.0",
"@vue/cli-plugin-vuex": "~5.0.0",
"@vue/cli-service": "~5.0.0",
"babel-loader": "^10.0.0",
"core-js": "^3.46.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",

6
public/config.ini Normal file
View File

@ -0,0 +1,6 @@
[http]
port=8083
address=127.0.0.1
[title]
msg=道路堪选分析

File diff suppressed because it is too large Load Diff

View File

@ -59,7 +59,7 @@
"id": "image-tdss",
"name": "影像图",
"type": "xyz",
"url": "http:/www.tdss.website:280/tiles/img_c/{z}/{x}/{y}",
"url": "http://www.tdss.website:280/tiles/img_c/{z}/{x}/{y}",
"crs": "EPSG:4490",
"show": true
}

View File

@ -1,24 +1,32 @@
[
{
"id": 1,
"name": "车1",
"long": 10,
"width": 7,
"load": 3,
"minTurnRadius": 5
},
{
"id": 2,
"name": "车2",
"long": 10,
"width": 11,
"load": 1,
"minTurnRadius": 6
},
{
"id": 3,
"name": "车3",
"long": 10,
"width": 8,
"load": 7,
"minTurnRadius": 10
},
{
"id": 4,
"name": "车4",
"long": 10,
"width": 10,
"load": 5,
"minTurnRadius": 2

View File

@ -1,16 +1,16 @@
{
"startPoint": "114.26344,27.800982",
"endPoint": "114.284668,27.794961",
"startPoint": "114.312888,27.796612",
"endPoint": "114.336525,27.767989",
"viaPoints": [
{
"time": "1694352000000",
"points": "114.272329,27.797299"
"points": "114.334239,27.779261"
}
],
"avoidPoints": [
{
"time": "1694352003000",
"points": "114.27882,27.792857"
"points": ""
}
],
"avoidAreas": [

View File

@ -17,7 +17,7 @@ export default {
return {
routerMap: {
1: '/',
2: '/residentAnalysis',
// 2: '/residentAnalysis ',
},
}
},

Binary file not shown.

View File

@ -1,11 +1,58 @@
@font-face {
font-family: 'Dengxian';
src: url('@/assets/scss/Dengxian.ttf') format('truetype');
font-weight: 400;
font-style: normal;
font-display: swap;
}
/* 全局强制继承 */
html, body, #app, .cesium-widget, .mars3d-container,
.mars3d-popup, .mars3d-tooltip, .mars3d-contextmenu,
.mars3d-measure-result, .cesium-credit-text,
.el-button, .el-input, .el-select, .el-table, .el-form, .el-dialog,
.el-message, .el-notification, .el-tooltip,
.el-menu, .el-breadcrumb, .el-pagination,
.el-radio, .el-checkbox, .el-tag, .el-badge,
.el-alert, .el-steps, .el-tabs, .el-calendar,
.el-date-picker, .el-cascader, .el-transfer,
.el-slider, .el-upload,
.el-empty, .el-result,
.el-loading-text,.el-table,
.el-table__body-wrapper span,
.el-table__footer-wrapper span,
.el-table__header-wrapper span,
.el-table__fixed span,
.el-table__fixed-right span,.vxe-table *,
.vxe-table--render-default .vxe-cell span,
.vxe-table--render-default .vxe-cell--title,
.vxe-table--render-default .vxe-cell--label,
.vxe-toolbar *,
.vxe-pager *,
.vxe-modal--wrapper *,
.vxe-tooltip--wrapper * {
font-family: 'DengXian', sans-serif !important;
}
/* 覆盖 mars3d 所有内部 UI */
.mars3d-draw-tooltip,
.mars3d-measure-tooltip,
.mars3d-contextmenu *,
.mars3d-popup *,
.mars3d-measure-result *,
.mars3d-control-btn {
font-family: 'DengXian', sans-serif !important;
}
.Dengxian {
font-family: 'Dengxian' !important;
}
body,
html {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
Microsoft YaHei, Arial, sans-serif;
font-family: 'Dengxian' !important;
user-select: none;
scrollbar-width: none;
-ms-overflow-style: none;
@ -33,3 +80,20 @@ html {
.flex-warp {
flex-wrap: wrap;
}
.el-form-item {
display: flex!important;
justify-content: space-between;
margin-bottom: 12px!important;
}
.el-form-item__label {
letter-spacing: -1px;
min-width: 130px!important;
padding: 0!important;
white-space: nowrap; /* 强制不换行 */
flex-shrink: 0;
font-size: 16px!important;
}
.el-input__inner {
height: 24px;
line-height: 24px;
}

View File

@ -1,18 +1,18 @@
import Vue from 'vue'
import VueRouter from 'vue-router'
import HomeView from '../views/home.vue'
import HomeView from '../views/home/home.vue'
import residentAnalysis from '@/views/residentAnalysis/index.vue'
Vue.use(VueRouter)
const routes = [
{
path: '/',
path: '/home',
name: 'home',
component: HomeView,
},
{
path: '/residentAnalysis',
path: '/',
name: 'residentAnalysis',
component: residentAnalysis,
},

View File

@ -22,8 +22,8 @@ export default {
data() {
return {
tabList: [
{id: 1, label: '机动路线规划'},
{id: 2, label: '临时部署驻地分析'},
// {id: 1, label: '机动路线规划'},
{id: 1, label: '临时部署驻地分析'},
],
activeIndex: 1,
}
@ -64,7 +64,7 @@ $label_height: 50px;
line-height: $label_height;
padding: 0 30px;
margin-right: 20px;
font-family: 'HarmonyOS Sans';
// font-family: 'HarmonyOS Sans';
font-weight: 400;
font-size: 20px;
cursor: pointer;

File diff suppressed because it is too large Load Diff

2644
src/views/home/home.vue Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,30 +1,52 @@
const {defineConfig} = require('@vue/cli-service')
const postcssPxToViewport = require('postcss-px-to-viewport')
const path = require('path') // 需要引入 path 模块
const path = require('path')
module.exports = defineConfig({
publicPath: './',
transpileDependencies: false,
transpileDependencies: false, // 我们自己管,不让 CLI 插手
lintOnSave: false,
devServer: {
client: {
overlay: false,
},
},
configureWebpack: (config) => {
//调试JS
devServer: {client: {overlay: false}},
configureWebpack(config) {
// 调试
config.devtool = 'source-map'
config.resolve = {
alias: {
'@': path.resolve(__dirname, 'src'),
},
}
// 别名
config.resolve.alias['@'] = path.resolve(__dirname, 'src')
/* 1. 追加 ini 规则 */
config.module.rules.push({
test: /\.ini$/,
use: 'raw-loader',
})
/* 2. 追加 ES5 规则(只转 src不转 node_modules */
// config.module.rules.push({
// test: /\.js$/,
// include: path.resolve(__dirname, 'src'),
// use: {
// loader: 'babel-loader',
// options: {
// presets: [
// [
// '@babel/preset-env',
// {
// targets: {ie: '11'}, // 强制 ES5
// corejs: 3,
// useBuiltIns: 'entry',
// },
// ],
// ],
// },
// },
// })
},
css: {
/* 你的 px-to-viewport 配置不动 */
loaderOptions: {
postcss: {
postcssOptions: {
// 增加这一层 postcssOptions
plugins: [
postcssPxToViewport({
unitToConvert: 'px',
@ -37,7 +59,7 @@ module.exports = defineConfig({
minPixelValue: 1,
mediaQuery: false,
replace: true,
exclude: /(\/|\\)(node_modules)(\/|\\)/,
exclude: /node_modules/,
include: [],
landscape: false,
}),