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
f2f67eeb
Commit
f2f67eeb
authored
Jun 30, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
69806679
6a4d3e93
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 @
f2f67eeb
This diff is collapsed.
Click to expand it.
src/pages/activity/activeDetail.vue
View file @
f2f67eeb
...
@@ -85,6 +85,7 @@ import DetailItem from "../../components/activity/activeDetail-item"
...
@@ -85,6 +85,7 @@ import DetailItem from "../../components/activity/activeDetail-item"
mounted
(){
mounted
(){
if
(
this
.
$route
.
query
.
Id
){
if
(
this
.
$route
.
query
.
Id
){
this
.
msg
.
Id
=
this
.
$route
.
query
.
Id
this
.
msg
.
Id
=
this
.
$route
.
query
.
Id
this
.
getDetail
()
}
}
},
},
methods
:
{
methods
:
{
...
@@ -116,37 +117,38 @@ import DetailItem from "../../components/activity/activeDetail-item"
...
@@ -116,37 +117,38 @@ import DetailItem from "../../components/activity/activeDetail-item"
this
.
ActivityTitle
.
splice
(
index
,
1
)
this
.
ActivityTitle
.
splice
(
index
,
1
)
},
},
getItemData
(
val
,
index
){
getItemData
(
val
,
index
){
console
.
log
(
'119'
,
val
,
index
)
this
.
msg
.
ActivityTitle
[
index
]
=
val
this
.
msg
.
ActivityTitle
[
index
]
=
val
},
},
//保存信息
//保存信息
save
()
{
save
()
{
// this.$refs.child[0].ruleVerification();
this
.
msg
.
ActivityTitle
=
this
.
ActivityTitle
this
.
msg
.
ActivityTitle
=
this
.
ActivityTitle
this
.
$refs
.
child
.
forEach
(
x
=>
{
this
.
$refs
.
child
.
map
(
x
=>
{
x
.
ruleVerification
();
x
.
ruleVerification
();
})
})
// this.$refs.Name.validate();
let
res
=
this
.
$refs
.
child
.
every
(
x
=>
{
// this.$refs.StartTime.validate();
return
x
.
ruleVerification
();
// 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) {
// this.apipostDS("/api/Education/GetSetActivityPlan", this.msg, (res) => {
console
.
log
(
'res'
,
res
)
// console.log(136,res)
if
(
res
){
// if (res.data.resultCode === 1) {
this
.
apipostDS
(
"/api/Education/GetSetActivityPlan"
,
this
.
msg
,
(
res
)
=>
{
// this.Success(res.data.message);
console
.
log
(
136
,
res
)
// } else {
if
(
res
.
data
.
resultCode
===
1
)
{
// this.Error(res.data.message);
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