Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
4fe83a30
Commit
4fe83a30
authored
Jun 18, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9fc508e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
11 deletions
+32
-11
addSchoolAndCompany.vue
src/components/education/addSchoolAndCompany.vue
+32
-11
No files found.
src/components/education/addSchoolAndCompany.vue
View file @
4fe83a30
<
template
>
<div
v-loading=
"loading"
class=
"add
Lecturer
"
>
<div
v-loading=
"loading"
class=
"add
fxs
"
>
<div
class=
"head-title"
>
<span
@
click=
"CommonJump('schoolAndCompanyList')"
class=
"blue point"
>
校企合作列表
</span
...
...
@@ -82,7 +82,20 @@
>
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
<el-table-column
prop=
"Id"
label=
"ID"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"NickName"
label=
"名称"
></el-table-column>
<el-table-column
label=
"名称"
>
<template
slot-scope=
"scope"
>
<div
style=
"display: flex; align-items: center"
>
<div
class=
"app-image"
:style=
"
{
backgroundImage: 'url(' + scope.row.Photo + ')',
backgroundSize: 'cover',
}"
>
</div>
<div>
{{
scope
.
row
.
NickName
}}
</div>
</div>
</
template
>
</el-table-column>
</el-table>
<el-pagination
style=
"text-align: right"
...
...
@@ -91,8 +104,7 @@
:page-size=
"DistributorMsg.pageSize"
layout=
"prev, pager, next"
:current-page
.
sync=
"DistributorMsg.pageIndex"
:total=
"digcount"
v-if=
"digcount > 0"
:total=
"fxsCount"
>
</el-pagination>
</div>
...
...
@@ -135,7 +147,7 @@ export default {
showDialog
:
false
,
sels
:
[],
fxsList
:
[],
digc
ount
:
0
,
fxsC
ount
:
0
,
};
},
created
()
{
...
...
@@ -196,7 +208,7 @@ export default {
this
.
DistributorMsg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
digc
ount
=
res
.
data
.
data
.
pageCount
;
this
.
fxsC
ount
=
res
.
data
.
data
.
pageCount
;
this
.
DLoptions
=
res
.
data
.
data
.
pageData
;
if
(
this
.
DLoptions
.
length
>
0
)
{
this
.
sels
=
[];
...
...
@@ -208,10 +220,10 @@ export default {
);
},
submitForm
(
formName
)
{
//
if (!this.addMsg.CoverPhoto) {
//
this.Error("请上传logo");
//
return;
//
}
if
(
!
this
.
addMsg
.
CoverPhoto
)
{
this
.
Error
(
"请上传logo"
);
return
;
}
this
.
$refs
[
formName
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
this
.
fxsList
.
length
===
0
)
{
...
...
@@ -270,7 +282,7 @@ export default {
};
</
script
>
<
style
scoped
>
.add
Lecturer
.content
{
.add
fxs
.content
{
background
:
#fff
;
margin-top
:
10px
;
padding
:
20px
;
...
...
@@ -302,6 +314,7 @@ export default {
}
.check-box
{
display
:
flex
;
flex-wrap
:
wrap
;
}
.check-box-item
{
margin-right
:
10px
;
...
...
@@ -316,4 +329,12 @@ export default {
z-index
:
10
;
font-size
:
16px
;
}
.addfxs
.app-image
{
background-size
:
cover
;
background-position
:
center
center
;
width
:
80px
;
height
:
80px
;
border-radius
:
0%
;
margin-right
:
10px
;
}
</
style
>
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