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
f8992203
Commit
f8992203
authored
Apr 08, 2020
by
彭祥礼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
6df502c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
3 deletions
+21
-3
src/views/school-center/management/schoolmanagement.vue
+21
-3
No files found.
src/views/school-center/management/schoolmanagement.vue
View file @
f8992203
...
@@ -6,6 +6,11 @@
...
@@ -6,6 +6,11 @@
<a-form
layout=
"inline"
>
<a-form
layout=
"inline"
>
<a-row
:gutter=
"24"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"12"
>
<a-col
:md=
"4"
:sm=
"12"
>
<a-form-item
label=
"网点名称:"
>
<a-input
placeholder=
"网点名称"
v-model=
"queryParam.networkName"
></a-input>
</a-form-item>
</a-col>
<a-col
:md=
"4"
:sm=
"12"
>
<a-form-item
label=
"县分:"
>
<a-form-item
label=
"县分:"
>
<a-input
placeholder=
"县分"
v-model=
"queryParam.subName"
></a-input>
<a-input
placeholder=
"县分"
v-model=
"queryParam.subName"
></a-input>
</a-form-item>
</a-form-item>
...
@@ -68,6 +73,12 @@
...
@@ -68,6 +73,12 @@
<!--编辑----弹框-->
<!--编辑----弹框-->
<a-modal
:title=
"titleName"
:visible=
"modifyvisible"
@
ok=
"createfunctionOk"
@
cancel=
"createfunctionCancel"
html-type=
"submit"
width=
"840px"
>
<a-modal
:title=
"titleName"
:visible=
"modifyvisible"
@
ok=
"createfunctionOk"
@
cancel=
"createfunctionCancel"
html-type=
"submit"
width=
"840px"
>
<a-form
:form=
"Formtable"
>
<a-form
:form=
"Formtable"
>
<a-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"网点编码"
>
<a-input
placeholder=
"网点编码"
v-decorator=
"[ 'networkCode']"
></a-input>
</a-form-item>
<a-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"网点名称"
>
<a-input
placeholder=
"网点名称"
v-decorator=
"[ 'networkName']"
></a-input>
</a-form-item>
<a-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"县分"
>
<a-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"县分"
>
<a-select
placeholder=
"请选择"
v-decorator=
"[ 'subName', {rules: [{ required: true, message: '县分不能为空!' ,whitespace:true}]} ]"
>
<a-select
placeholder=
"请选择"
v-decorator=
"[ 'subName', {rules: [{ required: true, message: '县分不能为空!' ,whitespace:true}]} ]"
>
<a-select-option
key=
""
>
请选择
</a-select-option>
<a-select-option
key=
""
>
请选择
</a-select-option>
...
@@ -181,6 +192,8 @@
...
@@ -181,6 +192,8 @@
customimg
:
""
,
customimg
:
""
,
modifyForm
:
{
modifyForm
:
{
id
:
""
,
id
:
""
,
networkCode
:
''
,
networkName
:
''
,
subName
:
""
,
subName
:
""
,
schoolName
:
""
,
schoolName
:
""
,
netId
:
""
,
netId
:
""
,
...
@@ -198,13 +211,16 @@
...
@@ -198,13 +211,16 @@
products
:[],
products
:[],
//输入框列表
//输入框列表
queryParam
:
{
queryParam
:
{
networkName
:
''
,
subName
:
''
,
subName
:
''
,
status
:
''
,
status
:
''
,
schoolName
:
''
,
schoolName
:
''
,
},
},
modifyvisible
:
false
,
modifyvisible
:
false
,
columns
:
[
columns
:
[
{
dataIndex
:
'subName'
,
width
:
200
,
title
:
'县分'
,
align
:
"center"
},
{
dataIndex
:
'networkCode'
,
width
:
200
,
title
:
'网点编码'
,
align
:
"center"
},
{
dataIndex
:
'networkName'
,
width
:
200
,
title
:
'网点名称'
,
align
:
"center"
},
{
dataIndex
:
'subName'
,
width
:
100
,
title
:
'县分'
,
align
:
"center"
},
{
dataIndex
:
'schoolName'
,
width
:
200
,
title
:
'学校名称'
,
align
:
"center"
},
{
dataIndex
:
'schoolName'
,
width
:
200
,
title
:
'学校名称'
,
align
:
"center"
},
{
{
dataIndex
:
'status'
,
dataIndex
:
'status'
,
...
@@ -230,7 +246,7 @@
...
@@ -230,7 +246,7 @@
//表示
//表示
let
obj
=
cloneObject
(
this
.
queryParam
)
let
obj
=
cloneObject
(
this
.
queryParam
)
return
findByList
(
Object
.
assign
(
params
,
obj
)).
then
(
res
=>
{
return
findByList
(
Object
.
assign
(
params
,
obj
)).
then
(
res
=>
{
let
data
=
{}
let
data
=
{}
;
if
(
res
.
state
!==
'success'
)
{
if
(
res
.
state
!==
'success'
)
{
this
.
emptyText
.
emptyText
=
'查询失败!'
this
.
emptyText
.
emptyText
=
'查询失败!'
this
.
$message
.
error
(
"查询失败!"
,
5
);
this
.
$message
.
error
(
"查询失败!"
,
5
);
...
@@ -406,8 +422,10 @@
...
@@ -406,8 +422,10 @@
},
},
//提交表单
//提交表单
createfunctionOk
(){
createfunctionOk
(){
this
.
Formtable
.
validateFields
([
'schoolName'
,
'bandproductId'
,
"subName"
,
"lzgh"
,
'netId'
,
"isShowband"
,
'isShowrh'
,
"netPhone"
,
'isRecv'
],
{
force
:
true
},
(
err
,
values
)
=>
{
this
.
Formtable
.
validateFields
([
'
networkCode'
,
'networkName'
,
'
schoolName'
,
'bandproductId'
,
"subName"
,
"lzgh"
,
'netId'
,
"isShowband"
,
'isShowrh'
,
"netPhone"
,
'isRecv'
],
{
force
:
true
},
(
err
,
values
)
=>
{
if
(
!
err
){
if
(
!
err
){
this
.
modifyForm
.
networkCode
=
values
.
networkCode
this
.
modifyForm
.
networkName
=
values
.
networkName
this
.
modifyForm
.
subName
=
values
.
subName
this
.
modifyForm
.
subName
=
values
.
subName
this
.
modifyForm
.
schoolName
=
values
.
schoolName
this
.
modifyForm
.
schoolName
=
values
.
schoolName
this
.
modifyForm
.
netId
=
values
.
netId
this
.
modifyForm
.
netId
=
values
.
netId
...
...
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