Commit 0336803e authored by “yiyousong”'s avatar “yiyousong”

perf: 优化工作人员称号和政治面貌

parent 9d61ea6f
...@@ -117,7 +117,6 @@ ...@@ -117,7 +117,6 @@
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="政治面貌" prop="politicalstatus"> <a-form-model-item label="政治面貌" prop="politicalstatus">
<a-select <a-select
allowClear
v-model="form.politicalstatus" v-model="form.politicalstatus"
placeholder="请选择政治面貌" placeholder="请选择政治面貌"
> >
...@@ -134,11 +133,7 @@ ...@@ -134,11 +133,7 @@
<a-row> <a-row>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="称号" prop="dangyuan"> <a-form-model-item label="称号" prop="dangyuan">
<a-select <a-select v-model="form.dangyuan" placeholder="请选择称号">
allowClear
v-model="form.dangyuan"
placeholder="请选择称号"
>
<a-select-option <a-select-option
v-for="(value, key) in designationDict" v-for="(value, key) in designationDict"
:key="key" :key="key"
...@@ -414,8 +409,8 @@ export default { ...@@ -414,8 +409,8 @@ export default {
idCard: "", // 身份证 idCard: "", // 身份证
userpost: "", // 职务 userpost: "", // 职务
posttitle: "", // 职称 posttitle: "", // 职称
politicalstatus: undefined, // 政治面貌 politicalstatus: 4, // 政治面貌
dangyuan: undefined, // 称号 dangyuan: 100, // 称号
dangyuanext: "", // 称号扩展 dangyuanext: "", // 称号扩展
phone: "", // 电话 phone: "", // 电话
mobile: "", // 手机 mobile: "", // 手机
......
...@@ -117,7 +117,6 @@ ...@@ -117,7 +117,6 @@
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="政治面貌" prop="politicalstatus"> <a-form-model-item label="政治面貌" prop="politicalstatus">
<a-select <a-select
allowClear
v-model="form.politicalstatus" v-model="form.politicalstatus"
placeholder="请选择政治面貌" placeholder="请选择政治面貌"
> >
...@@ -134,11 +133,7 @@ ...@@ -134,11 +133,7 @@
<a-row> <a-row>
<a-col :span="12"> <a-col :span="12">
<a-form-model-item label="称号" prop="dangyuan"> <a-form-model-item label="称号" prop="dangyuan">
<a-select <a-select v-model="form.dangyuan" placeholder="请选择称号">
allowClear
v-model="form.dangyuan"
placeholder="请选择称号"
>
<a-select-option <a-select-option
v-for="(value, key) in designationDict" v-for="(value, key) in designationDict"
:key="key" :key="key"
...@@ -449,8 +444,8 @@ export default { ...@@ -449,8 +444,8 @@ export default {
idCard: "", // 身份证 idCard: "", // 身份证
userpost: "", // 职务 userpost: "", // 职务
posttitle: "", // 职称 posttitle: "", // 职称
politicalstatus: undefined, // 政治面貌 politicalstatus: 4, // 政治面貌
dangyuan: undefined, // 称号 dangyuan: 100, // 称号
dangyuanext: "", // 自定义称号 dangyuanext: "", // 自定义称号
phone: "", // 电话 phone: "", // 电话
mobile: "", // 手机 mobile: "", // 手机
......
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