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
e7243a9a
authored
2022-11-23 16:25:32 +0800
by
田浩浩
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
11111
1 parent
b7442b3d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
68 additions
and
12 deletions
src/views/system/sqywgz/sqywDetail.vue
src/views/system/sqywgz/sqywDetail.vue
View file @
e7243a9
...
...
@@ -103,8 +103,7 @@
<lb-table
:column=
"clxxCol"
border
heightNumSetting
:pagination=
"false"
:data=
"form.clxx"
>
</lb-table>
</el-collapse-item>
<el-collapse-item
title=
"刷选条件设置"
name=
"3"
>
<div
v-if=
"form.ywDetail.sfsxql != '0'"
>
<el-collapse-item
title=
"刷选权利设置"
name=
"3"
v-if=
"form.ywDetail.sfsxql == '1'"
>
<div
class=
"dyztsd-title"
>
<b>
请勾选需要查询的权利信息
</b>
<div>
...
...
@@ -118,32 +117,31 @@
<el-checkbox
v-model=
"item.checked"
>
{{
item
.
sxzdmc
}}
</el-checkbox>
</li>
</ul>
</div
>
<b>
限制办理状态
</b>
</el-collapse-item
>
<el-collapse-item
title=
"办理状态设置"
name=
"4"
>
<ul
class=
"screen-list"
>
<li
v-for=
"(item, index) in form.sxzt"
:key=
"index"
>
<div
class=
"screen-list-left"
>
<el-switch
v-model=
"item.checked"
@
change=
"handleSelect(item)"
>
</el-switch>
{{
item
.
sxzdmc
}}
</div>
<el-radio-group
v-model=
"item.selected"
:disabled=
"!item.checked"
>
<el-radio
:label=
"obj.sxzdz"
v-for=
"(obj, index) in item.children"
:key=
"index"
>
{{
obj
.
sxzdmc
}}
</el-radio>
{{
item
.
sxzdmc
}}
:
<el-radio-group
v-model=
"item.selected"
>
<el-radio
label=
"1"
>
禁止办理
</el-radio>
<el-radio
label=
"0"
>
忽略
</el-radio>
</el-radio-group>
</div>
</li>
</ul>
</el-collapse-item>
</el-collapse>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
type=
"primary"
@
click=
"submit"
>
提 交
</el-button>
<el-button
@
click=
"cancelDialog"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"cancelDialog"
>
确 定
</el-button>
</div>
</el-dialog>
</
template
>
<
script
>
import
{
mapGetters
}
from
'vuex'
;
import
{
upward
,
down
}
from
'@/utils/operation'
import
{
getDjlxInfo
,
getSqdjywDetail
}
from
"@/api/system.js"
;
import
{
getDjlxInfo
,
getSqdjywDetail
,
saveSqdjyw
}
from
"@/api/system.js"
;
export
default
{
//父组件 传 过来的 值
props
:
{
...
...
@@ -401,6 +399,7 @@ export default {
this
.
tn
=
index
;
this
.
getDetail
(
this
.
djlxList
[
index
].
bsmSqyw
);
},
//获取业务具体明细内容
getDetail
(
bsmSqyw
)
{
getSqdjywDetail
(
bsmSqyw
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -410,6 +409,19 @@ export default {
}
});
},
//提交保存数据
submit
(){
let
that
=
this
;
saveSqdjyw
(
this
.
form
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
that
.
$message
({
message
:
'修改成功'
,
type
:
'success'
})
// that.$emit('input', false)
}
})
},
//修改父组件传过来的值
cancelDialog
()
{
this
.
$emit
(
"update:dialogVisible"
,
false
);
...
...
@@ -453,4 +465,48 @@ export default {
background
:
$
light-blue
!important
;
color
:
#fff
;
}
.dyztsd-title
{
@include
flex;
align-items
:
center
;
justify-content
:
space-between
;
padding-left
:
20px
;
}
.qlxx-list
{
@include
flex;
flex-wrap
:
wrap
;
padding-left
:
20px
;
li
{
width
:
25%
;
margin-bottom
:
15px
;
}
}
.screen-list
{
@include
flex;
align-items
:
center
;
flex-wrap
:
wrap
;
border
:
1px
solid
$
borderColor
;
border-bottom
:
none
;
li
{
@include
flex;
align-items
:
center
;
width
:
25%
;
line-height
:
50px
;
border-bottom
:
1px
solid
$
borderColor
;
padding-left
:
20px
;
}
&
-left
{
margin-right
:
20px
;
width
:
160px
;
white-space
:
nowrap
;
}
li
:nth-child
(
odd
)
{
border-right
:
1px
solid
$
borderColor
;
}
}
</
style
>
\ No newline at end of file
...
...
Please
register
or
sign in
to post a comment