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
dd63d517
authored
2023-10-13 09:15:08 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:编辑功能的完善
1 parent
d344195e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
20 deletions
src/views/system/sqywgz/sqywDetail.js
src/views/system/sqywgz/sqywDetail.vue
src/views/system/sqywgz/sqywgz.vue
src/views/system/sqywgz/sqywDetail.js
View file @
dd63d51
...
...
@@ -64,24 +64,20 @@ class data extends filter {
}
},
{
prop
:
'sfqydjyymb'
,
label
:
'是否启用模板'
,
width
:
'140'
,
prop
:
'djywbm'
,
label
:
'登记业务编码'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
radio
-
group
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
}}
>
<
el
-
radio
label
=
{
'1'
}
>
启用
<
/el-radio
>
<
el
-
radio
label
=
{
'0'
}
>
禁用
<
/el-radio
>
<
/el-radio-group
>
<
el
-
input
placeholder
=
"登记业务编码"
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
;
orderNoChange
()
}}
><
/el-input
>
)
}
},
{
prop
:
'djy
y
'
,
label
:
'登记
原因模板
'
,
prop
:
'djy
wmc
'
,
label
:
'登记
业务名称
'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
input
placeholder
=
"登记
原因模板
"
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
;
orderNoChange
()
}}
><
/el-input
>
<
el
-
input
placeholder
=
"登记
业务名称
"
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
onInput
=
{(
val
)
=>
{
scope
.
row
[
scope
.
column
.
property
]
=
val
;
orderNoChange
()
}}
><
/el-input
>
)
}
},
...
...
@@ -189,7 +185,7 @@ class data extends filter {
{
prop
:
'djqxbm'
,
label
:
'登记情形'
,
width
:
'
18
0'
,
width
:
'
23
0'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
el
-
select
disabled
=
{
scope
.
row
.
sfggcl
==
'1'
}
value
=
{
scope
.
row
[
scope
.
column
.
property
]}
...
...
@@ -197,7 +193,7 @@ class data extends filter {
{
vm
.
form
.
djqx
.
map
(
option
=>
{
return
(
<
el
-
option
label
=
{
option
.
nodename
}
value
=
{
option
.
nodecode
}
><
/el-option
>
<
el
-
option
label
=
{
option
.
nodename
}
value
=
{
option
.
bsmSqyw
}
><
/el-option
>
)
})
}
...
...
src/views/system/sqywgz/sqywDetail.vue
View file @
dd63d51
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-
08-17 15:26:20
* @LastEditTime: 2023-
10-13 09:14:12
-->
<
template
>
<div>
...
...
@@ -115,7 +115,7 @@
:pagination=
"false"
:data=
"form.clxx"
>
</lb-table>
</el-collapse-item>
<el-collapse-item
title=
"
刷
选权利设置"
name=
"3"
v-if=
"form.sqdjyw && form.sqdjyw.sfsxql == '1'"
>
<el-collapse-item
title=
"
筛
选权利设置"
name=
"3"
v-if=
"form.sqdjyw && form.sqdjyw.sfsxql == '1'"
>
<div
class=
"dyztsd-title"
>
<b>
请勾选需要查询的权利信息
</b>
<div>
...
...
@@ -262,17 +262,19 @@
this
.
tn
=
index
;
this
.
getDetail
(
this
.
djlxList
[
index
].
bsmSqyw
);
},
//获取业务具体明细内容
/**
* @description: 获取业务具体明细内容
* @param {*} bsmSqyw
* @author: renchao
*/
getDetail
(
bsmSqyw
)
{
let
_this
=
this
let
that
=
this
getSqdjywDetail
(
bsmSqyw
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
_this
.
form
=
res
.
result
;
this
.
form
=
res
.
result
;
if
(
that
.
formData
.
sqfl
==
"2"
)
{
that
.
form
.
djqx
=
that
.
form
.
djlx
.
map
(
item
=>
({
nodename
:
item
.
djywmc
+
'+'
+
item
.
nodename
,
bsmSqyw
:
item
.
bsmSqyw
}))
}
// _this.form.bsmSqyw = res.result.bsmSqyw;
// _this.form.ywDetail = res.result.ywDetail;
// _this.$set(_this.form, 'djqx', res.result.djqx);
...
...
@@ -303,8 +305,17 @@
});
this
.
$popupCacel
()
}
}).
catch
(()
=>
{
this
.
loading
=
false
})
},
// 筛选权利设置
handleSelectall
()
{
this
.
form
.
sxql
.
forEach
(
item
=>
item
.
checked
=
true
)
},
handleInvert
()
{
this
.
form
.
sxql
.
forEach
(
item
=>
item
.
checked
=
false
)
},
/**
* @description: 上移下移
* @param {*} index
...
...
src/views/system/sqywgz/sqywgz.vue
View file @
dd63d51
...
...
@@ -80,7 +80,6 @@
};
},
methods
:
{
// 初始化数据
/**
* @description: 初始化数据
* @author: renchao
...
...
@@ -98,7 +97,6 @@
}
);
},
// 修改
/**
* @description: 修改
* @param {*} row
...
...
@@ -106,7 +104,6 @@
*/
editClick
(
row
)
{
this
.
sqqlRule
=
row
;
// this.dialogVisible = true;
this
.
$popupDialog
(
row
.
nodename
,
"system/sqywgz/sqywDetail"
,
this
.
sqqlRule
,
'80%'
)
}
}
...
...
Please
register
or
sign in
to post a comment