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
d8b59590
Commit
d8b59590
authored
Feb 23, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
9a158669
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
41 deletions
+20
-41
student-left.vue
src/components/school/student/student-left.vue
+13
-32
stulist.vue
src/components/school/student/stulist.vue
+7
-9
No files found.
src/components/school/student/student-left.vue
View file @
d8b59590
...
...
@@ -374,6 +374,7 @@
type
:
Number
,
default
:
null
},
//1-当前登录人自己创建,3-不是当前登录人创建
BelongType
:
{
type
:
Number
,
default
:
null
...
...
@@ -435,9 +436,9 @@
QQ
:
""
,
WeChatNo
:
""
},
NeedData
:
[],
noEdit
:
false
,
isHaveOrder
:
false
,
NeedData
:
[],
//客户需求列表
noEdit
:
false
,
//是否可以修改编辑客户信息
isHaveOrder
:
false
,
//学员是否有订单
userInfo
:
{},
//当前登录人员
};
},
...
...
@@ -454,13 +455,16 @@
this
.
getCustomTypeList
();
this
.
getStudentDorpDown
();
this
.
getGetNeedsList
();
this
.
getStuOrderPage
();
if
(
this
.
saveObj
&&
this
.
saveObj
.
StuId
>
0
)
{
this
.
customMsg
.
StuId
=
this
.
saveObj
.
StuId
;
this
.
checkMsg
.
StuId
=
this
.
saveObj
.
StuId
;
if
(
this
.
saveObj
)
{
if
(
this
.
saveObj
.
StuId
>
0
)
{
this
.
customMsg
.
StuId
=
this
.
saveObj
.
StuId
;
this
.
checkMsg
.
StuId
=
this
.
saveObj
.
StuId
;
}
if
(
this
.
saveObj
.
noEdit
&&
this
.
saveObj
.
noEdit
==
true
)
{
this
.
noEdit
=
true
;
}
}
},
watch
:
{
...
...
@@ -731,7 +735,6 @@
);
});
},
init
()
{
const
tempDate
=
this
.
stuData
;
this
.
customObj
.
StuId
=
tempDate
.
StuId
;
...
...
@@ -756,11 +759,10 @@
this
.
customObj
.
WeChatNo
=
tempDate
.
WeChatNo
;
this
.
customObj
.
StuNeeds
=
tempDate
.
StuNeeds
;
this
.
customObj
.
StuTel
=
tempDate
.
StuTel
;
if
(
t
his
.
customObj
.
StuId
>
0
)
{
//有订单
if
(
t
empDate
.
OrderCount
&&
tempDate
.
OrderCount
>
0
)
{
this
.
isHaveOrder
=
true
;
}
},
//新增协助人员
addAssist
()
{
...
...
@@ -810,27 +812,6 @@
this
.
customObj
.
StuSourceId
=
""
;
this
.
customObj
.
PlatformName
=
""
;
},
getStuOrderPage
()
{
let
customMsg
=
{
pageIndex
:
1
,
pageSize
:
10
,
StuId
:
0
};
if
(
this
.
saveObj
)
{
customMsg
.
StuId
=
this
.
saveObj
.
StuId
;
}
queryStuOrderPage
(
customMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
if
(
this
.
customObj
.
StuId
>
0
)
{
if
(
res
.
Data
.
PageData
.
length
>
0
)
{
this
.
isHaveOrder
=
true
;
}
else
{
this
.
isHaveOrder
=
false
;
}
}
}
});
}
}
};
</
script
>
...
...
src/components/school/student/stulist.vue
View file @
d8b59590
...
...
@@ -176,7 +176,6 @@
<
template
v-slot:body-cell-CurseManager=
"props"
>
<q-td
:props=
"props"
v-html=
"getCurseManager(props.row)"
></q-td>
</
template
>
<
template
v-slot:body-cell-OrderCount=
"props"
>
<q-td
:props=
"props"
v-if=
"props.row.OrderCount == 0"
class=
"text-grey-4"
>
未报名
</q-td>
<q-td
:props=
"props"
v-if=
"props.row.OrderCount > 0"
class=
"bg-negative text-white"
...
...
@@ -433,7 +432,6 @@
field
:
"StuChannelName"
,
align
:
"left"
},
{
name
:
"CreateTimeStr"
,
label
:
"创建时间"
,
...
...
@@ -456,13 +454,13 @@
stuOption
:
null
,
isShowAdd
:
false
,
selection
:
[],
isShowTransfer
:
false
,
isShowTransfer
:
false
,
//是否显示转订单弹窗
BelongType
:
1
,
pushMode
:
false
,
pushMode
:
false
,
//是否显示推送按钮
pushing
:
false
,
assistListFormat
:
[],
checkType
:
1
,
isShowAbroad
:
false
,
checkType
:
1
,
//打开右侧弹窗类型
isShowAbroad
:
false
,
//是否显示转留学就业订单弹窗
userInfo
:
{},
//当前登录人员
};
},
...
...
@@ -478,13 +476,13 @@
created
()
{
this
.
userInfo
=
this
.
getLocalStorage
();
this
.
formatAssistList
();
this
.
initAuth
();
},
mounted
()
{},
computed
:
{
...
mapGetters
([
"logo"
,
"name"
])
},
methods
:
{
//是否有查看客户来源和来源关联人权限
IsShowStuSourceIdName
(
item
)
{
var
isHaveAuth
=
false
;
if
(
this
.
userInfo
&&
this
.
userInfo
.
ActionMenuList
&&
this
.
userInfo
.
ActionMenuList
.
length
>
...
...
@@ -510,8 +508,7 @@
"客户资料.xls"
);
},
//初始化权限
initAuth
()
{},
//服务人员转化
formatAssistList
()
{
this
.
assistListFormat
=
[];
this
.
dataList
.
forEach
(
x
=>
{
...
...
@@ -631,6 +628,7 @@
obj
.
Status
=
obj
.
Status
==
1
?
0
:
1
;
});
},
//刷新列表
refreshStuList
()
{
this
.
$emit
(
"success"
);
this
.
selection
=
[];
...
...
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