Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
c65e3b48
Commit
c65e3b48
authored
Jun 30, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f8d4a93b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
330 additions
and
327 deletions
+330
-327
activeDetail-item.vue
src/components/activity/activeDetail-item.vue
+306
-305
activeDetail.vue
src/pages/activity/activeDetail.vue
+24
-22
No files found.
src/components/activity/activeDetail-item.vue
View file @
c65e3b48
This diff is collapsed.
Click to expand it.
src/pages/activity/activeDetail.vue
View file @
c65e3b48
...
...
@@ -85,6 +85,7 @@ import DetailItem from "../../components/activity/activeDetail-item"
mounted
(){
if
(
this
.
$route
.
query
.
Id
){
this
.
msg
.
Id
=
this
.
$route
.
query
.
Id
this
.
getDetail
()
}
},
methods
:
{
...
...
@@ -116,37 +117,38 @@ import DetailItem from "../../components/activity/activeDetail-item"
this
.
ActivityTitle
.
splice
(
index
,
1
)
},
getItemData
(
val
,
index
){
console
.
log
(
'119'
,
val
,
index
)
this
.
msg
.
ActivityTitle
[
index
]
=
val
},
//保存信息
save
()
{
// this.$refs.child[0].ruleVerification();
this
.
msg
.
ActivityTitle
=
this
.
ActivityTitle
this
.
$refs
.
child
.
forEach
(
x
=>
{
this
.
$refs
.
child
.
map
(
x
=>
{
x
.
ruleVerification
();
})
// this.$refs.Name.validate();
// this.$refs.StartTime.validate();
// this.$refs.EndTime.validate();
// this.$refs.SignStartTime.validate();
// this.$refs.SignEndTime.validate();
// if (!this.$refs.Name.hasError &&
// !this.$refs.StartTime.hasError &&
// !this.$refs.EndTime.hasError &&
// !this.$refs.SignStartTime.hasError &&
// !this.$refs.SignEndTime.hasError) {
let
res
=
this
.
$refs
.
child
.
every
(
x
=>
{
return
x
.
ruleVerification
();
})
// this.apipostDS("/api/Education/GetSetActivityPlan", this.msg, (res) => {
// console.log(136,res)
// if (res.data.resultCode === 1) {
// this.Success(res.data.message);
// } else {
// this.Error(res.data.message);
// }
// })
// }
console
.
log
(
'res'
,
res
)
if
(
res
){
this
.
apipostDS
(
"/api/Education/GetSetActivityPlan"
,
this
.
msg
,
(
res
)
=>
{
console
.
log
(
136
,
res
)
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
Success
(
res
.
data
.
message
);
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
})
}
},
getDetail
(){
this
.
apipostDS
(
"/api/Education/GetActivity"
,
{
Id
:
this
.
msg
.
Id
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
ActivityTitle
=
res
.
data
.
data
.
ActivityTitleList
console
.
log
(
152
,
res
.
data
.
data
.
ActivityTitleList
)
}
})
}
}
}
...
...
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