From 1908a80cd8224860bb704486fa78a18cc9a06bf7 Mon Sep 17 00:00:00 2001
From: liuchengxin <13104445455@126.com>
Date: 星期一, 24 一月 2022 17:42:19 +0800
Subject: [PATCH] 问题修改
---
src/views/basics/school/index.vue | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/views/basics/school/index.vue b/src/views/basics/school/index.vue
index 49eb915..0ce859a 100644
--- a/src/views/basics/school/index.vue
+++ b/src/views/basics/school/index.vue
@@ -313,6 +313,7 @@
created() {
this.getProvince().then(res => {
this.provinceList = res
+ this.provinceFormList = res
})
this.getList();
},
@@ -385,6 +386,10 @@
getSchool(id).then(response => {
this.loading = false;
this.form = response.data;
+ listCity(this.form.provinceCode)
+ .then(res => {
+ this.cityFormList = res.data
+ })
this.open = true;
this.title = "淇敼瀛︽牎";
});
@@ -417,7 +422,7 @@
/** 鍒犻櫎鎸夐挳鎿嶄綔 */
handleDelete(row) {
const ids = row.id || this.ids;
- this.$modal.confirm('鏄惁纭鍒犻櫎锛�').then(() => {
+ this.$modal.confirm(`鏄惁纭鍒犻櫎瀛︽牎浠g爜涓�${row.code}鐨勫鏍★紵`).then(() => {
this.loading = true;
return delSchool(ids);
}).then(() => {
@@ -452,7 +457,6 @@
},
// 鏌ヨ鏉′欢鐪佷唤鏀瑰彉
provinceQueryChange(v) {
- this.queryParams.cityCode = undefined
this.getCity(v).then(res => {
this.cityList = res
})
--
Gitblit v1.9.1