|
@@ -64,7 +64,7 @@ import { Search } from '@element-plus/icons-vue'
|
|
|
import { ElMessage, ElTable } from 'element-plus'
|
|
import { ElMessage, ElTable } from 'element-plus'
|
|
|
import { ref, inject, onMounted, nextTick } from 'vue'
|
|
import { ref, inject, onMounted, nextTick } from 'vue'
|
|
|
import { getSingleExamList, addSingleSchool } from '@/api/examination'
|
|
import { getSingleExamList, addSingleSchool } from '@/api/examination'
|
|
|
-import { provinceTree } from '@/api/school'
|
|
|
|
|
|
|
+import { provinceTreeByContain } from '@/api/school'
|
|
|
interface SchoolData {
|
|
interface SchoolData {
|
|
|
showDialog: boolean
|
|
showDialog: boolean
|
|
|
tenantName: string
|
|
tenantName: string
|
|
@@ -95,7 +95,7 @@ onMounted(() => {
|
|
|
})
|
|
})
|
|
|
// 获取省市区树列表
|
|
// 获取省市区树列表
|
|
|
const GetProvinceTree = async () => {
|
|
const GetProvinceTree = async () => {
|
|
|
- const res = await provinceTree()
|
|
|
|
|
|
|
+ const res = await provinceTreeByContain()
|
|
|
if(res.code == 200 && res.data) {
|
|
if(res.code == 200 && res.data) {
|
|
|
const { data } = res
|
|
const { data } = res
|
|
|
let allObj = {
|
|
let allObj = {
|