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
7ab09f4e
Commit
7ab09f4e
authored
Mar 11, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
学员根据页面修改
parent
4a46c71d
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
144 additions
and
100 deletions
+144
-100
quasar.conf.js
quasar.conf.js
+2
-3
stufollowlistNew.vue
src/components/school/student/stufollowlistNew.vue
+142
-97
No files found.
quasar.conf.js
View file @
7ab09f4e
...
@@ -47,9 +47,8 @@ module.exports = function(ctx) {
...
@@ -47,9 +47,8 @@ module.exports = function(ctx) {
vueRouterMode
:
'history'
,
// available values: 'hash', 'history'
vueRouterMode
:
'history'
,
// available values: 'hash', 'history'
env
:
ctx
.
dev
?
{
env
:
ctx
.
dev
?
{
API
:
'http://localhost:5001/api'
,
//API:'http://localhost:5001/api',
// API: 'http://192.168.10.128:8300/api',
API
:
'http://192.168.10.68:8300/api'
,
// API: 'https://eduapi.oytour.com/api',
API_ZC
:
'http://192.168.10.238:8087/api'
,
API_ZC
:
'http://192.168.10.238:8087/api'
,
API_SK
:
'ws://websocket.oytour.com/ws'
,
API_SK
:
'ws://websocket.oytour.com/ws'
,
API_SIG
:
'http://localhost:5001/messagecenter'
API_SIG
:
'http://localhost:5001/messagecenter'
...
...
src/components/school/student/stufollowlistNew.vue
View file @
7ab09f4e
...
@@ -68,16 +68,16 @@
...
@@ -68,16 +68,16 @@
cellpadding=
"0"
v-loading=
"loading"
>
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<tr>
<th
width=
"100"
style=
"z-index: 999;"
>
学生
</th>
<th
width=
"100"
style=
"z-index: 999;"
>
学生
</th>
<th
width=
"100"
>
报名日期
</th>
<th
width=
"100"
>
报名日期
</th>
<th
width=
"70"
>
职业
</th>
<th
width=
"70"
>
职业
</th>
<th
width=
"80"
>
目的
</th>
<th
width=
"80"
>
目的
</th>
<th
width=
"100"
>
班主任
</th>
<th
width=
"100"
>
班主任
</th>
<th
width=
"200"
>
课程名称
</th>
<th
width=
"200"
>
课程名称
</th>
<th
width=
"80"
>
金额
</th>
<th
width=
"80"
>
金额
</th>
<th>
基本情况
</th>
<th>
基本情况
</th>
<th
width=
"200"
>
续费课程
</th>
<th
width=
"200"
>
续费课程
</th>
<th
width=
"80"
>
续费级别
</th>
<th
width=
"80"
>
续费级别
</th>
<th
width=
"80"
>
续费金额
</th>
<th
width=
"80"
>
续费金额
</th>
<th
width=
"90"
>
负责人
</th>
<th
width=
"90"
>
负责人
</th>
</tr>
</tr>
<template
v-if=
'dataObj&&dataObj.RList && dataObj.RList.length>0'
>
<template
v-if=
'dataObj&&dataObj.RList && dataObj.RList.length>0'
>
...
@@ -91,14 +91,30 @@
...
@@ -91,14 +91,30 @@
{{
item
.
CreateTime
}}
{{
item
.
CreateTime
}}
</td>
</td>
<td>
<td>
<div
class=
"text-blue cursor-pointer"
@
click=
"getStuBaseInfo(item)"
>
<template
v-if=
"item.StuProfession&&item.StuProfession!=''"
>
<span
class=
"text-blue cursor-pointer"
style=
"cursor:pointer"
@
click=
"getStuBaseInfo(item,1)"
>
{{
item
.
StuProfession
}}
{{
item
.
StuProfession
}}
</div>
<q-tooltip
:offset=
"[10, 10]"
>
点击修改
</q-tooltip>
</span>
</
template
>
<
template
v-else
>
<a
class=
"text-blue cursor-pointer"
style=
"cursor:pointer"
@
click=
"getStuBaseInfo(item,1)"
>
添加
</a>
</
template
>
</td>
</td>
<td>
<td>
<div
class=
"text-blue cursor-pointer"
@
click=
"getStuBaseInfo(item)"
>
<
template
v-if=
"item.StuPurposeName&&item.StuPurposeName!=''"
>
{{
item
.
StuPurposeName
}}
<span
class=
"text-blue cursor-pointer"
style=
"cursor:pointer"
@
click=
"getStuBaseInfo(item,2)"
>
</div>
{{
item
.
StuPurposeName
}}
<q-tooltip
:offset=
"[10, 10]"
>
点击修改
</q-tooltip>
</span>
</
template
>
<
template
v-else
>
<a
class=
"text-blue cursor-pointer"
style=
"cursor:pointer"
@
click=
"getStuBaseInfo(item,2)"
>
添加
</a>
</
template
>
</td>
</td>
<td>
<td>
<span
v-html=
"getTeacherManager(item)"
></span>
<span
v-html=
"getTeacherManager(item)"
></span>
...
@@ -127,6 +143,7 @@
...
@@ -127,6 +143,7 @@
<a
style=
"color:blue;cursor:pointer;"
v-if=
"item.FollowList.length>2"
<a
style=
"color:blue;cursor:pointer;"
v-if=
"item.FollowList.length>2"
@
click=
"item.IsShowFollowAll=!item.IsShowFollowAll"
>
{{!item.IsShowFollowAll?"展开":"收起"}}
</a>
@
click=
"item.IsShowFollowAll=!item.IsShowFollowAll"
>
{{!item.IsShowFollowAll?"展开":"收起"}}
</a>
</template>
</template>
<a
class=
"text-blue cursor-pointer"
style=
"cursor:pointer"
@
click=
"getStuBaseInfo(item,3)"
>
添加
</a>
</td>
</td>
<td>
<td>
<div
v-for=
"(sItem,sIndex) in item.RenewOrderList"
style=
"border-bottom:1px dashed #d1d1d1;"
<div
v-for=
"(sItem,sIndex) in item.RenewOrderList"
style=
"border-bottom:1px dashed #d1d1d1;"
...
@@ -167,7 +184,7 @@
...
@@ -167,7 +184,7 @@
</studentFUForm>
</studentFUForm>
<q-dialog
v-model=
"isShowStuBaseInfo"
>
<q-dialog
v-model=
"isShowStuBaseInfo"
>
<q-card
style=
"width:
450px;"
>
<q-card
style=
"width:
450px;"
>
<q-card-section
class=
"row items-center q-pb-none"
>
<q-card-section
class=
"row items-center q-pb-none"
>
<div
class=
"text-h6"
>
【{{customObj.StuName}}】
</div>
<div
class=
"text-h6"
>
【{{customObj.StuName}}】
</div>
<q-space
/>
<q-space
/>
...
@@ -175,29 +192,30 @@
...
@@ -175,29 +192,30 @@
</q-card-section>
</q-card-section>
<q-separator
/>
<q-separator
/>
<q-card-section>
<q-card-section>
<div
style=
"width:100%;margin-bottom:15px;"
>
<div
style=
"width:100%;margin-bottom:15px;"
v-if=
"customObj.EditType==1"
>
<div
style=
"width:12%;display:inline-block;"
>
职业:
</div><div
style=
"width:87%;display:inline-block;"
><q-input
filled
v-model=
"customObj.StuProfession"
dense
></q-input></div>
<div
style=
"width:13%;display:inline-block;"
>
职业:
</div>
<div
style=
"width:86%;display:inline-block;"
>
<q-input
filled
v-model=
"customObj.StuProfession"
dense
></q-input>
</div>
</div>
<div
style=
"width:100%;margin-bottom:15px;"
>
<div
style=
"width:12%;display:inline-block;"
>
目的:
</div><div
style=
"width:87%;display:inline-block;"
><q-select
filled
v-model=
"customObj.StuPurpose"
dense
:options=
"goalsList"
option-label=
"Name"
option-value=
"Id"
emit-value
map-options
/></div>
</div>
</div>
<div
style=
"width:100%;margin-bottom:15px;"
v-if=
"customObj.EditType==2"
>
<div
style=
"width:100%;margin-bottom:15px;"
>
<div
style=
"width:13%;display:inline-block;"
>
目的:
</div>
<div
style=
"width:12%;display:inline-block;vertical-align:top;"
>
跟进:
</div>
<div
style=
"width:86%;display:inline-block;"
>
<div
style=
"width:87%;display:inline-block;"
>
<UeEditor
<q-select
filled
v-model=
"customObj.StuPurpose"
dense
:options=
"goalsList"
option-label=
"Name"
v-model=
"customObj.Remark"
option-value=
"Id"
emit-value
map-options
/>
class=
"q-pb-sm"
</div>
:config=
"config"
</div>
></UeEditor></div>
<div
style=
"width:100%;margin-bottom:15px;"
v-if=
"customObj.EditType==3"
>
<div
style=
"width:13%;display:inline-block;vertical-align:top;"
>
基本
<br/>
情况:
</div>
<div
style=
"width:86%;display:inline-block;"
>
<UeEditor
v-model=
"customObj.Remark"
class=
"q-pb-sm"
:config=
"config"
></UeEditor>
</div>
</div>
</div>
</q-card-section>
</q-card-section>
<q-separator
/>
<q-separator
/>
<q-card-actions
align=
"right"
class=
"bg-white"
>
<q-card-actions
align=
"right"
class=
"bg-white"
>
<q-btn
class=
"q-mr-md"
label=
"取消"
@
click=
"clearMsg()"
/>
<q-btn
class=
"q-mr-md"
label=
"取消"
@
click=
"clearMsg()"
/>
<q-btn
color=
"accent"
class=
"q-mr-md"
label=
"确定"
@
click=
"saveStu()"
<q-btn
color=
"accent"
class=
"q-mr-md"
label=
"确定"
@
click=
"saveStu()"
:loading=
"stuloading"
/>
:loading=
"stuloading"
/>
</q-card-actions>
</q-card-actions>
</q-card>
</q-card>
</q-dialog>
</q-dialog>
...
@@ -248,8 +266,8 @@
...
@@ -248,8 +266,8 @@
return
{
return
{
isShowStuFU
:
false
,
isShowStuFU
:
false
,
isShowStuRight
:
false
,
isShowStuRight
:
false
,
isShowStuBaseInfo
:
false
,
isShowStuBaseInfo
:
false
,
stuloading
:
false
,
stuloading
:
false
,
//学习目的列表
//学习目的列表
goalsList
:
[],
goalsList
:
[],
config
:
{
config
:
{
...
@@ -267,8 +285,9 @@
...
@@ -267,8 +285,9 @@
StuId
:
0
,
StuId
:
0
,
StuProfession
:
""
,
//职业
StuProfession
:
""
,
//职业
StuPurpose
:
""
,
//学习目的
StuPurpose
:
""
,
//学习目的
Remark
:
""
,
Remark
:
""
,
StuName
:
""
,
StuName
:
""
,
EditType
:
0
,
//1-修改职业,2-修改目的,3-添加跟进
},
},
};
};
},
},
...
@@ -316,11 +335,35 @@
...
@@ -316,11 +335,35 @@
this
.
customObj
.
Remark
=
""
;
this
.
customObj
.
Remark
=
""
;
this
.
customObj
.
StuProfession
=
""
;
this
.
customObj
.
StuProfession
=
""
;
this
.
customObj
.
StuPurpose
=
""
;
this
.
customObj
.
StuPurpose
=
""
;
this
.
customObj
.
EditType
=
0
;
this
.
stuloading
=
false
;
this
.
stuloading
=
false
;
this
.
isShowStuBaseInfo
=
false
;
this
.
isShowStuBaseInfo
=
false
;
},
},
//保存学员信息
//保存学员信息
saveStu
()
{
saveStu
()
{
if
(
this
.
customObj
.
EditType
==
1
)
{
if
(
this
.
customObj
.
StuProfession
==
''
)
{
this
.
$q
.
notify
({
type
:
"negative"
,
position
:
"top"
,
timeout
:
2000
,
message
:
"请填写职业"
});
return
;
}
}
if
(
this
.
customObj
.
EditType
==
2
)
{
if
(
this
.
customObj
.
StuPurpose
==
''
)
{
this
.
$q
.
notify
({
type
:
"negative"
,
position
:
"top"
,
timeout
:
2000
,
message
:
"请选择学习目的"
});
return
;
}
}
if
(
this
.
customObj
.
EditType
==
3
)
{
if
(
this
.
customObj
.
Remark
==
""
)
{
if
(
this
.
customObj
.
Remark
==
""
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
type
:
"negative"
,
type
:
"negative"
,
...
@@ -330,7 +373,8 @@
...
@@ -330,7 +373,8 @@
});
});
return
;
return
;
}
}
this
.
stuloading
=
true
;
}
this
.
stuloading
=
true
;
saveStudentBaseInfo
(
this
.
customObj
).
then
(
res
=>
{
saveStudentBaseInfo
(
this
.
customObj
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
...
@@ -343,21 +387,22 @@
...
@@ -343,21 +387,22 @@
this
.
$emit
(
"update"
);
this
.
$emit
(
"update"
);
this
.
$emit
(
"success"
);
this
.
$emit
(
"success"
);
this
.
$emit
(
"getrecord"
);
this
.
$emit
(
"getrecord"
);
this
.
stuloading
=
false
;
this
.
stuloading
=
false
;
this
.
isShowStuBaseInfo
=
false
;
this
.
isShowStuBaseInfo
=
false
;
this
.
clearMsg
();
this
.
clearMsg
();
}
}
});
});
},
},
//点击学生姓名弹出
//点击学生姓名弹出
getStuBaseInfo
(
obj
)
{
getStuBaseInfo
(
obj
,
showType
)
{
if
(
obj
)
{
if
(
obj
)
{
this
.
customObj
.
StuId
=
obj
.
StuId
;
this
.
customObj
.
StuId
=
obj
.
StuId
;
this
.
customObj
.
StuName
=
obj
.
StuName
;
this
.
customObj
.
StuName
=
obj
.
StuName
;
this
.
customObj
.
StuProfession
=
obj
.
StuProfession
;
this
.
customObj
.
StuProfession
=
obj
.
StuProfession
;
this
.
customObj
.
StuPurpose
=
obj
.
StuPurpose
;
this
.
customObj
.
StuPurpose
=
obj
.
StuPurpose
;
this
.
customObj
.
EditType
=
showType
;
}
}
this
.
stuloading
=
false
;
this
.
stuloading
=
false
;
this
.
isShowStuBaseInfo
=
true
;
this
.
isShowStuBaseInfo
=
true
;
},
},
//关闭弹窗
//关闭弹窗
...
...
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