Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
3a4ab14d
authored
2022-12-08 09:04:49 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:中心日志
1 parent
0ad07283
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
4 deletions
src/components/DialogBox/dialogBox.vue
src/views/zxrz/components/detailDialog.vue
src/views/zxrz/index.vue
src/components/DialogBox/dialogBox.vue
View file @
3a4ab14
...
...
@@ -48,7 +48,7 @@ export default {
},
isFullscreen
:
{
type
:
Boolean
,
default
:
tru
e
,
default
:
fals
e
,
},
isSave
:
{
type
:
Boolean
,
...
...
src/views/zxrz/components/detailDialog.vue
0 → 100644
View file @
3a4ab14
<
template
>
<!-- 编辑 -->
<dialogBox
title=
"操作内容"
@
closeDialog=
"closeDialog"
@
submitForm=
"handleSubmit"
v-model=
"myValue"
>
<p>
2222222222222222222222
</p>
</dialogBox>
</
template
>
<
script
>
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
},
data
()
{
return
{
myValue
:
this
.
value
,
}
},
watch
:
{
value
(
val
)
{
this
.
myValue
=
val
}
},
methods
:
{
closeDialog
()
{
this
.
$emit
(
'input'
,
false
)
},
handleSubmit
()
{
this
.
$emit
(
'input'
,
false
)
}
}
}
</
script
>
\ No newline at end of file
src/views/zxrz/index.vue
View file @
3a4ab14
...
...
@@ -45,6 +45,7 @@
:data=
"tableData.data"
>
</lb-table>
</div>
<detailDialog
v-model=
"isShow"
/>
</div>
</
template
>
<
script
>
...
...
@@ -53,11 +54,18 @@
import
data
from
"./data"
// 引入列表混入方法
import
tableMixin
from
'@/mixins/tableMixin.js'
// 引入详情
import
detailDialog
from
'./components/detailDialog.vue'
export
default
{
name
:
"zxrz"
,
mixins
:
[
tableMixin
],
// 注册组件
components
:
{
detailDialog
},
data
()
{
return
{
isShow
:
false
,
// 开始结束日期限制
pickerOptionsStart
:
{
disabledDate
:
(
time
)
=>
{
...
...
@@ -120,8 +128,6 @@ export default {
<
el
-
button
type
=
"text"
size
=
"mini"
icon
=
"el-icon-edit"
style
=
"margin-left: 10px"
onClick
=
{()
=>
{
this
.
handleDetails
(
scope
.
row
)
}}
>
详情
...
...
@@ -132,7 +138,7 @@ export default {
}
]),
// 列表
data
:
[]
data
:
[
{}
]
},
// 分页
pageData
:
{
...
...
@@ -150,6 +156,7 @@ export default {
async
featchData
()
{
},
handleDetails
(
row
)
{
this
.
isShow
=
true
}
}
}
...
...
Please
register
or
sign in
to post a comment