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
b66ea6c7
Commit
b66ea6c7
authored
Mar 04, 2020
by
黄森林
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
大学宽带添加一个地址输入
parent
68c38246
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletions
+9
-1
src/views/school-center/university/university.vue
+9
-1
No files found.
src/views/school-center/university/university.vue
View file @
b66ea6c7
...
...
@@ -68,6 +68,9 @@
<a-form-item
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"揽装工号:"
>
<a-input
placeholder=
"揽装工号"
v-decorator=
"[ 'universityPackageNumber', {rules: [{ required: true, message: '揽装工号不能为空!' ,validator: 'click'}]} ]"
></a-input>
</a-form-item>
<a-form-item
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"地址:"
>
<a-input
placeholder=
"地址"
v-decorator=
"[ 'universityInstalledAddressId', {rules: [{ required: true, message: '地址不能为空!' ,validator: 'click'}]} ]"
></a-input>
</a-form-item>
<a-form-item
:labelCol=
"{span: 5}"
:wrapperCol=
"{span: 9, offset: 1}"
label=
"用户类型:"
>
<a-input
placeholder=
"如:校园天翼宽带用户"
v-decorator=
"[ 'universityUserType', {rules: [{ required: true, message: '用户类型不能为空!' ,validator: 'click'}]} ]"
></a-input>
</a-form-item>
...
...
@@ -118,6 +121,7 @@
universityInstalledAddress
:
''
,
universityExteriorLines
:
''
,
universityPackageNumber
:
''
,
universityInstalledAddressId
:
''
,
universityUserType
:
''
,
universityContactPhone
:
''
,
universityMonthlyRentType
:
''
,
...
...
@@ -133,6 +137,7 @@
{
dataIndex
:
'universityInstalledAddress'
,
width
:
300
,
title
:
'装机地址'
},
{
dataIndex
:
'universityExteriorLines'
,
width
:
120
,
title
:
'外线方式 '
},
{
dataIndex
:
'universityPackageNumber'
,
width
:
100
,
title
:
'揽装工号 '
},
{
dataIndex
:
'universityInstalledAddressId'
,
width
:
100
,
title
:
'地址 '
},
{
dataIndex
:
'universityUserType'
,
width
:
150
,
title
:
'用户类型 '
},
{
dataIndex
:
'universityMonthlyRentType'
,
width
:
80
,
title
:
'月租类型 '
},
{
dataIndex
:
'universityChargeMode'
,
width
:
120
,
title
:
'收费模式 '
},
...
...
@@ -199,6 +204,7 @@
"universityInstalledAddress"
:
data
.
universityInstalledAddress
,
"universityExteriorLines"
:
data
.
universityExteriorLines
,
"universityPackageNumber"
:
data
.
universityPackageNumber
,
"universityInstalledAddressId"
:
data
.
universityInstalledAddressId
,
"universityUserType"
:
data
.
universityUserType
,
"universityContactPhone"
:
data
.
universityContactPhone
,
"universityMonthlyRentType"
:
data
.
universityMonthlyRentType
,
...
...
@@ -214,7 +220,7 @@
},
createfunctionOk
(){
let
that
=
this
;
that
.
Formtable
.
validateFields
([
'universityName'
,
'universityRegion'
,
'universityInstalledAddress'
,
'universityExteriorLines'
,
'universityPackageNumber'
,
'universityUserType'
,
that
.
Formtable
.
validateFields
([
'universityName'
,
'universityRegion'
,
'universityInstalledAddress'
,
'universityExteriorLines'
,
'universityPackageNumber'
,
'university
InstalledAddressId'
,
'university
UserType'
,
'universityContactPhone'
,
'universityMonthlyRentType'
,
'universityChargeMode'
,
'universityChargingAttribute'
,
'speed'
,
'publicNumber'
],
{
force
:
true
},
(
err
,
values
)
=>
{
if
(
err
)
{
return
;
...
...
@@ -224,6 +230,7 @@
that
.
modelData
.
universityInstalledAddress
=
values
.
universityInstalledAddress
that
.
modelData
.
universityExteriorLines
=
values
.
universityExteriorLines
that
.
modelData
.
universityPackageNumber
=
values
.
universityPackageNumber
that
.
modelData
.
universityInstalledAddressId
=
values
.
universityInstalledAddressId
that
.
modelData
.
universityUserType
=
values
.
universityUserType
that
.
modelData
.
universityContactPhone
=
values
.
universityContactPhone
that
.
modelData
.
universityMonthlyRentType
=
values
.
universityMonthlyRentType
...
...
@@ -272,6 +279,7 @@
"universityInstalledAddress"
:
''
,
"universityExteriorLines"
:
''
,
"universityPackageNumber"
:
''
,
"universityInstalledAddressId"
:
''
,
"universityUserType"
:
''
,
"universityContactPhone"
:
''
,
"universityMonthlyRentType"
:
''
,
...
...
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