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

页面修改

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