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
f2d5f78b
authored
2023-02-01 15:38:41 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
海域(含无居民海岛)使用权
1 parent
89966f39
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
5 deletions
src/api/qlfQlHysyq.js
src/components/business/qlfQlHysyq.vue
src/views/business-info/hysyq/index.vue
src/api/qlfQlHysyq.js
0 → 100644
View file @
f2d5f78
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
qlfQlHysyq
{
// 海域(含无居民海岛)使用权
async
getQlfQlHysyqByConditon
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlHysyq/getDataPage"
,
method
:
"post"
,
data
,
});
}
//海域(含无居民海岛)使用权
async
getQlfQlHysyqById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlHysyq/detail"
,
method
:
"get"
,
params
:
{
bsmSjsb
:
bsmSjsb
,
},
});
}
//修改海域(含无居民海岛)使用权
async
updateQlfQlHysyq
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlHysyq/edit"
,
method
:
"post"
,
data
,
});
}
}
export
default
new
qlfQlHysyq
();
src/components/business/qlfQlHysyq.vue
View file @
f2d5f78
...
...
@@ -241,7 +241,7 @@
</
template
>
<
script
>
// 海域(含无居民海岛)使用权
import
business
from
'@/api/business
'
import
qlfQlHysyq
from
'@/api/qlfQlHysyq
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -304,7 +304,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getQlfQlHysyqById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
qlfQlHysyq
.
getQlfQlHysyqById
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -314,7 +314,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateQlfQlHysyq
(
this
.
ruleForm
)
let
res
=
await
qlfQlHysyq
.
updateQlfQlHysyq
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
src/views/business-info/hysyq/index.vue
View file @
f2d5f78
...
...
@@ -68,7 +68,7 @@
<
script
>
// 海域(含无居民海岛)使用权
import
data
from
"./data"
import
business
from
'@/api/business
'
import
qlfQlHysyq
from
'@/api/qlfQlHysyq
'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/treeSelect/index.vue'
export
default
{
...
...
@@ -137,7 +137,7 @@ export default {
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
business
.
getQlfQlHysyqByConditon
(
this
.
form
)
}
=
await
qlfQlHysyq
.
getQlfQlHysyqByConditon
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
...
...
Please
register
or
sign in
to post a comment