页面更新

This commit is contained in:
磷叶 2025-04-30 10:39:28 +08:00
parent 3cb36d1852
commit 36c1c5e21c
4 changed files with 73 additions and 5 deletions

View File

@ -2,9 +2,58 @@
"compilerOptions": { "compilerOptions": {
"baseUrl": "./", "baseUrl": "./",
"paths": { "paths": {
"@/*": ["src/*"] "@/*": ["src/*"],
} "components/*": ["src/components/*"],
"views/*": ["src/views/*"],
"api/*": ["src/api/*"],
"utils/*": ["src/utils/*"],
"assets/*": ["src/assets/*"]
},
"target": "ES6",
"module": "ESNext",
"moduleResolution": "node",
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"allowJs": true,
"checkJs": false,
"strict": true,
"noImplicitAny": false,
"strictNullChecks": false,
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"jsx": "preserve",
"lib": ["dom", "esnext"],
"types": ["@types/node"],
"sourceMap": true,
"allowSyntheticDefaultImports": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"noEmit": true,
"isolatedModules": true,
"preserveSymlinks": true
}, },
"include": ["src/**/*"], "include": [
"exclude": ["node_modules"] "src/**/*",
"src/**/*.vue",
"src/**/*.js",
"src/**/*.ts",
"src/**/*.jsx",
"src/**/*.tsx",
"src/**/*.json"
],
"exclude": [
"node_modules",
"dist",
"build",
"**/node_modules",
"**/dist",
"**/build"
],
"vueCompilerOptions": {
"target": 2.7,
"experimentalCompatMode": 2,
"strictTemplates": false
}
} }

View File

@ -75,6 +75,9 @@
<template #append></template> <template #append></template>
</el-input> </el-input>
</form-col> </form-col>
<!-- <form-col :span="span * 2" label="超时断电" prop="timeoutLock" tip="风险操作!!!开启后,当订单的预存不足时,将会对车辆进行断电">
<el-switch v-model="form.timeoutLock" active-text="开启" inactive-text="关闭" @change="onChangeTimeoutLock"/>
</form-col> -->
</el-row> </el-row>
</collapse-panel> </collapse-panel>
<collapse-panel title="还车设置" :value="true"> <collapse-panel title="还车设置" :value="true">
@ -183,6 +186,19 @@ export default {
} }
}, },
methods: { methods: {
onChangeTimeoutLock(val) {
if (val) {
this.$confirm('开启超时断电功能可能造成安全事故,是否继续?', '风险提示', {
confirmButtonText: '确定',
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
this.form.timeoutLock = true;
}).catch(() => {
this.form.timeoutLock = false;
});
}
},
/** 获取运营区详细信息 */ /** 获取运营区详细信息 */
getInfo(id) { getInfo(id) {
this.loading = true; this.loading = true;

View File

@ -99,6 +99,8 @@ export default {
areaSubList: [], areaSubList: [],
locationLogList: [], locationLogList: [],
queryParams: { queryParams: {
orderByColumn: "at",
isAsc: "asc",
timeRange: [parseTime(new Date(), '{y}-{m}-{d} 00:00:00'), parseTime(new Date(), '{y}-{m}-{d} 23:59:59')] timeRange: [parseTime(new Date(), '{y}-{m}-{d} 00:00:00'), parseTime(new Date(), '{y}-{m}-{d} 23:59:59')]
}, },
loading: false, loading: false,

View File

@ -139,7 +139,8 @@ export default {
StatKeys.AREA_COUNT, StatKeys.AREA_COUNT,
StatKeys.AREA_JOIN_COUNT, StatKeys.AREA_JOIN_COUNT,
StatKeys.AREA_JOIN_PARTNER_COUNT, StatKeys.AREA_JOIN_PARTNER_COUNT,
StatKeys.USER_MCH_COUNT StatKeys.USER_MCH_COUNT,
StatKeys.BONUS_WAIT_DIVIDE_AMOUNT
] ]
}) })
if (res.code === 200) { if (res.code === 200) {