Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gdtel-gztel-school-center-ui
Overview
Overview
Details
Activity
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
吴学德
gdtel-gztel-school-center-ui
Commits
fd636408
Commit
fd636408
authored
Feb 14, 2020
by
吴学德
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
学校管理
parent
ea79228f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
11 deletions
+56
-11
src/views/school-center/management/schoolmanagement.vue
+56
-11
No files found.
src/views/school-center/management/schoolmanagement.vue
View file @
fd636408
...
...
@@ -5,16 +5,35 @@
<!-- 搜索区域 -->
<a-form
layout=
"inline"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"
6
"
:sm=
"12"
>
<a-col
:md=
"
4
"
:sm=
"12"
>
<a-form-item
label=
"县分:"
>
<a-input
placeholder=
"县分"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"
6
"
:sm=
"12"
>
<a-col
:md=
"
4
"
:sm=
"12"
>
<a-form-item
label=
"学校名称"
>
<a-input
placeholder=
"学校名称"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"10"
>
<a-form-item
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}" label="老客户升级页面 ">
<a-select
placeholder=
"请选择"
v-model=
"queryParam.status"
>
<a-select-option
key=
""
>
请选择
</a-select-option>
<a-select-option
key=
"0"
>
隐藏中
</a-select-option>
<a-select-option
key=
"1"
>
显示中
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"10"
>
<a-form-item
:labelCol=
"
{span: 5}" :wrapperCol="{span: 18, offset: 1}" label="新装融合 ">
<a-select
placeholder=
"请选择"
v-model=
"queryParam.netType"
>
<a-select-option
key=
""
>
请选择
</a-select-option>
<a-select-option
key=
"0"
>
是
</a-select-option>
<a-select-option
key=
"1"
>
否
</a-select-option>
</a-select>
</a-form-item>
</a-col>
<span
class=
"table-page-search-submitButtons"
style=
"float: left; overflow: hidden;"
>
<a-col
:md=
"6"
:sm=
"24"
>
<a-button
@
click=
"search()"
type=
"primary"
>
查询
</a-button>
...
...
@@ -27,14 +46,31 @@
<!--列表-->
<s-table
:columns=
"columns"
:data=
"rowdata"
bordered
ref=
"table"
size=
"small"
class=
"flex-filling"
>
<!--拦截器-->
<template
slot=
"failureDefault"
slot-scope=
"text"
>
{{
text
|
dayjs
}}
<template
slot=
"statusDefault"
slot-scope=
"text"
>
<span
v-if=
"text=='1'"
>
显示中
</span>
<span
v-else
>
隐藏中
</span>
</
template
>
<
template
slot=
"operation"
slot-scope=
"text,record"
>
<a
@
click=
"modifyYellowList(record)"
>
编辑
</a>
<span
v-if=
"record.status=='1'"
>
<a-divider
type=
"vertical"
/>
<a-popconfirm
title=
"是否显示老客户?"
@
confirm=
"delet(record)"
>
<a>
显示老客户
</a>
</a-popconfirm>
</span>
<span
v-else
>
<a-divider
type=
"vertical"
/>
<a-popconfirm
title=
"是否显示老客户?"
@
confirm=
"delet(record)"
>
<a>
显示老客户
</a>
</a-popconfirm>
</span>
<!--拦截器-->
<
template
slot=
"createDefault"
slot-scope=
"text"
>
{{
text
|
dayjs
}}
</
template
>
</s-table>
</div>
</template>
...
...
@@ -50,14 +86,22 @@
},
data
(){
return
{
//输入框列表
queryParam
:
{
subName
:
''
,
status
:
''
,
schoolName
:
''
,
netType
:
''
,
},
columns
:
[
{
dataIndex
:
'
phoneNumber'
,
width
:
200
,
title
:
'县分'
},
{
dataIndex
:
'
remark'
,
width
:
200
,
title
:
'学校名称 '
},
{
dataIndex
:
'
createTime'
,
width
:
200
,
title
:
'是否显示老客户升级页面 '
,
scopedSlots
:
{
customRender
:
'createDefault'
}
},
{
dataIndex
:
'
schoolName'
,
width
:
200
,
title
:
'县分'
,
align
:
"center"
},
{
dataIndex
:
'
subName'
,
width
:
200
,
title
:
'学校名称'
,
align
:
"center"
},
{
dataIndex
:
'
status'
,
width
:
200
,
title
:
'是否显示老客户升级页面 '
,
scopedSlots
:
{
customRender
:
'statusDefault'
},
align
:
"center"
},
{
dataIndex
:
'operation'
,
width
:
100
,
title
:
'操作'
,
align
:
"center"
,
scopedSlots
:
{
customRender
:
'operation'
},
fixed
:
"right"
}]
...
...
@@ -68,7 +112,8 @@
pageSize
:
parameter
.
pageSize
}
//表示
return
findByList
(
Object
.
assign
(
params
)).
then
(
res
=>
{
let
obj
=
cloneObject
(
this
.
queryParam
)
return
findByList
(
Object
.
assign
(
params
,
obj
)).
then
(
res
=>
{
let
data
=
{}
if
(
res
.
state
!==
'success'
)
{
data
=
{
...
...
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