Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-web
/
tFIMS
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e5d040b7
authored
Sep 11, 2019
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
合并
1 parent
1a6e057e
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
71 additions
and
71 deletions
src/views/deviceManagement/editDialog.vue
src/views/deviceManagement/index.vue
src/views/maintainManagement/index.vue
src/views/materiaOrderManagement/detailDialog.vue
src/views/materiaOrderManagement/index.vue
src/views/subSysManagement/index.vue
src/views/deviceManagement/editDialog.vue
View file @
e5d040b
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
import
{
isExistApi
}
from
'@api/deviceManagement'
import
{
isExistApi
}
from
'@api/deviceManagement'
export
default
{
export
default
{
name
:
'EditDialog'
,
name
:
'EditDialog'
,
data
()
{
data
()
{
return
{
return
{
deviceNum
:
''
,
deviceNum
:
''
,
deviceCode
:
''
,
deviceCode
:
''
,
...
@@ -142,31 +142,31 @@ export default {
...
@@ -142,31 +142,31 @@ export default {
},
},
watch
:
{
watch
:
{
isVisible
(
val
)
{
isVisible
(
val
)
{
val
&&
(
this
.
deviceNum
=
this
.
editForm
.
deviceNum
)
val
&&
(
this
.
deviceNum
=
this
.
editForm
.
deviceNum
)
val
&&
(
this
.
deviceName
=
this
.
editForm
.
deviceName
)
val
&&
(
this
.
deviceName
=
this
.
editForm
.
deviceName
)
this
.
$refs
.
editRuleForm
&&
this
.
$refs
.
editRuleForm
.
resetFields
()
this
.
$refs
.
editRuleForm
&&
this
.
$refs
.
editRuleForm
.
resetFields
()
}
}
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
async
isCodeExist
(
rule
,
value
,
callback
)
{
async
isCodeExist
(
rule
,
value
,
callback
)
{
if
(
this
.
deviceNum
!==
value
||
this
.
deviceName
!==
this
.
editForm
.
deviceName
)
{
if
(
this
.
deviceNum
!==
value
||
this
.
deviceName
!==
this
.
editForm
.
deviceName
)
{
const
res
=
await
isExistApi
({
deviceNum
:
value
,
deviceName
:
this
.
editForm
.
deviceName
,
stationCode
:
this
.
editForm
.
stationCode
})
const
res
=
await
isExistApi
({
deviceNum
:
value
,
deviceName
:
this
.
editForm
.
deviceName
,
stationCode
:
this
.
editForm
.
stationCode
})
res
.
deviceNum
?
callback
(
new
Error
(
rule
.
message
))
:
callback
()
res
.
deviceNum
?
callback
(
new
Error
(
rule
.
message
))
:
callback
()
}
}
},
},
validateCode
(
value
)
{
validateCode
(
value
)
{
this
.
$refs
.
editRuleForm
.
validateField
(
'deviceNum'
)
this
.
$refs
.
editRuleForm
.
validateField
(
'deviceNum'
)
},
},
handleClose
()
{
handleClose
()
{
this
.
$emit
(
'closeDialog'
)
this
.
$emit
(
'closeDialog'
)
},
},
handleConfirm
()
{
handleConfirm
()
{
this
.
$refs
.
editRuleForm
.
validate
((
vaild
)
=>
{
this
.
$refs
.
editRuleForm
.
validate
((
vaild
)
=>
{
if
(
vaild
)
{
if
(
vaild
)
{
this
.
$emit
(
'confirmDialog'
)
this
.
$emit
(
'confirmDialog'
)
...
...
src/views/deviceManagement/index.vue
View file @
e5d040b
...
@@ -109,7 +109,7 @@ export default {
...
@@ -109,7 +109,7 @@ export default {
components
:
{
components
:
{
EditDialog
EditDialog
},
},
data
()
{
data
()
{
return
{
return
{
// 编辑弹窗
// 编辑弹窗
editVisible
:
false
,
editVisible
:
false
,
...
@@ -173,23 +173,23 @@ export default {
...
@@ -173,23 +173,23 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
loadingGetList
()
this
.
loadingGetList
()
this
.
loadBaseData
()
this
.
loadBaseData
()
},
},
methods
:
{
methods
:
{
async
loadBaseData
()
{
async
loadBaseData
()
{
const
data
=
await
this
.
$store
.
dispatch
(
'd2admin/base/get'
,
BaseData
.
STATION
.
KEY
)
const
data
=
await
this
.
$store
.
dispatch
(
'd2admin/base/get'
,
BaseData
.
STATION
.
KEY
)
this
.
baseData
.
station
=
data
this
.
baseData
.
station
=
data
},
},
loadingGetList
()
{
loadingGetList
()
{
this
.
tableLoading
=
true
this
.
tableLoading
=
true
this
.
getList
()
this
.
getList
()
},
},
/* 接口请求-start */
/* 接口请求-start */
getParams
()
{
getParams
()
{
return
{
return
{
pageCount
:
this
.
pageSize
,
pageCount
:
this
.
pageSize
,
pageSize
:
this
.
currentPage
,
pageSize
:
this
.
currentPage
,
...
@@ -197,7 +197,7 @@ export default {
...
@@ -197,7 +197,7 @@ export default {
}
}
},
},
getList
()
{
getList
()
{
const
params
=
this
.
getParams
()
const
params
=
this
.
getParams
()
getListApi
(
params
).
then
(
res
=>
{
getListApi
(
params
).
then
(
res
=>
{
this
.
tableData
=
res
.
deviceList
this
.
tableData
=
res
.
deviceList
...
@@ -209,12 +209,12 @@ export default {
...
@@ -209,12 +209,12 @@ export default {
})
})
},
},
delObjMutiAttr
(
obj
,
keys
)
{
delObjMutiAttr
(
obj
,
keys
)
{
keys
.
map
(
key
=>
delete
obj
[
key
])
keys
.
map
(
key
=>
delete
obj
[
key
])
return
obj
return
obj
},
},
editDevice
(
params
)
{
editDevice
(
params
)
{
params
=
this
.
delObjMutiAttr
(
params
,
[
'createTime'
,
'keyWord'
,
'pageCount'
,
'pageSize'
,
'updateTime'
,
'stationName'
,
'stationCode'
])
params
=
this
.
delObjMutiAttr
(
params
,
[
'createTime'
,
'keyWord'
,
'pageCount'
,
'pageSize'
,
'updateTime'
,
'stationName'
,
'stationCode'
])
// console.log(params)
// console.log(params)
editApi
(
params
).
then
(
res
=>
{
editApi
(
params
).
then
(
res
=>
{
...
@@ -227,7 +227,7 @@ export default {
...
@@ -227,7 +227,7 @@ export default {
},
},
// 导入
// 导入
importFile
(
e
)
{
importFile
(
e
)
{
const
name
=
e
.
target
.
files
[
0
].
name
const
name
=
e
.
target
.
files
[
0
].
name
this
.
fileInfo
.
fileType
=
name
.
split
(
'.'
)[
1
]
this
.
fileInfo
.
fileType
=
name
.
split
(
'.'
)[
1
]
// // 转码base64
// // 转码base64
...
@@ -272,7 +272,7 @@ export default {
...
@@ -272,7 +272,7 @@ export default {
}
}
},
},
exportFile
()
{
exportFile
()
{
const
params
=
this
.
getParams
()
const
params
=
this
.
getParams
()
exportApi
(
params
).
then
(
res
=>
{
exportApi
(
params
).
then
(
res
=>
{
this
.
$open
(
res
.
url
)
this
.
$open
(
res
.
url
)
...
@@ -283,40 +283,40 @@ export default {
...
@@ -283,40 +283,40 @@ export default {
},
},
/* 接口请求-end */
/* 接口请求-end */
// 搜索
// 搜索
handleSearch
()
{
handleSearch
()
{
this
.
loadingGetList
()
this
.
loadingGetList
()
},
},
// 页码
// 页码
handleSizeChange
(
value
)
{
handleSizeChange
(
value
)
{
this
.
pageSize
=
value
this
.
pageSize
=
value
// 调接口
// 调接口
this
.
loadingGetList
()
this
.
loadingGetList
()
},
},
handleCurrentChange
(
value
)
{
handleCurrentChange
(
value
)
{
this
.
currentPage
=
value
this
.
currentPage
=
value
// 调接口
// 调接口
this
.
loadingGetList
()
this
.
loadingGetList
()
},
},
handleEditClose
()
{
handleEditClose
()
{
this
.
editVisible
=
!
this
.
editVisible
this
.
editVisible
=
!
this
.
editVisible
},
},
handleEditConfirm
()
{
handleEditConfirm
()
{
var
editParams
=
_
.
cloneDeep
(
this
.
editForm
)
var
editParams
=
_
.
cloneDeep
(
this
.
editForm
)
this
.
editDevice
(
editParams
)
this
.
editDevice
(
editParams
)
},
},
// 表格-编辑
// 表格-编辑
handleEdit
(
row
)
{
handleEdit
(
row
)
{
// console.log(row)
// console.log(row)
this
.
editForm
=
_
.
cloneDeep
(
row
)
this
.
editForm
=
_
.
cloneDeep
(
row
)
this
.
editVisible
=
!
this
.
editVisible
this
.
editVisible
=
!
this
.
editVisible
},
},
handleDelete
(
row
)
{
handleDelete
(
row
)
{
this
.
$confirm
(
'确认删除?'
,
'删除'
,
{
this
.
$confirm
(
'确认删除?'
,
'删除'
,
{
comfirmButtonText
:
'确认'
,
comfirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
...
...
src/views/maintainManagement/index.vue
View file @
e5d040b
...
@@ -115,7 +115,7 @@ import { mapActions } from 'vuex'
...
@@ -115,7 +115,7 @@ import { mapActions } from 'vuex'
import
notice
from
'@/common/notice'
import
notice
from
'@/common/notice'
export
default
{
export
default
{
name
:
'fimsMaintainManagement'
,
name
:
'fimsMaintainManagement'
,
data
()
{
data
()
{
return
{
return
{
// 搜索
// 搜索
searchForm
:
{
searchForm
:
{
...
@@ -299,12 +299,12 @@ export default {
...
@@ -299,12 +299,12 @@ export default {
},
},
watch
:
{
watch
:
{
'searchForm.createTime'
(
value
)
{
'searchForm.createTime'
(
value
)
{
!
value
&&
this
.
loadingGetList
()
!
value
&&
this
.
loadingGetList
()
}
}
},
},
mounted
()
{
mounted
()
{
this
.
loadingGetList
()
this
.
loadingGetList
()
this
.
loadBaseData
()
this
.
loadBaseData
()
},
},
...
@@ -312,7 +312,7 @@ export default {
...
@@ -312,7 +312,7 @@ export default {
methods
:
{
methods
:
{
...
mapActions
(
'd2admin/base'
,
[
'load'
]),
...
mapActions
(
'd2admin/base'
,
[
'load'
]),
async
loadBaseData
()
{
async
loadBaseData
()
{
const
modelToOptions
=
{
'stationCode'
:
'station'
,
'subsystemTypeCode'
:
'subsys'
}
const
modelToOptions
=
{
'stationCode'
:
'station'
,
'subsystemTypeCode'
:
'subsys'
}
const
data
=
await
this
.
load
()
const
data
=
await
this
.
load
()
if
(
data
)
{
if
(
data
)
{
...
@@ -323,22 +323,22 @@ export default {
...
@@ -323,22 +323,22 @@ export default {
}
}
},
},
loadingGetList
()
{
loadingGetList
()
{
this
.
tableLoading
=
true
this
.
tableLoading
=
true
this
.
getList
()
this
.
getList
()
},
},
/* 接口请求-start */
/* 接口请求-start */
getParams
()
{
getParams
()
{
var
time
=
[{
attr
:
'startTime'
,
addTime
:
'00:00:00'
},
{
attr
:
'endTime'
,
addTime
:
'23:59:59'
}]
var
time
=
[{
attr
:
'startTime'
,
addTime
:
'00:00:00'
},
{
attr
:
'endTime'
,
addTime
:
'23:59:59'
}]
this
.
searchForm
.
createTime
&&
this
.
searchForm
.
createTime
.
map
((
value
,
i
)
=>
this
.
searchForm
[
time
[
i
].
attr
]
=
value
+
' '
+
time
[
i
].
addTime
)
this
.
searchForm
.
createTime
&&
this
.
searchForm
.
createTime
.
map
((
value
,
i
)
=>
(
this
.
searchForm
[
time
[
i
].
attr
]
=
value
+
' '
+
time
[
i
].
addTime
)
)
return
{
return
{
pageCount
:
this
.
pageSize
,
pageCount
:
this
.
pageSize
,
pageSize
:
this
.
currentPage
,
pageSize
:
this
.
currentPage
,
...
this
.
searchForm
...
this
.
searchForm
}
}
},
},
getList
()
{
getList
()
{
const
params
=
this
.
getParams
()
const
params
=
this
.
getParams
()
delete
params
.
createTime
delete
params
.
createTime
// console.log(params)
// console.log(params)
...
@@ -351,7 +351,7 @@ export default {
...
@@ -351,7 +351,7 @@ export default {
this
.
tableLoading
=
false
this
.
tableLoading
=
false
})
})
},
},
exportOrder
()
{
exportOrder
()
{
const
params
=
this
.
getParams
()
const
params
=
this
.
getParams
()
delete
params
.
createTime
delete
params
.
createTime
exportApi
(
params
).
then
(
res
=>
{
exportApi
(
params
).
then
(
res
=>
{
...
@@ -363,24 +363,24 @@ export default {
...
@@ -363,24 +363,24 @@ export default {
},
},
/* 接口请求-end */
/* 接口请求-end */
// 搜索
// 搜索
handleSearch
()
{
handleSearch
()
{
this
.
loadingGetList
()
this
.
loadingGetList
()
},
},
// 页码
// 页码
handleSizeChange
(
value
)
{
handleSizeChange
(
value
)
{
this
.
pageSize
=
value
this
.
pageSize
=
value
// 调接口
// 调接口
this
.
loadingGetList
()
this
.
loadingGetList
()
},
},
handleCurrentChange
(
value
)
{
handleCurrentChange
(
value
)
{
this
.
currentPage
=
value
this
.
currentPage
=
value
// 调接口
// 调接口
this
.
loadingGetList
()
this
.
loadingGetList
()
},
},
handleDelete
(
row
)
{
handleDelete
(
row
)
{
this
.
$confirm
(
'确认删除?'
,
'删除'
,
{
this
.
$confirm
(
'确认删除?'
,
'删除'
,
{
comfirmButtonText
:
'确认'
,
comfirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
...
...
src/views/materiaOrderManagement/detailDialog.vue
View file @
e5d040b
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'DetailDialog'
,
name
:
'DetailDialog'
,
data
()
{
data
()
{
return
{
return
{
}
}
},
},
...
@@ -29,10 +29,10 @@ export default {
...
@@ -29,10 +29,10 @@ export default {
pdfUrl
:
String
pdfUrl
:
String
},
},
mounted
()
{},
mounted
()
{},
methods
:
{
methods
:
{
handleClose
()
{
handleClose
()
{
this
.
$emit
(
'closeDialog'
)
this
.
$emit
(
'closeDialog'
)
}
}
}
}
...
...
src/views/materiaOrderManagement/index.vue
View file @
e5d040b
...
@@ -121,7 +121,7 @@ export default {
...
@@ -121,7 +121,7 @@ export default {
components
:
{
components
:
{
DetailDialog
DetailDialog
},
},
data
()
{
data
()
{
return
{
return
{
detailVisible
:
false
,
detailVisible
:
false
,
dialogTitle
:
''
,
dialogTitle
:
''
,
...
@@ -189,23 +189,23 @@ export default {
...
@@ -189,23 +189,23 @@ export default {
},
},
watch
:
{
watch
:
{
'searchForm.createTime'
(
value
)
{
'searchForm.createTime'
(
value
)
{
!
value
&&
this
.
loadingGetList
()
!
value
&&
this
.
loadingGetList
()
}
}
},
},
mounted
()
{
mounted
()
{
this
.
loadingGetList
()
this
.
loadingGetList
()
},
},
methods
:
{
methods
:
{
loadingGetList
()
{
loadingGetList
()
{
this
.
tableLoading
=
true
this
.
tableLoading
=
true
this
.
getList
()
this
.
getList
()
},
},
/* 接口请求-start */
/* 接口请求-start */
getParams
()
{
getParams
()
{
var
time
=
[{
attr
:
'startTime'
,
addTime
:
'00:00:00'
},
{
attr
:
'endTime'
,
addTime
:
'23:59:59'
}]
var
time
=
[{
attr
:
'startTime'
,
addTime
:
'00:00:00'
},
{
attr
:
'endTime'
,
addTime
:
'23:59:59'
}]
this
.
searchForm
.
createTime
&&
this
.
searchForm
.
createTime
.
map
((
value
,
i
)
=>
this
.
searchForm
[
time
[
i
].
attr
]
=
value
+
' '
+
time
[
i
].
addTime
)
this
.
searchForm
.
createTime
&&
this
.
searchForm
.
createTime
.
map
((
value
,
i
)
=>
this
.
searchForm
[
time
[
i
].
attr
]
=
value
+
' '
+
time
[
i
].
addTime
)
return
{
return
{
pageCount
:
this
.
pageSize
,
pageCount
:
this
.
pageSize
,
...
@@ -213,7 +213,7 @@ export default {
...
@@ -213,7 +213,7 @@ export default {
...
this
.
searchForm
...
this
.
searchForm
}
}
},
},
getList
()
{
getList
()
{
const
params
=
this
.
getParams
()
const
params
=
this
.
getParams
()
!
params
.
orderCode
&&
delete
params
.
orderCode
!
params
.
orderCode
&&
delete
params
.
orderCode
delete
params
.
createTime
delete
params
.
createTime
...
@@ -228,7 +228,7 @@ export default {
...
@@ -228,7 +228,7 @@ export default {
})
})
},
},
exportFile
()
{
exportFile
()
{
const
params
=
this
.
getParams
()
const
params
=
this
.
getParams
()
!
params
.
orderCode
&&
delete
params
.
orderCode
!
params
.
orderCode
&&
delete
params
.
orderCode
delete
params
.
createTime
delete
params
.
createTime
...
@@ -241,29 +241,29 @@ export default {
...
@@ -241,29 +241,29 @@ export default {
},
},
/* 接口请求-end */
/* 接口请求-end */
// 搜索
// 搜索
handleSearch
()
{
handleSearch
()
{
this
.
loadingGetList
()
this
.
loadingGetList
()
},
},
// 页码
// 页码
handleSizeChange
(
value
)
{
handleSizeChange
(
value
)
{
this
.
pageSize
=
value
this
.
pageSize
=
value
// 调接口
// 调接口
this
.
loadingGetList
()
this
.
loadingGetList
()
},
},
handleCurrentChange
(
value
)
{
handleCurrentChange
(
value
)
{
this
.
currentPage
=
value
this
.
currentPage
=
value
// 调接口
// 调接口
this
.
loadingGetList
()
this
.
loadingGetList
()
},
},
handleDetailClose
()
{
handleDetailClose
()
{
this
.
detailVisible
=
!
this
.
detailVisible
this
.
detailVisible
=
!
this
.
detailVisible
},
},
// 表格-查看详情
// 表格-查看详情
handleDetail
(
row
)
{
handleDetail
(
row
)
{
downloadApi
({
downloadApi
({
orderCode
:
row
.
orderCode
orderCode
:
row
.
orderCode
}).
then
(
res
=>
{
}).
then
(
res
=>
{
...
@@ -275,7 +275,7 @@ export default {
...
@@ -275,7 +275,7 @@ export default {
})
})
},
},
handleDelete
(
row
)
{
handleDelete
(
row
)
{
this
.
$confirm
(
'确认删除?'
,
'删除'
,
{
this
.
$confirm
(
'确认删除?'
,
'删除'
,
{
comfirmButtonText
:
'确认'
,
comfirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
...
...
src/views/subSysManagement/index.vue
View file @
e5d040b
...
@@ -123,7 +123,7 @@ export default {
...
@@ -123,7 +123,7 @@ export default {
components
:
{
components
:
{
EditDialog
EditDialog
},
},
data
()
{
data
()
{
return
{
return
{
// 远程搜索-返回数组
// 远程搜索-返回数组
// remoteOptionArr: {
// remoteOptionArr: {
...
@@ -200,13 +200,13 @@ export default {
...
@@ -200,13 +200,13 @@ export default {
}
}
},
},
mounted
()
{
mounted
()
{
this
.
loadingGetList
()
this
.
loadingGetList
()
this
.
loadBaseData
()
this
.
loadBaseData
()
},
},
methods
:
{
methods
:
{
async
loadBaseData
()
{
async
loadBaseData
()
{
const
data
=
await
this
.
$store
.
dispatch
(
'd2admin/base/get'
,
BaseData
.
SUBSYS
.
KEY
)
const
data
=
await
this
.
$store
.
dispatch
(
'd2admin/base/get'
,
BaseData
.
SUBSYS
.
KEY
)
this
.
baseData
.
subsys
=
data
this
.
baseData
.
subsys
=
data
},
},
...
@@ -222,12 +222,12 @@ export default {
...
@@ -222,12 +222,12 @@ export default {
// this.loadingGetList()
// this.loadingGetList()
// },
// },
loadingGetList
()
{
loadingGetList
()
{
this
.
tableLoading
=
true
this
.
tableLoading
=
true
this
.
getList
()
this
.
getList
()
},
},
/* 接口请求-start */
/* 接口请求-start */
getParams
()
{
getParams
()
{
return
{
return
{
pageCount
:
this
.
pageSize
,
pageCount
:
this
.
pageSize
,
pageSize
:
this
.
currentPage
,
pageSize
:
this
.
currentPage
,
...
@@ -244,7 +244,7 @@ export default {
...
@@ -244,7 +244,7 @@ export default {
// })
// })
// },
// },
getList
()
{
getList
()
{
const
params
=
this
.
getParams
()
const
params
=
this
.
getParams
()
getListApi
(
params
).
then
(
res
=>
{
getListApi
(
params
).
then
(
res
=>
{
this
.
tableData
=
res
.
subsystemList
this
.
tableData
=
res
.
subsystemList
...
@@ -256,10 +256,10 @@ export default {
...
@@ -256,10 +256,10 @@ export default {
})
})
},
},
editSubSystem
(
value
)
{
editSubSystem
(
value
)
{
// console.log(value)
// console.log(value)
const
params
=
_
.
cloneDeep
(
this
.
editFormReset
)
const
params
=
_
.
cloneDeep
(
this
.
editFormReset
)
Object
.
keys
(
params
).
map
(
key
=>
params
[
key
]
=
value
[
key
]
)
Object
.
keys
(
params
).
map
(
key
=>
(
params
[
key
]
=
value
[
key
])
)
params
.
subsystemType
=
this
.
baseData
.
subsys
.
find
(
item
=>
item
.
confCode
===
params
.
subsystemTypeCode
).
confValue
params
.
subsystemType
=
this
.
baseData
.
subsys
.
find
(
item
=>
item
.
confCode
===
params
.
subsystemTypeCode
).
confValue
if
(
!
value
.
id
)
{
if
(
!
value
.
id
)
{
delete
params
.
id
delete
params
.
id
...
@@ -279,39 +279,39 @@ export default {
...
@@ -279,39 +279,39 @@ export default {
},
},
/* 接口请求-end */
/* 接口请求-end */
// 搜索
// 搜索
handleSearch
()
{
handleSearch
()
{
this
.
loadingGetList
()
this
.
loadingGetList
()
},
},
// 页码
// 页码
handleSizeChange
(
value
)
{
handleSizeChange
(
value
)
{
this
.
pageSize
=
value
this
.
pageSize
=
value
// 调接口
// 调接口
this
.
loadingGetList
()
this
.
loadingGetList
()
},
},
handleCurrentChange
(
value
)
{
handleCurrentChange
(
value
)
{
this
.
currentPage
=
value
this
.
currentPage
=
value
// 调接口
// 调接口
this
.
loadingGetList
()
this
.
loadingGetList
()
},
},
handleEditClose
()
{
handleEditClose
()
{
this
.
editVisible
=
!
this
.
editVisible
this
.
editVisible
=
!
this
.
editVisible
},
},
handleEditConfirm
()
{
handleEditConfirm
()
{
var
editParams
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
editForm
))
var
editParams
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
editForm
))
this
.
editSubSystem
(
editParams
)
this
.
editSubSystem
(
editParams
)
},
},
// 表格-编辑
// 表格-编辑
handleEdit
(
row
)
{
handleEdit
(
row
)
{
this
.
editForm
=
JSON
.
parse
(
JSON
.
stringify
(
row
))
this
.
editForm
=
JSON
.
parse
(
JSON
.
stringify
(
row
))
this
.
editVisible
=
!
this
.
editVisible
this
.
editVisible
=
!
this
.
editVisible
},
},
handleDelete
(
row
)
{
handleDelete
(
row
)
{
this
.
$confirm
(
'确认删除?'
,
'删除'
,
{
this
.
$confirm
(
'确认删除?'
,
'删除'
,
{
comfirmButtonText
:
'确认'
,
comfirmButtonText
:
'确认'
,
cancelButtonText
:
'取消'
,
cancelButtonText
:
'取消'
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment