去除省份地址包
This commit is contained in:
parent
90aafaba10
commit
2c90e96c5f
File diff suppressed because it is too large
Load Diff
|
@ -6,14 +6,14 @@
|
||||||
<img style="margin: 0 auto;height:85px" src="@/assets/images/shenhe.png" alt="">
|
<img style="margin: 0 auto;height:85px" src="@/assets/images/shenhe.png" alt="">
|
||||||
<p style="color:#F59A23;font-size:22px">申请审核中</p>
|
<p style="color:#F59A23;font-size:22px">申请审核中</p>
|
||||||
<p style="color:#000;font-size:16px;font-weight:600">申请信息已提交,请耐心等待审核通过即可完成申请。</p>
|
<p style="color:#000;font-size:16px;font-weight:600">申请信息已提交,请耐心等待审核通过即可完成申请。</p>
|
||||||
</div>
|
</div>
|
||||||
<div style="border:1px solid #000;margin-bottom:20px;background:#DFF0D8" v-if="userregister.value.auditStatus==1">
|
<div style="border:1px solid #000;margin-bottom:20px;background:#DFF0D8" v-if="userregister.value.auditStatus==1">
|
||||||
<div style="display: flex;align-items: center;justify-content: center;">
|
<div style="display: flex;align-items: center;justify-content: center;">
|
||||||
<el-result style="padding: 17px 35px;" icon="success"></el-result>
|
<el-result style="padding: 17px 35px;" icon="success"></el-result>
|
||||||
<p style="font-size:30px;color:#67C23A">审核通过</p>
|
<p style="font-size:30px;color:#67C23A">审核通过</p>
|
||||||
</div>
|
</div>
|
||||||
<p style="margin-bottom:10px;color:#439FFE; cursor: pointer" @click='chongxin'>重新认证</p>
|
<p style="margin-bottom:10px;color:#439FFE; cursor: pointer" @click='chongxin'>重新认证</p>
|
||||||
</div>
|
</div>
|
||||||
<div style="border:1px solid #000;margin-bottom:20px;background:#F2DEDE" v-if="userregister.value.auditStatus==2">
|
<div style="border:1px solid #000;margin-bottom:20px;background:#F2DEDE" v-if="userregister.value.auditStatus==2">
|
||||||
<div style="display: flex;align-items: center;justify-content: center;">
|
<div style="display: flex;align-items: center;justify-content: center;">
|
||||||
<el-result style="padding: 17px 35px;" icon="error"></el-result>
|
<el-result style="padding: 17px 35px;" icon="error"></el-result>
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<el-form-item label="申请人电话" >
|
<el-form-item label="申请人电话" >
|
||||||
{{ state.user.phonenumber }}
|
{{ state.user.phonenumber }}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item >
|
<el-form-item >
|
||||||
<div style="width:100%;text-align: right;padding-right:100px">
|
<div style="width:100%;text-align: right;padding-right:100px">
|
||||||
<el-button style="width:150px" type="default" @click="closed">关闭</el-button>
|
<el-button style="width:150px" type="default" @click="closed">关闭</el-button>
|
||||||
|
@ -55,7 +55,7 @@
|
||||||
|
|
||||||
<script setup >
|
<script setup >
|
||||||
import { ref, reactive, onMounted ,watch} from 'vue'
|
import { ref, reactive, onMounted ,watch} from 'vue'
|
||||||
import { regionData, codeToText } from 'element-china-area-data'
|
import { regionData, codeToText } from '@/plugins/china-area-data-json'
|
||||||
import { getUserProfile } from '@/api/system/user'
|
import { getUserProfile } from '@/api/system/user'
|
||||||
import {getDept} from '@/api/login'
|
import {getDept} from '@/api/login'
|
||||||
import {school} from '@/api/apiService'
|
import {school} from '@/api/apiService'
|
||||||
|
@ -101,7 +101,7 @@ async function getUser() {
|
||||||
// response.data.avatar = import.meta.env.VITE_APP_BASE_API + response.data.avatar
|
// response.data.avatar = import.meta.env.VITE_APP_BASE_API + response.data.avatar
|
||||||
Object.assign(state.user,response.data)
|
Object.assign(state.user,response.data)
|
||||||
})
|
})
|
||||||
|
|
||||||
}
|
}
|
||||||
const getSchoolList = () => {
|
const getSchoolList = () => {
|
||||||
school.deptTree().then(res=>{
|
school.deptTree().then(res=>{
|
||||||
|
@ -142,7 +142,7 @@ const submitForm = async (formEl) => {
|
||||||
if(res.code==200){
|
if(res.code==200){
|
||||||
ElMessage.success('提交成功')
|
ElMessage.success('提交成功')
|
||||||
await userStore.getDeptInfo()
|
await userStore.getDeptInfo()
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
console.log('submit!')
|
console.log('submit!')
|
||||||
|
@ -165,7 +165,7 @@ const getregisterinfo=()=>{
|
||||||
isshwoBtn.value=false
|
isshwoBtn.value=false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
// 关闭
|
// 关闭
|
||||||
const closed=()=>{
|
const closed=()=>{
|
||||||
|
@ -192,4 +192,4 @@ onMounted(async () => {
|
||||||
margin-bottom: 30px;
|
margin-bottom: 30px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -114,7 +114,7 @@ import { ref, defineExpose, reactive ,onMounted} from 'vue'
|
||||||
import {captchaImg,sendCode,deptTree,getDept,listClassmain,listEvaluation,signIn, retrievePwd} from '@/api/login'
|
import {captchaImg,sendCode,deptTree,getDept,listClassmain,listEvaluation,signIn, retrievePwd} from '@/api/login'
|
||||||
import { ElMessage } from 'element-plus'
|
import { ElMessage } from 'element-plus'
|
||||||
import {setToken, removeToken } from '@/utils/auth'
|
import {setToken, removeToken } from '@/utils/auth'
|
||||||
import { regionData, codeToText } from 'element-china-area-data'
|
import { regionData, codeToText } from '@/plugins/china-area-data-json'
|
||||||
const ruleFormRef = ref(null)
|
const ruleFormRef = ref(null)
|
||||||
const activeIndex=ref(1)
|
const activeIndex=ref(1)
|
||||||
const ruleForm = reactive({
|
const ruleForm = reactive({
|
||||||
|
@ -352,7 +352,7 @@ const submitForm = async (formEl) => {
|
||||||
schoolSubject.value=[]
|
schoolSubject.value=[]
|
||||||
gradeTree.value=[]
|
gradeTree.value=[]
|
||||||
Object.assign(ruleForm, restValue);
|
Object.assign(ruleForm, restValue);
|
||||||
dialogVisible.value=false
|
dialogVisible.value=false
|
||||||
activeIndex.value=1
|
activeIndex.value=1
|
||||||
}else{
|
}else{
|
||||||
ElMessage.error(res.msg)
|
ElMessage.error(res.msg)
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
<p style="margin-bottom:10px;font-size:18px;font-weight:600">申请信息已驳回,请重新提交申请信息。</p>
|
<p style="margin-bottom:10px;font-size:18px;font-weight:600">申请信息已驳回,请重新提交申请信息。</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box-item" :style="userregister.value?'':'margin-top:30px'" >
|
<div class="box-item" :style="userregister.value?'':'margin-top:30px'" >
|
||||||
<el-form ref="ruleFormRef" label-width="auto" :rules="rules" :model="ruleForm" size="large" >
|
<el-form ref="ruleFormRef" label-width="auto" :rules="rules" :model="ruleForm" size="large" >
|
||||||
<el-form-item label="学校名称" prop="schoolName" >
|
<el-form-item label="学校名称" prop="schoolName" >
|
||||||
|
@ -46,7 +46,7 @@
|
||||||
<el-form-item label="经办人电话" >
|
<el-form-item label="经办人电话" >
|
||||||
{{ state.user.phonenumber }}
|
{{ state.user.phonenumber }}
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
<el-form-item >
|
<el-form-item >
|
||||||
<div style="display:flex;align-items:center;justify-content: space-between;padding-right:100px; width: 100%;">
|
<div style="display:flex;align-items:center;justify-content: space-between;padding-right:100px; width: 100%;">
|
||||||
<div style="display:flex;align-items:center;">
|
<div style="display:flex;align-items:center;">
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
<el-button style="width:150px" type="primary" @click="submitForm(ruleFormRef)" v-if="isshwoBtn">确定</el-button>
|
<el-button style="width:150px" type="primary" @click="submitForm(ruleFormRef)" v-if="isshwoBtn">确定</el-button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
</div>
|
</div>
|
||||||
|
@ -66,7 +66,7 @@
|
||||||
|
|
||||||
<script setup >
|
<script setup >
|
||||||
import { ref, reactive, onMounted,watch } from 'vue'
|
import { ref, reactive, onMounted,watch } from 'vue'
|
||||||
import { regionData, codeToText } from 'element-china-area-data'
|
import { regionData, codeToText } from '@/plugins/china-area-data-json'
|
||||||
import { getUserProfile } from '@/api/system/user'
|
import { getUserProfile } from '@/api/system/user'
|
||||||
import {getDept} from '@/api/login'
|
import {getDept} from '@/api/login'
|
||||||
import {school} from '@/api/apiService'
|
import {school} from '@/api/apiService'
|
||||||
|
@ -158,7 +158,7 @@ const submitForm = async (formEl) => {
|
||||||
if(!ruleForm.istrue) {
|
if(!ruleForm.istrue) {
|
||||||
ElMessage.error('请勾选以上信息真实有效的复选框')
|
ElMessage.error('请勾选以上信息真实有效的复选框')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const araname = codeToText[ruleForm.address[0]] + '-' + codeToText[ruleForm.address[1]] + '-' + codeToText[ruleForm.address[2]];
|
const araname = codeToText[ruleForm.address[0]] + '-' + codeToText[ruleForm.address[1]] + '-' + codeToText[ruleForm.address[2]];
|
||||||
const form={
|
const form={
|
||||||
schoolName:ruleForm.schoolName,
|
schoolName:ruleForm.schoolName,
|
||||||
|
@ -170,7 +170,7 @@ const submitForm = async (formEl) => {
|
||||||
if(res.code==200){
|
if(res.code==200){
|
||||||
ElMessage.success('提交成功')
|
ElMessage.success('提交成功')
|
||||||
await userStore.getDeptInfo()
|
await userStore.getDeptInfo()
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -190,7 +190,7 @@ onMounted(() => {
|
||||||
getregisterinfo()
|
getregisterinfo()
|
||||||
getSchoolList()
|
getSchoolList()
|
||||||
|
|
||||||
|
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -203,7 +203,7 @@ onMounted(() => {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
</el-table>
|
</el-table>
|
||||||
<el-pagination style="margin-top:10px;float: right;" background layout="prev, pager, next" @size-change="handleSizeChange"
|
<el-pagination style="margin-top:10px;float: right;" background layout="prev, pager, next" @size-change="handleSizeChange"
|
||||||
@current-change="handleCurrentChange" :default-page-size="searchValue.pageSize" v-model:current-page="searchValue.pageNum" :total="total" />
|
@current-change="handleCurrentChange" :default-page-size="searchValue.pageSize" v-model:current-page="searchValue.pageNum" :total="total" />
|
||||||
|
|
||||||
<el-dialog
|
<el-dialog
|
||||||
v-model="dialogVisible"
|
v-model="dialogVisible"
|
||||||
title="加入学校审核"
|
title="加入学校审核"
|
||||||
|
@ -80,7 +80,7 @@
|
||||||
<script setup>
|
<script setup>
|
||||||
import { school } from '@/api/apiService';
|
import { school } from '@/api/apiService';
|
||||||
import { ref, reactive, onMounted ,computed} from 'vue'
|
import { ref, reactive, onMounted ,computed} from 'vue'
|
||||||
import { regionData, codeToText } from 'element-china-area-data'
|
import { regionData, codeToText } from '@/plugins/china-area-data-json'
|
||||||
import { ElMessage } from 'element-plus'
|
import { ElMessage } from 'element-plus'
|
||||||
import useUserStore from '@/store/modules/user'
|
import useUserStore from '@/store/modules/user'
|
||||||
const userStore = useUserStore()
|
const userStore = useUserStore()
|
||||||
|
@ -150,7 +150,7 @@ const getList = () =>{
|
||||||
const area=formattedAddress()
|
const area=formattedAddress()
|
||||||
searchValue.area=area
|
searchValue.area=area
|
||||||
let obj= filterNullProperties(searchValue)
|
let obj= filterNullProperties(searchValue)
|
||||||
|
|
||||||
school.auditlist(obj).then(res=>{
|
school.auditlist(obj).then(res=>{
|
||||||
tableData.value=res.rows
|
tableData.value=res.rows
|
||||||
total.value=res.total
|
total.value=res.total
|
||||||
|
@ -194,4 +194,4 @@ onMounted(()=>{
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
Loading…
Reference in New Issue