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
1199ec79
authored
2022-12-30 10:23:33 +0800
by
蔡俊立
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
完善
1 parent
15559916
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
51 additions
and
31 deletions
src/api/sqcx.js
src/views/sqcx/dydjb/components/addDydjb.vue
src/views/sqcx/dydjb/components/dydjbInfo.vue
src/views/sqcx/dydjb/dydjb.vue
src/views/sqcx/dydjb/dydjbdata.js
src/views/sqcx/jtfc/jtfc.vue
src/views/sqcx/sqcxjl/sqcxjl.vue
src/api/sqcx.js
View file @
1199ec7
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
// 获取
家庭房产
列表
export
function
get
Jtfc
Page
(
data
)
{
// 获取
申请查询
列表
export
function
get
Sqcx
Page
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/sqcx/jtfc/getJtfcPage'
,
method
:
'post'
,
data
})
}
// 获取房屋明细列表
export
function
getFwmxPage
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/sqcx/jtfc/getFwmxPage'
,
url
:
SERVER
.
SERVERAPI
+
'/rest/sqcx/jtfc/getSqcxPage'
,
method
:
'post'
,
data
})
...
...
@@ -45,6 +36,15 @@ export function getJtfcInfo (params) {
})
}
// 获取房屋明细记录详细信息
export
function
getFwmxInfo
(
params
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/sqcx/jtfc/getFwmxInfo/'
,
method
:
'get'
,
params
})
}
// 打印家庭房产
export
function
printJtcfInfo
(
data
)
{
return
request
({
...
...
src/views/sqcx/dydjb/components/addDydjb.vue
View file @
1199ec7
...
...
@@ -53,7 +53,7 @@
</
template
>
<
script
>
import
{
addFwmxCxjgXx
,
get
Jtfc
Info
,
printJtcfInfo
}
from
"@/api/sqcx"
;
import
{
addFwmxCxjgXx
,
get
Fwmx
Info
,
printJtcfInfo
}
from
"@/api/sqcx"
;
import
{
getPrintTemplateByCode
}
from
"@/api/system"
;
import
{
datas
,
sendThis
}
from
"./dydjbdata"
;
import
{
getLodop
}
from
"@/utils/LodopFuncs"
...
...
@@ -144,7 +144,7 @@ export default {
//加载详细信息
loadData
()
{
this
.
$startLoading
();
get
Jtfc
Info
({
sqcxBsm
:
this
.
sqcxBsm
}).
then
((
res
)
=>
{
get
Fwmx
Info
({
sqcxBsm
:
this
.
sqcxBsm
}).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
==
200
)
{
this
.
activeStep
=
2
;
...
...
src/views/sqcx/dydjb/components/dydjbInfo.vue
View file @
1199ec7
...
...
@@ -36,10 +36,13 @@
<
script
>
import
{
datas
,
sendThis
}
from
"./infodata"
;
import
{
get
Jtfc
Info
}
from
"@/api/sqcx"
;
import
{
get
Fwmx
Info
}
from
"@/api/sqcx"
;
export
default
{
props
:
{
formData
:
{
type
:
Object
,
default
:
()
=>
{},
},
},
data
()
{
return
{
...
...
@@ -65,10 +68,24 @@ export default {
resultData
:
{},
};
},
mounted
()
{
},
mounted
()
{
if
(
this
.
formData
){
this
.
getDetailInfo
()
}
},
methods
:
{
setResult
(
data
){
this
.
resultData
=
data
},
getDetailInfo
(){
this
.
$startLoading
();
getFwmxInfo
({
sqcxBsm
:
this
.
formData
.
bsmSqcx
}).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
==
200
)
{
this
.
resultData
=
res
.
result
}
});
}
},
};
...
...
src/views/sqcx/dydjb/dydjb.vue
View file @
1199ec7
...
...
@@ -51,7 +51,7 @@ import table from "@/utils/mixin/table";
import
{
popupDialog
}
from
"@/utils/popup.js"
;
import
{
datas
,
sendThis
}
from
"./dydjbdata"
;
import
addDydjb
from
"./components/addDydjb.vue"
;
import
{
get
Fwm
xPage
}
from
"@/api/sqcx"
;
import
{
get
Sqc
xPage
}
from
"@/api/sqcx"
;
export
default
{
name
:
"dydjb"
,
components
:
{
addDydjb
},
...
...
@@ -71,6 +71,7 @@ export default {
cxbh
:
""
,
sqr
:
""
,
ywh
:
""
,
cxlx
:
'2'
},
tableData
:
{
columns
:
datas
.
columns
(),
...
...
@@ -82,7 +83,7 @@ export default {
// 初始化数据
queryClick
()
{
this
.
$startLoading
();
get
Fwm
xPage
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
get
Sqc
xPage
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
===
200
)
{
let
{
records
,
total
}
=
res
.
result
;
...
...
@@ -92,19 +93,20 @@ export default {
});
},
dydjbClick
(
scope
)
{
this
.
$nextTick
(()
=>
{
this
.
isDialog
=
true
this
.
sqcxBsm
=
scope
.
row
.
bsmSqcx
})
//
popupDialog("打印登记薄", "sqcx/dydjb/components/dydjbInfo", {
//
bsmSqcx: scope.row.bsmSqcx,
//
});
//
this.$nextTick(() => {
//
this.isDialog = true
//
this.sqcxBsm = scope.row.bsmSqcx
//
})
popupDialog
(
"打印登记薄"
,
"sqcx/dydjb/components/dydjbInfo"
,
{
bsmSqcx
:
scope
.
row
.
bsmSqcx
,
});
},
handleSort
(
name
,
sort
)
{
console
.
log
(
name
,
sort
);
},
openAddDialog
(){
this
.
isDialog
=
true
this
.
sqcxBsm
=
''
}
},
};
...
...
src/views/sqcx/dydjb/dydjbdata.js
View file @
1199ec7
...
...
@@ -63,7 +63,7 @@ class data extends filter {
label
:
"操作"
,
width
:
100
,
render
:
(
h
,
scope
)
=>
{
return
<
el
-
button
type
=
"text"
icon
=
'el-icon-
printer'
onClick
=
{()
=>
{
vm
.
dydjbClick
(
scope
)
}}
>
打印登记薄
<
/el-button
>
return
<
el
-
button
type
=
"text"
icon
=
'el-icon-
view'
onClick
=
{()
=>
{
vm
.
dydjbClick
(
scope
)
}}
>
查看
<
/el-button
>
}
},
...
...
src/views/sqcx/jtfc/jtfc.vue
View file @
1199ec7
...
...
@@ -46,7 +46,7 @@
<
script
>
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./jtfcdata"
;
import
{
get
Jtfc
Page
}
from
"@/api/sqcx"
;
import
{
get
Sqcx
Page
}
from
"@/api/sqcx"
;
import
addjtfc
from
"./components/addjtfc.vue"
;
export
default
{
name
:
"jtfc"
,
...
...
@@ -64,6 +64,7 @@ export default {
queryForm
:
{
cxbh
:
""
,
sqr
:
""
,
cxlx
:
'1'
},
tableData
:
{
columns
:
datas
.
columns
(),
...
...
@@ -75,7 +76,7 @@ export default {
// 初始化数据
queryClick
()
{
this
.
$startLoading
();
get
Jtfc
Page
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
get
Sqcx
Page
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
===
200
)
{
let
{
records
,
total
}
=
res
.
result
;
...
...
src/views/sqcx/sqcxjl/sqcxjl.vue
View file @
1199ec7
...
...
@@ -69,7 +69,7 @@
<
script
>
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./sqcxjldata"
;
import
{
get
Jtfc
Page
}
from
"@/api/sqcx"
;
import
{
get
Sqcx
Page
}
from
"@/api/sqcx"
;
export
default
{
name
:
"sqcxjl"
,
mixins
:
[
table
],
...
...
@@ -94,7 +94,7 @@ export default {
// 初始化数据
queryClick
()
{
this
.
$startLoading
();
get
Jtfc
Page
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
get
Sqcx
Page
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
((
res
)
=>
{
this
.
$endLoading
();
if
(
res
.
code
===
200
)
{
let
{
records
,
total
}
=
res
.
result
;
...
...
Please
register
or
sign in
to post a comment