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
d4441f7c
authored
2023-02-01 15:44:21 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
农用地使用权(非林地)
1 parent
39d36fc8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
5 deletions
src/api/qlfQlNydsyq.js
src/components/business/qlfQlNydsyq.vue
src/views/business-info/nydsyq/index.vue
src/api/qlfQlNydsyq.js
0 → 100644
View file @
d4441f7
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
qlfQlNydsyq
{
// 农用地使用权(非林地)
async
getQlfQlNydsyqByConditon
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlNydsyq/getDataPage"
,
method
:
"post"
,
data
,
});
}
//农用地使用权(非林地)
async
getQlfQlNydsyqByID
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlNydsyq/detail"
,
method
:
"get"
,
params
:
{
bsmSjsb
:
bsmSjsb
,
},
});
}
//修改农用地使用权(非林地)
async
updateQlfQlNydsyq
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlNydsyq/edit"
,
method
:
"post"
,
data
,
});
}
}
export
default
new
qlfQlNydsyq
();
src/components/business/qlfQlNydsyq.vue
View file @
d4441f7
...
...
@@ -290,7 +290,7 @@
</
template
>
<
script
>
// 农用地使用权(非林地)
import
business
from
'@/api/business
'
import
qlfQlNydsyq
from
'@/api/qlfQlNydsyq
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -357,7 +357,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getQlfQlNydsyqByID
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
qlfQlNydsyq
.
getQlfQlNydsyqByID
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -367,7 +367,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateQlfQlNydsyq
(
this
.
ruleForm
)
let
res
=
await
qlfQlNydsyq
.
updateQlfQlNydsyq
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
src/views/business-info/nydsyq/index.vue
View file @
d4441f7
...
...
@@ -67,7 +67,7 @@
<
script
>
// 农用地使用权(非林地)
import
data
from
"./data"
import
business
from
'@/api/business
'
import
qlfQlNydsyq
from
'@/api/qlfQlNydsyq
'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/treeSelect/index.vue'
export
default
{
...
...
@@ -131,7 +131,7 @@ export default {
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
business
.
getQlfQlNydsyqByConditon
(
this
.
form
)
}
=
await
qlfQlNydsyq
.
getQlfQlNydsyqByConditon
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
...
...
Please
register
or
sign in
to post a comment