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
e29c8c44
authored
2023-02-02 14:40:17 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
api修改
1 parent
a1495fc5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
28 additions
and
5 deletions
src/api/ktfZdbhqk.js
src/components/business/ktfZdbhqk.vue
src/components/echart/map/chart.vue
src/views/dataView/centercard.vue
src/api/ktfZdbhqk.js
0 → 100644
View file @
e29c8c4
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
class
ktfZdbhqk
{
//宗地变化情况
async
getKtfZdbhqkById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/KtfZdbhqk/detail'
,
method
:
'get'
,
params
:
{
bsmSjsb
:
bsmSjsb
}
})
}
//修改宗地变化情况
async
updateKtfZdbhqk
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/KtfZdbhqk/edit'
,
method
:
'post'
,
data
})
}
}
export
default
new
ktfZdbhqk
()
\ No newline at end of file
src/components/business/ktfZdbhqk.vue
View file @
e29c8c4
...
...
@@ -82,7 +82,7 @@
</
template
>
<
script
>
// 宗地变化情况
import
business
from
'@/api/business
'
import
ktfZdbhqk
from
'@/api/ktfZdbhqk
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -112,7 +112,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getKtfZdbhqkById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
ktfZdbhqk
.
getKtfZdbhqkById
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -122,7 +122,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateKtfZdbhqk
(
this
.
ruleForm
)
let
res
=
await
ktfZdbhqk
.
updateKtfZdbhqk
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
src/components/echart/map/chart.vue
View file @
e29c8c4
<
template
>
<!-- 地图 -->
<Echart
id=
"centreLeft2Chart"
class=
"centreLeft2Chart"
ref=
"centreLeft2ChartRef"
width=
"100%"
height=
"5
05px
"
<Echart
id=
"centreLeft2Chart"
class=
"centreLeft2Chart"
ref=
"centreLeft2ChartRef"
width=
"100%"
height=
"5
3vh
"
:options=
"options"
></Echart>
</
template
>
...
...
src/views/dataView/centercard.vue
View file @
e29c8c4
...
...
@@ -39,7 +39,6 @@ export default {
background
:
url("~@/image/mapcenter.png")
no-repeat
;
background-size
:
100%
100%
;
position
:
relative
;
height
:
455px
;
.title
{
position
:
absolute
;
...
...
Please
register
or
sign in
to post a comment