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
aff9835b
Commit
aff9835b
authored
Mar 15, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
36e3ab57
0d742cb8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
52 additions
and
35 deletions
+52
-35
sale.js
src/api/sale/sale.js
+8
-1
stulist.vue
src/components/school/student/stulist.vue
+37
-27
companyday.vue
src/pages/sale/companyday.vue
+5
-5
routes.js
src/router/routes.js
+2
-2
No files found.
src/api/sale/sale.js
View file @
aff9835b
...
...
@@ -585,7 +585,14 @@ export function BatchForwardStudent(data) {
}
//全公司每日数据统计
export
function
GetStudentCompany
(
data
)
{
return
request
({
url
:
'/StudentStat/GetStudentCompany'
,
method
:
'post'
,
data
});
}
...
...
src/components/school/student/stulist.vue
View file @
aff9835b
...
...
@@ -78,7 +78,8 @@
label=
"下载"
@
click=
"downloadStudent"
/>
</div>
<div
class=
"page-option"
v-if=
"pushMode"
>
<q-btn
color=
"accent"
unelevated
class=
"q-mr-md"
size=
"sm"
icon=
"swap_horiz"
label=
"转交"
@
click=
"isShowTrans = true"
>
<q-btn
color=
"accent"
unelevated
class=
"q-mr-md"
size=
"sm"
icon=
"swap_horiz"
label=
"转交"
@
click=
"isShowTrans = true"
>
<q-popup-proxy
:offset=
"[10, 10]"
>
<q-banner
v-if=
"isShowTrans"
>
<q-select
style=
"margin-top:20px;"
filled
v-model=
"transMsg.CreateBy"
@
filter=
"filterEmployee"
use-input
...
...
@@ -473,18 +474,18 @@
stuOption
:
null
,
isShowAdd
:
false
,
selection
:
[],
isShowTransfer
:
false
,
//是否显示转订单弹窗
isShowTransfer
:
false
,
//是否显示转订单弹窗
BelongType
:
1
,
pushMode
:
false
,
//是否显示推送按钮
pushMode
:
false
,
//是否显示推送按钮
pushing
:
false
,
assistListFormat
:
[],
checkType
:
1
,
//打开右侧弹窗类型
isShowAbroad
:
false
,
//是否显示转留学就业订单弹窗
userInfo
:
{},
//当前登录人员
isShowTrans
:
false
,
transMsg
:{
StuIds
:
''
,
CreateBy
:
1
transMsg
:
{
StuIds
:
''
,
CreateBy
:
''
},
//员工列表
employeeList
:
[],
...
...
@@ -803,35 +804,44 @@
);
});
},
//保存批量转交
saveTransForm
(){
console
.
log
(
this
.
transMsg
,
'transMsg'
);
if
(
this
.
selection
.
length
==
0
){
saveTransForm
()
{
if
(
this
.
selection
.
length
==
0
)
{
this
.
$q
.
notify
({
type
:
"negative"
,
position
:
"top"
,
message
:
'请选择推送学员'
});
}
else
{
let
newArr
=
[]
this
.
selection
.
forEach
(
x
=>
{
newArr
.
push
(
x
.
StuId
);
})
this
.
transMsg
.
StuIds
=
newArr
.
toString
();
BatchForwardStudent
(
this
.
transMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
){
this
.
refreshStuList
();
this
.
selection
=
[];
this
.
pushMode
=
false
;
this
.
$q
.
notify
({
type
:
"iconfont icon-chenggong"
,
position
:
"top"
,
message
:
r
.
Message
});
}
return
;
}
if
(
this
.
transMsg
.
CreateBy
==
""
)
{
this
.
$q
.
notify
({
type
:
"negative"
,
position
:
"top"
,
message
:
'请选择接收人员!'
});
return
;
}
let
newArr
=
[]
this
.
selection
.
forEach
(
x
=>
{
newArr
.
push
(
x
.
StuId
);
})
this
.
transMsg
.
StuIds
=
newArr
.
toString
();
BatchForwardStudent
(
this
.
transMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
refreshStuList
();
this
.
selection
=
[];
this
.
transMsg
.
StuIds
=
""
;
this
.
transMsg
.
CreateBy
=
""
;
this
.
pushMode
=
false
;
this
.
$q
.
notify
({
type
:
"iconfont icon-chenggong"
,
position
:
"top"
,
message
:
r
.
Message
});
}
});
}
}
};
...
...
src/pages/sale/
monthTotal2
.vue
→
src/pages/sale/
companyday
.vue
View file @
aff9835b
...
...
@@ -42,7 +42,7 @@
</template>
<
script
>
import
{
GetStudent
Static
GetStudent
Company
}
from
'../../api/sale/sale'
;
import
{
EduDownLoad
...
...
@@ -50,7 +50,7 @@
export
default
{
props
:
{},
meta
:
{
title
:
"
课程顾问部
每日数据统计"
title
:
"
全公司
每日数据统计"
},
components
:
{},
data
()
{
...
...
@@ -277,9 +277,9 @@
this
.
loading
=
true
;
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
));
EduDownLoad
(
"/StudentStat/DownLoadStudent
Static
"
,
"/StudentStat/DownLoadStudent
Company
"
,
msg
,
"
课程顾问部
每日数据统计.xls"
,
res
=>
{
"
全公司
每日数据统计.xls"
,
res
=>
{
this
.
loading
=
false
;
}
);
...
...
@@ -294,7 +294,7 @@
//获取数据
getList
()
{
this
.
loading
=
true
;
GetStudent
Static
(
this
.
msg
).
then
(
res
=>
{
GetStudent
Company
(
this
.
msg
).
then
(
res
=>
{
this
.
loading
=
false
;
if
(
res
.
Code
==
1
)
{
this
.
dataList
=
res
.
Data
;
...
...
src/router/routes.js
View file @
aff9835b
...
...
@@ -1096,9 +1096,9 @@ const routes = [{
import
(
"pages/sale/everyMonthTotal.vue"
)
},
{
path
:
"/sale/
monthTotal2
"
,
path
:
"/sale/
companyday
"
,
component
:
()
=>
import
(
"pages/sale/
monthTotal2
.vue"
)
import
(
"pages/sale/
companyday
.vue"
)
},
{
path
:
"/activity/activeType"
,
//活动 活动类型
...
...
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