Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
campSite
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杨梦雪
campSite
Commits
6a22c474
Commit
6a22c474
authored
Dec 20, 2021
by
杨梦雪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
0141615f
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
322 additions
and
190 deletions
+322
-190
src/request/index/homework.js
src/request/index/homework.js
+2
-10
src/request/index/info.js
src/request/index/info.js
+6
-6
src/views/index/Info/Index.vue
src/views/index/Info/Index.vue
+7
-3
src/views/index/Info/personalInfo.vue
src/views/index/Info/personalInfo.vue
+73
-32
src/views/index/camp/Certificate.vue
src/views/index/camp/Certificate.vue
+11
-23
src/views/index/camp/Homework.vue
src/views/index/camp/Homework.vue
+8
-2
src/views/index/camp/homework/refer.vue
src/views/index/camp/homework/refer.vue
+215
-114
No files found.
src/request/index/homework.js
View file @
6a22c474
...
@@ -14,15 +14,7 @@ export function getTeacherWork(data) {
...
@@ -14,15 +14,7 @@ export function getTeacherWork(data) {
params
:
data
params
:
data
})
})
}
}
// 下载老师作业
export
function
downloadTeacherWork
(
data
)
{
data
[
'
identity
'
]
=
store
.
state
.
indexIdentity
;
return
request
({
method
:
'
get
'
,
url
:
'
/web/download/downloadTeacherWork
'
,
params
:
data
})
}
// 获取学生上传作业的oss
// 获取学生上传作业的oss
export
function
PostWorkStudentOss
(
data
)
{
export
function
PostWorkStudentOss
(
data
)
{
data
[
'
identity
'
]
=
store
.
state
.
indexIdentity
;
data
[
'
identity
'
]
=
store
.
state
.
indexIdentity
;
...
@@ -38,7 +30,7 @@ export function delPic(data) {
...
@@ -38,7 +30,7 @@ export function delPic(data) {
return
request
({
return
request
({
method
:
'
post
'
,
method
:
'
post
'
,
url
:
'
/web/download/delPic
'
,
url
:
'
/web/download/delPic
'
,
params
:
data
params
:
data
})
})
}
}
...
...
src/request/index/info.js
View file @
6a22c474
...
@@ -5,21 +5,21 @@ import {
...
@@ -5,21 +5,21 @@ import {
import
store
from
'
@/store
'
import
store
from
'
@/store
'
// 获取
学生提交的营地作业
// 获取
资料(个人信息)
export
function
get
StudentWork
(
data
)
{
export
function
get
AccountInfo
(
data
)
{
data
[
'
identity
'
]
=
store
.
state
.
indexIdentity
;
data
[
'
identity
'
]
=
store
.
state
.
indexIdentity
;
return
request
({
return
request
({
method
:
'
post
'
,
method
:
'
post
'
,
url
:
'
/web/
download/getStudentWork
'
,
url
:
'
/web/
signUp/getAccountInfo
'
,
data
data
})
})
}
}
//
提交营地作业
//
保存个人资料
export
function
s
ubStudentWork
(
data
)
{
export
function
s
etAccountInfo
(
data
)
{
data
[
'
identity
'
]
=
store
.
state
.
indexIdentity
;
data
[
'
identity
'
]
=
store
.
state
.
indexIdentity
;
return
request
({
return
request
({
method
:
'
post
'
,
method
:
'
post
'
,
url
:
'
/web/
download/subStudentWork
'
,
url
:
'
/web/
signUp/setAccountInfo
'
,
data
data
})
})
}
}
src/views/index/Info/Index.vue
View file @
6a22c474
...
@@ -5,7 +5,12 @@
...
@@ -5,7 +5,12 @@
<!--
<div
class=
"bg-top"
></div>
-->
<!--
<div
class=
"bg-top"
></div>
-->
<div
class=
"bg-top"
>
<div
class=
"bg-top"
>
<el-breadcrumb
separator=
"/"
>
<el-breadcrumb
separator=
"/"
>
<el-breadcrumb-item
:to=
"
{ path: '/' }">首页
</el-breadcrumb-item>
<el-breadcrumb-item
:to=
"
{
path: '/signUp/examInfo?code=' + $store.state.indexIdentity,
}"
>首页
</el-breadcrumb-item
>
<el-breadcrumb-item>
活动管理
</el-breadcrumb-item>
<el-breadcrumb-item>
活动管理
</el-breadcrumb-item>
</el-breadcrumb>
</el-breadcrumb>
</div>
</div>
...
@@ -101,12 +106,11 @@ export default {
...
@@ -101,12 +106,11 @@ export default {
window
.
removeEventListener
(
"
resize
"
,
this
.
onResize
,
true
);
window
.
removeEventListener
(
"
resize
"
,
this
.
onResize
,
true
);
},
},
methods
:
{
methods
:
{
ToSignUp
(
index
)
{
ToSignUp
(
index
)
{
console
.
log
(
index
,
"
index
"
);
console
.
log
(
index
,
"
index
"
);
let
code
=
this
.
$store
.
state
.
indexIdentity
;
let
code
=
this
.
$store
.
state
.
indexIdentity
;
this
.
campindex_type
=
index
;
this
.
campindex_type
=
index
;
console
.
log
(
this
.
$route
)
console
.
log
(
this
.
$route
)
;
// if (this.campindex_type == 0) {
// if (this.campindex_type == 0) {
// this.$router.push("Info/personalInfo?code=" + code);
// this.$router.push("Info/personalInfo?code=" + code);
// } else
// } else
...
...
src/views/index/Info/personalInfo.vue
View file @
6a22c474
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
class=
"checkForm"
class=
"checkForm"
:rules=
"referInfoRules"
:rules=
"referInfoRules"
>
>
<!-- 个人信息 -->
<div
class=
"cont_title"
>
个人信息
</div>
<div
class=
"cont_title"
>
个人信息
</div>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
...
@@ -210,34 +211,40 @@
...
@@ -210,34 +211,40 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<!-- 收件信息 (不可编辑) -->
<div
class=
"cont_title"
>
收件信息
</div>
<div
class=
"cont_title"
>
收件信息
</div>
<el-form
:model=
"addressForm"
>
<el-form
:model=
"addressForm"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"收件人"
prop=
"certificate_name"
>
<el-form-item
label=
"收件人"
prop=
"certificate_name"
>
<el-input
<el-input
v-model=
"addressForm.certificate_name"
v-model=
"addressForm.certificate_name"
placeholder=
"填写真实姓名"
placeholder=
"填写真实姓名"
size=
"small"
size=
"small"
clearable
:disabled=
"true"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</el-col>
<el-col
:span=
"12"
>
<el-form-item
label=
"收件人电话"
prop=
"certificate_phone"
>
<el-form-item
label=
"收件人电话"
prop=
"certificate_phone"
>
<el-input
<el-input
v-model=
"addressForm.certificate_phone"
v-model=
"addressForm.certificate_phone"
placeholder=
"填写真实电话"
placeholder=
"填写真实电话"
size=
"small"
size=
"small"
clearable
:disabled=
"true"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"收货地址"
prop=
"certificate_province"
>
<el-form-item
label=
"收货地址"
prop=
"certificate_province"
>
<el-select
<el-select
ref=
"certificate_province"
ref=
"certificate_province"
v-model=
"addressForm.certificate_province"
v-model=
"addressForm.certificate_province"
clearable
:disabled=
"true"
placeholder=
"选择省份"
placeholder=
"选择省份"
@
change=
"changeProvince($event)"
@
change=
"changeProvince(
3,
$event)"
>
>
<el-option
<el-option
v-for=
"item in selectProvince"
v-for=
"item in selectProvince"
...
@@ -254,7 +261,7 @@
...
@@ -254,7 +261,7 @@
<el-select
<el-select
ref=
"certificate_city"
ref=
"certificate_city"
v-model=
"addressForm.certificate_city"
v-model=
"addressForm.certificate_city"
clearable
:disabled=
"true"
placeholder=
"选择城市"
placeholder=
"选择城市"
>
>
<el-option
<el-option
...
@@ -284,11 +291,10 @@
...
@@ -284,11 +291,10 @@
</el-option>
</el-option>
</el-select>
-->
</el-select>
-->
<el-input
<el-input
v-model=
"county"
v-model=
"county"
placeholder=
"选择所在区县"
placeholder=
"选择所在区县"
size=
"small"
size=
"small"
clearable
:disabled=
"true"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -299,8 +305,7 @@
...
@@ -299,8 +305,7 @@
v-model=
"certificate_address"
v-model=
"certificate_address"
placeholder=
"填写详细地址"
placeholder=
"填写详细地址"
size=
"small"
size=
"small"
clearable
:disabled=
"true"
@
change=
"getCertificate_address"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -314,12 +319,11 @@
...
@@ -314,12 +319,11 @@
<
script
>
<
script
>
/* eslint-disable */
/* eslint-disable */
import
{
import
{
getAccount
,
setAccount
,
getProAndCity
,
getProAndCity
,
getSchool
,
getSchool
,
}
from
"
r/index/signUp
"
;
}
from
"
r/index/signUp
"
;
import
{
get
StudentWork
,
subStudentWork
}
from
"
r/index/info
"
;
import
{
get
AccountInfo
,
setAccountInfo
}
from
"
r/index/info
"
;
import
{
getAddress
}
from
"
r/index/certificate
"
;
import
{
getAddress
}
from
"
r/index/certificate
"
;
import
validator
from
"
common/validator
"
;
import
validator
from
"
common/validator
"
;
...
@@ -513,6 +517,17 @@ export default {
...
@@ -513,6 +517,17 @@ export default {
resultPicture
:
""
,
resultPicture
:
""
,
dialogVisible
:
false
,
dialogVisible
:
false
,
disabled
:
false
,
//限制输入框
disabled
:
false
,
//限制输入框
// 收货信息模块
// 收件地址-地址栏
addressForm
:
{
certificate_name
:
""
,
certificate_phone
:
""
,
certificate_province
:
null
,
certificate_city
:
null
,
certificate_address
:
""
,
},
county
:
""
,
//区县
certificate_address
:
""
,
//详细地址
};
};
},
},
mounted
()
{},
mounted
()
{},
...
@@ -532,10 +547,11 @@ export default {
...
@@ -532,10 +547,11 @@ export default {
this
.
getProAndCity
();
this
.
getProAndCity
();
this
.
getTenYear
();
this
.
getTenYear
();
this
.
getAccount
();
// 页面信息个人获取
this
.
getAccount
();
// 页面信息个人获取
this
.
getAddress
();
//收件信息获取
},
},
watch
:
{
watch
:
{
referForm
(
val
)
{
referForm
(
val
)
{
//
console.log(val, "val");
console
.
log
(
val
,
"
val
"
);
for
(
var
k
in
val
)
{
for
(
var
k
in
val
)
{
if
(
val
[
k
]
==
null
||
!
val
[
k
])
{
if
(
val
[
k
]
==
null
||
!
val
[
k
])
{
val
[
k
]
=
this
.
referForm
[
k
];
val
[
k
]
=
this
.
referForm
[
k
];
...
@@ -587,6 +603,28 @@ export default {
...
@@ -587,6 +603,28 @@ export default {
},
},
},
},
methods
:
{
methods
:
{
// 收件信息获取
getAddress
()
{
// console.log(111111)
getAddress
({}).
then
((
res
)
=>
{
// console.log(res, "getAddress");
if
(
res
.
data
.
code
!=
200
)
{
return
this
.
$message
.
error
(
res
.
data
.
message
);
}
this
.
addressForm
.
certificate_name
=
res
.
data
.
info
.
certificate_name
;
this
.
addressForm
.
certificate_phone
=
res
.
data
.
info
.
certificate_phone
;
this
.
addressForm
.
certificate_province
=
res
.
data
.
info
.
certificate_province
;
this
.
addressForm
.
certificate_city
=
res
.
data
.
info
.
certificate_city
;
this
.
selectCitySchool
=
this
.
getCurrentCityLists
(
this
.
addressForm
.
certificate_province
);
this
.
county
=
res
.
data
.
info
.
certificate_address
.
split
(
"
-
"
)[
0
];
this
.
certificate_address
=
res
.
data
.
info
.
certificate_address
.
split
(
"
-
"
)[
1
];
// console.log(res.data.info.certificate_address.split("-"))
});
},
//获取近10年的年份
//获取近10年的年份
getTenYear
()
{
getTenYear
()
{
let
nowDate
=
new
Date
();
let
nowDate
=
new
Date
();
...
@@ -608,8 +646,8 @@ export default {
...
@@ -608,8 +646,8 @@ export default {
},
},
// 页面信息个人获取
// 页面信息个人获取
getAccount
()
{
getAccount
()
{
getAccount
({}).
then
((
res
)
=>
{
getAccount
Info
({}).
then
((
res
)
=>
{
// console.log(res, "getAccount
");
console
.
log
(
res
,
"
getAccountInfo
"
);
if
(
res
.
data
.
code
!=
200
)
{
if
(
res
.
data
.
code
!=
200
)
{
return
this
.
$message
.
error
(
res
.
data
.
message
);
return
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
...
@@ -637,6 +675,8 @@ export default {
...
@@ -637,6 +675,8 @@ export default {
getyear
()
{
getyear
()
{
this
.
referForm
.
start_school_date
=
this
.
referForm
.
start_school_date
=
this
.
start_year
.
toString
()
+
"
-
"
+
this
.
start_grade
.
toString
();
this
.
start_year
.
toString
()
+
"
-
"
+
this
.
start_grade
.
toString
();
console
.
log
(
this
.
referForm
.
start_school_date
);
},
},
// 获取省份城市
// 获取省份城市
getProAndCity
()
{
getProAndCity
()
{
...
@@ -815,7 +855,7 @@ export default {
...
@@ -815,7 +855,7 @@ export default {
this
.
scrollView
(
object
);
this
.
scrollView
(
object
);
return
false
;
return
false
;
}
}
setAccount
(
this
.
referForm
).
then
((
res
)
=>
{
setAccount
Info
(
this
.
referForm
).
then
((
res
)
=>
{
// console.log(res, "setAccount");
// console.log(res, "setAccount");
if
(
res
.
data
.
code
!=
200
)
{
if
(
res
.
data
.
code
!=
200
)
{
if
(
res
.
data
.
code
==
400068
)
{
if
(
res
.
data
.
code
==
400068
)
{
...
@@ -830,6 +870,7 @@ export default {
...
@@ -830,6 +870,7 @@ export default {
// let code = this.$store.state.indexIdentity;
// let code = this.$store.state.indexIdentity;
// this.$router.push("/signUp/check?code=" + code);
// this.$router.push("/signUp/check?code=" + code);
this
.
referForm
=
res
.
data
.
data
;
this
.
referForm
=
res
.
data
.
data
;
// this.getAccount(); // 页面信息个人获取(刷新)
});
});
});
});
},
},
...
...
src/views/index/camp/Certificate.vue
View file @
6a22c474
...
@@ -114,7 +114,6 @@
...
@@ -114,7 +114,6 @@
</el-option>
</el-option>
</el-select>
-->
</el-select>
-->
<el-input
<el-input
v-model=
"county"
v-model=
"county"
placeholder=
"选择所在区县"
placeholder=
"选择所在区县"
size=
"small"
size=
"small"
...
@@ -130,7 +129,6 @@
...
@@ -130,7 +129,6 @@
placeholder=
"填写详细地址"
placeholder=
"填写详细地址"
size=
"small"
size=
"small"
clearable
clearable
@
change=
"getCertificate_address"
></el-input>
></el-input>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
...
@@ -179,9 +177,9 @@ export default {
...
@@ -179,9 +177,9 @@ export default {
trigger
:
"
change
"
,
trigger
:
"
change
"
,
},
},
],
],
county
:
[
//
county: [
{
required
:
true
,
message
:
"
请选择所在区县!
"
,
trigger
:
"
blur
"
},
//
{ required: true, message: "请选择所在区县!", trigger: "blur" },
],
//
],
certificate_address
:
[
certificate_address
:
[
{
required
:
true
,
message
:
"
详细地址不能为空!
"
,
trigger
:
"
blur
"
},
{
required
:
true
,
message
:
"
详细地址不能为空!
"
,
trigger
:
"
blur
"
},
],
],
...
@@ -217,25 +215,17 @@ export default {
...
@@ -217,25 +215,17 @@ export default {
}
}
this
.
addressForm
.
certificate_name
=
res
.
data
.
info
.
certificate_name
;
this
.
addressForm
.
certificate_name
=
res
.
data
.
info
.
certificate_name
;
this
.
addressForm
.
certificate_phone
=
res
.
data
.
info
.
certificate_phone
;
this
.
addressForm
.
certificate_phone
=
res
.
data
.
info
.
certificate_phone
;
this
.
addressForm
.
certificate_province
=
this
.
addressForm
.
certificate_province
=
res
.
data
.
info
.
certificate_province
;
res
.
data
.
info
.
certificate_province
;
this
.
addressForm
.
certificate_city
=
res
.
data
.
info
.
certificate_city
;
this
.
addressForm
.
certificate_city
=
res
.
data
.
info
.
certificate_city
;
this
.
getCurrentCityLists
(
this
.
addressForm
.
certificate_city
,
tru
e
);
this
.
selectCitySchool
=
this
.
getCurrentCityLists
(
this
.
addressForm
.
certificate_provinc
e
);
this
.
county
=
res
.
data
.
info
.
certificate_address
.
split
(
"
-
"
)[
0
];
this
.
county
=
res
.
data
.
info
.
certificate_address
.
split
(
"
-
"
)[
0
];
this
.
certificate_address
=
this
.
certificate_address
=
res
.
data
.
info
.
certificate_address
.
split
(
"
-
"
)[
1
];
res
.
data
.
info
.
certificate_address
.
split
(
"
-
"
)[
1
];
// console.log(res.data.info.certificate_address.split("-"))
});
});
},
},
getCertifi
()
{
getCertifi
()
{
this
.
dialogVisible
=
true
;
this
.
dialogVisible
=
true
;
},
},
getCertificate_address
()
{
this
.
addressForm
.
certificate_address
=
this
.
county
.
toString
()
+
"
-
"
+
this
.
certificate_address
.
toString
();
},
// 获取省份城市
// 获取省份城市
getProAndCity
()
{
getProAndCity
()
{
getProAndCity
({}).
then
((
res
)
=>
{
getProAndCity
({}).
then
((
res
)
=>
{
...
@@ -244,8 +234,7 @@ export default {
...
@@ -244,8 +234,7 @@ export default {
return
this
.
$message
.
error
(
res
.
data
.
message
);
return
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
this
.
selectProvince
=
res
.
data
.
province_list
;
this
.
selectProvince
=
res
.
data
.
province_list
;
// this.CityName = res.data.city_list;
this
.
CityName
=
res
.
data
.
city_list
;
// console.log(this.selectProvince, this.CityName);
});
});
},
},
...
@@ -261,7 +250,7 @@ export default {
...
@@ -261,7 +250,7 @@ export default {
//返回当前省份下的城市列表
//返回当前省份下的城市列表
getCurrentCityLists
(
val
)
{
getCurrentCityLists
(
val
)
{
console
.
log
(
val
)
console
.
log
(
val
)
;
let
currentCity
=
[];
let
currentCity
=
[];
if
(
if
(
this
.
CityName
==
null
||
this
.
CityName
==
null
||
...
@@ -270,12 +259,8 @@ export default {
...
@@ -270,12 +259,8 @@ export default {
)
{
)
{
getProAndCity
({})
getProAndCity
({})
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
// console.log(res, "getProAndCity");
if
(
res
.
data
.
code
===
200
)
{
if
(
res
.
data
.
code
===
200
)
{
// this.selectProvince = res.data.province_list;
this
.
CityName
=
res
.
data
.
city_list
;
this
.
CityName
=
res
.
data
.
city_list
;
console
.
log
(
this
.
CityName
)
for
(
let
key
in
this
.
CityName
)
{
for
(
let
key
in
this
.
CityName
)
{
if
(
this
.
CityName
[
key
].
parent_id
==
val
)
{
if
(
this
.
CityName
[
key
].
parent_id
==
val
)
{
currentCity
.
push
(
this
.
CityName
[
key
]);
currentCity
.
push
(
this
.
CityName
[
key
]);
...
@@ -301,12 +286,15 @@ export default {
...
@@ -301,12 +286,15 @@ export default {
},
},
// 提交
// 提交
setAddress
()
{
setAddress
()
{
this
.
addressForm
.
certificate_address
=
this
.
county
.
toString
()
+
"
-
"
+
this
.
certificate_address
.
toString
();
this
.
$refs
[
"
addressRef
"
].
validate
((
valid
,
object
)
=>
{
this
.
$refs
[
"
addressRef
"
].
validate
((
valid
,
object
)
=>
{
console
.
log
(
valid
,
"
valid
"
);
console
.
log
(
valid
,
"
valid
"
);
if
(
!
valid
)
{
if
(
!
valid
)
{
return
false
;
return
false
;
}
}
});
});
setAddress
(
this
.
addressForm
).
then
((
res
)
=>
{
setAddress
(
this
.
addressForm
).
then
((
res
)
=>
{
// console.log(res, "setAddress");
// console.log(res, "setAddress");
if
(
res
.
data
.
code
!=
200
)
{
if
(
res
.
data
.
code
!=
200
)
{
...
...
src/views/index/camp/Homework.vue
View file @
6a22c474
...
@@ -16,7 +16,9 @@
...
@@ -16,7 +16,9 @@
<div
class=
"top flex"
>
<div
class=
"top flex"
>
<div
class=
"homework_name flex"
>
<div
class=
"homework_name flex"
>
<div>
作业名称:
{{
item
.
work_name
}}
</div>
<div>
作业名称:
{{
item
.
work_name
}}
</div>
<span>
未完成
</span>
<span
v-if=
"item.student_status == 0"
>
未完成
</span>
<span
v-if=
"item.student_status == 1"
>
待评分
</span>
<span
v-if=
"item.student_status == 2"
>
已评分
</span>
</div>
</div>
<el-button
size=
"mini"
round
@
click=
"toRefer(item)"
<el-button
size=
"mini"
round
@
click=
"toRefer(item)"
>
查看作业
</el-button
>
查看作业
</el-button
...
@@ -42,6 +44,7 @@
...
@@ -42,6 +44,7 @@
:work_contexts=
"work_context"
:work_contexts=
"work_context"
:enclosure_urls=
"enclosure_url"
:enclosure_urls=
"enclosure_url"
:work_nums=
"work_num"
:work_nums=
"work_num"
:student_status=
"student_status"
@
closeDialog=
"closeDialog"
@
closeDialog=
"closeDialog"
></refer>
></refer>
</div>
</div>
...
@@ -63,6 +66,7 @@ export default {
...
@@ -63,6 +66,7 @@ export default {
work_context
:
""
,
work_context
:
""
,
enclosure_url
:
""
,
enclosure_url
:
""
,
work_num
:
0
,
work_num
:
0
,
student_status
:
0
,
};
};
},
},
created
()
{
created
()
{
...
@@ -83,6 +87,7 @@ export default {
...
@@ -83,6 +87,7 @@ export default {
this
.
work_context
=
item
.
work_context
;
this
.
work_context
=
item
.
work_context
;
this
.
enclosure_url
=
item
.
enclosure_url
;
this
.
enclosure_url
=
item
.
enclosure_url
;
this
.
work_num
=
item
.
work_num
;
this
.
work_num
=
item
.
work_num
;
this
.
student_status
=
item
.
student_status
;
},
},
getTeacherWork
()
{
getTeacherWork
()
{
getTeacherWork
({
page
:
1
}).
then
((
res
)
=>
{
getTeacherWork
({
page
:
1
}).
then
((
res
)
=>
{
...
@@ -144,10 +149,11 @@ export default {
...
@@ -144,10 +149,11 @@ export default {
.home_content
{
.home_content
{
padding-bottom
:
200px
;
padding-bottom
:
200px
;
font-size
:
13px
;
font-size
:
13px
;
.each_content
{
.each_content
{
padding
:
25px
30px
;
padding
:
25px
30px
;
background-color
:
#eceaea
;
background-color
:
#eceaea
;
margin
:
0
30px
;
margin
:
0
30px
20px
30px
;
// border-radius: 25px;
// border-radius: 25px;
.top
{
.top
{
margin-bottom
:
10px
;
margin-bottom
:
10px
;
...
...
src/views/index/camp/homework/refer.vue
View file @
6a22c474
This diff is collapsed.
Click to expand it.
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