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
4c2103f0
authored
2022-09-14 17:10:59 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:申请业务规则配置
1 parent
e6f8e45a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
src/views/system/sqywgz/components/dyztsd.vue
src/views/system/sqywgz/components/editDialog.vue
src/views/system/sqywgz/components/dyztsd.vue
View file @
4c2103f
...
...
@@ -76,8 +76,12 @@ export default {
},
subData
:
{
handler
(
newValue
,
oldValue
)
{
this
.
dataList
.
sxql
=
newValue
.
sxql
this
.
dataList
.
sxzt
=
newValue
.
sxzt
if
(
!
_
.
isEqual
(
newValue
.
sxql
,
this
.
dataList
.
sxql
))
{
this
.
dataList
.
sxql
=
_
.
cloneDeep
(
newValue
.
sxql
)
}
if
(
!
_
.
isEqual
(
newValue
.
sxzt
,
this
.
dataList
.
sxzt
))
{
this
.
dataList
.
sxzt
=
_
.
cloneDeep
(
newValue
.
sxzt
)
}
},
deep
:
true
},
...
...
@@ -89,12 +93,12 @@ export default {
}
},
handleSelectall
()
{
this
.
dataList
.
qlxxList
.
forEach
(
item
=>
{
this
.
dataList
.
sxql
.
forEach
(
item
=>
{
item
.
checked
=
true
})
},
handleInvert
()
{
this
.
dataList
.
qlxxList
.
forEach
(
item
=>
{
this
.
dataList
.
sxql
.
forEach
(
item
=>
{
item
.
checked
=
false
})
}
...
...
src/views/system/sqywgz/components/editDialog.vue
View file @
4c2103f
...
...
@@ -252,8 +252,12 @@ export default {
},
// 单元状态设定
getDyztsdValue
(
val
)
{
this
.
subData
.
sxql
=
val
.
sxql
this
.
subData
.
sxzt
=
val
.
sxzt
if
(
!
_
.
isEqual
(
val
.
sxql
,
this
.
subData
.
sxql
))
{
this
.
subData
.
sxql
=
val
.
sxql
}
if
(
!
_
.
isEqual
(
val
.
sxzt
,
this
.
subData
.
sxzt
))
{
this
.
subData
.
sxzt
=
val
.
sxzt
}
},
submitForm
()
{
this
.
$refs
[
'ruleForm'
].
validate
(
async
(
valid
)
=>
{
...
...
Please
register
or
sign in
to post a comment