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
f7521155
Commit
f7521155
authored
Jan 24, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
28ba3a51
02bb81d3
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
20 deletions
+46
-20
index.js
src/api/studyabroad/index.js
+11
-0
studyAbroad-form.vue
src/components/studyAbroad/studyAbroad-form.vue
+26
-11
studyabroad.vue
src/pages/studyAbroad/studyabroad.vue
+1
-1
stuReceiveChannel.vue
src/pages/system/stuReceiveChannel.vue
+4
-4
studyAim.vue
src/pages/system/studyAim.vue
+4
-4
No files found.
src/api/studyabroad/index.js
View file @
f7521155
...
@@ -247,4 +247,15 @@ export function querySupplierType() {
...
@@ -247,4 +247,15 @@ export function querySupplierType() {
method
:
'post'
,
method
:
'post'
,
data
data
})
})
}
/**
* 留学就业类型列表(下拉使用)
*/
export
function
GetStudyabroadTypeList
(
data
)
{
return
request
({
url
:
'/StudyAbroad/GetStudyabroadTypeList'
,
method
:
'post'
,
data
})
}
}
\ No newline at end of file
src/components/studyAbroad/studyAbroad-form.vue
View file @
f7521155
...
@@ -22,17 +22,16 @@
...
@@ -22,17 +22,16 @@
style=
"margin-left:10px;color:#2961FE;text-decoration:none;"
:href=
"objOption.SupplierContract"
>
查看合同
</a>
style=
"margin-left:10px;color:#2961FE;text-decoration:none;"
:href=
"objOption.SupplierContract"
>
查看合同
</a>
</div>
</div>
<div
class=
"col-6"
>
<div
class=
"col-6"
>
<q-select
filled
stack-label
option-value=
"I
d"
option-label=
"Name"
v-model=
"objOption.ProductType
"
<q-select
filled
stack-label
option-value=
"I
D"
@
input=
"getCountry(objOption.StudyCountryId)"
option-label=
"Name"
v-model=
"objOption.StudyCountryId
"
ref=
"
ProductType"
:options=
"productList"
label=
"产品类型
"
:dense=
"false"
class=
"col-6 q-pb-lg"
emit-value
ref=
"
StudyCountryId"
:options=
"CountryList"
label=
"留学国家
"
:dense=
"false"
class=
"col-6 q-pb-lg"
emit-value
map-options
/>
map-options
/>
</div>
</div>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<div
class=
"col-6"
>
<div
class=
"col-6"
>
<q-select
filled
stack-label
option-value=
"I
D"
option-label=
"Name"
v-model=
"objOption.StudyCountryId
"
<q-select
filled
stack-label
option-value=
"I
d"
option-label=
"Name"
v-model=
"objOption.ProductType
"
ref=
"
StudyCountryId"
:options=
"CountryList"
label=
"留学国家"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb
-lg"
emit-value
ref=
"
ProductType"
:options=
"productList"
label=
"产品类型"
:dense=
"false"
class=
"col-6 q-pb-lg q-pr
-lg"
emit-value
map-options
/>
map-options
/>
</div>
</div>
<div
class=
"col-6"
>
<div
class=
"col-6"
>
...
@@ -74,7 +73,8 @@
...
@@ -74,7 +73,8 @@
saveStudyAbroad
,
saveStudyAbroad
,
queryStudyAbroadInfo
,
queryStudyAbroadInfo
,
querySupplierList
,
querySupplierList
,
queryStudyAbroadProductType
queryStudyAbroadProductType
,
GetStudyabroadTypeList
}
from
'../../api/studyabroad/index'
}
from
'../../api/studyabroad/index'
import
{
import
{
UploadSelfFile
,
UploadSelfFile
,
...
@@ -113,7 +113,7 @@
...
@@ -113,7 +113,7 @@
Remark
:
''
,
//备注
Remark
:
''
,
//备注
School_Id
:
-
1
,
//所属校区
School_Id
:
-
1
,
//所属校区
ImgCover
:
''
,
//封面图
ImgCover
:
''
,
//封面图
ProductType
:
1
,
//产品类型
ProductType
:
''
,
//产品类型
StudyFeature
:
""
,
//课程特色
StudyFeature
:
""
,
//课程特色
StudyCountryId
:
""
,
//留学国家
StudyCountryId
:
""
,
//留学国家
},
},
...
@@ -128,6 +128,11 @@
...
@@ -128,6 +128,11 @@
},
},
SchoolList
:
[],
//校区列表
SchoolList
:
[],
//校区列表
CountryList
:[],
//国家列表
CountryList
:[],
//国家列表
TypeMsg
:{
Name
:
""
,
Type
:
1
,
CountryId
:
0
}
}
}
},
},
computed
:
mapState
({
computed
:
mapState
({
...
@@ -147,7 +152,7 @@
...
@@ -147,7 +152,7 @@
}),
}),
created
()
{
created
()
{
this
.
getSchool
();
this
.
getSchool
();
this
.
getProductList
();
//
this.getProductList();
this
.
getCountryList
()
this
.
getCountryList
()
},
},
mounted
()
{
mounted
()
{
...
@@ -171,9 +176,16 @@
...
@@ -171,9 +176,16 @@
getEditValue
(
obj
)
{
getEditValue
(
obj
)
{
this
.
objOption
.
Remark
=
obj
;
this
.
objOption
.
Remark
=
obj
;
},
},
//选择国家
getCountry
(
CountryId
){
this
.
objOption
.
ProductType
=
''
;
this
.
getProductList
(
CountryId
);
},
//获取产品类型列表
//获取产品类型列表
getProductList
()
{
getProductList
(
CountryId
)
{
queryStudyAbroadProductType
({}).
then
(
res
=>
{
this
.
TypeMsg
.
CountryId
=
CountryId
;
GetStudyabroadTypeList
(
this
.
TypeMsg
).
then
(
res
=>
{
console
.
log
(
res
,
'书记'
);
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
this
.
productList
=
res
.
Data
this
.
productList
=
res
.
Data
}
}
...
@@ -219,6 +231,9 @@
...
@@ -219,6 +231,9 @@
this
.
objOption
.
ProductType
=
tempObj
.
ProductType
;
this
.
objOption
.
ProductType
=
tempObj
.
ProductType
;
this
.
objOption
.
StudyFeature
=
tempObj
.
StudyFeature
;
this
.
objOption
.
StudyFeature
=
tempObj
.
StudyFeature
;
this
.
objOption
.
StudyCountryId
=
tempObj
.
StudyCountryId
;
this
.
objOption
.
StudyCountryId
=
tempObj
.
StudyCountryId
;
if
(
this
.
objOption
.
StudyCountryId
){
this
.
getProductList
(
this
.
objOption
.
StudyCountryId
);
}
}
}
}
}
})
})
...
@@ -230,7 +245,7 @@
...
@@ -230,7 +245,7 @@
this
.
objOption
.
SupplierContract
=
''
;
this
.
objOption
.
SupplierContract
=
''
;
this
.
objOption
.
Remark
=
''
;
this
.
objOption
.
Remark
=
''
;
this
.
objOption
.
School_Id
=
-
1
;
this
.
objOption
.
School_Id
=
-
1
;
this
.
objOption
.
ProductType
=
1
;
this
.
objOption
.
ProductType
=
''
;
this
.
objOption
.
StudyFeature
=
""
;
this
.
objOption
.
StudyFeature
=
""
;
this
.
objOption
.
StudyCountryId
=
""
;
this
.
objOption
.
StudyCountryId
=
""
;
}
}
...
...
src/pages/studyAbroad/studyabroad.vue
View file @
f7521155
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
<div
class=
"page-search row items-center"
>
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
@
input=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.Name"
label=
"项目名称"
<q-input
@
input=
"resetSearch"
clearable
filled
v-model=
"msg.Name"
label=
"项目名称"
@
clear=
"resetSearch"
maxlength=
"20"
/>
@
clear=
"resetSearch"
maxlength=
"20"
/>
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
...
...
src/pages/system/stuReceiveChannel.vue
View file @
f7521155
<
template
>
<
template
>
<div>
<div>
<div
class=
"row q-my-sm"
>
<div
class=
"row q-my-sm"
>
<q-input
filled
v-model=
"msg.Name"
label=
"收客渠道"
class=
"col-3"
@
input=
"refreshPage"
/>
<q-input
filled
v-model=
"msg.Name"
dense
label=
"收客渠道"
class=
"col-3"
@
input=
"refreshPage"
/>
</div>
</div>
<q-table
<q-table
:pagination=
"msg"
:pagination=
"msg"
:loading=
"loading"
:loading=
"loading"
no-data-label=
"暂无相关数据"
no-data-label=
"暂无相关数据"
flat
flat
class=
"sticky-column-table
no-bottom-table
"
class=
"sticky-column-table"
separator=
"none"
separator=
"none"
:data=
"dataList"
:data=
"dataList"
:columns=
"columns"
:columns=
"columns"
...
@@ -116,9 +116,9 @@ export default {
...
@@ -116,9 +116,9 @@ export default {
}
}
],
],
msg
:
{
msg
:
{
rowsPerPage
:
1
0
,
rowsPerPage
:
1
2
,
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
1
0
,
pageSize
:
1
2
,
Name
:
""
Name
:
""
},
},
dataList
:
[],
dataList
:
[],
...
...
src/pages/system/studyAim.vue
View file @
f7521155
<
template
>
<
template
>
<div>
<div>
<div
class=
"row q-my-sm"
>
<div
class=
"row q-my-sm"
>
<q-input
filled
v-model=
"msg.Name"
label=
"学习目的"
class=
"col-3"
@
input=
"refreshPage"
/>
<q-input
filled
v-model=
"msg.Name"
dense
label=
"学习目的"
class=
"col-3"
@
input=
"refreshPage"
/>
</div>
</div>
<q-table
<q-table
:pagination=
"msg"
:pagination=
"msg"
:loading=
"loading"
:loading=
"loading"
no-data-label=
"暂无相关数据"
no-data-label=
"暂无相关数据"
flat
flat
class=
"sticky-column-table
no-bottom-table
"
class=
"sticky-column-table"
separator=
"none"
separator=
"none"
:data=
"dataList"
:data=
"dataList"
:columns=
"columns"
:columns=
"columns"
...
@@ -116,9 +116,9 @@ export default {
...
@@ -116,9 +116,9 @@ export default {
}
}
],
],
msg
:
{
msg
:
{
rowsPerPage
:
1
0
,
rowsPerPage
:
1
2
,
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
1
0
,
pageSize
:
1
2
,
Name
:
""
Name
:
""
},
},
dataList
:
[],
dataList
:
[],
...
...
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