Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-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
466409f6
authored
2022-12-15 15:31:44 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:登记模板
1 parent
af9094f6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
21 deletions
src/views/system/qtjfjmb/components/editDialog.vue
src/views/system/qtjfjmb/qtjfjmb.vue
src/views/system/qtjfjmb/components/editDialog.vue
View file @
466409f
<
template
>
<dialogBox
title=
"其他及附记模板"
@
submitForm=
"submitForm"
width=
"60%"
@
closeDialog=
"closeDialog"
v-model=
"myValue"
>
<dialogBox
title=
"其他及附记模板"
@
submitForm=
"submitForm"
width=
"60%"
class=
"loadingtext"
@
closeDialog=
"closeDialog"
v-model=
"myValue"
>
<div
class=
"qtjfjmb-edit-title"
>
<b>
权利信息
</b>
</div>
...
...
@@ -111,26 +112,29 @@
</
template
>
<
script
>
import
{
updateSysSqywmbsz
}
from
'@/api/system'
import
{
updateSysSqywmbsz
,
getSysSqywmbszDetailById
}
from
'@/api/system'
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
details
:
{
type
:
Object
,
default
:
()
=>
{
return
{}
}
bsmMb
:
{
type
:
String
,
default
:
''
}
},
watch
:
{
value
(
val
)
{
this
.
myValue
=
val
},
details
:
{
handler
(
newValue
,
oldValue
)
{
this
.
ruleForm
=
newValue
bsmMb
:
{
handler
(
newValue
)
{
this
.
$startLoading
()
getSysSqywmbszDetailById
(
newValue
).
then
(
res
=>
{
this
.
$endLoading
()
let
{
result
}
=
res
this
.
ruleForm
=
result
?
result
:
{}
})
},
deep
:
true
immediate
:
true
}
},
data
()
{
...
...
src/views/system/qtjfjmb/qtjfjmb.vue
View file @
466409f
...
...
@@ -29,12 +29,12 @@
:column=
"tableData.columns"
:data=
"tableData.data"
>
</lb-table>
</div>
<editDialog
v-model=
"isDialog"
:
details=
"details
"
/>
<editDialog
v-model=
"isDialog"
:
bsmMb=
"bsmMb
"
/>
</div>
</
template
>
<
script
>
import
{
mapGetters
}
from
'vuex'
import
{
sysSqywmbszSearch
,
getSysSqywmbszDetailById
}
from
'@/api/system'
import
{
sysSqywmbszSearch
}
from
'@/api/system'
import
table
from
"@/utils/mixin/table"
import
{
datas
,
sendThis
}
from
"./qtjfjmb"
import
editDialog
from
"./components/editDialog.vue"
...
...
@@ -62,7 +62,7 @@ export default {
columns
:
datas
.
columns
(),
data
:
[]
},
details
:
{}
bsmMb
:
''
}
},
methods
:
{
...
...
@@ -77,14 +77,11 @@ export default {
})
},
editClick
(
row
)
{
getSysSqywmbszDetailById
(
row
.
bsmMb
).
then
(
res
=>
{
this
.
isDialog
=
true
let
{
result
}
=
res
this
.
details
=
result
?
result
:
{}
})
this
.
bsmMb
=
row
.
bsmMb
this
.
isDialog
=
true
}
}
,
}
;
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
...
...
Please
register
or
sign in
to post a comment