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
7eceb1db
Commit
7eceb1db
authored
Feb 11, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
41c021a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
14 deletions
+29
-14
stulist.vue
src/components/school/student/stulist.vue
+24
-12
student.vue
src/pages/school/student.vue
+5
-2
No files found.
src/components/school/student/stulist.vue
View file @
7eceb1db
...
@@ -44,6 +44,8 @@
...
@@ -44,6 +44,8 @@
<q-btn
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"swap_horiz"
label=
"转订单"
<q-btn
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"swap_horiz"
label=
"转订单"
:disable=
"selection.length === 0"
@
click=
"transferOrder"
/>
:disable=
"selection.length === 0"
@
click=
"transferOrder"
/>
<q-btn
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"add"
label=
"新增学员"
@
click=
"EditStudent(null)"
/>
<q-btn
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"add"
label=
"新增学员"
@
click=
"EditStudent(null)"
/>
<q-btn
v-if=
"authObj&&authObj.isShowDownload"
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"add"
label=
"下载"
@
click=
"downloadStudent"
/>
</div>
</div>
<div
class=
"page-option"
v-if=
"pushMode"
>
<div
class=
"page-option"
v-if=
"pushMode"
>
<q-btn
color=
"accent"
unelevated
class=
"q-mr-md"
size=
"sm"
icon=
"swap_horiz"
label=
"立即推送"
:loading=
"pushing"
<q-btn
color=
"accent"
unelevated
class=
"q-mr-md"
size=
"sm"
icon=
"swap_horiz"
label=
"立即推送"
:loading=
"pushing"
...
@@ -83,7 +85,6 @@
...
@@ -83,7 +85,6 @@
</div>
</div>
</q-td>
</q-td>
</
template
>
</
template
>
<
template
v-slot:body-cell-CurseManager=
"props"
>
<
template
v-slot:body-cell-CurseManager=
"props"
>
<q-td
:props=
"props"
v-html=
"getCurseManager(props.row)"
></q-td>
<q-td
:props=
"props"
v-html=
"getCurseManager(props.row)"
></q-td>
</
template
>
</
template
>
...
@@ -131,11 +132,6 @@
...
@@ -131,11 +132,6 @@
</template>
</template>
</q-td>
</q-td>
</template>
</template>
<!-- <template v-slot:body-cell-CustomerName="props">
<q-td>
<span v-if="props.row.BelongType!=3">{{props.row.CustomerName}}</span>
</q-td>
</template> -->
</q-table>
</q-table>
<student-form
v-if=
"isShowStuForm"
:save-obj=
"stuOption"
@
close=
"closeStuForm"
@
success=
"refreshStuList"
>
<student-form
v-if=
"isShowStuForm"
:save-obj=
"stuOption"
@
close=
"closeStuForm"
@
success=
"refreshStuList"
>
</student-form>
</student-form>
...
@@ -159,6 +155,9 @@
...
@@ -159,6 +155,9 @@
import
{
import
{
SetStudentAssistBatch
SetStudentAssistBatch
}
from
"../../../api/sale/sale"
;
}
from
"../../../api/sale/sale"
;
import
{
EduDownLoad
}
from
"../../../api/common/common"
;
export
default
{
export
default
{
props
:
{
props
:
{
dataList
:
{
dataList
:
{
...
@@ -172,6 +171,16 @@
...
@@ -172,6 +171,16 @@
loading
:
{
loading
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
,
default
:
false
,
},
//权限验证
authObj
:
{
type
:
Object
,
default
:
null
,
},
//查询参数
queryMsg
:
{
type
:
Object
,
default
:
null
,
}
}
},
},
components
:
{
components
:
{
...
@@ -318,12 +327,6 @@
...
@@ -318,12 +327,6 @@
align
:
"left"
,
align
:
"left"
,
field
:
"CreateByName"
field
:
"CreateByName"
}
}
// {
// name: "CustomerName",
// label: "所属同行",
// field: "CustomerName",
// align: "left"
// }
],
],
pageMsg
:
{
pageMsg
:
{
rowsPerPage
:
12
rowsPerPage
:
12
...
@@ -360,6 +363,15 @@
...
@@ -360,6 +363,15 @@
...
mapGetters
([
"userInfo"
,
"logo"
,
"name"
])
...
mapGetters
([
"userInfo"
,
"logo"
,
"name"
])
},
},
methods
:
{
methods
:
{
//下载文件
downloadStudent
()
{
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
queryMsg
));
EduDownLoad
(
"/User/DownLoadStudent"
,
msg
,
"客户资料.xls"
);
},
//初始化权限
//初始化权限
initAuth
()
{},
initAuth
()
{},
formatAssistList
()
{
formatAssistList
()
{
...
...
src/pages/school/student.vue
View file @
7eceb1db
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
</div>
</div>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<stulist
:dataList=
"data"
@
success=
"refreshPage"
:loading=
"loading"
ref=
"stuList"
>
<stulist
:dataList=
"data"
@
success=
"refreshPage"
:loading=
"loading"
ref=
"stuList"
:authObj=
"AuthObj"
:queryMsg=
"msg"
>
</stulist>
</stulist>
<div
class=
"row"
style=
"justify-content: flex-end;padding: 5px 20px"
>
<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"
<q-pagination
v-model=
"msg.pageIndex"
:max=
"pageCount"
@
input=
"changePage"
class=
"full-width justify-end"
...
@@ -109,7 +109,10 @@
...
@@ -109,7 +109,10 @@
myEmployeeList
:
[],
myEmployeeList
:
[],
//客户阶段状态列表
//客户阶段状态列表
customState
:
[],
customState
:
[],
customTypeList
:
[]
//客户类型
customTypeList
:
[],
//客户类型
AuthObj
:{
isShowDownload
:
true
,
}
}
}
},
},
computed
:
{
computed
:
{
...
...
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