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
9055ba30
Commit
9055ba30
authored
Apr 29, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
298e0f6a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
8 deletions
+7
-8
class-form.vue
src/components/course/class-form.vue
+2
-2
studyAbroad-form.vue
src/components/studyAbroad/studyAbroad-form.vue
+5
-6
No files found.
src/components/course/class-form.vue
View file @
9055ba30
...
...
@@ -333,7 +333,7 @@
Teacher_Id
:
0
,
//讲师Id
Assist_Id
:
0
,
//助教Id
Group_Id
:
0
,
//集团编号
School_Id
:
0
,
//学校编号
School_Id
:
-
1
,
//学校编号
CreateBy
:
0
,
//创建人
CreateTime
:
''
,
//创建时间
UpdateBy
:
''
,
//修改人
...
...
@@ -594,7 +594,7 @@
this
.
SchoolList
=
res
.
Data
;
var
obj
=
{
SName
:
'请选择'
,
SId
:
0
SId
:
-
1
}
this
.
SchoolList
.
unshift
(
obj
);
}
...
...
src/components/studyAbroad/studyAbroad-form.vue
View file @
9055ba30
...
...
@@ -15,7 +15,7 @@
<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=
"所属校区"
:
rules=
"[val => !!val || '请选择所属校区']"
:
dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
emit-value
ref=
"School_Id"
:options=
"SchoolList"
label=
"所属校区"
:dense=
"false"
class=
"col-6 q-pr-lg q-pb-lg"
emit-value
map-options
/>
<div
class=
"col-6"
>
<a
v-if=
"objOption.SupplierContract&&isHaveViewContractAction"
...
...
@@ -83,7 +83,7 @@
SupplierId
:
0
,
//供应商编号
SupplierContract
:
''
,
//供应商合同
Remark
:
''
,
//备注
School_Id
:
0
,
//所属校区
School_Id
:
-
1
,
//所属校区
ImgCover
:
''
,
//封面图
},
optionTitle
:
""
,
...
...
@@ -134,7 +134,7 @@
this
.
SchoolList
=
res
.
Data
;
var
obj
=
{
SName
:
'请选择'
,
SId
:
0
SId
:
-
1
}
this
.
SchoolList
.
unshift
(
obj
);
}
...
...
@@ -167,7 +167,7 @@
this
.
objOption
.
SupplierId
=
0
;
this
.
objOption
.
SupplierContract
=
''
;
this
.
objOption
.
Remark
=
''
;
this
.
objOption
.
School_Id
=
0
;
this
.
objOption
.
School_Id
=
-
1
;
}
},
//关闭弹窗
...
...
@@ -187,8 +187,7 @@
// }
this
.
$refs
.
Name
.
validate
();
this
.
$refs
.
SupplierId
.
validate
();
this
.
$refs
.
School_Id
.
validate
();
if
(
!
this
.
$refs
.
Name
.
hasError
&&!
this
.
$refs
.
SupplierId
.
hasError
&&!
this
.
$refs
.
School_Id
.
hasError
)
{
if
(
!
this
.
$refs
.
Name
.
hasError
&&!
this
.
$refs
.
SupplierId
.
hasError
)
{
this
.
saveLoading
=
true
;
saveStudyAbroad
(
this
.
objOption
).
then
(
res
=>
{
this
.
saveLoading
=
false
...
...
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