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
7150b0af
authored
2023-05-05 09:50:15 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:证书领取
1 parent
5caa32a1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
14 deletions
src/components/LbTable/lb-table.vue
src/views/workflow/components/dialog/zslq.vue
src/views/workflow/javascript/fzxxdata.js
src/views/ywbl/ywsq/components/mixin/jump.js
src/components/LbTable/lb-table.vue
View file @
7150b0a
...
...
@@ -25,7 +25,7 @@
</el-table>
<el-table
v-else
ref=
"elTable"
id=
"heightNumSetting"
class=
"table-fixed"
:row-style=
"{ height: '50px' }"
:border=
'border'
:row-class-name=
"tableRowClassName"
:show-header=
'showHeader'
v-bind=
"$attrs"
:border=
'border'
:row-class-name=
"tableRowClassName"
:show-header=
'showHeader'
@
row-dblclick=
"singleElection"
v-bind=
"$attrs"
:max-height=
"maxHeight"
:height=
"tableHeight"
v-on=
"$listeners"
:data=
"data"
style=
"width: 100%"
:span-method=
"this.merge ? this.mergeMethod : this.spanMethod"
>
...
...
src/views/workflow/components/dialog/zslq.vue
View file @
7150b0a
...
...
@@ -18,7 +18,9 @@
</el-col>
</el-row>
<lb-table
:column=
"tableData.columns"
:data=
"tableData.data"
:pagination=
"false"
:calcHeight=
"300"
>
<lb-table
:column=
"tableData.columns"
@
row-dblclick=
"handleRowClick"
ref=
"table"
@
selection-change=
"handleSelectionChange"
:data=
"tableData.data"
:pagination=
"false"
:calcHeight=
"300"
>
</lb-table>
<el-row>
<el-col
:span=
"6"
>
...
...
@@ -58,7 +60,6 @@
import
table
from
"@/utils/mixin/table"
;
import
{
getUnclaimedBdcqz
,
issueCertificate
}
from
"@/api/bdcqz.js"
;
import
{
datas
}
from
"../../javascript/fzxxdata"
;
import
{
log
}
from
'bpmn-js-token-simulation'
;
export
default
{
props
:
{
formData
:
{
...
...
@@ -117,18 +118,22 @@
this
.
ruleForm
.
fzrmc
=
res
.
result
.
fzrmc
this
.
ruleForm
.
fzsj
=
res
.
result
.
fzsj
this
.
ruleForm
.
fzsl
=
res
.
result
.
fzsl
}
})
},
handleSelectionChange
(
val
)
{
this
.
ruleForm
.
bdcqzList
=
val
},
handleRowClick
(
row
)
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
)
},
handleSubmit
()
{
this
.
$refs
.
ruleForm
.
validate
(
valid
=>
{
if
(
valid
)
{
issueCertificate
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'保存成功'
);
this
.
$parent
.
queryClick
();
this
.
$emit
(
"input"
,
false
);
this
.
$message
.
success
(
'保存成功'
)
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
...
...
@@ -145,3 +150,4 @@
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
</
style
>
...
...
src/views/workflow/javascript/fzxxdata.js
View file @
7150b0a
...
...
@@ -22,9 +22,9 @@ class data extends filter {
label
:
"不动产权证类型"
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
div
>
<
span
v
-
show
=
{
scope
.
row
.
bdcqzlx
==
'1'
}
>
不动产权证书
<
/span
>
<
span
v
-
show
=
{
scope
.
row
.
bdcqzlx
==
'2'
}
>
不动产登记证明
<
/span>
<
span
v
-
show
=
{
scope
.
row
.
bdcqzlx
==
'2'
}
>
不动产登记证明
<
/span
>
<
/div
>
)
}
...
...
@@ -58,7 +58,7 @@ class data extends filter {
{
prop
:
"zl"
,
label
:
"坐落"
},
},
{
prop
:
"fzsj"
,
label
:
"发证时间"
,
...
...
@@ -72,6 +72,9 @@ class data extends filter {
//领证证列表
lzgrid
:
[
{
type
:
'selection'
},
{
label
:
'序号'
,
type
:
'index'
,
width
:
'50'
...
...
@@ -82,9 +85,9 @@ class data extends filter {
width
:
'120'
,
render
:
(
h
,
scope
)
=>
{
return
(
<
div
>
<
div
>
<
span
v
-
show
=
{
scope
.
row
.
bdcqzlx
==
'1'
}
>
不动产权证书
<
/span
>
<
span
v
-
show
=
{
scope
.
row
.
bdcqzlx
==
'2'
}
>
不动产登记证明
<
/span>
<
span
v
-
show
=
{
scope
.
row
.
bdcqzlx
==
'2'
}
>
不动产登记证明
<
/span
>
<
/div
>
)
}
...
...
src/views/ywbl/ywsq/components/mixin/jump.js
View file @
7150b0a
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
4-18 10:51:37
* @LastEditTime: 2023-0
5-05 09:45:31
*/
import
Router
from
'@/router'
export
default
{
methods
:
{
//点击行选中或取消复选框
handleRowClick
(
row
,
column
,
event
)
{
row
.
djblzt
!=
1
&&
(
this
.
$refs
.
table
.
toggleRowSelection
(
row
))
(
this
.
$refs
.
table
.
toggleRowSelection
(
row
))
},
jump
(
data
,
type
)
{
const
{
href
}
=
Router
.
resolve
(
...
...
Please
register
or
sign in
to post a comment