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
35ac5981
authored
2022-12-08 11:26:03 +0800
by
jiaozeping@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
123
1 parent
52efb35f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
4 deletions
src/views/workflow/components/qlrCommonTable.vue
src/views/ywbl/jsydsyq/slxx.vue
src/views/workflow/components/qlrCommonTable.vue
View file @
35ac598
...
...
@@ -86,7 +86,7 @@ export default {
label
:
"联系电话"
},
{
label
:
'
修改
'
,
label
:
'
操作
'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
...
...
@@ -98,6 +98,7 @@ export default {
icon
=
"el-icon-edit-outline"
type
=
"text"
onClick
=
{()
=>
{
this
.
editClick
(
scope
.
$index
,
scope
.
row
)
}}
>
编辑
<
/el-button
>
}
<
/div
>
)
...
...
@@ -131,7 +132,9 @@ export default {
handler
(
newVal
,
oldValue
)
{
let
dataList
=
_
.
cloneDeep
(
this
.
InformationTable
)
if
(
newVal
==
0
)
{
this
.
column
=
_
.
cloneDeep
(
dataList
).
slice
(
1
,
dataList
.
length
)
// this.column = _.cloneDeep(dataList).slice(1, dataList.length)
this
.
column
=
_
.
cloneDeep
(
dataList
)
}
else
if
((
newVal
==
'1'
||
newVal
==
'3'
))
{
this
.
column
=
dataList
}
else
{
...
...
@@ -148,7 +151,6 @@ export default {
},
methods
:
{
handleupdateDetail
(
value
)
{
debugger
if
(
this
.
isaddupdate
){
if
(
!
_
.
isEqual
(
value
,
this
.
tableData
))
{
this
.
tableDataList
[
this
.
tableDataList
.
length
]
=
_
.
cloneDeep
(
value
);
...
...
@@ -170,7 +172,14 @@ export default {
// 删除
deleClick
(
index
,
row
)
{
this
.
tableData
.
splice
(
index
,
1
)
this
.
$confirm
(
'确定要删除吗, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
tableData
.
splice
(
index
,
1
)
}).
catch
(()
=>
{
});
},
// 身份证读取
...
...
src/views/ywbl/jsydsyq/slxx.vue
View file @
35ac598
...
...
@@ -225,6 +225,16 @@ export default {
this
.
ruleForm
.
ywrList
&&
(
this
.
ruleForm
.
ywrList
=
_
.
cloneDeep
(
val
))
},
onSubmit
()
{
if
(
this
.
ruleForm
.
slywxx
.
gyfs
==
"0"
){
if
(
this
.
ruleForm
.
qlrList
.
length
>
1
){
this
.
$message
({
showClose
:
true
,
message
:
"共有方式:单独所有,权利人只能是一个人"
,
type
:
"error"
,
});
return
false
;
}
}
saveData
(
this
.
ruleForm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
...
...
Please
register
or
sign in
to post a comment