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
a5c14811
Commit
a5c14811
authored
Apr 08, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
8e01ab54
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
75 additions
and
6 deletions
+75
-6
App.vue
src/App.vue
+1
-1
webkit.js
src/api/system/webkit.js
+50
-1
studyAbroad-form.vue
src/components/studyAbroad/studyAbroad-form.vue
+18
-3
webmenu-form.vue
src/components/system/webmenu-form.vue
+1
-1
routes.js
src/router/routes.js
+5
-0
No files found.
src/App.vue
View file @
a5c14811
...
...
@@ -12,7 +12,7 @@ export default {
<
style
>
@import
url('~assets/css/font.css')
;
@import
url('//at.alicdn.com/t/font_2077629_
iur7ea01ckc
.css')
;
@import
url('//at.alicdn.com/t/font_2077629_
dcgp2ptb1g
.css')
;
html
,
body
,
...
...
src/api/system/webkit.js
View file @
a5c14811
...
...
@@ -245,4 +245,53 @@ export function RemoveWebNewsStatus(data) {
method
:
'post'
,
data
})
}
\ No newline at end of file
}
/**
* 获取教师团队列表
*
*/
export
function
GetWebTeacherPage
(
data
)
{
return
request
({
url
:
'/WebManager/GetWebTeacherPage'
,
method
:
'post'
,
data
})
}
/**
* 新增修改教师团队
*
*/
export
function
SetWebTeacher
(
data
)
{
return
request
({
url
:
'/WebManager/SetWebTeacher'
,
method
:
'post'
,
data
})
}
/**
* 根据编号获取教师团队详情
*
*/
export
function
GetWebTeacher
(
data
)
{
return
request
({
url
:
'/WebManager/GetWebTeacher'
,
method
:
'post'
,
data
})
}
/**
* 修改教师团队状态
*
*/
export
function
RemoveWebTeacherStatus
(
data
)
{
return
request
({
url
:
'/WebManager/RemoveWebTeacherStatus'
,
method
:
'post'
,
data
})
}
\ No newline at end of file
src/components/studyAbroad/studyAbroad-form.vue
View file @
a5c14811
...
...
@@ -10,13 +10,12 @@
<q-input
filled
stack-label
maxlength=
"30"
:dense=
"false"
v-model=
"objOption.Name"
ref=
"Name"
class=
"col-6 q-pr-lg q-pb-lg"
label=
"项目名称"
:rules=
"[val => !!val || '项目名称']"
/>
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"Name"
v-model=
"objOption.SupplierId"
ref=
"Type"
:options=
"supplierList"
label=
"供应商"
:dense=
"false"
class=
"col-6 q-pb-lg q-pr-lg"
emit-value
map-options
/>
:options=
"supplierList"
label=
"供应商"
:dense=
"false"
class=
"col-6 q-pb-lg"
emit-value
map-options
/>
</div>
<div
class=
"row wrap"
>
<div
class=
"col-6"
>
<q-select
filled
stack-label
option-value=
"SId"
option-label=
"SName"
v-model=
"objOption.School_Id"
ref=
"School_Id"
:options=
"SchoolList"
label=
"所属校区"
:dense=
"false"
class=
"col-6 q-pr-lg q-p
r
-lg"
emit-value
ref=
"School_Id"
:options=
"SchoolList"
label=
"所属校区"
:dense=
"false"
class=
"col-6 q-pr-lg q-p
b
-lg"
emit-value
map-options
/>
<div
class=
"col-6"
>
<a
v-if=
"objOption.SupplierContract&&isHaveViewContractAction"
...
...
@@ -24,6 +23,13 @@
</div>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"col-6 q-pb-lg q-pr-lg"
>
<q-uploader
:style=
"
{ backgroundImage: 'url(' + objOption.ImgCover + ')' }" style="width:auto;height:200px;background-repeat:no-repeat;background-size:cover;" flat
hide-upload-btn max-files="1" label="封面图" accept=".jpg, image/*" :factory="uploadFile" auto-upload>
</q-uploader>
</div>
</div>
<div
class=
"row wrap"
>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"objOption.Remark"
style=
"margin-top: 20px"
type=
"textarea"
class=
"col-12"
label=
"备注"
maxlength=
"300"
/>
...
...
@@ -78,6 +84,7 @@
SupplierContract
:
''
,
//供应商合同
Remark
:
''
,
//备注
School_Id
:
0
,
//所属校区
ImgCover
:
''
,
//封面图
},
optionTitle
:
""
,
saveLoading
:
false
,
...
...
@@ -113,6 +120,13 @@
this
.
initObj
()
},
methods
:
{
uploadFile
(
files
)
{
UploadSelfFile
(
"course"
,
files
[
0
],
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
objOption
.
ImgCover
=
res
.
FileUrl
;
}
});
},
//获取校区下拉
getSchool
()
{
getSchoolDropdown
({}).
then
(
res
=>
{
...
...
@@ -142,6 +156,7 @@
this
.
objOption
.
SupplierContract
=
tempObj
.
SupplierContract
;
this
.
objOption
.
Remark
=
tempObj
.
Remark
;
this
.
objOption
.
School_Id
=
tempObj
.
School_Id
;
this
.
objOption
.
ImgCover
=
tempObj
.
ImgCover
;
}
}
})
...
...
src/components/system/webmenu-form.vue
View file @
a5c14811
...
...
@@ -20,7 +20,7 @@
<q-input
filled
stack-label
maxlength=
"100"
:dense=
"false"
@
keyup
.
native=
"checkInteger(objOption,'SortNum')"
v-model=
"objOption.SortNum"
ref=
"SortNum"
class=
"col-6 q-pb-lg"
label=
"排序"
/>
<div
class=
"col-6 q-pb-lg q-pr-lg"
>
<q-uploader
:style=
"
{ backgroundImage: 'url(' + objOption.Icon + ')' }" style="width:auto;height:200px" flat
<q-uploader
:style=
"
{ backgroundImage: 'url(' + objOption.Icon + ')' }" style="width:auto;height:200px
;background-repeat:no-repeat;background-size:cover;
" flat
hide-upload-btn max-files="1" label="菜单图标" accept=".jpg, image/*" :factory="uploadFile" auto-upload>
</q-uploader>
</div>
...
...
src/router/routes.js
View file @
a5c14811
...
...
@@ -117,6 +117,11 @@ const routes = [{
component
:
()
=>
import
(
"pages/system/news.vue"
)
},
{
path
:
"/system/teacherManage"
,
//教师团队管理
component
:
()
=>
import
(
"pages/system/teacherManage.vue"
)
},
{
path
:
"/course/catagory"
,
//课程分类
component
:
()
=>
...
...
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