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
9419d82f
authored
2022-09-05 20:26:49 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:申请查询记录
1 parent
39fdb16e
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
89 additions
and
29 deletions
src/api/sqcx.js
src/utils/mixin/table.js
src/views/components/personInfoTable.vue
src/views/sqcx/jtfc/jtfc.vue
src/views/sqcx/sqcxjl/components/editDialog.vue
src/views/sqcx/sqcxjl/sqcxjl.vue
src/views/ywbl/dbx/dbx.vue
src/api/sqcx.js
0 → 100644
View file @
9419d82
import
request
from
'@/utils/request'
// 根据条件进行列表查询
export
function
getJtfcPage
(
data
)
{
return
request
({
url
:
'/sqcx/getJtfcPage'
,
method
:
'post'
,
data
})
}
// 新增申请查询家庭房产信息
export
function
addJtfcCxjgXx
(
data
)
{
return
request
({
url
:
'/sqcx/addJtfcCxjgXx'
,
method
:
'post'
,
data
})
}
\ No newline at end of file
src/utils/mixin/table.js
View file @
9419d82
...
...
@@ -23,6 +23,11 @@ export default {
handleCurrentChange
(
val
)
{
this
.
pageData
.
currentPage
=
val
this
.
fetchData
()
},
handleDel
()
{
let
deleteAfterPage
=
Math
.
ceil
((
this
.
tableData
.
total
-
1
)
/
this
.
pageData
.
pageSize
)
let
currentPage
=
this
.
pageData
.
currentPage
>
deleteAfterPage
?
deleteAfterPage
:
this
.
pageData
.
currentPage
this
.
pageData
.
currentPage
=
currentPage
<
1
?
1
:
currentPage
}
}
}
...
...
src/views/components/personInfoTable.vue
View file @
9419d82
...
...
@@ -113,7 +113,7 @@ export default {
},
dataList
:
{
handler
(
newValue
,
oldName
)
{
this
.
tableData
.
data
=
newValue
this
.
tableData
.
data
=
_
.
cloneDeep
(
newValue
)
},
deep
:
true
,
immediate
:
true
...
...
src/views/sqcx/jtfc/jtfc.vue
View file @
9419d82
...
...
@@ -49,8 +49,9 @@
</div>
</
template
>
<
script
>
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./jtfcdata"
;
import
table
from
"@/utils/mixin/table"
import
{
datas
,
sendThis
}
from
"./jtfcdata"
import
{
getJtfcPage
}
from
'@/api/sqcx'
export
default
{
name
:
"jtfc"
,
components
:
{},
...
...
@@ -88,7 +89,13 @@ export default {
},
methods
:
{
// 初始化数据
fetchData
()
{
},
fetchData
()
{
getJtfcPage
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
(
res
=>
{
let
{
records
,
total
}
=
res
.
result
// this.tableData.data = records
this
.
tableData
.
total
=
total
})
},
handleSort
(
name
,
sort
)
{
console
.
log
(
name
,
sort
);
}
...
...
src/views/sqcx/sqcxjl/components/editDialog.vue
View file @
9419d82
...
...
@@ -23,9 +23,9 @@
</el-row>
</el-form>
<b
class=
"title"
>
权利人
</b>
<personInfoTable
:dataList=
"qldataList"
/>
<personInfoTable
:dataList=
"qldataList"
@
getInfoList=
"handleGetQlList"
/>
<div
class=
"submit-button"
>
<el-button
type=
"primary"
icon=
"el-icon-search"
>
查询
</el-button>
<el-button
type=
"primary"
icon=
"el-icon-search"
@
click=
"handleSearch"
>
查询
</el-button>
<el-button
icon=
"el-icon-refresh-left"
@
click=
"handleReset"
>
重置
</el-button>
</div>
<b
class=
"title"
>
查询结果
</b>
...
...
@@ -45,6 +45,7 @@
<
script
>
import
personInfoTable
from
'@/views/components/personInfoTable'
import
{
addJtfcCxjgXx
}
from
'@/api/sqcx'
export
default
{
components
:
{
personInfoTable
...
...
@@ -61,8 +62,8 @@ export default {
sqrzjhm
:
''
,
lxdh
:
''
}],
qldataList
:
[],
sqdataList
:
[],
qldataList
:
[],
options
:
[{
name
:
'1'
,
value
:
1
...
...
@@ -137,6 +138,10 @@ export default {
ruleForm
:
{
name
:
''
,
radio
:
1
},
addJtfc
:
{
sqxx
:
[],
qlrxx
:
[],
}
}
},
...
...
@@ -145,10 +150,16 @@ export default {
this
.
myValue
=
val
this
.
qldataList
=
_
.
cloneDeep
(
this
.
dataList
)
this
.
sqdataList
=
_
.
cloneDeep
(
this
.
dataList
)
this
.
addJtfc
.
sqxx
=
_
.
cloneDeep
(
this
.
dataList
)
this
.
addJtfc
.
qlrxx
=
_
.
cloneDeep
(
this
.
dataList
)
},
'ruleForm.radio'
(
val
)
{
if
(
val
!=
1
)
{
this
.
qldataList
=
_
.
cloneDeep
(
this
.
dataList
)
this
.
addJtfc
.
qlrxx
=
_
.
cloneDeep
(
this
.
dataList
)
}
else
{
this
.
qldataList
=
this
.
addJtfc
.
sqxx
this
.
addJtfc
.
qlrxx
=
this
.
addJtfc
.
sqxx
}
}
},
...
...
@@ -159,8 +170,20 @@ export default {
handleGetSqList
(
val
)
{
if
(
!
_
.
isEqual
(
val
,
this
.
dataList
)
&&
this
.
ruleForm
.
radio
==
1
)
{
this
.
qldataList
=
val
this
.
addJtfc
.
qlrxx
=
val
}
else
this
.
addJtfc
.
sqxx
=
val
},
handleGetQlList
(
val
)
{
if
(
this
.
ruleForm
.
radio
!=
1
)
{
this
.
addJtfc
.
qlrxx
=
val
}
},
handleSearch
()
{
addJtfcCxjgXx
(
this
.
addJtfc
).
then
(
res
=>
{
// console.log(res);
})
},
handleReset
()
{
this
.
qldataList
=
_
.
cloneDeep
(
this
.
dataList
)
this
.
sqdataList
=
_
.
cloneDeep
(
this
.
dataList
)
...
...
src/views/sqcx/sqcxjl/sqcxjl.vue
View file @
9419d82
...
...
@@ -52,8 +52,9 @@
</
template
>
<
script
>
import
editDialog
from
"./components/editDialog.vue"
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./sqcxjldata"
;
import
table
from
"@/utils/mixin/table"
import
{
datas
,
sendThis
}
from
"./sqcxjldata"
import
{
getJtfcPage
}
from
'@/api/sqcx'
export
default
{
name
:
"sqcxjl"
,
components
:
{
editDialog
},
...
...
@@ -93,7 +94,13 @@ export default {
},
methods
:
{
// 初始化数据
fetchData
()
{
},
fetchData
()
{
getJtfcPage
({
...
this
.
queryForm
,
...
this
.
pageData
}).
then
(
res
=>
{
let
{
records
,
total
}
=
res
.
result
// this.tableData.data = records
this
.
tableData
.
total
=
total
})
},
handleSort
(
name
,
sort
)
{
console
.
log
(
name
,
sort
);
},
...
...
src/views/ywbl/dbx/dbx.vue
View file @
9419d82
...
...
@@ -57,7 +57,7 @@
<
script
>
import
table
from
"@/utils/mixin/table"
;
import
{
datas
,
sendThis
}
from
"./dbxdata"
;
import
{
searchTaskToDo
,
deleteFlow
}
from
"@/api/ywbl.js"
import
{
searchTaskToDo
,
deleteFlow
}
from
"@/api/ywbl.js"
import
{
mapGetters
}
from
'vuex'
export
default
{
name
:
"dbx"
,
...
...
@@ -126,25 +126,26 @@ export default {
let
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
item
.
bsmSlsq
);
this
.
$confirm
(
'确定要删除吗, 是否继续?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
deleteFlow
(
formdata
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
$message
({
t
ype
:
'success'
,
message
:
'删除成功!'
});
this
.
fetchData
()
}
})
})
.
catch
(()
=>
{
this
.
$message
(
{
type
:
'info'
,
message
:
'已取消删除'
});
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
deleteFlow
(
formdata
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
handleDel
()
t
his
.
$message
({
type
:
'success'
,
message
:
'删除成功!'
});
this
.
fetchData
()
}
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消删除'
});
});
},
ywhClick
(
item
)
{
const
{
href
}
=
this
.
$router
.
resolve
(
'/fqsq?bsmSlsq='
+
item
.
bsmSlsq
+
'&bestepid='
+
item
.
bestepid
)
...
...
Please
register
or
sign in
to post a comment