diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index 466cd98..e501a0b 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -9,14 +9,6 @@ - + diff --git a/src/views/system/area/index.vue b/src/views/system/area/index.vue index 9af3d78..1640c4a 100644 --- a/src/views/system/area/index.vue +++ b/src/views/system/area/index.vue @@ -406,7 +406,6 @@ export default { cityList: [], countyList: [], }, - loading: false, // 表单校验 rules: { areaName: [{ required: true, message: "运营区域不能为空", trigger: "blur" }], diff --git a/src/views/system/dept/index.vue b/src/views/system/dept/index.vue index 8a19d61..fef38db 100644 --- a/src/views/system/dept/index.vue +++ b/src/views/system/dept/index.vue @@ -97,12 +97,12 @@ - + - - - + + + @@ -120,13 +120,13 @@ - - + + - - + + @@ -227,6 +227,7 @@ export default { } ], phone: [ + { required: true, message: "联系电话不能为空", trigger: "blur" }, { pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/, message: "请输入正确的手机号码", @@ -290,15 +291,13 @@ export default { /** 新增按钮操作 */ handleAdd(row) { this.reset(); - if (row != undefined) { - this.form.parentId = row.deptId; - } this.open = true; this.title = "添加运营商"; listDept().then(response => { this.deptOptions = this.handleTree(response.data, "deptId"); listArea().then(response => { this.areaOptions = response.rows; + this.form.parentId = 100; }); }); }, diff --git a/src/views/system/flow/index.vue b/src/views/system/flow/index.vue index 1b36883..f5c0994 100644 --- a/src/views/system/flow/index.vue +++ b/src/views/system/flow/index.vue @@ -73,7 +73,7 @@ {{ parseTime(scope.row.createTime, '{y}-{m}-{d} {h}:{i}:{s}') }} - + diff --git a/src/views/system/partner/index.vue b/src/views/system/partner/index.vue index 83b1a5a..3fef484 100644 --- a/src/views/system/partner/index.vue +++ b/src/views/system/partner/index.vue @@ -92,9 +92,8 @@ - + -