Browse Source

Merge branch 'bugfix-off-limits-type' into develop

master
2183691628 2 years ago
parent
commit
7bcb9defd7
3 changed files with 18 additions and 6 deletions
  1. +8
    -2
      README.md
  2. +2
    -2
      src/utils/model.js
  3. +8
    -2
      src/views/off-limits-manage/off-limits-main/off-limits-type/index.vue

+ 8
- 2
README.md View File

@@ -1,7 +1,7 @@
<!-- <!--
* @Date: 2021-11-29 11:14:13 * @Date: 2021-11-29 11:14:13
* @LastEditors: JinxuChen * @LastEditors: JinxuChen
* @LastEditTime: 2021-12-29 09:38:21
* @LastEditTime: 2021-12-31 15:21:41
* @FilePath: \GpsCardAdmin\README.md * @FilePath: \GpsCardAdmin\README.md
* @description: * @description:
--> -->
@@ -141,4 +141,10 @@ FEA
## v1.1.6F ## v1.1.6F
`2021年12月29日` `2021年12月29日`
FIX FIX
- 修复 禁入类别分页错误的问题
- 修复 禁入类别分页错误的问题

## v1.1.7F
`2021年12月31日`
FIX
- 修改 增加禁入类别存在缓存的问题
- 删除 修改禁入类别重置功能

+ 2
- 2
src/utils/model.js View File

@@ -1,8 +1,8 @@
/* /*
* @Date: 2021-11-30 15:09:25 * @Date: 2021-11-30 15:09:25
* @LastEditors: JinxuChen * @LastEditors: JinxuChen
* @LastEditTime: 2021-12-29 09:38:28
* @LastEditTime: 2021-12-31 15:32:19
* @FilePath: \GpsCardAdmin\src\utils\model.js * @FilePath: \GpsCardAdmin\src\utils\model.js
* @description: 版本号 * @description: 版本号
*/ */
export const VersionModel = '1.1.6';
export const VersionModel = '1.1.7';

+ 8
- 2
src/views/off-limits-manage/off-limits-main/off-limits-type/index.vue View File

@@ -1,7 +1,7 @@
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2021-12-07 15:14:51 * @Date: 2021-12-07 15:14:51
* @LastEditTime: 2021-12-29 09:35:51
* @LastEditTime: 2021-12-31 15:26:11
* @LastEditors: JinxuChen * @LastEditors: JinxuChen
* @Description: 自动报警分类 * @Description: 自动报警分类
* @FilePath: \GpsCardAdmin\src\views\off-limits-manage\off-limits-main\off-limits-type\index.vue * @FilePath: \GpsCardAdmin\src\views\off-limits-manage\off-limits-main\off-limits-type\index.vue
@@ -34,7 +34,8 @@
<el-button type="primary" @click="submitForm('currentAddType')" <el-button type="primary" @click="submitForm('currentAddType')"
>提交</el-button >提交</el-button
> >
<el-button @click="resetForm('currentAddType')">重置</el-button>
<!-- todo重置功能存在bug,暂时去掉 -->
<!-- <el-button @click="resetForm('currentAddType')">重置</el-button> -->
<el-button @click="dialogVisibleType = false">取 消</el-button> <el-button @click="dialogVisibleType = false">取 消</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
@@ -141,6 +142,11 @@ export default {
AddDialog() { AddDialog() {
this.dialogVisibleType = true; this.dialogVisibleType = true;
this.titleTypeAddorModify="新增类别"; this.titleTypeAddorModify="新增类别";
this.initForm(); //添加时初始化表单内容
},
initForm() {
this.currentAddType.kindId = '1';
this.currentAddType.typeLabel = '';
}, },
submitForm(formName) { submitForm(formName) {
this.$refs[formName].validate((valid) => { this.$refs[formName].validate((valid) => {


Loading…
Cancel
Save