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
db7f0602
Commit
db7f0602
authored
Dec 27, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
2b12e79f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
201 additions
and
113 deletions
+201
-113
index.js
src/api/school/index.js
+11
-0
student-left.vue
src/components/school/student/student-left.vue
+144
-106
studentRight-form.vue
src/components/school/student/studentRight-form.vue
+5
-1
stulist.vue
src/components/school/student/stulist.vue
+5
-1
mystu.vue
src/pages/sale/mystu.vue
+36
-5
No files found.
src/api/school/index.js
View file @
db7f0602
...
...
@@ -677,3 +677,14 @@ export function GetNeedsList(data) {
data
});
}
/**
* 获取我的下属下拉
*/
export
function
GetPersonalDimension
(
data
)
{
return
request
({
url
:
'/OKRPeriod/GetPersonalDimension'
,
method
:
'post'
,
data
});
}
\ No newline at end of file
src/components/school/student/student-left.vue
View file @
db7f0602
This diff is collapsed.
Click to expand it.
src/components/school/student/studentRight-form.vue
View file @
db7f0602
...
...
@@ -30,7 +30,7 @@
</div>
<div
class=
"custom_Bottom"
>
<div
class=
"detail-info"
>
<student-left
:stuData=
"stuData"
:save-obj=
"saveObj"
@
success=
"refreshStudentPage"
@
getrecord=
"getrecord"
@
update=
"queryStuInfo"
></student-left>
<student-left
:stuData=
"stuData"
:save-obj=
"saveObj"
:BelongType=
"BelongType"
@
success=
"refreshStudentPage"
@
getrecord=
"getrecord"
@
update=
"queryStuInfo"
></student-left>
</div>
<div
class=
"detail-travel"
>
<div
class=
"detail_first"
>
...
...
@@ -131,6 +131,10 @@
isJudgeTrans
:
{
type
:
Number
,
default
:
null
},
BelongType
:
{
type
:
Number
,
default
:
null
}
},
data
()
{
...
...
src/components/school/student/stulist.vue
View file @
db7f0602
...
...
@@ -100,7 +100,7 @@
</q-table>
<student-form
v-if=
"isShowStuForm"
:save-obj=
"stuOption"
@
close=
"closeStuForm"
@
success=
"refreshStuList"
>
</student-form>
<studentRight-form
v-if=
"isShowStuRight"
:isJudgeTrans=
"isJudgeTrans"
:save-obj=
"stuOption"
@
close=
"closeStuForm"
@
success=
"refreshStuList"
>
<studentRight-form
v-if=
"isShowStuRight"
:isJudgeTrans=
"isJudgeTrans"
:
BelongType=
"BelongType"
:
save-obj=
"stuOption"
@
close=
"closeStuForm"
@
success=
"refreshStuList"
>
</studentRight-form>
<studentAdd-form
v-if=
"isShowAdd"
:save-obj=
"stuOption"
@
close=
"closeStuForm"
@
success=
"refreshStuList"
>
</studentAdd-form>
...
...
@@ -122,6 +122,10 @@
isJudgeTrans
:{
type
:
Number
,
default
:
null
},
BelongType
:{
type
:
Number
,
default
:
null
}
},
components
:
{
...
...
src/pages/sale/mystu.vue
View file @
db7f0602
...
...
@@ -15,7 +15,7 @@
<q-input
@
input=
"resetSearch"
dense
clearable
filled
v-model=
"msg.WechatNo"
label=
"微信号"
maxlength=
"20"
/>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"resetSearch"
filled
v-model=
"msg.StuType"
dense
:options=
"customTypeList"
option-label=
"Name"
<q-select
@
input=
"resetSearch"
filled
v-model=
"msg.StuType"
dense
clearable
:options=
"customTypeList"
option-label=
"Name"
option-value=
"Id"
emit-value
map-options
label=
"客户类型"
/>
</div>
<div
class=
"col-3"
>
...
...
@@ -47,10 +47,14 @@
</
template
>
</q-field>
</div>
<div
class=
"col-3"
v-if=
"msg.BelongType==4"
>
<q-select
@
input=
"resetSearch"
dense
clearable
@
filter=
"filterSubord"
use-input
filled
option-value=
"Id"
option-label=
"EmployeeName"
v-model=
"msg.CreateIds"
:options=
"SubordList"
emit-value
map-options
label=
"我下属的"
/>
</div>
</div>
</div>
<div
class=
"page-content"
>
<stulist
:dataList=
"data"
@
success=
"refreshPage"
ref=
"stuList"
:isJudgeTrans=
"isJudgeTrans"
>
</stulist>
<stulist
:dataList=
"data"
@
success=
"refreshPage"
ref=
"stuList"
:
BelongType=
"msg.BelongType"
:
isJudgeTrans=
"isJudgeTrans"
>
</stulist>
<div
class=
"row"
style=
"justify-content: flex-end;padding: 5px 20px"
>
<q-pagination
v-model=
"msg.pageIndex"
:max=
"pageCount"
@
input=
"changePage"
class=
"full-width justify-end"
color=
"primary"
:input=
"true"
>
...
...
@@ -66,7 +70,8 @@
deleteStudent
,
createStudentAccount
,
queryStuStageList
,
GetStudentTypeList
GetStudentTypeList
,
GetPersonalDimension
}
from
"../../api/school/index"
;
import
{
queryEmployee
...
...
@@ -107,7 +112,8 @@
BelongType
:
1
,
//归属类型
QQ
:
''
,
WechatNo
:
''
,
StuType
:
''
StuType
:
''
,
CreateIds
:
''
},
dateArray
:
[],
//日期数组
pageCount
:
0
,
...
...
@@ -129,14 +135,21 @@
Id
:
3
,
Name
:
"我协同的"
},
{
Id
:
4
,
Name
:
"我下属的"
}
],
isJudgeTrans
:
1
//用于判断转交是否有条件
isJudgeTrans
:
1
,
//用于判断转交是否有条件
SubordList
:[],
//我的下属数据
AllSubordList
:[]
};
},
created
()
{
this
.
getSchool
();
this
.
getStuStageList
();
this
.
getCustomTypeList
();
this
.
GetSubordList
();
},
mounted
()
{
this
.
currentUrl
=
this
.
$route
.
path
;
...
...
@@ -144,6 +157,24 @@
this
.
getCustomerList
();
},
methods
:
{
//获取我下属的下拉数据
GetSubordList
(){
GetPersonalDimension
().
then
(
res
=>
{
console
.
log
(
res
,
'数据'
);
if
(
res
.
Code
==
1
){
this
.
SubordList
=
res
.
Data
;
this
.
AllSubordList
=
res
.
Data
;
}
});
},
//筛选转介人
filterSubord
(
val
,
update
,
abort
)
{
update
(()
=>
{
this
.
SubordList
=
this
.
AllSubordList
.
filter
(
v
=>
v
.
EmployeeName
.
indexOf
(
val
)
>
-
1
);
});
},
//获取客户阶段列表
getStuStageList
()
{
queryStuStageList
().
then
(
res
=>
{
...
...
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