diff --git a/src/pages/Apply/Apply.vue b/src/pages/Apply/Apply.vue index e61fc4d..889755d 100644 --- a/src/pages/Apply/Apply.vue +++ b/src/pages/Apply/Apply.vue @@ -6,8 +6,8 @@   报名 - - + + @@ -20,74 +20,80 @@
填写报名信息
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 计划支持 - 自主提报 - - - - - - - - -
- - 添加成员 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 计划支持 + 自主提报 + + + + + +
+
+

成员

+ 添加成员 +
- - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + +
-
-
-
-
- - - - 提交报名表 -
请上传zip/rar格式压缩包
- - 下载报名表 - -
+ + +
+ + + + 提交报名表 +
请上传zip/rar格式压缩包
+ + 下载报名表 + +
+
+ +
@@ -174,14 +181,23 @@ export default { return { /* 报名表单信息 */ applyForm: { - applyCompany: "", - applyChargeName: "", - applyChargeDuty: "", - applyChargeArmyRank: "", - applyRegion: "", - applySort: "", - applySource: "", - applyPhone: "", + applyCompId: "", + applyTeamId: "", + + applyCompany: "", // unit单位 + applyChargeName: "", // name姓名 + applyPhone: "", // tel电话 + applyEmail: "", // email邮箱 + + applyChargeDuty: "", // duty职务 + applyChargeArmyRank: "", // army_rank军衔 + + applyRegion: "", // division赛区 + applySort: "", // kind类别 + applySource: "", // appky_source课题来源 + + applyFile: "", // file文件 + }, radioValue: 1, /* 单选框默认 */ @@ -191,16 +207,19 @@ export default { loading_text: "", memberList: [], /* 成员列表 */ - addForm: [], /* 逐个添加的表单 */ + addForm: [], /* 临时变量:逐个添加的表单 */ /* 表格成员信息 */ - memberName: "", - memberCompany: "", - memberDuty: "", - memberArmyRank: "", + memberName: "", + memberPhone: "", + memberEmail: "", - uploadActionUrl: "", - applyFilterUrl: "", + memberCompany: "", // memberUnit + memberDuty: "", // memberDuty + memberArmyRank: "", // memberArmyRank + + uploadActionUrl: "", // 上传后端接口url + applyFilterUrl: "", // 下载报名表的url rules: { @@ -211,6 +230,14 @@ export default { applyChargeName: [ { required: true, message: "请输入负责人姓名", trigger: "blur" }, ], + applyPhone: [ + { required: true, message: "请输入电话", trigger: "blur" }, + { pattern: /^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$/, message:"请输入正确的成员电话", trigger: "change"}, + ], + applyEmail: [ + { required: true, message: "请输入邮箱", trigger: "blur" }, + { pattern: /^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$/, message:"请输入正确的邮箱地址", trigger: "change"}, + ], applyChargeDuty: [ { required: true, message: "请输入职务", trigger: "blur" }, ], @@ -226,10 +253,6 @@ export default { applySource: [ { required: true, message: "请填写课题来源", trigger: "change" } ], - applyPhone: [ - { required: true, message: "请输入电话", trigger: "blur" }, - { pattern: /^1([358][0-9]|4[579]|66|7[0135678]|9[89])[0-9]{8}$/, message:"请输入正确的成员电话", trigger: "change"}, - ], memberName: [ { required: true, message: "请输入成员姓名", trigger: "blur" }, @@ -393,7 +416,16 @@ export default { top: -1.75vw; } -.apply-table { +.apply-menber { + float: left; + text-align: left; + width: 100%; + margin-top: -1vw; +} +h4 { + margin-bottom: 1vw; +} +::v-deep .apply-table { width: 95%; height: auto; } @@ -401,7 +433,12 @@ export default { margin-bottom: 16px; } +.apply-button { + float: left; + margin: 3vw 2vw; +} .import-apply-tip { + align-items: left; text-align: left; font-size: 11px; }