diff --git a/project/pingchang/apps/AppOrganizationChange/components/addChange.vue b/project/pingchang/apps/AppOrganizationChange/components/addChange.vue index 8a8c60f1..c31d25ab 100644 --- a/project/pingchang/apps/AppOrganizationChange/components/addChange.vue +++ b/project/pingchang/apps/AppOrganizationChange/components/addChange.vue @@ -1,7 +1,52 @@ diff --git a/project/pingchang/apps/AppOrganizationChange/components/moment.vue b/project/pingchang/apps/AppOrganizationChange/components/moment.vue index d1399223..552c8bd1 100644 --- a/project/pingchang/apps/AppOrganizationChange/components/moment.vue +++ b/project/pingchang/apps/AppOrganizationChange/components/moment.vue @@ -14,27 +14,7 @@ - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - + @@ -99,6 +97,14 @@ export default { size: 10, dialogJob: false, dialogCandidate: false, + jobForm: { + job: '', + name: '', + }, + CandFrom: { + job: '', + name: '', + }, } }, computed: { @@ -108,13 +114,25 @@ export default { {prop: 'content', label: '姓名'}, {slot: 'options'}, ] + }, + jobRules() { + return { + job: [{required: true, message: "请输入职位"}], + name: [{required: true, message: "请输入姓名"}], + } + }, + candRules() { + return { + job: [{required: true, message: "请输入职位"}], + name: [{required: true, message: "请输入姓名"}], + } } }, methods: { jobEdit() {}, jobDelete() {}, getJobList() {}, - toEdit() { + toEdit(id) { this.$emit('change', { type: 'addChange', params: { @@ -123,6 +141,8 @@ export default { }) // this.$route.push('#addChange') }, + handleJobForm() {}, + handleCandForm() {}, } }