- 修改 登录过期提示 - 增加 ie10,11兼容 //todo 需后端修改下nginx配置 - 取消 通用例外显示方式 - 取消 用户例外转通用类别的显示master
@@ -1,7 +1,7 @@ | |||||
<!-- | <!-- | ||||
* @Date: 2021-11-29 11:14:13 | * @Date: 2021-11-29 11:14:13 | ||||
* @LastEditors: JinxuChen | * @LastEditors: JinxuChen | ||||
* @LastEditTime: 2022-01-07 15:14:51 | |||||
* @LastEditTime: 2022-01-08 16:19:21 | |||||
* @FilePath: \GpsCardAdmin\README.md | * @FilePath: \GpsCardAdmin\README.md | ||||
* @description: | * @description: | ||||
--> | --> | ||||
@@ -154,4 +154,13 @@ FIX | |||||
`2021年1月7日` | `2021年1月7日` | ||||
FIX | FIX | ||||
- 修改 登录过期提示 | - 修改 登录过期提示 | ||||
- 修改 登录过期提示一 | |||||
- 修改 登录过期提示一 | |||||
## v1.1.9F | |||||
`2021年1月8日` | |||||
FIX | |||||
- 修改 登录过期提示 | |||||
- 增加 ie10,11兼容 //todo 需后端修改下nginx配置 | |||||
- 取消 通用例外显示方式 | |||||
- 取消 用户例外转通用类别的显示 |
@@ -1,7 +1,15 @@ | |||||
/* | |||||
* @Date: 2021-11-30 15:35:16 | |||||
* @LastEditors: JinxuChen | |||||
* @LastEditTime: 2022-01-08 15:26:58 | |||||
* @FilePath: \GpsCardAdmin\babel.config.js | |||||
* @description: | |||||
*/ | |||||
module.exports = { | module.exports = { | ||||
presets: [ | presets: [ | ||||
// https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app | // https://github.com/vuejs/vue-cli/tree/master/packages/@vue/babel-preset-app | ||||
'@vue/cli-plugin-babel/preset' | |||||
'@vue/cli-plugin-babel/preset', | |||||
/* ["@vue/app", {useBuiltIns: "entry",}] */ | |||||
], | ], | ||||
'env': { | 'env': { | ||||
'development': { | 'development': { | ||||
@@ -38,6 +38,7 @@ | |||||
"babel-eslint": "10.1.0", | "babel-eslint": "10.1.0", | ||||
"babel-jest": "23.6.0", | "babel-jest": "23.6.0", | ||||
"babel-plugin-dynamic-import-node": "2.3.3", | "babel-plugin-dynamic-import-node": "2.3.3", | ||||
"babel-polyfill": "^6.26.0", | |||||
"chalk": "2.4.2", | "chalk": "2.4.2", | ||||
"connect": "3.6.6", | "connect": "3.6.6", | ||||
"eslint": "6.7.2", | "eslint": "6.7.2", | ||||
@@ -1,7 +1,7 @@ | |||||
/* | /* | ||||
* @Date: 2021-11-30 15:35:16 | * @Date: 2021-11-30 15:35:16 | ||||
* @LastEditors: JinxuChen | * @LastEditors: JinxuChen | ||||
* @LastEditTime: 2021-12-15 16:30:23 | |||||
* @LastEditTime: 2022-01-08 15:36:12 | |||||
* @FilePath: \GpsCardAdmin\src\main.js | * @FilePath: \GpsCardAdmin\src\main.js | ||||
* @description: | * @description: | ||||
*/ | */ | ||||
@@ -11,7 +11,7 @@ import 'normalize.css/normalize.css' // A modern alternative to CSS resets | |||||
import ElementUI from 'element-ui' | import ElementUI from 'element-ui' | ||||
import 'element-ui/lib/theme-chalk/index.css' | import 'element-ui/lib/theme-chalk/index.css' | ||||
import locale from 'element-ui/lib/locale/lang/en' // lang i18n | |||||
/* import locale from 'element-ui/lib/locale/lang/en' */ // lang i18n | |||||
import '@/styles/index.scss' // global css | import '@/styles/index.scss' // global css | ||||
@@ -19,6 +19,9 @@ import App from './App' | |||||
import store from './store' | import store from './store' | ||||
import router from './router' | import router from './router' | ||||
import localStore from './store/localStore' | import localStore from './store/localStore' | ||||
import 'babel-polyfill'; | |||||
import 'core-js/stable'; | |||||
import 'regenerator-runtime/runtime' | |||||
import '@/icons' // icon | import '@/icons' // icon | ||||
import '@/permission' // permission control | import '@/permission' // permission control | ||||
@@ -1,8 +1,8 @@ | |||||
/* | /* | ||||
* @Date: 2021-11-30 15:09:25 | * @Date: 2021-11-30 15:09:25 | ||||
* @LastEditors: JinxuChen | * @LastEditors: JinxuChen | ||||
* @LastEditTime: 2022-01-07 15:00:20 | |||||
* @LastEditTime: 2022-01-08 15:34:50 | |||||
* @FilePath: \GpsCardAdmin\src\utils\model.js | * @FilePath: \GpsCardAdmin\src\utils\model.js | ||||
* @description: 版本号 | * @description: 版本号 | ||||
*/ | */ | ||||
export const VersionModel = '1.1.8'; | |||||
export const VersionModel = '1.1.9'; |
@@ -1,7 +1,7 @@ | |||||
/* | /* | ||||
* @Date: 2021-12-08 15:59:46 | * @Date: 2021-12-08 15:59:46 | ||||
* @LastEditors: JinxuChen | * @LastEditors: JinxuChen | ||||
* @LastEditTime: 2022-01-07 15:15:13 | |||||
* @LastEditTime: 2022-01-08 16:36:58 | |||||
* @FilePath: \GpsCardAdmin\src\utils\request.js | * @FilePath: \GpsCardAdmin\src\utils\request.js | ||||
* @description: | * @description: | ||||
*/ | */ | ||||
@@ -75,7 +75,7 @@ service.interceptors.response.use( | |||||
setTimeout(() => { | setTimeout(() => { | ||||
store.dispatch('user/resetToken').then(() => { | store.dispatch('user/resetToken').then(() => { | ||||
Message({ | Message({ | ||||
message:/* res.message || */ 'token过期,请重新登录', | |||||
message: 'token过期,请重新登录', | |||||
type: 'error', | type: 'error', | ||||
duration: 1500 | duration: 1500 | ||||
}) | }) | ||||
@@ -84,7 +84,7 @@ service.interceptors.response.use( | |||||
}, 1500) | }, 1500) | ||||
return Promise.reject(new Error('token过期,请重新登录')) | return Promise.reject(new Error('token过期,请重新登录')) | ||||
} | } | ||||
return Promise.reject(new Error(res.message)) | |||||
/* return Promise.reject(new Error(res.message)) */ | |||||
} else { | } else { | ||||
return res | return res | ||||
} | } | ||||
@@ -1,7 +1,7 @@ | |||||
<!-- | <!-- | ||||
* @Date: 2021-11-30 09:44:24 | * @Date: 2021-11-30 09:44:24 | ||||
* @LastEditors: JinxuChen | * @LastEditors: JinxuChen | ||||
* @LastEditTime: 2021-12-28 10:42:15 | |||||
* @LastEditTime: 2022-01-08 16:23:36 | |||||
* @FilePath: \GpsCardAdmin\src\views\off-limits-manage\common-exception\index.vue | * @FilePath: \GpsCardAdmin\src\views\off-limits-manage\common-exception\index.vue | ||||
* @description: | * @description: | ||||
--> | --> | ||||
@@ -81,8 +81,8 @@ | |||||
label-position="left" | label-position="left" | ||||
label-width="70px" | label-width="70px" | ||||
> | > | ||||
<!-- 类别 --> | |||||
<el-form-item label="类别" prop="model"> | |||||
<!-- 类别 todo 暂时隐藏--> | |||||
<!-- <el-form-item label="类别" prop="model"> | |||||
<el-select | <el-select | ||||
v-model="form.model" | v-model="form.model" | ||||
class="filter-item" | class="filter-item" | ||||
@@ -97,7 +97,7 @@ | |||||
:value="item.value" | :value="item.value" | ||||
/> | /> | ||||
</el-select> | </el-select> | ||||
</el-form-item> | |||||
</el-form-item> --> | |||||
<!-- 内容名称 --> | <!-- 内容名称 --> | ||||
<el-form-item label="内容名称" prop="content" label-width="80px" clearable> | <el-form-item label="内容名称" prop="content" label-width="80px" clearable> | ||||
<el-input v-model="form.content" style="width: 100%" /> | <el-input v-model="form.content" style="width: 100%" /> | ||||
@@ -140,9 +140,9 @@ export default { | |||||
model: "", | model: "", | ||||
searchValue: "", | searchValue: "", | ||||
columns: [ | columns: [ | ||||
{ prop: "type", title: "类型", fixed: 'left'}, | |||||
{ prop: "model", title: "类别" }, | |||||
{ prop: "content", title: "内容名称" }, | |||||
/* { prop: "type", title: "类型", }, | |||||
{ prop: "model", title: "类别" }, */ | |||||
{ prop: "content", title: "内容名称", fixed: 'left'}, | |||||
{ prop: "createTime", title: "创建时间" }, | { prop: "createTime", title: "创建时间" }, | ||||
{ prop: "status", title: "状态" }, | { prop: "status", title: "状态" }, | ||||
{ | { | ||||
@@ -222,7 +222,7 @@ export default { | |||||
this.searchValue = ''; | this.searchValue = ''; | ||||
let reqBody = { | let reqBody = { | ||||
id: 0, | id: 0, | ||||
categoryId: this.form.categoryId, | |||||
categoryId: /* this.form.categoryId */'1639028957414', //todo 需求暂时隐藏类别,使用默认的类别 | |||||
keyword: this.form.content, | keyword: this.form.content, | ||||
status: this.checkoutStatusToNum(this.form.status), | status: this.checkoutStatusToNum(this.form.status), | ||||
glat: 0, | glat: 0, | ||||
@@ -1,7 +1,7 @@ | |||||
<!-- | <!-- | ||||
* @Date: 2021-11-30 09:44:24 | * @Date: 2021-11-30 09:44:24 | ||||
* @LastEditors: JinxuChen | * @LastEditors: JinxuChen | ||||
* @LastEditTime: 2021-12-28 17:00:02 | |||||
* @LastEditTime: 2022-01-08 16:27:51 | |||||
* @FilePath: \GpsCardAdmin\src\views\off-limits-manage\user-exception\index.vue | * @FilePath: \GpsCardAdmin\src\views\off-limits-manage\user-exception\index.vue | ||||
* @description: | * @description: | ||||
--> | --> | ||||
@@ -103,11 +103,11 @@ | |||||
</el-dialog> | </el-dialog> | ||||
<!-- 转通用弹窗 --> | <!-- 转通用弹窗 --> | ||||
<el-dialog :visible.sync="dialogTrans" :title="dialogTransTitle"> | <el-dialog :visible.sync="dialogTrans" :title="dialogTransTitle"> | ||||
<p>请选择要转换的类别:</p> | |||||
<!-- <p>请选择要转换的类别:</p> --> | |||||
<!-- <el-radio v-model="radio1" label="1" border>关键字</el-radio> | <!-- <el-radio v-model="radio1" label="1" border>关键字</el-radio> | ||||
<el-radio v-model="radio1" label="2" border>固定地点</el-radio>--> | <el-radio v-model="radio1" label="2" border>固定地点</el-radio>--> | ||||
<!-- 类别 --> | <!-- 类别 --> | ||||
<el-select | |||||
<!-- <el-select | |||||
v-model="model" | v-model="model" | ||||
placeholder="类别" | placeholder="类别" | ||||
style="width: 130px; margin-left: 10px;" | style="width: 130px; margin-left: 10px;" | ||||
@@ -122,7 +122,7 @@ | |||||
:value="item.value" | :value="item.value" | ||||
class="filter-item" | class="filter-item" | ||||
></el-option> | ></el-option> | ||||
</el-select> | |||||
</el-select> --> | |||||
<span slot="footer" class="dialog-footer"> | <span slot="footer" class="dialog-footer"> | ||||
<el-button type="error" @click="dialogTrans = false">取消</el-button> | <el-button type="error" @click="dialogTrans = false">取消</el-button> | ||||
<el-button type="primary" @click="onTransConfirm">确认</el-button> | <el-button type="primary" @click="onTransConfirm">确认</el-button> | ||||
@@ -142,7 +142,7 @@ export default { | |||||
components: { TTable, Pagination }, | components: { TTable, Pagination }, | ||||
data() { | data() { | ||||
return { | return { | ||||
model: "", //下拉框的值 | |||||
model: '1639028957414', //下拉框的值 | |||||
content: "", //内容 | content: "", //内容 | ||||
modelOptions: [], | modelOptions: [], | ||||
searchValue: "", | searchValue: "", | ||||
@@ -342,7 +342,7 @@ export default { | |||||
onTransConfirm() { | onTransConfirm() { | ||||
let reqBody = { | let reqBody = { | ||||
id: 0, | id: 0, | ||||
categoryId: this.model, | |||||
categoryId: this.model, //todo 需求暂时隐藏类别,使用默认的类别 | |||||
keyword: this.content, | keyword: this.content, | ||||
status: this.form.status, | status: this.form.status, | ||||
glat: 0, | glat: 0, | ||||
@@ -59,7 +59,7 @@ module.exports = { | |||||
include: 'initial' | include: 'initial' | ||||
} | } | ||||
]) | ]) | ||||
config.entry.app = ["babel-polyfill", "./src/main.js"]; | |||||
// when there are many pages, it will cause too many meaningless requests | // when there are many pages, it will cause too many meaningless requests | ||||
config.plugins.delete('prefetch') | config.plugins.delete('prefetch') | ||||