Commit f15db3c5 by Cat

zd 教师电子档案

parent b7329b2b
......@@ -73,7 +73,7 @@
<template slot-scope="{ row }">
{{
row.state == 1
? "编辑"
? "未填写"
: row.state == 4
? "已提交"
: row.state == 5
......@@ -120,7 +120,25 @@
align="center"
min-width="150"
prop="education"
/>
>
<template slot-scope="{ row }">
{{
row.education == 0
? "高中"
: row.education == 1
? "专科"
: row.education == 2
? "本科"
: row.education == 3
? "研究生"
: row.education == 4
? "硕士"
: row.education == 5
? "博士"
: ""
}}
</template>
</el-table-column>
<el-table-column
label="政治面貌"
align="center"
......
......@@ -319,6 +319,8 @@
style="padding-right: 10px"
>
<el-input
type="number"
placeholder="请输入数字"
v-model="form.classHour"
:disabled="form.state == '4' ? true : false"
></el-input>
......
......@@ -308,6 +308,7 @@
style="padding-right: 10px"
>
<el-input
type="number"
v-model="form.classHour"
:disabled="status == '7' ? true : false"
></el-input>
......
......@@ -562,6 +562,9 @@ export default {
elink.setAttribute("href", objectUrl);
elink.setAttribute("download", "教师电子档案" + ".xls");
elink.click();
})
.then(() => {
this.$modal.closeLoading();
});
},
......
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