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
89966f39
authored
2023-02-01 15:20:49 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/bdc/bdcjg-web
2 parents
bf79c49e
150c3ecc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
4 deletions
src/api/kttZdjbxx.js
src/components/business/kttZdjbxx.vue
src/api/kttZdjbxx.js
0 → 100644
View file @
89966f3
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 @
89966f3
...
...
@@ -8,7 +8,7 @@
标识码:
<br
/>
<p
class=
"label-detail"
>
(BSM)
</p>
</span>
<el-input
:disabled=
"$store.state.business.Edit"
v-model=
"ruleForm.BSM"
placeholder=
"标识码"
></el-input>
<el-input
:disabled=
"$store.state.business.Edit"
v-model=
"ruleForm.BSM"
placeholder=
"标识码"
></el-input>
</el-form-item>
</el-col>
...
...
@@ -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