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 @@
...
@@ -20,7 +20,7 @@
<q-btn
v-if=
"userInfo.IsTenCccUser == 1"
@
click=
"callUserHandler"
class=
"q-mr-md"
round
unelevated
<q-btn
v-if=
"userInfo.IsTenCccUser == 1"
@
click=
"callUserHandler"
class=
"q-mr-md"
round
unelevated
color=
"primary"
dense
icon=
"phone"
title=
"拨打电话"
></q-btn>
color=
"primary"
dense
icon=
"phone"
title=
"拨打电话"
></q-btn>
<q-btn
unelevated
color=
"positive"
v-if=
"
<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>
"
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-btn
v-if=
"getJudgeTrans()"
color=
"primary"
unelevated
size=
"sm"
label=
"转交"
@
click=
"isShowTrans = true"
>
<q-popup-proxy
:offset=
"[10, 10]"
>
<q-popup-proxy
:offset=
"[10, 10]"
>
...
@@ -93,8 +93,8 @@
...
@@ -93,8 +93,8 @@
</student-Assit>
</student-Assit>
</
template
>
</
template
>
<
template
v-if=
"ckedTab == 6"
>
<
template
v-if=
"ckedTab == 6"
>
<classRecord
:save-obj=
"baseObj"
@
success=
"refreshStudentPage"
></classRecord
>
<classRecord
:save-obj=
"baseObj"
@
success=
"refreshStudentPage"
/
>
</
template
>
</
template
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -213,7 +213,8 @@
...
@@ -213,7 +213,8 @@
stateId
:
0
,
stateId
:
0
,
stuData
:
{},
stuData
:
{},
userInfo
:
{},
userInfo
:
{},
isconsult
:
false
//学生咨询弹窗
isconsult
:
false
,
//学生咨询弹窗
IsHaveCurseManager
:
false
,
//是否存在课程顾问
};
};
},
},
created
()
{
created
()
{
...
@@ -223,13 +224,14 @@
...
@@ -223,13 +224,14 @@
},
},
mounted
()
{
mounted
()
{
this
.
baseObj
=
this
.
saveObj
;
this
.
baseObj
=
this
.
saveObj
;
this
.
baseObj
.
IsHaveCurseManager
=
false
;
this
.
IsHaveCurseManager
=
false
;
if
(
this
.
baseObj
.
AssistList
&&
this
.
baseObj
.
AssistList
.
length
>
0
)
{
if
(
this
.
baseObj
.
AssistList
&&
this
.
baseObj
.
AssistList
.
length
>
0
)
{
this
.
baseObj
.
AssistList
.
forEach
(
x
=>
{
var
obj
=
this
.
baseObj
.
AssistList
.
find
((
item
)
=>
{
if
(
x
.
AssistType
==
2
)
{
return
item
.
AssistType
===
2
;
this
.
baseObj
.
IsHaveCurseManager
=
true
;
})
}
if
(
obj
)
{
});
this
.
IsHaveCurseManager
=
true
;
}
}
}
this
.
getEmployeeList
();
this
.
getEmployeeList
();
if
(
this
.
checkType
&&
this
.
checkType
>
0
)
{
if
(
this
.
checkType
&&
this
.
checkType
>
0
)
{
...
@@ -327,23 +329,26 @@
...
@@ -327,23 +329,26 @@
StuId
:
this
.
saveObj
.
StuId
StuId
:
this
.
saveObj
.
StuId
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
this
.
stuData
=
res
.
Data
;
var
tempData
=
res
.
Data
;
this
.
stateId
=
res
.
Data
.
StuStage
;
if
(
tempData
)
{
res
.
Data
.
BelongType
=
this
.
baseObj
.
BelongType
;
res
.
Data
.
BelongType
=
this
.
baseObj
.
BelongType
;
this
.
baseObj
=
res
.
Data
;
this
.
stuData
=
tempData
;
this
.
stateId
=
tempData
.
StuStage
;
this
.
baseObj
=
tempData
;
}
}
}
});
});
},
},
//批量推送课程顾问
//批量推送课程顾问
assistBatchHandler
()
{
assistBatchHandler
()
{
if
(
this
.
pushing
||
this
.
baseObj
.
IsHaveCurseManager
)
return
;
if
(
this
.
pushing
||
this
.
IsHaveCurseManager
)
return
;
this
.
pushing
=
true
;
this
.
pushing
=
true
;
let
parameter
=
{
let
parameter
=
{
stuIds
:
this
.
baseObj
.
StuId
stuIds
:
this
.
baseObj
.
StuId
};
};
SetStudentAssistBatch
(
parameter
).
then
(
r
=>
{
SetStudentAssistBatch
(
parameter
).
then
(
r
=>
{
this
.
$emit
(
"success"
);
this
.
$emit
(
"success"
);
this
.
baseObj
.
IsHaveCurseManager
=
true
;
this
.
IsHaveCurseManager
=
true
;
this
.
pushing
=
false
;
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