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
8e79d28b
authored
2023-02-01 17:00:33 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
地役权
1 parent
0ca0cae3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
5 deletions
src/api/qlfQlDyiq.js
src/components/business/qlfQlDyiq.vue
src/views/business-info/dyiq/index.vue
src/api/qlfQlDyiq.js
0 → 100644
View file @
8e79d28
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
qlfQlDyiq
{
// 地役权
async
getQlfQlDyiqList
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlDyiq/getDataPage"
,
method
:
"post"
,
data
,
});
}
// 地役权信息
async
getQlfQlDyiqById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlDyiq/detail"
,
method
:
"get"
,
params
:
{
bsmSjsb
:
bsmSjsb
,
},
});
}
// 地役权信息-修改
async
updateQlfQlDyiq
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlDyiq/edit"
,
method
:
"post"
,
data
,
});
}
}
export
default
new
qlfQlDyiq
();
src/components/business/qlfQlDyiq.vue
View file @
8e79d28
...
...
@@ -275,7 +275,7 @@
</
template
>
<
script
>
// 地役权信息
import
business
from
'@/api/business
'
import
qlfQlDyiq
from
'@/api/qlfQlDyiq
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -341,7 +341,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getQlfQlDyiqById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
qlfQlDyiq
.
getQlfQlDyiqById
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -351,7 +351,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateQlfQlDyiq
(
this
.
ruleForm
)
let
res
=
await
qlfQlDyiq
.
updateQlfQlDyiq
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
src/views/business-info/dyiq/index.vue
View file @
8e79d28
...
...
@@ -80,7 +80,7 @@
<
script
>
// 地役权登记
import
data
from
"./data"
import
business
from
'@/api/business
'
import
qlfQlDyiq
from
'@/api/qlfQlDyiq
'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/treeSelect/index.vue'
export
default
{
...
...
@@ -143,7 +143,7 @@ export default {
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
business
.
getQlfQlDyiqList
(
this
.
form
)
}
=
await
qlfQlDyiq
.
getQlfQlDyiqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
...
...
Please
register
or
sign in
to post a comment