Commit 8596630c authored by 黄奎's avatar 黄奎

页面修改

parent 68f19cda
......@@ -10,8 +10,8 @@
class="col-12 q-pb-lg" label="名称" :rules="[val => !!val || '请填写名称']" />
</div>
<div class="row wrap">
<q-select class="col-12 q-pb-lg" @filter="filterCountry" filled stack-label clearable option-value="ID" option-label="Name"
v-model="objOption.CountryId" :options="CountryList" use-input label="国家编号" :dense="false" emit-value map-options
<q-select class="col-12 q-pb-lg" multiple @filter="filterCountry" filled stack-label clearable option-value="ID" option-label="Name"
v-model="objOption.CountryIdList" :options="CountryList" use-input label="国家编号" :dense="false" emit-value map-options
/>
</div>
<div class="row wrap" style="display:none">
......@@ -57,7 +57,8 @@
Name: '', //留学就业类型名称
Type: 1, //类型(1-留学,2-就业)
Num:'', //排序
CountryId:'' //国家编号
CountryId:'', //国家编号
CountryIdList:[],//国家编号数组
},
CountryList:[], //国家下拉
allCountryList:[],
......@@ -87,6 +88,7 @@
this.objOption.Type = res.Data.Type;
this.objOption.Num = res.Data.Num;
this.objOption.CountryId = res.Data.CountryId;
this.objOption.CountryIdList=res.Data.CountryIdList;
})
this.optionTitle = "修改类型"
} else {
......@@ -96,6 +98,7 @@
this.objOption.Type = 1;
this.objOption.Num = '';
this.objOption.CountryId = '';
this.objOption.CountryIdList=[];
}
},
//关闭弹窗
......
......@@ -290,7 +290,7 @@
isShowStudyAudit: false, //是否显示留学就业审核弹窗
isShowInfo: false, //是否显示详情
studyObj: {}, //留学就业申请对象
AuditType: 0, //1-部门主管审核,2-部门负责人审核
AuditType: 1, //1-部门主管审核,2-部门负责人审核
}
},
computed: mapState({
......@@ -327,13 +327,13 @@
created() {
let userInfo = this.getLocalStorage();
let StudyAbroadObj = userInfo.StudyAbroadObj;
if (StudyAbroadObj && StudyAbroadObj.length > 0) {
StudyAbroadObj.forEach(x => {
if (x.Id === userInfo.Id) {
this.AuditType = x.AuditType
}
})
}
// if (StudyAbroadObj && StudyAbroadObj.length > 0) {
// StudyAbroadObj.forEach(x => {
// if (x.Id === userInfo.Id) {
// this.AuditType = x.AuditType
// }
// })
// }
if (!this.isHaveViewSupplierAction) {
this.visibleColumns.splice(this.visibleColumns.length - 1, 1);
}
......
<template>
<div class="page-body">
<q-tabs
v-model="tabCheck"
narrow-indicator
dense
align="left"
class="text-primary q-mb-sm"
>
<q-tabs v-model="tabCheck" narrow-indicator dense align="left" class="text-primary q-mb-sm">
<q-tab :ripple="false" :name="1" label="类型" />
</q-tabs>
<type v-if="tabCheck == 1"></type>
</div>
</template>
<script>
import type from "../studyAbroad/common/type";
export default {
components: {
type
},
data() {
return {
tabCheck: 1
};
}
};
</script>
import type from "../studyAbroad/common/type";
export default {
components: {
type
},
data() {
return {
tabCheck: 1
};
}
};
</script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment