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
5e122e6a
Commit
5e122e6a
authored
Mar 15, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
aff9835b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
16 deletions
+21
-16
studentRight-form.vue
src/components/school/student/studentRight-form.vue
+21
-16
No files found.
src/components/school/student/studentRight-form.vue
View file @
5e122e6a
...
...
@@ -20,7 +20,7 @@
<q-btn
v-if=
"userInfo.IsTenCccUser == 1"
@
click=
"callUserHandler"
class=
"q-mr-md"
round
unelevated
color=
"primary"
dense
icon=
"phone"
title=
"拨打电话"
></q-btn>
<q-btn
unelevated
color=
"positive"
v-if=
"
!
baseObj.
IsHaveCurseManager && userInfo.Id == baseObj.CreateBy
!IsHaveCurseManager && userInfo.Id == baseObj.CreateBy
"
size=
"sm"
:loading=
"pushing"
class=
"q-mr-md"
@
click=
"assistBatchHandler"
>
推送课程顾问
</q-btn>
<q-btn
v-if=
"getJudgeTrans()"
color=
"primary"
unelevated
size=
"sm"
label=
"转交"
@
click=
"isShowTrans = true"
>
<q-popup-proxy
:offset=
"[10, 10]"
>
...
...
@@ -93,8 +93,8 @@
</student-Assit>
</
template
>
<
template
v-if=
"ckedTab == 6"
>
<classRecord
:save-obj=
"baseObj"
@
success=
"refreshStudentPage"
></classRecord
>
</
template
>
<classRecord
:save-obj=
"baseObj"
@
success=
"refreshStudentPage"
/
>
</
template
>
</div>
</div>
</div>
...
...
@@ -213,7 +213,8 @@
stateId
:
0
,
stuData
:
{},
userInfo
:
{},
isconsult
:
false
//学生咨询弹窗
isconsult
:
false
,
//学生咨询弹窗
IsHaveCurseManager
:
false
,
//是否存在课程顾问
};
},
created
()
{
...
...
@@ -223,13 +224,14 @@
},
mounted
()
{
this
.
baseObj
=
this
.
saveObj
;
this
.
baseObj
.
IsHaveCurseManager
=
false
;
this
.
IsHaveCurseManager
=
false
;
if
(
this
.
baseObj
.
AssistList
&&
this
.
baseObj
.
AssistList
.
length
>
0
)
{
this
.
baseObj
.
AssistList
.
forEach
(
x
=>
{
if
(
x
.
AssistType
==
2
)
{
this
.
baseObj
.
IsHaveCurseManager
=
true
;
}
});
var
obj
=
this
.
baseObj
.
AssistList
.
find
((
item
)
=>
{
return
item
.
AssistType
===
2
;
})
if
(
obj
)
{
this
.
IsHaveCurseManager
=
true
;
}
}
this
.
getEmployeeList
();
if
(
this
.
checkType
&&
this
.
checkType
>
0
)
{
...
...
@@ -327,23 +329,26 @@
StuId
:
this
.
saveObj
.
StuId
}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
stuData
=
res
.
Data
;
this
.
stateId
=
res
.
Data
.
StuStage
;
res
.
Data
.
BelongType
=
this
.
baseObj
.
BelongType
;
this
.
baseObj
=
res
.
Data
;
var
tempData
=
res
.
Data
;
if
(
tempData
)
{
res
.
Data
.
BelongType
=
this
.
baseObj
.
BelongType
;
this
.
stuData
=
tempData
;
this
.
stateId
=
tempData
.
StuStage
;
this
.
baseObj
=
tempData
;
}
}
});
},
//批量推送课程顾问
assistBatchHandler
()
{
if
(
this
.
pushing
||
this
.
baseObj
.
IsHaveCurseManager
)
return
;
if
(
this
.
pushing
||
this
.
IsHaveCurseManager
)
return
;
this
.
pushing
=
true
;
let
parameter
=
{
stuIds
:
this
.
baseObj
.
StuId
};
SetStudentAssistBatch
(
parameter
).
then
(
r
=>
{
this
.
$emit
(
"success"
);
this
.
baseObj
.
IsHaveCurseManager
=
true
;
this
.
IsHaveCurseManager
=
true
;
this
.
pushing
=
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