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
a869ad39
authored
2022-10-27 17:09:38 +0800
by
jiaozeping@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
命名修改
1 parent
9b988b2b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
11 deletions
src/views/workflow/components/InformationTable.vue
src/views/workflow/components/InformationTable.vue
View file @
a869ad3
<
template
>
<div>
<lb-table
:column=
"column"
:maxHeight=
"300"
heightNumSetting
:pagination=
"false"
:key=
"key"
:data=
"tableDataList"
>
<lb-table
:column=
"column"
border
:maxHeight=
"300"
heightNumSetting
:pagination=
"false"
:key=
"key"
:data=
"tableDataList"
>
</lb-table>
<addQlr
v-model=
"dialog"
:details=
"details"
@
updateDetail=
"updateDetail"
/>
</div>
...
...
@@ -39,7 +39,7 @@ export default {
width
:
'50'
,
renderHeader
:
(
h
,
scope
)
=>
{
return
<
div
>
{
this
.
$route
.
query
.
viewtype
==
1
?
'序号'
:
<
i
class
=
"el-icon-plus pointer"
onClick
=
{()
=>
{
this
.
handleAdd
()
}}
><
/i
>
this
.
$route
.
query
.
viewtype
==
1
?
'序号'
:
<
i
class
=
"el-icon-plus pointer"
onClick
=
{()
=>
{
this
.
addClick
()
}}
><
/i
>
}
<
/div
>
},
...
...
@@ -48,7 +48,7 @@ export default {
<
div
>
{
this
.
$route
.
query
.
viewtype
==
1
?
<
span
>
{
scope
.
$index
+
1
}
<
/span>
:
<
i
class
=
"el-icon-minus pointer"
onClick
=
{()
=>
{
this
.
handleMinus
(
scope
.
$index
,
scope
.
row
)
}}
><
/i
>
<
i
class
=
"el-icon-minus pointer"
onClick
=
{()
=>
{
this
.
deleClick
(
scope
.
$index
,
scope
.
row
)
}}
><
/i
>
}
<
/div
>
)
...
...
@@ -86,10 +86,10 @@ export default {
this
.
$route
.
query
.
viewtype
==
1
?
<
el
-
button
icon
=
"el-icon-view"
type
=
"text"
onClick
=
{()
=>
{
this
.
handleView
(
scope
.
$index
,
scope
.
row
)
}}
>
查看
<
/el-button> : <el-butto
n
onClick
=
{()
=>
{
this
.
queryViewClick
(
scope
.
$index
,
scope
.
row
)
}}
>
查看
<
/el-button> : <el-butto
n
icon
=
"el-icon-edit-outline"
type
=
"text"
onClick
=
{()
=>
{
this
.
handleEdit
(
scope
.
$index
,
scope
.
row
)
}}
>
编辑
<
/el-button
>
onClick
=
{()
=>
{
this
.
editClick
(
scope
.
$index
,
scope
.
row
)
}}
>
编辑
<
/el-button
>
}
<
/div
>
)
...
...
@@ -142,24 +142,29 @@ export default {
this
.
key
++
this
.
$emit
(
'upDateQlrxxList'
,
this
.
tableDataList
)
},
// 添加
handleAdd
()
{
// 新增
addClick
()
{
this
.
dialog
=
true
},
// 减
handleMinus
(
index
,
row
)
{
// 删除
deleClick
(
index
,
row
)
{
this
.
tableData
.
splice
(
index
,
1
)
},
// 身份证读取
readClick
()
{
},
// 修改
handleEdit
(
index
,
row
)
{
editClick
(
index
,
row
)
{
console
.
log
(
row
,
'rowrowrowrowrow'
);
this
.
dataIndex
=
index
this
.
dialog
=
true
this
.
details
=
row
},
handleView
()
{
queryViewClick
()
{
this
.
dialog
=
true
}
}
...
...
Please
register
or
sign in
to post a comment