|
|
@ -21,12 +21,7 @@ |
|
|
|
<a-col :span="8"> |
|
|
|
<a-col :span="8"> |
|
|
|
<a-form-item label="所属院系" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<a-form-item label="所属院系" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
|
|
|
<!-- 删除multi --> |
|
|
|
<!-- 删除multi --> |
|
|
|
<!-- <j-select-depart v-model="model.depid" @change="getMajor()" /> --> |
|
|
|
<j-select-depart v-model="model.depid" @change="getMajor()" /> |
|
|
|
<j-select-depart |
|
|
|
|
|
|
|
v-decorator="['depid', { initialValue: initiaDeipd }]" |
|
|
|
|
|
|
|
:trigger-change="true" |
|
|
|
|
|
|
|
@change="getMajor()" |
|
|
|
|
|
|
|
/> |
|
|
|
|
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="8"> |
|
|
|
<a-col :span="8"> |
|
|
@ -110,7 +105,7 @@ |
|
|
|
<!-- 修改 --> |
|
|
|
<!-- 修改 --> |
|
|
|
<!-- <j-search-select-tag dict="se_semester,name,id"></j-search-select-tag>--> |
|
|
|
<!-- <j-search-select-tag dict="se_semester,name,id"></j-search-select-tag>--> |
|
|
|
<!-- <j-search-select-tag dict="xueqi" v-model="model.year"></j-search-select-tag> --> |
|
|
|
<!-- <j-search-select-tag dict="xueqi" v-model="model.year"></j-search-select-tag> --> |
|
|
|
<j-dict-select-tag type="radio" v-model="model.semester" dictCode="xueqi" placeholder="请选择" /> |
|
|
|
<j-dict-select-tag type="radio" v-model="model.year" dictCode="xueqi" placeholder="请选择" /> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|
<a-col :span="8"> |
|
|
|
<a-col :span="8"> |
|
|
@ -443,15 +438,15 @@ export default { |
|
|
|
return { |
|
|
|
return { |
|
|
|
fs: false, |
|
|
|
fs: false, |
|
|
|
show: false, |
|
|
|
show: false, |
|
|
|
initiaDeipd: '01dfe0b225894beb9f37d3aa4d93183e', |
|
|
|
|
|
|
|
model: { |
|
|
|
model: { |
|
|
|
category: 1, |
|
|
|
category: 1, |
|
|
|
cooperativeEducation: 0, |
|
|
|
cooperativeEducation: 0, |
|
|
|
semester: '1', |
|
|
|
year: '1', |
|
|
|
depid: '01dfe0b225894beb9f37d3aa4d93183e', |
|
|
|
depid: '', |
|
|
|
majorid: '1479007021540012033', |
|
|
|
majorid: '', |
|
|
|
verifier: '01dfe0b225894beb9f37d3aa4d93183e', |
|
|
|
verifier: '', |
|
|
|
teachingandoffice: 'admin' |
|
|
|
teachingandoffice: '' |
|
|
|
}, |
|
|
|
}, |
|
|
|
dataLoaded: false, |
|
|
|
dataLoaded: false, |
|
|
|
|
|
|
|
|
|
|
@ -666,10 +661,11 @@ export default { |
|
|
|
getData () { |
|
|
|
getData () { |
|
|
|
getAction(this.url.dqyh).then((res) => { |
|
|
|
getAction(this.url.dqyh).then((res) => { |
|
|
|
if (res.success) { |
|
|
|
if (res.success) { |
|
|
|
this.model.initiaDeipd = res.result.depid |
|
|
|
this.model.depid = res.result.depid |
|
|
|
this.model.teachingandoffice = res.result.teachingandoffice |
|
|
|
this.model.teachingandoffice = res.result.teachingandoffice |
|
|
|
this.model.majorid = res.result.majorid |
|
|
|
this.model.majorid = res.result.majorid |
|
|
|
this.model.verifier = res.result.verifier |
|
|
|
this.model.verifier = res.result.verifier |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
this.dataLoaded = true // 数据加载完成后设置dataLoaded为true |
|
|
|
this.dataLoaded = true // 数据加载完成后设置dataLoaded为true |
|
|
|
}) |
|
|
|
}) |
|
|
|