a
This commit is contained in:
@@ -68,7 +68,7 @@ export default {
|
||||
init(){
|
||||
let _this = this;
|
||||
list().then(data =>{
|
||||
_this.planList = data.data.data
|
||||
_this.planList = data.data
|
||||
_this.dataForm.groupId=_this.planList[0].id;
|
||||
this.getDataList();
|
||||
});
|
||||
@@ -78,8 +78,8 @@ export default {
|
||||
this.indexArray=[];
|
||||
this.dataForm.degreeOfEducation='1';
|
||||
getAreaStatic(this.dataForm).then(response =>{
|
||||
this.list = response.data.data.data;
|
||||
this.chartOption = response.data.data.option
|
||||
this.list = response.data;
|
||||
this.chartOption = response.data.option
|
||||
})
|
||||
},
|
||||
exportExcel: function(form,url) {
|
||||
|
||||
@@ -63,7 +63,7 @@ export default {
|
||||
init(){
|
||||
let _this = this;
|
||||
list().then(data =>{
|
||||
_this.planList = data.data.data
|
||||
_this.planList = data.data
|
||||
_this.dataForm.groupId=_this.planList[0].id;
|
||||
this.getDataList();
|
||||
});
|
||||
@@ -72,7 +72,7 @@ export default {
|
||||
this.list = [];
|
||||
this.indexArray=[];
|
||||
getContantByUserStatic(this.dataForm).then(response =>{
|
||||
this.list = response.data.data;
|
||||
this.list = response.data;
|
||||
let count = 0
|
||||
for (let rowIndex = 0; rowIndex < this.list.length; ) {
|
||||
this.indexArray.push(rowIndex)
|
||||
|
||||
@@ -64,7 +64,7 @@ export default {
|
||||
init(){
|
||||
let _this = this;
|
||||
list().then(data =>{
|
||||
_this.planList = data.data.data
|
||||
_this.planList = data.data
|
||||
_this.dataForm.groupId=_this.planList[0].id;
|
||||
this.getDataList();
|
||||
});
|
||||
@@ -73,7 +73,7 @@ export default {
|
||||
this.list = [];
|
||||
this.indexArray=[];
|
||||
getContantByDeptStatic(this.dataForm).then(response =>{
|
||||
this.list = response.data.data;
|
||||
this.list = response.data;
|
||||
})
|
||||
},
|
||||
exportExcel: function(form,url) {
|
||||
|
||||
@@ -68,7 +68,7 @@ export default {
|
||||
init(){
|
||||
let _this = this;
|
||||
list().then(data =>{
|
||||
_this.planList = data.data.data
|
||||
_this.planList = data.data
|
||||
_this.dataForm.groupId=_this.planList[0].id;
|
||||
this.getDataList();
|
||||
});
|
||||
@@ -77,7 +77,7 @@ export default {
|
||||
this.list = [];
|
||||
this.indexArray=[];
|
||||
getContantByUserStatic(this.dataForm).then(response =>{
|
||||
this.list = response.data.data;
|
||||
this.list = response.data;
|
||||
let count = 0
|
||||
for (let rowIndex = 0; rowIndex < this.list.length; ) {
|
||||
this.indexArray.push(rowIndex)
|
||||
|
||||
@@ -822,15 +822,15 @@ export default {
|
||||
this.areaHAList=[];
|
||||
//获取数据字典
|
||||
getDictByType("finance_student_source").then(edu => {
|
||||
_this.eduList = edu.data.data
|
||||
_this.eduList = edu.data
|
||||
//获取数据字典代办费
|
||||
getDictByType("agency_fee").then(fee => {
|
||||
_this.agencyFeeList = fee.data.data
|
||||
_this.agencyFeeList = fee.data
|
||||
//获取数据字典学费
|
||||
getDictByType("tuition_fee").then(res => {
|
||||
_this.tuitionFeeList = res.data.data
|
||||
_this.tuitionFeeList = res.data
|
||||
getObj(this.dataForm.id).then(response => {
|
||||
this.dataForm = response.data.data
|
||||
this.dataForm = response.data
|
||||
this.dataForm.scorePhotoList=[];
|
||||
this.dataForm.graPicList=[];
|
||||
this.dataForm.yyPicList=[];
|
||||
@@ -865,7 +865,7 @@ export default {
|
||||
}
|
||||
});
|
||||
listByEdu({groupId: this.dataForm.groupId,degreeOfEducation:this.dataForm.degreeOfEducation}).then(e=>{
|
||||
_this.planMajorList = e.data.data;
|
||||
_this.planMajorList = e.data;
|
||||
if (1 != _this.dataForm.degreeOfEducation) {
|
||||
_this.gzAuditChange();
|
||||
}
|
||||
@@ -888,12 +888,12 @@ export default {
|
||||
});
|
||||
//获取招生计划下的学校和分数线
|
||||
scoreList({groupId:_this.dataForm.groupId}).then(data =>{
|
||||
_this.schoolCodeList = data.data.data;
|
||||
_this.schoolCodeList = data.data;
|
||||
});
|
||||
let areas = [];
|
||||
//获取户口所在 省市区
|
||||
areaList({type: 0}).then(data => {
|
||||
areas = data.data.data;
|
||||
areas = data.data;
|
||||
//省
|
||||
let pid = "";
|
||||
areas.forEach(e=>{
|
||||
@@ -1012,7 +1012,7 @@ export default {
|
||||
this.sixMajorList=[];
|
||||
this.sevenMajorList=[];
|
||||
listByEdu({groupId: this.dataForm.groupId,degreeOfEducation:this.dataForm.degreeOfEducation}).then(e=>{
|
||||
_this.planMajorList = e.data.data;
|
||||
_this.planMajorList = e.data;
|
||||
if (1 != _this.dataForm.degreeOfEducation) {
|
||||
_this.gzAuditChange();
|
||||
}
|
||||
@@ -1043,14 +1043,14 @@ export default {
|
||||
let _this = this;
|
||||
//联系人(教职工)
|
||||
queryAllTeacher().then(res =>{
|
||||
_this.contactNameList = res.data.data
|
||||
_this.contactNameList = res.data
|
||||
});
|
||||
//查询二级学院信息
|
||||
getDeptList().then(data => {
|
||||
_this.deptList = data.data.data
|
||||
_this.deptList = data.data
|
||||
})
|
||||
list().then(data => {
|
||||
_this.planList = data.data.data
|
||||
_this.planList = data.data
|
||||
});
|
||||
|
||||
|
||||
@@ -1167,9 +1167,9 @@ export default {
|
||||
}
|
||||
areaSonList({code: code}).then(data => {
|
||||
if(type==1){
|
||||
this.areaCList = data.data.data;
|
||||
this.areaCList = data.data;
|
||||
}else{
|
||||
this.areaAList = data.data.data;
|
||||
this.areaAList = data.data;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1188,9 +1188,9 @@ export default {
|
||||
}
|
||||
areaSonList({code: code}).then(data => {
|
||||
if(type==1){
|
||||
this.areaHCList = data.data.data;
|
||||
this.areaHCList = data.data;
|
||||
}else{
|
||||
this.areaHAList = data.data.data;
|
||||
this.areaHAList = data.data;
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
@@ -69,7 +69,7 @@ export default {
|
||||
this.circleShow = true;
|
||||
this.$nextTick(() => {
|
||||
getTypeValue("dorm_jw").then(data=>{
|
||||
let arr = data.data.data;
|
||||
let arr = data.data;
|
||||
arr.forEach(e=>{
|
||||
if(e.label=='bj'){
|
||||
_this.form.raidus=e.value;
|
||||
|
||||
@@ -110,7 +110,7 @@ export default {
|
||||
methods: {
|
||||
initDept() {
|
||||
getDeptList().then(data => {
|
||||
this.deptList = data.data.data
|
||||
this.deptList = data.data
|
||||
})
|
||||
|
||||
},
|
||||
@@ -141,13 +141,13 @@ export default {
|
||||
},
|
||||
initPlanGroup(){
|
||||
list().then(data =>{
|
||||
this.planList = data.data.data
|
||||
this.planList = data.data
|
||||
this.dataForm.groupId=this.planList[0].id;
|
||||
});
|
||||
},
|
||||
getTableList(groupId){
|
||||
dormApplyAnalysis({"groupId":groupId}).then(response => {
|
||||
this.dataList = response.data.data
|
||||
this.dataList = response.data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -78,8 +78,8 @@ const init = async () => {
|
||||
list()
|
||||
])
|
||||
|
||||
deptCodes.value = deptResponse.data.data || []
|
||||
planList.value = planData.data.data || []
|
||||
deptCodes.value = deptResponse.data || []
|
||||
planList.value = planData.data || []
|
||||
|
||||
if (planList.value.length > 0) {
|
||||
queryForm.groupId = planList.value[0].id
|
||||
@@ -96,11 +96,11 @@ const getDataList = async () => {
|
||||
dataListLoading.value = true
|
||||
dataList.value = []
|
||||
const response = await inSchoolSocreStatic(queryForm)
|
||||
if (response.data.data && response.data.data.length > 0) {
|
||||
response.data.data.forEach((e: any) => {
|
||||
if (response.data && response.data.length > 0) {
|
||||
response.data.forEach((e: any) => {
|
||||
dataList.value.push(e.map)
|
||||
})
|
||||
headList.value = response.data.data[0].list || []
|
||||
headList.value = response.data[0].list || []
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('获取数据失败', error)
|
||||
|
||||
@@ -699,7 +699,7 @@ export default {
|
||||
if (query !== '') {
|
||||
setTimeout(() => {
|
||||
queryTeacherBaseByNo(query).then(response => {
|
||||
this.teacherList = response.data.data
|
||||
this.teacherList = response.data
|
||||
})
|
||||
}, 200);
|
||||
}
|
||||
@@ -910,22 +910,22 @@ export default {
|
||||
init() {
|
||||
//查询二级学院信息
|
||||
getDeptList().then(data => {
|
||||
this.deptList = data.data.data
|
||||
this.deptList = data.data
|
||||
})
|
||||
list().then(data => {
|
||||
this.planList = data.data.data
|
||||
this.planList = data.data
|
||||
this.dataForm.groupId = this.planList[0].id;
|
||||
this.getDataList()
|
||||
this.chanMajor()
|
||||
});
|
||||
getTypeValue('finance_student_source').then(res => {
|
||||
this.eduList = res.data.data
|
||||
this.eduList = res.data
|
||||
})
|
||||
//所有经办人
|
||||
getUserListByRole(ROLE_CODE.ROLE_RECRUIT_SECOND).then(res => {
|
||||
this.auditorList = res.data.data;
|
||||
this.auditorList = res.data;
|
||||
getUserListByRole(ROLE_CODE.ROLE_RECRUIT).then(re => {
|
||||
re.data.data.forEach(r => {
|
||||
re.data.forEach(r => {
|
||||
this.auditorList.push(r)
|
||||
});
|
||||
this.auditorList = this.unique(this.auditorList);
|
||||
@@ -949,7 +949,7 @@ export default {
|
||||
chanMajor() {
|
||||
this.planMajorList = [];
|
||||
planMajor({groupId: this.dataForm.groupId}).then(data => {
|
||||
this.planMajorList = data.data.data;
|
||||
this.planMajorList = data.data;
|
||||
});
|
||||
},
|
||||
handleFilter() {
|
||||
@@ -964,8 +964,8 @@ export default {
|
||||
current: this.pageIndex,
|
||||
size: this.pageSize
|
||||
}, this.dataForm)).then(response => {
|
||||
this.dataList = response.data.data.records
|
||||
this.totalPage = response.data.data.total
|
||||
this.dataList = response.data.records
|
||||
this.totalPage = response.data.total
|
||||
})
|
||||
this.dataListLoading = false
|
||||
},
|
||||
@@ -1065,7 +1065,7 @@ export default {
|
||||
this.lqtzsShow = false;
|
||||
}
|
||||
toWord(row).then(res => {
|
||||
this.pdfPath = "/recruit/file/previewPdf?filePath=" + encodeURIComponent(res.data.data);
|
||||
this.pdfPath = "/recruit/file/previewPdf?filePath=" + encodeURIComponent(res.data);
|
||||
this.lqtzsVisible = true;
|
||||
});
|
||||
},
|
||||
|
||||
@@ -538,7 +538,7 @@ export default {
|
||||
//查找所有班级
|
||||
getClassData(){
|
||||
getClassListByRole().then(data=>{
|
||||
this.classList = data.data.data
|
||||
this.classList = data.data
|
||||
})
|
||||
},
|
||||
sendImg(){
|
||||
@@ -765,23 +765,23 @@ export default {
|
||||
init(){
|
||||
//查询二级学院信息
|
||||
getDeptList().then(data => {
|
||||
this.deptList = data.data.data
|
||||
this.deptList = data.data
|
||||
})
|
||||
this.getClassData();
|
||||
list().then(data =>{
|
||||
this.planList = data.data.data
|
||||
this.planList = data.data
|
||||
this.dataForm.groupId=this.planList[0].id;
|
||||
this.getDataList()
|
||||
this.chanMajor()
|
||||
});
|
||||
getTypeValue('finance_student_source').then(res=>{
|
||||
this.eduList=res.data.data
|
||||
this.eduList=res.data
|
||||
})
|
||||
//所有经办人
|
||||
getUserListByRole(ROLE_CODE.ROLE_RECRUIT_SECOND).then(res=>{
|
||||
this.auditorList = res.data.data;
|
||||
this.auditorList = res.data;
|
||||
getUserListByRole(ROLE_CODE.ROLE_RECRUIT).then(re=>{
|
||||
re.data.data.forEach(r=>{
|
||||
re.data.forEach(r=>{
|
||||
this.auditorList.push(r)
|
||||
});
|
||||
this.auditorList = this.unique(this.auditorList);
|
||||
@@ -805,7 +805,7 @@ export default {
|
||||
chanMajor(){
|
||||
this.planMajorList=[];
|
||||
planMajor({groupId: this.dataForm.groupId}).then(data =>{
|
||||
this.planMajorList = data.data.data;
|
||||
this.planMajorList = data.data;
|
||||
});
|
||||
},
|
||||
handleFilter(){
|
||||
@@ -821,8 +821,8 @@ export default {
|
||||
current: this.pageIndex,
|
||||
size: this.pageSize
|
||||
},this.dataForm)).then(response => {
|
||||
this.dataList = response.data.data.records
|
||||
this.totalPage = response.data.data.total
|
||||
this.dataList = response.data.records
|
||||
this.totalPage = response.data.total
|
||||
})
|
||||
this.dataListLoading = false
|
||||
},
|
||||
@@ -840,7 +840,7 @@ export default {
|
||||
changeclass(row){
|
||||
this.changeClassList=[];
|
||||
getMajorClass(row).then(response => {
|
||||
this.changeClassList = response.data.data
|
||||
this.changeClassList = response.data
|
||||
|
||||
this.changeClassVisible = true
|
||||
this.changeForm.id=row.id;
|
||||
@@ -964,7 +964,7 @@ export default {
|
||||
this.lqtzsShow = false;
|
||||
}
|
||||
toWord(row).then(res=>{
|
||||
this.pdfPath = "/recruit/file/previewPdf?filePath="+encodeURIComponent(res.data.data);
|
||||
this.pdfPath = "/recruit/file/previewPdf?filePath="+encodeURIComponent(res.data);
|
||||
this.lqtzsVisible = true;
|
||||
});
|
||||
},
|
||||
|
||||
@@ -113,9 +113,9 @@ const init = async () => {
|
||||
list()
|
||||
])
|
||||
|
||||
deptCodes.value = deptResponse.data.data || []
|
||||
majorYears.value = majorYearsRes.data.data || []
|
||||
planList.value = planData.data.data || []
|
||||
deptCodes.value = deptResponse.data || []
|
||||
majorYears.value = majorYearsRes.data || []
|
||||
planList.value = planData.data || []
|
||||
|
||||
if (planList.value.length > 0) {
|
||||
queryForm.groupId = planList.value[0].id
|
||||
@@ -132,7 +132,7 @@ const getDataList = async () => {
|
||||
dataListLoading.value = true
|
||||
dataList.value = []
|
||||
const response = await juniorlneStatic(queryForm)
|
||||
dataList.value = response.data.data || []
|
||||
dataList.value = response.data || []
|
||||
} catch (error) {
|
||||
console.error('获取数据失败', error)
|
||||
} finally {
|
||||
|
||||
@@ -356,8 +356,8 @@ const state: BasicTableProps = reactive<BasicTableProps>({
|
||||
const response = await fetchListStuDorm(params)
|
||||
return {
|
||||
data: {
|
||||
records: response.data.data.records,
|
||||
total: response.data.data.total
|
||||
records: response.data.records,
|
||||
total: response.data.total
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -372,11 +372,11 @@ const init = async () => {
|
||||
try {
|
||||
// 查询二级学院信息
|
||||
const deptData = await getDeptList()
|
||||
deptList.value = deptData.data.data || []
|
||||
deptList.value = deptData.data || []
|
||||
|
||||
// 获取招生计划列表
|
||||
const planData = await list()
|
||||
planList.value = planData.data.data || []
|
||||
planList.value = planData.data || []
|
||||
if (planList.value.length > 0) {
|
||||
queryForm.groupId = planList.value[0].id
|
||||
}
|
||||
|
||||
@@ -238,12 +238,12 @@ export default {
|
||||
if (this.dataForm.id) {
|
||||
//获取数据字典代办费
|
||||
getDictByType("agency_fee").then(res => {
|
||||
_this.agencyFeeList = res.data.data
|
||||
_this.agencyFeeList = res.data
|
||||
//获取数据字典学费
|
||||
getDictByType("tuition_fee").then(res => {
|
||||
_this.tuitionFeeList = res.data.data
|
||||
_this.tuitionFeeList = res.data
|
||||
getObj(this.dataForm.id).then(response => {
|
||||
this.dataForm = response.data.data
|
||||
this.dataForm = response.data
|
||||
this.title = this.dataForm.serialNumber
|
||||
//获取文化程度对应的专业
|
||||
this.planMajorList=[];
|
||||
@@ -259,11 +259,11 @@ export default {
|
||||
}
|
||||
});
|
||||
listByEdu({groupId: this.dataForm.groupId,degreeOfEducation:this.dataForm.degreeOfEducation}).then(e=>{
|
||||
_this.planMajorList = e.data.data;
|
||||
_this.planMajorList = e.data;
|
||||
});
|
||||
//获取招生计划下的学校和分数线
|
||||
scoreList({groupId:_this.dataForm.groupId}).then(data =>{
|
||||
_this.schoolCodeList = data.data.data;
|
||||
_this.schoolCodeList = data.data;
|
||||
});
|
||||
|
||||
if ("1" == this.dataForm.degreeOfEducation) {
|
||||
@@ -291,7 +291,7 @@ export default {
|
||||
initData() {
|
||||
let _this = this;
|
||||
list().then(data => {
|
||||
_this.planList = data.data.data
|
||||
_this.planList = data.data
|
||||
});
|
||||
},
|
||||
changeCM(id){
|
||||
|
||||
@@ -339,7 +339,7 @@ const getDataList = async () => {
|
||||
dataList.value = []
|
||||
indexArray.value = []
|
||||
const response = await schoolAreaStatic(queryForm)
|
||||
dataList.value = response.data.data || []
|
||||
dataList.value = response.data || []
|
||||
|
||||
// 计算合并单元格的索引
|
||||
let count = 0
|
||||
|
||||
@@ -73,7 +73,7 @@ const { tableStyle, downBlobFile } = useTable()
|
||||
const init = async () => {
|
||||
try {
|
||||
const data = await list()
|
||||
planList.value = data.data.data || []
|
||||
planList.value = data.data || []
|
||||
if (planList.value.length > 0) {
|
||||
queryForm.groupId = planList.value[0].id
|
||||
getDataList()
|
||||
@@ -90,7 +90,7 @@ const getDataList = async () => {
|
||||
dataList.value = []
|
||||
indexArray.value = []
|
||||
const response = await getSchoolStatic(queryForm)
|
||||
dataList.value = response.data.data || []
|
||||
dataList.value = response.data || []
|
||||
} catch (error) {
|
||||
console.error('获取数据失败', error)
|
||||
} finally {
|
||||
|
||||
@@ -64,7 +64,7 @@ export default {
|
||||
this.form.homeAddressDetail = row.homeAddressDetail;
|
||||
this.$nextTick(() => {
|
||||
getTypeValue("dorm_jw").then(data => {
|
||||
let arr = data.data.data;
|
||||
let arr = data.data;
|
||||
arr.forEach(e => {
|
||||
if (e.label == 'bj') {
|
||||
_this.form.raidus = e.value;
|
||||
|
||||
@@ -92,8 +92,8 @@ const state: BasicTableProps = reactive<BasicTableProps>({
|
||||
const response = await fetchListByStatic(params)
|
||||
return {
|
||||
data: {
|
||||
records: response.data.data || [],
|
||||
total: response.data.data?.length || 0
|
||||
records: response.data || [],
|
||||
total: response.data?.length || 0
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -108,7 +108,7 @@ const init = async () => {
|
||||
try {
|
||||
// 查询二级学院信息
|
||||
const deptData = await getDeptList()
|
||||
deptList.value = deptData.data.data || []
|
||||
deptList.value = deptData.data || []
|
||||
deptList.value.push({ deptCode: '小计(高中/职技校)', deptName: '小计(高中/职技校)' })
|
||||
deptList.value.push({ deptCode: '小计(初中)', deptName: '小计(初中)' })
|
||||
deptList.value.push({ deptCode: '小计(初中_联院大专)', deptName: '小计(初中_联院大专)' })
|
||||
@@ -116,7 +116,7 @@ const init = async () => {
|
||||
|
||||
// 获取招生计划列表
|
||||
const planData = await list()
|
||||
planList.value = planData.data.data || []
|
||||
planList.value = planData.data || []
|
||||
if (planList.value.length > 0) {
|
||||
queryForm.groupId = planList.value[0].id
|
||||
getDataList()
|
||||
@@ -125,7 +125,7 @@ const init = async () => {
|
||||
|
||||
// 获取字典数据
|
||||
const eduRes = await getTypeValue('education_type')
|
||||
eduList.value = eduRes.data.data || []
|
||||
eduList.value = eduRes.data || []
|
||||
} catch (error) {
|
||||
console.error('初始化失败', error)
|
||||
}
|
||||
@@ -149,7 +149,7 @@ const chanMajor = async () => {
|
||||
planMajorList.value = []
|
||||
if (queryForm.groupId) {
|
||||
const data = await planMajor({ groupId: queryForm.groupId })
|
||||
planMajorList.value = data.data.data || []
|
||||
planMajorList.value = data.data || []
|
||||
}
|
||||
} catch (error) {
|
||||
console.error('获取专业列表失败', error)
|
||||
|
||||
@@ -359,7 +359,7 @@ export default {
|
||||
this.houseList=[];
|
||||
this.sbPicList=[];
|
||||
this.hkPicList=[];
|
||||
this.dataForm = response.data.data
|
||||
this.dataForm = response.data
|
||||
this.title = this.dataForm.serialNumber
|
||||
if(this.dataForm.scorePhoto !=''){
|
||||
let obj={url:this.dataForm.scorePhoto,name:""};
|
||||
@@ -549,11 +549,11 @@ export default {
|
||||
initData() {
|
||||
let _this = this;
|
||||
list().then(data => {
|
||||
_this.planList = data.data.data
|
||||
_this.planList = data.data
|
||||
});
|
||||
//联系人(教职工)
|
||||
queryAllTeacher().then(res =>{
|
||||
_this.contactNameList = res.data.data
|
||||
_this.contactNameList = res.data
|
||||
});
|
||||
},
|
||||
// 表单提交
|
||||
|
||||
Reference in New Issue
Block a user