Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-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
0ca0cae3
authored
2023-02-01 16:58:19 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
抵押权登记
1 parent
bbcc2774
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
5 deletions
src/api/qlfQlDyaq.js
src/components/business/qlfQlDyaq.vue
src/views/business-info/dyaq/index.vue
src/api/qlfQlDyaq.js
0 → 100644
View file @
0ca0cae
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
qlfQlDyaq
{
// 抵押权登记
async
getQlfQlDyaqList
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlDyaq/getDataPage"
,
method
:
"post"
,
data
,
});
}
// 抵押权
async
getQlfQlDyaqById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlDyaq/detail"
,
method
:
"get"
,
params
:
{
bsmSjsb
:
bsmSjsb
,
},
});
}
// 抵押权-修改
async
updateQlfQlDyaq
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlDyaq/edit"
,
method
:
"post"
,
data
,
});
}
}
export
default
new
qlfQlDyaq
();
src/components/business/qlfQlDyaq.vue
View file @
0ca0cae
...
...
@@ -255,7 +255,7 @@
</
template
>
<
script
>
// 抵押权信息
import
business
from
'@/api/business
'
import
qlfQlDyaq
from
'@/api/qlfQlDyaq
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -325,7 +325,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getQlfQlDyaqById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
qlfQlDyaq
.
getQlfQlDyaqById
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -335,7 +335,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
try
{
let
res
=
await
business
.
updateQlfQlDyaq
(
this
.
ruleForm
)
let
res
=
await
qlfQlDyaq
.
updateQlfQlDyaq
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
src/views/business-info/dyaq/index.vue
View file @
0ca0cae
...
...
@@ -78,7 +78,7 @@
<
script
>
// 抵押权登记
import
data
from
"./data"
import
business
from
'@/api/business
'
import
qlfQlDyaq
from
'@/api/qlfQlDyaq
'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/treeSelect/index.vue'
export
default
{
...
...
@@ -138,7 +138,7 @@ export default {
async
featchData
()
{
try
{
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
business
.
getQlfQlDyaqList
(
this
.
form
)
}
=
await
qlfQlDyaq
.
getQlfQlDyaqList
(
this
.
form
)
this
.
tableData
.
data
=
list
;
this
.
pageData
=
{
pageSize
,
...
...
Please
register
or
sign in
to post a comment