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
003f8580
Commit
003f8580
authored
Feb 26, 2021
by
陈浩建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
宽叠移+融合+号码
parent
e8c34b2a
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
304 additions
and
37 deletions
+304
-37
src/api/school-center/broadbandList/kdyListAPI.js
+17
-0
src/api/school-center/broadbandList/multimediaAccountAPI.js
+17
-0
src/api/school-center/broadbandList/rhPhoneAPI.js
+17
-0
src/views/school-center/broadbandList/RhPhone.vue
+82
-10
src/views/school-center/broadbandList/kdyList.vue
+83
-14
src/views/school-center/broadbandList/multimediaAccount.vue
+88
-12
src/views/school-center/order/order.vue
+0
-1
No files found.
src/api/school-center/broadbandList/kdyListAPI.js
0 → 100644
View file @
003f8580
import
{
postAction
}
from
'@/api/manage'
const
prefix
=
'/manager/ciop'
;
// 宽叠移存量列表
let
kdyList
=
(
params
)
=>
postAction
(
prefix
+
"/kdy/list"
,
params
);
// 新增数据
let
addData
=
(
params
)
=>
postAction
(
prefix
+
"/kdy/addData"
,
params
);
// 删除数据
let
deleteData
=
(
params
)
=>
postAction
(
prefix
+
"/kdy/deleteData"
,
params
);
export
{
kdyList
,
addData
,
deleteData
}
src/api/school-center/broadbandList/multimediaAccountAPI.js
0 → 100644
View file @
003f8580
import
{
postAction
}
from
'@/api/manage'
const
prefix
=
'/manager/ciop'
;
// 多媒体存量列表
let
multimediaAccount
=
(
params
)
=>
postAction
(
prefix
+
"/multimediaAccount/list"
,
params
);
// 新增数据
let
addData
=
(
params
)
=>
postAction
(
prefix
+
"/multimediaAccount/addData"
,
params
);
// 删除数据
let
deleteData
=
(
params
)
=>
postAction
(
prefix
+
"/multimediaAccount/deleteData"
,
params
);
export
{
multimediaAccount
,
addData
,
deleteData
}
src/api/school-center/broadbandList/rhPhoneAPI.js
0 → 100644
View file @
003f8580
import
{
postAction
}
from
'@/api/manage'
const
prefix
=
'/manager/ciop'
;
//查询验证码
let
rhPhone
=
(
params
)
=>
postAction
(
prefix
+
"/rhPhone/list"
,
params
);
// 新增数据
let
addData
=
(
params
)
=>
postAction
(
prefix
+
"/rhPhone/addData"
,
params
);
// 删除数据
let
deleteData
=
(
params
)
=>
postAction
(
prefix
+
"/rhPhone/deleteData"
,
params
);
export
{
rhPhone
,
addData
,
deleteData
}
src/views/school-center/broadbandList/RhPhone.vue
View file @
003f8580
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<a-row
:gutter=
"24"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"8"
>
<a-col
:md=
"4"
:sm=
"8"
>
<a-form-item
label=
"手机号:"
>
<a-form-item
label=
"手机号:"
>
<a-input
placeholder=
"手机号"
v-model=
"queryParam.
orderCustomerAccount
"
></a-input>
<a-input
placeholder=
"手机号"
v-model=
"queryParam.
phone
"
></a-input>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
...
@@ -28,15 +28,15 @@
...
@@ -28,15 +28,15 @@
<a-popconfirm
title=
"是否要删除此行?"
@
confirm=
"deleteActivity(record.id)"
>
<a-popconfirm
title=
"是否要删除此行?"
@
confirm=
"deleteActivity(record.id)"
>
<a>
删除
</a>
<a>
删除
</a>
</a-popconfirm>
</a-popconfirm>
<a-divider
type=
"vertical"
/
>
<!--
<a-divider
type=
"vertical"
/>
--
>
</
template
>
</
template
>
</s-table>
</s-table>
<!--
编辑
----弹框-->
<!--
添加
----弹框-->
<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-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"手机号"
>
<a-input
v-decorator=
"[ 'sort', {rules: [{ required: true, type:'number', message: '手机号!' ,whitespace:true,transform:(value)=> {return Number(value)} }]} ]"
></a-input>
<a-input
placeholder=
"手机号"
v-model=
"modifyForm.phone"
v-decorator=
"[ 'sort', {rules: [{ required: true, type:'number', message: '手机号!' ,whitespace:true,transform:(value)=> {return Number(value)} }]} ]"
></a-input>
</a-form-item>
</a-form-item>
</a-form>
</a-form>
</a-modal>
</a-modal>
...
@@ -46,6 +46,11 @@
...
@@ -46,6 +46,11 @@
<
script
>
<
script
>
import
STable
from
'@/components/table'
;
import
STable
from
'@/components/table'
;
import
{
cloneObject
}
from
'@/utils/util'
;
import
{
cloneObject
}
from
'@/utils/util'
;
import
{
rhPhone
,
addData
,
deleteData
,
}
from
"../../../api/school-center/broadbandList/rhPhoneAPI"
;
export
default
{
export
default
{
name
:
"RhPhone"
,
name
:
"RhPhone"
,
components
:
{
components
:
{
...
@@ -65,7 +70,7 @@
...
@@ -65,7 +70,7 @@
Formtable
:
this
.
$form
.
createForm
(
this
,
{
name
:
'Formtable'
}),
Formtable
:
this
.
$form
.
createForm
(
this
,
{
name
:
'Formtable'
}),
titleName
:
""
,
titleName
:
""
,
modifyForm
:
{
modifyForm
:
{
accountNumber
:
""
,
phone
:
""
,
},
},
subNameList
:
[],
subNameList
:
[],
packageName
:[],
packageName
:[],
...
@@ -73,7 +78,7 @@
...
@@ -73,7 +78,7 @@
products
:[],
products
:[],
//输入框列表
//输入框列表
queryParam
:
{
queryParam
:
{
accountNumber
:
''
,
phone
:
''
,
},
},
modifyvisible
:
false
,
modifyvisible
:
false
,
visiblepicture
:
false
,
visiblepicture
:
false
,
...
@@ -89,18 +94,47 @@
...
@@ -89,18 +94,47 @@
}]
}]
,
,
rowdata
:
parameter
=>
{
rowdata
:
parameter
=>
{
const
env
=
process
.
env
.
NODE_ENV
;
//获取当前环境
if
(
env
===
'development'
)
{
//测试环境默认添加前缀
this
.
apis
=
'/api/'
;
}
let
params
=
{
pageNo
:
parameter
.
pageNo
,
pageSize
:
parameter
.
pageSize
};
let
obj
=
cloneObject
(
this
.
queryParam
);
//表示
return
rhPhone
(
Object
.
assign
(
params
,
obj
)).
then
(
res
=>
{
let
data
=
{};
if
(
res
.
page
.
state
!==
"success"
)
{
this
.
$message
.
error
(
"查询失败!"
,
5
);
this
.
emptyText
.
emptyText
=
'查询失败!'
data
=
{
data
:
[],
pageSize
:
parameter
.
pageSize
,
pageNo
:
1
,
totalCount
:
0
};
}
else
{
data
=
{
data
:
res
.
page
.
data
.
records
,
pageSize
:
parameter
.
pageSize
,
pageNo
:
parameter
.
pageNo
,
totalCount
:
res
.
page
.
data
.
total
};
}
return
data
;
});
}
}
}
}
},
},
methods
:{
methods
:{
deleteActivity
(
id
){
},
search
()
{
search
()
{
this
.
$refs
.
table
.
refresh
({
search
:
true
})
this
.
$refs
.
table
.
refresh
({
search
:
true
})
},
},
add
(){
add
(){
this
.
titleName
=
"添加"
this
.
titleName
=
"添加"
this
.
modifyForm
.
id
=
''
;
this
.
modifyForm
.
phone
=
""
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
Formtable
.
setFieldsValue
({
this
.
Formtable
.
setFieldsValue
({
phone
:
""
phone
:
""
...
@@ -110,9 +144,47 @@
...
@@ -110,9 +144,47 @@
},
},
//提交表单
//提交表单
createfunctionOk
(){
createfunctionOk
(){
let
obj
=
cloneObject
(
this
.
modifyForm
);
addData
(
obj
).
then
(
res
=>
{
debugger
if
(
res
.
state
==
"success"
)
{
this
.
$notification
.
success
({
message
:
"添加成功!"
,
description
:
""
,
duration
:
4
});
}
else
{
let
msg
=
res
.
msg
!=
undefined
?
res
.
msg
:
"删除成功!"
;
this
.
$notification
.
error
({
message
:
msg
,
description
:
""
,
duration
:
4
});
}
this
.
search
();
});
this
.
modifyvisible
=
false
;
},
},
createfunctionCancel
(){
createfunctionCancel
(){
this
.
modifyvisible
=
false
;
},
deleteActivity
(
id
){
deleteData
({
id
:
id
}).
then
(
res
=>
{
if
(
res
.
state
==
"success"
)
{
this
.
$notification
.
success
({
message
:
"删除成功!"
,
description
:
""
,
duration
:
4
});
}
else
{
this
.
$notification
.
error
({
message
:
"删除失败!"
,
description
:
""
,
duration
:
4
});
}
this
.
search
();
});
},
},
}
}
}
}
...
...
src/views/school-center/broadbandList/kdyList.vue
View file @
003f8580
...
@@ -25,23 +25,24 @@
...
@@ -25,23 +25,24 @@
<!--列表-->
<!--列表-->
<s-table
:locale=
"emptyText"
:columns=
"columns"
:data=
"rowdata"
bordered
ref=
"table"
size=
"small"
class=
"flex-filling"
>
<s-table
:locale=
"emptyText"
:columns=
"columns"
:data=
"rowdata"
bordered
ref=
"table"
size=
"small"
class=
"flex-filling"
>
<template
slot=
"operation"
slot-scope=
"text,record"
>
<template
slot=
"operation"
slot-scope=
"text,record"
>
<a
@
click=
"modifyfunction(record)"
>
编辑
</a
>
<!--
<a
@
click=
"modifyfunction(record)"
>
编辑
</a>
--
>
<a-divider
type=
"vertical"
/
>
<!--
<a-divider
type=
"vertical"
/>
--
>
<a-popconfirm
title=
"是否要删除此行?"
@
confirm=
"deleteActivity(record.id)"
>
<a-popconfirm
title=
"是否要删除此行?"
@
confirm=
"deleteActivity(record.id)"
>
<a>
删除
</a>
<a>
删除
</a>
</a-popconfirm>
</a-popconfirm>
<a-divider
type=
"vertical"
/>
</
template
>
</
template
>
</s-table>
</s-table>
<!--
编辑
----弹框-->
<!--
添加
----弹框-->
<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-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"宽带接入号"
>
<a-input
v-decorator=
"[ 'sort', {rules: [{ required: true, type:'number', message: '宽带接入号不能为空!' ,whitespace:true,transform:(value)=> {return Number(value)} }]} ]"
></a-input>
<a-input
placeholder=
"宽带接入号"
v-model=
"modifyForm.id"
></a-input>
<!-- <a-input v-decorator="[ 'sort', {rules: [{ required: true, type:'number', message: '宽带接入号不能为空!' ,whitespace:true,transform:(value)=> {return Number(value)} }]} ]"></a-input>-->
</a-form-item>
</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-input
v-decorator=
"[ 'sort', {rules: [{ required: true, type:'number', message: '多媒体账号不能为空!' ,whitespace:true,transform:(value)=> {return Number(value)} }]} ]"
></a-input>
<a-input
placeholder=
"多媒体账号"
v-model=
"modifyForm.accountNumber"
></a-input>
<!-- <a-input v-decorator="[ 'sort', {rules: [{ required: true, type:'number', message: '多媒体账号不能为空!' ,whitespace:true,transform:(value)=> {return Number(value)} }]} ]"></a-input>-->
</a-form-item>
</a-form-item>
</a-form>
</a-form>
</a-modal>
</a-modal>
...
@@ -51,6 +52,11 @@
...
@@ -51,6 +52,11 @@
<
script
>
<
script
>
import
STable
from
'@/components/table'
;
import
STable
from
'@/components/table'
;
import
{
cloneObject
}
from
'@/utils/util'
;
import
{
cloneObject
}
from
'@/utils/util'
;
import
{
kdyList
,
addData
,
deleteData
,
}
from
"../../../api/school-center/broadbandList/kdyListAPI"
;
export
default
{
export
default
{
name
:
"kdyList"
,
name
:
"kdyList"
,
components
:
{
components
:
{
...
@@ -90,24 +96,51 @@
...
@@ -90,24 +96,51 @@
}]
}]
,
,
rowdata
:
parameter
=>
{
rowdata
:
parameter
=>
{
const
env
=
process
.
env
.
NODE_ENV
;
//获取当前环境
if
(
env
===
'development'
)
{
//测试环境默认添加前缀
this
.
apis
=
'/api/'
;
}
let
params
=
{
pageNo
:
parameter
.
pageNo
,
pageSize
:
parameter
.
pageSize
};
let
obj
=
cloneObject
(
this
.
queryParam
);
//表示
return
kdyList
(
Object
.
assign
(
params
,
obj
)).
then
(
res
=>
{
let
data
=
{};
if
(
res
.
page
.
state
!==
"success"
)
{
this
.
$message
.
error
(
"查询失败!"
,
5
);
this
.
emptyText
.
emptyText
=
'查询失败!'
data
=
{
data
:
[],
pageSize
:
parameter
.
pageSize
,
pageNo
:
1
,
totalCount
:
0
};
}
else
{
data
=
{
data
:
res
.
page
.
data
.
records
,
pageSize
:
parameter
.
pageSize
,
pageNo
:
parameter
.
pageNo
,
totalCount
:
res
.
page
.
data
.
total
};
}
return
data
;
});
}
}
}
}
},
},
methods
:{
methods
:{
deleteActivity
(
id
){
},
search
()
{
search
()
{
this
.
$refs
.
table
.
refresh
({
search
:
true
})
this
.
$refs
.
table
.
refresh
({
search
:
true
})
},
},
add
(){
add
(){
this
.
titleName
=
"添加"
this
.
titleName
=
"添加"
this
.
modifyForm
.
id
=
''
;
this
.
modifyForm
.
id
=
''
;
this
.
modifyForm
.
accountNumber
=
''
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
Formtable
.
setFieldsValue
({
this
.
Formtable
.
setFieldsValue
({
id
:
''
,
id
:
""
,
accountNumber
:
""
,
accountNumber
:
""
,
})
})
},
0
)
},
0
)
...
@@ -118,10 +151,46 @@
...
@@ -118,10 +151,46 @@
},
},
//提交表单
//提交表单
createfunctionOk
(){
createfunctionOk
(){
let
obj
=
cloneObject
(
this
.
modifyForm
);
addData
(
obj
).
then
(
res
=>
{
if
(
res
.
state
==
"success"
)
{
this
.
$notification
.
success
({
message
:
"添加成功!"
,
description
:
""
,
duration
:
4
});
}
else
{
let
msg
=
res
.
msg
!=
undefined
?
res
.
msg
:
"添加失败!"
;
this
.
$notification
.
error
({
message
:
msg
,
description
:
""
,
duration
:
4
});
}
this
.
search
();
});
this
.
modifyvisible
=
false
;
},
},
createfunctionCancel
(){
createfunctionCancel
(){
this
.
modifyvisible
=
false
;
},
deleteActivity
(
id
){
deleteData
({
id
:
id
}).
then
(
res
=>
{
if
(
res
.
state
==
"success"
)
{
this
.
$notification
.
success
({
message
:
"删除成功!"
,
description
:
""
,
duration
:
4
});
}
else
{
this
.
$notification
.
error
({
message
:
"删除失败!"
,
description
:
""
,
duration
:
4
});
}
this
.
search
();
});
},
},
}
}
}
}
...
...
src/views/school-center/broadbandList/multimediaAccount.vue
View file @
003f8580
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<a-row
:gutter=
"24"
>
<a-row
:gutter=
"24"
>
<a-col
:md=
"4"
:sm=
"8"
>
<a-col
:md=
"4"
:sm=
"8"
>
<a-form-item
label=
"多媒体账号:"
>
<a-form-item
label=
"多媒体账号:"
>
<a-input
placeholder=
"多媒体账号"
v-model=
"queryParam.orderCustomerAccount
"
></a-input>
<a-input
placeholder=
"多媒体账号"
v-model=
"queryParam.accountNumber
"
></a-input>
</a-form-item>
</a-form-item>
</a-col>
</a-col>
...
@@ -28,17 +28,21 @@
...
@@ -28,17 +28,21 @@
<a-popconfirm
title=
"是否要删除此行?"
@
confirm=
"deleteActivity(record.id)"
>
<a-popconfirm
title=
"是否要删除此行?"
@
confirm=
"deleteActivity(record.id)"
>
<a>
删除
</a>
<a>
删除
</a>
</a-popconfirm>
</a-popconfirm>
<a-divider
type=
"vertical"
/
>
<!--
<a-divider
type=
"vertical"
/>
--
>
</
template
>
</
template
>
</s-table>
</s-table>
<!--编辑
----弹框-->
<!--添加
----弹框-->
<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-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"宽带接入号"
>
<a-input
v-decorator=
"[ 'sort', {rules: [{ required: true, type:'number', message: '排序号不能为空!' ,whitespace:true,transform:(value)=> {return Number(value)} }]} ]"
></a-input>
<a-input
placeholder=
"宽带接入号"
v-model=
"modifyForm.id"
></a-input>
<!-- <a-input v-decorator="[ 'sort', {rules: [{ required: true, type:'number', message: '宽带接入号不能为空!' ,whitespace:true,transform:(value)=> {return Number(value)} }]} ]"></a-input>-->
</a-form-item>
<a-form-item
:labelCol=
"{span: 6}"
:wrapperCol=
"{span: 8, offset: 1}"
label=
"多媒体账号"
>
<a-input
placeholder=
"多媒体账号"
v-model=
"modifyForm.accountNumber"
></a-input>
<!-- <a-input v-decorator="[ 'sort', {rules: [{ required: true, type:'number', message: '多媒体账号不能为空!' ,whitespace:true,transform:(value)=> {return Number(value)} }]} ]"></a-input>-->
</a-form-item>
</a-form-item>
</a-form>
</a-form>
</a-modal>
</a-modal>
</div>
</div>
...
@@ -47,6 +51,11 @@
...
@@ -47,6 +51,11 @@
<
script
>
<
script
>
import
STable
from
'@/components/table'
;
import
STable
from
'@/components/table'
;
import
{
cloneObject
}
from
'@/utils/util'
;
import
{
cloneObject
}
from
'@/utils/util'
;
import
{
multimediaAccount
,
addData
,
deleteData
,
}
from
"../../../api/school-center/broadbandList/multimediaAccountAPI"
;
export
default
{
export
default
{
name
:
"multimediaAccount"
,
name
:
"multimediaAccount"
,
components
:
{
components
:
{
...
@@ -81,8 +90,8 @@
...
@@ -81,8 +90,8 @@
modifyvisible
:
false
,
modifyvisible
:
false
,
visiblepicture
:
false
,
visiblepicture
:
false
,
columns
:
[
columns
:
[
{
dataIndex
:
''
,
width
:
200
,
title
:
'宽带接入号'
,
align
:
"center"
},
{
dataIndex
:
'
id
'
,
width
:
200
,
title
:
'宽带接入号'
,
align
:
"center"
},
{
dataIndex
:
'
orderCustomerAccount
'
,
width
:
200
,
title
:
'多媒体账号'
,
align
:
"center"
},
{
dataIndex
:
'
accountNumber
'
,
width
:
200
,
title
:
'多媒体账号'
,
align
:
"center"
},
{
{
dataIndex
:
'operation'
,
dataIndex
:
'operation'
,
width
:
200
,
width
:
200
,
...
@@ -93,18 +102,49 @@
...
@@ -93,18 +102,49 @@
}]
}]
,
,
rowdata
:
parameter
=>
{
rowdata
:
parameter
=>
{
const
env
=
process
.
env
.
NODE_ENV
;
//获取当前环境
if
(
env
===
'development'
)
{
//测试环境默认添加前缀
this
.
apis
=
'/api/'
;
}
let
params
=
{
pageNo
:
parameter
.
pageNo
,
pageSize
:
parameter
.
pageSize
};
let
obj
=
cloneObject
(
this
.
queryParam
);
//表示
return
multimediaAccount
(
Object
.
assign
(
params
,
obj
)).
then
(
res
=>
{
let
data
=
{};
if
(
res
.
page
.
state
!==
"success"
)
{
this
.
$message
.
error
(
"查询失败!"
,
5
);
this
.
emptyText
.
emptyText
=
'查询失败!'
data
=
{
data
:
[],
pageSize
:
parameter
.
pageSize
,
pageNo
:
1
,
totalCount
:
0
};
}
else
{
data
=
{
data
:
res
.
page
.
data
.
records
,
pageSize
:
parameter
.
pageSize
,
pageNo
:
parameter
.
pageNo
,
totalCount
:
res
.
page
.
data
.
total
};
}
return
data
;
});
}
}
}
}
},
},
methods
:{
methods
:{
deleteActivity
(
id
){
},
search
()
{
search
()
{
this
.
$refs
.
table
.
refresh
({
search
:
true
})
this
.
$refs
.
table
.
refresh
({
search
:
true
})
},
},
add
(){
add
(){
this
.
titleName
=
"添加"
this
.
titleName
=
"添加"
this
.
modifyForm
.
id
=
''
;
this
.
modifyForm
.
id
=
''
;
this
.
modifyForm
.
accountNumber
=
''
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
this
.
Formtable
.
setFieldsValue
({
this
.
Formtable
.
setFieldsValue
({
id
:
''
,
id
:
''
,
...
@@ -115,10 +155,46 @@
...
@@ -115,10 +155,46 @@
},
},
//提交表单
//提交表单
createfunctionOk
(){
createfunctionOk
(){
let
obj
=
cloneObject
(
this
.
modifyForm
);
addData
(
obj
).
then
(
res
=>
{
if
(
res
.
state
==
"success"
)
{
this
.
$notification
.
success
({
message
:
"添加成功!"
,
description
:
""
,
duration
:
4
});
}
else
{
let
msg
=
res
.
msg
!=
undefined
?
res
.
msg
:
"删除成功!"
;
this
.
$notification
.
error
({
message
:
msg
,
description
:
""
,
duration
:
4
});
}
this
.
search
();
});
this
.
modifyvisible
=
false
;
},
},
createfunctionCancel
(){
createfunctionCancel
(){
this
.
modifyvisible
=
false
;
},
deleteActivity
(
id
){
deleteData
({
id
:
id
}).
then
(
res
=>
{
if
(
res
.
state
==
"success"
)
{
this
.
$notification
.
success
({
message
:
"删除成功!"
,
description
:
""
,
duration
:
4
});
}
else
{
this
.
$notification
.
error
({
message
:
"删除失败!"
,
description
:
""
,
duration
:
4
});
}
this
.
search
();
});
},
},
}
}
}
}
...
...
src/views/school-center/order/order.vue
View file @
003f8580
...
@@ -950,7 +950,6 @@
...
@@ -950,7 +950,6 @@
});
});
}
}
});
});
this
.
iccidConfigClear
();
this
.
iccidConfigClear
();
},
},
iccidConfigCancel
()
{
iccidConfigCancel
()
{
...
...
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