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
6c613dd5
authored
2023-02-01 15:09:22 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
feat:宗地基本信息
1 parent
e07531d0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
3 deletions
src/api/kttZdjbxx.js
src/components/business/kttZdjbxx.vue
src/api/kttZdjbxx.js
0 → 100644
View file @
6c613dd
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
class
kttZdjbxx
{
// 宗地基本信息
async
kttZdjbxxDetail
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/KttZdjbxx/detail'
,
method
:
'get'
,
params
:
{
bsmSjsb
:
bsmSjsb
}
})
}
// 宗地基本信息-修改
async
updateKttZdjbxx
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/KttZdjbxx/edit'
,
method
:
'post'
,
data
})
}
}
export
default
new
kttZdjbxx
()
\ No newline at end of file
src/components/business/kttZdjbxx.vue
View file @
6c613dd
...
...
@@ -433,7 +433,7 @@
</
template
>
<
script
>
// 宗地基本信息
import
business
from
'@/api/business
'
import
kttZdjbxx
from
'@/api/kttZdjbxx
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
import
treeSelect
from
'@/components/treeSelect/index.vue'
export
default
{
...
...
@@ -496,7 +496,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
kttZdjbxxDetail
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
kttZdjbxx
.
kttZdjbxxDetail
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -506,7 +506,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateKttZdjbxx
(
this
.
ruleForm
)
let
res
=
await
kttZdjbxx
.
updateKttZdjbxx
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
Please
register
or
sign in
to post a comment