提交 9be7bd45 authored 作者: 王鹏飞's avatar 王鹏飞

报名申请新增AMI/AMS 3-6主教证书上传

上级 04e03d53
module.exports = {
domain: 'dev.ezijing.com',
url: 'https://project-api.ezijing.com/api',
// apiBaseURL: '//demo-login.ezijing.com/',
isEnableToIphoneDebugger: false,
apiBaseURL: '//project-api.ezijing.com/api',
webpack: {
externals: {
CKEDITOR: 'window.CKEDITOR',
......
......@@ -9,7 +9,7 @@
"version": "3.0.14",
"license": "ISC",
"dependencies": {
"@ezijing/vue-form": "^2.1.9",
"@ezijing/vue-form": "^2.2.4",
"animate.css": "^4.1.0",
"axios": "^0.19.2",
"core-js": "^3.6.5",
......@@ -1221,9 +1221,9 @@
}
},
"node_modules/@ezijing/vue-form": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/@ezijing/vue-form/-/vue-form-2.2.1.tgz",
"integrity": "sha512-6N6hM7vUAFQ+47lv2t3TYdAxOt2TEIlOWnvH7CkTp1noupSm+jCsu6lllmQb+F5GZX5wcQT4g6np66NsfxRWCA==",
"version": "2.2.4",
"resolved": "https://registry.npmjs.org/@ezijing/vue-form/-/vue-form-2.2.4.tgz",
"integrity": "sha512-pK3E+KMTquSfpUkoz+mP9EbVrcjttKk72KsS75wL5toVC71tt3VysipsKeQcYzJFtOPKNTEbb0af0Um0Fsx3zQ==",
"dependencies": {
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
"@vue/babel-preset-jsx": "^1.1.2",
......@@ -18975,9 +18975,9 @@
}
},
"@ezijing/vue-form": {
"version": "2.2.1",
"resolved": "https://registry.npmjs.org/@ezijing/vue-form/-/vue-form-2.2.1.tgz",
"integrity": "sha512-6N6hM7vUAFQ+47lv2t3TYdAxOt2TEIlOWnvH7CkTp1noupSm+jCsu6lllmQb+F5GZX5wcQT4g6np66NsfxRWCA==",
"version": "2.2.4",
"resolved": "https://registry.npmjs.org/@ezijing/vue-form/-/vue-form-2.2.4.tgz",
"integrity": "sha512-pK3E+KMTquSfpUkoz+mP9EbVrcjttKk72KsS75wL5toVC71tt3VysipsKeQcYzJFtOPKNTEbb0af0Um0Fsx3zQ==",
"requires": {
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
"@vue/babel-preset-jsx": "^1.1.2",
......@@ -71,7 +71,7 @@
"webpack-merge": "^4.2.2"
},
"dependencies": {
"@ezijing/vue-form": "^2.1.9",
"@ezijing/vue-form": "^2.2.4",
"animate.css": "^4.1.0",
"axios": "^0.19.2",
"core-js": "^3.6.5",
......
export default {
id: 'interview_am',
title: 'AMI/AMS 3-6主教证书',
get: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/${webConf.others.projectId}`,
callback(data) {
const { attachments = [], submission_stage: submissionStage = 'FILLING' } = data.data.material
const stageList = [
'FILLING',
'PREPAYMENT',
'INTERVIEW_APPLICATION',
'AUDITION',
'INTERVIEW',
'PAYMENT',
'REGISTRATION',
'CLOSED'
]
this.form.options.disabled = stageList.findIndex(item => item === submissionStage) > 2
const AMI_AMS_3_6 = attachments.filter(item => {
return item.file_type_id === 'AMI_AMS_3_6'
})
return { AMI_AMS_3_6 }
}
},
form: {
prev: { to: { query: { active: 'interview_byz' } } },
next: { to: { query: { active: 'interview_cjd' } } },
hasButton: false,
options: {},
items: [
{
type: 'v-upload',
required: true,
model: 'AMI_AMS_3_6',
attrs: {
action: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/put`,
deleteAction: `${webConf.apiBaseURL}/enrollment/v1.0/application-materials/attachments/${webConf.others.projectId}/delete`,
data: { file_type: 'AMI_AMS_3_6' }
},
append: '注意事项:需要将证书原件扫描或拍照后提交,请确保证书内容清晰可辨。'
}
]
}
}
......@@ -23,7 +23,7 @@ export default {
}
},
form: {
next: { to: { query: { active: 'interview_cjd' } } },
next: { to: { query: { active: 'interview_am' } } },
hasButton: false,
options: {},
items: [
......
......@@ -31,7 +31,7 @@ export default {
}
},
form: {
prev: { to: { query: { active: 'interview_byz' } } },
prev: { to: { query: { active: 'interview_am' } } },
next: { to: { query: { active: 'interview_zp' } } },
hasButton: false,
options: { 'label-position': 'top' },
......
import byz from './byz'
import am from './am'
import cjd from './cjd'
import zp from './zp'
......@@ -6,6 +7,6 @@ export default function(_this) {
return {
id: 'interview',
title: '申请面试',
children: [byz, cjd, zp(_this)]
children: [byz, am, cjd, zp(_this)]
}
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论