Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea-resources-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伯涛
tea-resources-web
Commits
2da96a64
Commit
2da96a64
authored
May 20, 2024
by
刘怀志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加问题
parent
1be182b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
31 deletions
+3
-31
index.vue
src/views/courseInformation/tryoutCommencement/index.vue
+3
-31
No files found.
src/views/courseInformation/tryoutCommencement/index.vue
View file @
2da96a64
...
@@ -1632,11 +1632,11 @@ export default {
...
@@ -1632,11 +1632,11 @@ export default {
if
(
this
.
multipleSelection
.
length
===
0
)
{
if
(
this
.
multipleSelection
.
length
===
0
)
{
return
this
.
$message
.
error
(
'请选择课程'
)
return
this
.
$message
.
error
(
'请选择课程'
)
}
}
console
.
log
(
'提交'
)
console
.
log
(
'提交'
,
this
.
multipleSelection
)
const
form
=
this
.
multipleSelection
const
form
=
this
.
multipleSelection
form
.
forEach
(
item
=>
{
form
.
forEach
(
item
=>
{
item
.
applicant
=
this
.
form
.
applicant
item
.
applicant
=
this
.
form
.
applicant
item
.
lessonId
=
item
.
businessId
item
.
lessonId
=
item
.
businessId
?
item
.
businessId
:
item
.
lessonId
item
.
remarks
=
this
.
form
.
remarks
item
.
remarks
=
this
.
form
.
remarks
item
.
applicantType
=
1
item
.
applicantType
=
1
item
.
isPay
=
this
.
form
.
isPay
item
.
isPay
=
this
.
form
.
isPay
...
@@ -1647,6 +1647,7 @@ export default {
...
@@ -1647,6 +1647,7 @@ export default {
item
.
jobClassification
=
item
.
jobClassify
item
.
jobClassification
=
item
.
jobClassify
item
.
technicalClassification
=
item
.
tecClassify
item
.
technicalClassification
=
item
.
tecClassify
})
})
console
.
log
(
'KKKKKKKKKKKKKKKKKKKKKKKKK'
,
form
)
this
.
$refs
.
lessonRef
.
validate
(
valid
=>
{
this
.
$refs
.
lessonRef
.
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
const
addForm
=
{
const
addForm
=
{
...
@@ -1667,35 +1668,6 @@ export default {
...
@@ -1667,35 +1668,6 @@ export default {
})
})
}
}
})
})
// if (this.form.settingList.length > 0) {
// // 克隆form
// const form = {
// settingList: this.form.settingList,
// applicant: this.addForm.applicant,
// applicantType: 1
// }
// // 判断form的每一项flag是否为0
// for (let i = 0; i
<
form
.
settingList
.
length
;
i
++
)
{
// if (form.settingList[i].flag === '1') {
// return this.$message.error('请保存列表数据')
// }
// }
// console.log('this.form', this.form)
// batchAddTeaTrialCourse(form).then(res => {
// if (res.code === 200) {
// this.resetAddFrom()
// this.open = false
// this.loadData()
// this.$message({
// message: '新增成功',
// type: 'success'
// })
// }
// })
// } else {
// return this.$message.error('请添加列表数据')
// }
},
},
/** 修改按钮操作 */
/** 修改按钮操作 */
handleUpdate
(
index
)
{
handleUpdate
(
index
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment