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
98e2948f
authored
2023-05-04 10:12:41 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:发证信息证书领取功能的完成
1 parent
e3e00fb3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
111 additions
and
111 deletions
src/permission.js
src/views/workflow/components/fzxx.vue
src/views/workflow/components/zslq.vue
src/views/workflow/javascript/fzxxdata.js
src/permission.js
View file @
98e2948
import
Vue
from
'vue'
import
router
from
'./router'
import
store
from
'./store'
import
{
getMenuInfo
}
from
'@/api/user'
...
...
@@ -8,6 +9,7 @@ import Cookies from 'js-cookie'
NProgress
.
configure
({
showSpinner
:
false
})
// NProgress Configuration
router
.
beforeEach
(
async
(
to
,
from
,
next
)
=>
{
Vue
.
prototype
.
$currentRoute
=
to
NProgress
.
start
()
document
.
title
=
getPageTitle
(
to
.
meta
.
title
)
let
hasAddDict
=
store
.
state
.
dict
.
addDict
...
...
src/views/workflow/components/fzxx.vue
View file @
98e2948
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-05-04 10:12:07
-->
<
template
>
<div
class=
"from-clues"
>
<!-- 发证信息 -->
...
...
@@ -22,9 +27,9 @@
<el-col
:span=
"6"
class=
"btnColRight"
>
<el-form-item>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"zslqClick
()
"
>
证书领取
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"zslqClick"
>
证书领取
</el-button>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-form>
</div>
...
...
@@ -32,56 +37,45 @@
<lb-table
border
:column=
"tableData.columns"
:heightNum=
"210"
:data=
"tableData.data"
:pagination=
"false"
>
</lb-table>
</div>
<zslqDialog
v-model=
"dialogVisible"
@
update:dialogVisible=
"dialogVisibles"
></zslqDialog>
</div>
</
template
>
<
script
>
import
table
from
"@/utils/mixin/table"
;
import
zslqDialog
from
"./zslq.vue"
;
import
{
getCertificateList
}
from
"@/api/bdcqz.js"
;
import
{
datas
}
from
"../javascript/fzxxdata"
;
export
default
{
mixins
:
[
table
],
components
:
{
zslqDialog
},
props
:
{
},
data
()
{
return
{
ruleForm
:
{
ysxlh
:
''
,
zsh
:
''
,
qlr
:
''
,
bsmSldy
:
''
,
},
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
().
fzgrid
,
data
:
[],
},
dialogVisible
:
false
}
},
methods
:
{
queryClick
()
{
this
.
ruleForm
.
bsmSlsq
=
this
.
$route
.
query
.
bsmSlsq
;
getCertificateList
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
.
data
=
res
.
result
;
}
})
},
zslqClick
(){
this
.
dialogVisible
=
true
;
import
table
from
"@/utils/mixin/table"
;
import
{
getCertificateList
}
from
"@/api/bdcqz.js"
;
import
{
datas
}
from
"../javascript/fzxxdata"
;
export
default
{
mixins
:
[
table
],
data
()
{
return
{
ruleForm
:
{
ysxlh
:
''
,
zsh
:
''
,
qlr
:
''
,
bsmSldy
:
''
,
},
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
().
fzgrid
,
data
:
[],
},
dialogVisible
:
false
}
},
//子组件传 过来的 数据
dialogVisibles
(
v
){
this
.
dialogVisible
=
v
;
methods
:
{
queryClick
()
{
this
.
ruleForm
.
bsmSlsq
=
this
.
$route
.
query
.
bsmSlsq
;
getCertificateList
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
.
data
=
res
.
result
;
}
})
},
zslqClick
()
{
this
.
$popupDialog
(
"不动产权证领取"
,
"workflow/components/zslq"
,
{},
'80%'
,
true
);
}
}
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
@import
"~@/styles/public.scss"
;
@import
"~@/styles/public.scss"
;
</
style
>
\ No newline at end of file
...
...
src/views/workflow/components/zslq.vue
View file @
98e2948
<
template
>
<dialogBox
title=
"不动产权证领取"
width=
"85%"
@
closeDialog=
"closeDialog"
@
submitForm=
"handleSubmit"
v-model=
"value"
>
<div
class=
"zslq"
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"100px"
>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"发证人姓名"
>
<el-input
v-model=
"ruleForm.fzrmc"
disabled
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"发证时间"
>
<el-input
v-model=
"ruleForm.fzsj"
disabled
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"发证数量"
>
<el-input
v-model=
"ruleForm.fzsl"
disabled
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"100px"
>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"发证人姓名"
>
<el-input
v-model=
"ruleForm.fzrmc"
disabled
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"发证时间"
>
<el-input
v-model=
"ruleForm.fzsj"
disabled
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"发证数量"
>
<el-input
v-model=
"ruleForm.fzsl"
disabled
></el-input>
</el-form-item>
</el-col>
</el-row>
<lb-table
border
:column=
"tableData.columns"
:data=
"tableData.data"
:pagination=
"false"
:heightNum=
"600"
>
</lb-table>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"领证人"
prop=
"lzrxm"
>
<el-input
v-model=
"ruleForm.lzrxm"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"证件类型"
prop=
"lzrzjlb"
>
<el-select
v-model=
"ruleForm.lzrzjlb"
filterable
clearable
placeholder=
"请选择"
>
<el-option
v-for=
"item in zjzlData"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"证件号"
prop=
"lzrzjh"
>
<el-input
v-model=
"ruleForm.lzrzjh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"领证人电话"
prop=
"lzrdh"
>
<el-input
v-model=
"ruleForm.lzrdh"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</div>
</dialogBox>
<lb-table
border
:column=
"tableData.columns"
:data=
"tableData.data"
:pagination=
"false"
:calcHeight=
"300"
>
</lb-table>
<el-row>
<el-col
:span=
"6"
>
<el-form-item
label=
"领证人"
prop=
"lzrxm"
>
<el-input
v-model=
"ruleForm.lzrxm"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"证件类型"
prop=
"lzrzjlb"
>
<el-select
v-model=
"ruleForm.lzrzjlb"
filterable
clearable
placeholder=
"请选择"
>
<el-option
v-for=
"item in zjzlData"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"证件号"
prop=
"lzrzjh"
>
<el-input
v-model=
"ruleForm.lzrzjh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"6"
>
<el-form-item
label=
"领证人电话"
prop=
"lzrdh"
>
<el-input
v-model=
"ruleForm.lzrdh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-form-item
class=
"text-center"
>
<el-button
@
click=
"$popupCacel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</el-button>
</el-form-item>
</el-form>
</
template
>
<
script
>
import
Vue
from
'vue'
import
store
from
'@/store/index.js'
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
:
{
value
:
{
type
:
Boolean
,
default
:
true
}
formData
:
{
type
:
Object
,
default
:
()
=>
{
return
{}
}
}
},
mixins
:
[
table
],
data
()
{
...
...
@@ -96,17 +103,15 @@
},
}
},
watch
:
{
value
(
val
)
{
if
(
val
)
{
this
.
loadGrid
();
}
},
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
loadGrid
()
})
},
methods
:
{
//列表初始化
loadGrid
()
{
getUnclaimedBdcqz
({
bsmSlsq
:
this
.
$r
oute
.
query
.
bsmSlsq
}).
then
(
res
=>
{
getUnclaimedBdcqz
({
bsmSlsq
:
Vue
.
prototype
.
$currentR
oute
.
query
.
bsmSlsq
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
.
data
=
res
.
result
.
list
;
this
.
ruleForm
.
fzrmc
=
res
.
result
.
fzrmc
...
...
@@ -132,11 +137,8 @@
this
.
$message
.
error
(
"请填写领取人信息!"
)
return
false
;
}
});
},
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
},
})
}
}
}
</
script
>
...
...
src/views/workflow/javascript/fzxxdata.js
View file @
98e2948
...
...
@@ -40,7 +40,8 @@ class data extends filter {
},
{
prop
:
"bdcqzh"
,
label
:
"不动产权证号"
label
:
"不动产权证号"
,
width
:
'200'
,
},
{
prop
:
"qlr"
,
...
...
@@ -60,7 +61,8 @@ class data extends filter {
},
{
prop
:
"fzsj"
,
label
:
"发证时间"
label
:
"发证时间"
,
width
:
'140'
,
},
{
prop
:
"lzrxm"
,
...
...
Please
register
or
sign in
to post a comment