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
d4f736f3
Commit
d4f736f3
authored
Jul 01, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
7d0123d5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
14 deletions
+19
-14
baseSet.vue
src/pages/course/baseSet.vue
+19
-14
No files found.
src/pages/course/baseSet.vue
View file @
d4f736f3
...
...
@@ -57,12 +57,10 @@
管理员:
</div>
<div
class=
"col-3"
>
<q-select
v-model=
"msg.AdminiIds"
:options=
"EmployeeListOption"
color=
"primary"
stack-label
filled
multiple
clearable
label=
""
option-label=
"EmployeeName"
option-value=
"Id"
ref=
"AdminiIds"
emit-value
map-options
/>
<q-select
v-model=
"msg.AdminList"
:options=
"EmployeeListOption"
color=
"primary"
stack-label
filled
multiple
clearable
label=
""
option-label=
"EmployeeName"
option-value=
"Id"
ref=
"AdminList"
emit-value
map-options
/>
</div>
<div
class=
"col-3"
style=
"padding:18px 0 0 10px;color:gray"
>
</div>
</div>
<div
class=
"col row wrap"
>
...
...
@@ -129,14 +127,14 @@
<q-input
filled
stack-label
:dense=
"false"
maxlength=
"8"
v-model=
"addMsg.DefaultClassNum"
label=
"默认班级人数"
ref=
"DefaultClassNum"
class=
"q-pb-lg"
@
keyup
.
native=
"checkInteger(addMsg,'DefaultClassNum')"
:rules=
"[val => !!val || '请填写默认班级人数']"
/>
<q-card-actions
align=
"right"
class=
"bg-white"
>
<q-btn
label=
"取消"
flat
color=
"grey-10"
style=
"font-weight:400 !important"
@
click=
"persistent=false"
/>
<q-btn
label=
"确认"
color=
"accent q-px-md"
style=
"font-weight:400 !important"
@
click=
"saveClassType()"
/>
</q-card-actions>
</q-card>
</q-dialog>
</div>
</template>
<
script
>
...
...
@@ -166,7 +164,8 @@
BasicClassNum
:
''
,
//基础带班人数
BasicMinutes
:
''
,
//课时分钟数
BasicHours
:
0
,
//基础课时
AdminiIds
:[],
//管理员
AdminList
:
[],
AdminiIds
:
""
,
//管理员
},
columns
:
[{
name
:
'CTypeName'
,
...
...
@@ -211,7 +210,6 @@
CTypeName
:
''
,
//类型名称
AddHourFee
:
''
,
//课时费加价
DefaultClassNum
:
''
,
//默认班级人数
},
//列表数据参数
tabeMsg
:
{
...
...
@@ -233,7 +231,11 @@
methods
:
{
//保存基础数据
saveInfo
()
{
this
.
msg
.
AdminiIds
=
this
.
msg
.
AdminiIds
.
join
(
','
);
if
(
this
.
msg
.
AdminList
&&
this
.
msg
.
AdminList
.
length
>
0
)
{
this
.
msg
.
AdminiIds
=
this
.
msg
.
AdminList
.
join
(
','
)
}
else
{
this
.
msg
.
AdminiIds
=
""
;
}
SetClassConfig
(
this
.
msg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
$q
.
notify
({
...
...
@@ -257,10 +259,13 @@
this
.
msg
.
BasicClassNum
=
res
.
Data
.
BasicClassNum
;
this
.
msg
.
BasicMinutes
=
res
.
Data
.
BasicMinutes
;
this
.
msg
.
BasicHours
=
res
.
Data
.
BasicHours
;
let
arr
=
res
.
Data
.
AdminiIds
.
split
(
","
);
this
.
msg
.
AdminiIds
=
arr
.
map
(
e
=>
{
return
e
=
parseInt
(
e
)
})
this
.
msg
.
AdminiIds
=
res
.
Data
.
AdminiIds
;
if
(
res
.
Data
.
AdminiIds
&&
res
.
Data
.
AdminiIds
!=
''
)
{
let
arr
=
res
.
Data
.
AdminiIds
.
split
(
","
);
this
.
msg
.
AdminList
=
arr
.
map
(
e
=>
{
return
e
=
parseInt
(
e
)
})
}
}
}
})
...
...
@@ -376,7 +381,7 @@
closeSetForm
()
{
this
.
persistent
=
false
;
},
//获取业务员
//获取业务员
getEmployee
(
id
)
{
var
qMsg
=
{
Dept_Id
:
0
...
...
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