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
bf79c49e
authored
2023-02-01 15:20:36 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
api引入及文件规范
1 parent
175c8faa
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
117 additions
and
17 deletions
src/api/qlfFwFdcqQfsyq.js
src/api/qlfQlJsydsyq.js
src/api/qlfQlTdsyq.js
src/api/qltFwFdcqDz.js
src/components/business/qlfFwFdcqQfsyq.vue
src/components/business/qlfQlJsydsyq.vue
src/components/business/qlfQlTdsyq.vue
src/components/business/qltFwFdcqDz.vue
src/views/business-info/fdcqdz/index.vue
src/views/business-info/fdcqqfsyq/index.vue
src/api/qlfFwFdcqQfsyq.js
0 → 100644
View file @
bf79c49
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
qlfFwFdcqQfsyq
{
// 建筑物区分所有权业主共有部分信息
async
getQlfFwFdcqQfsyqList
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfFwFdcqQfsyq/getDataPage"
,
method
:
"post"
,
data
,
});
}
//建筑物区分所有权业主共有部分信息
async
getQlfFwFdcqQfsyqById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfFwFdcqQfsyq/detail"
,
method
:
"get"
,
params
:
{
bsmSjsb
:
bsmSjsb
,
},
});
}
//修改建筑物区分所有权业主共有部分信息
async
updateQlfFwFdcqQfsyq
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfFwFdcqQfsyq/edit"
,
method
:
"post"
,
data
,
});
}
}
export
default
new
qlfFwFdcqQfsyq
();
src/api/qlfQlJsydsyq.js
View file @
bf79c49
...
...
@@ -10,5 +10,23 @@ class qlfQlJsydsyq {
data
,
});
}
//建设用地、宅基地使用权
async
getQlfQlJsydsyqById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/QlfQlJsydsyq/detail'
,
method
:
'get'
,
params
:
{
bsmSjsb
:
bsmSjsb
}
})
}
//修改建设用地、宅基地使用权
async
updateQlfQlJsydsyq
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/QlfQlJsydsyq/edit'
,
method
:
'post'
,
data
})
}
}
export
default
new
qlfQlJsydsyq
();
...
...
src/api/qlfQlTdsyq.js
View file @
bf79c49
...
...
@@ -10,5 +10,23 @@ class qlfQlTdsyq {
data
,
});
}
//土地所有权
async
getQlfQlTdsyqById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/QlfQlTdsyq/detail'
,
method
:
'get'
,
params
:
{
bsmSjsb
:
bsmSjsb
}
})
}
//修改土地所有权
async
updateQlfQlTdsyq
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/QlfQlTdsyq/edit'
,
method
:
'post'
,
data
})
}
}
export
default
new
qlfQlTdsyq
();
...
...
src/api/qltFwFdcqDz.js
View file @
bf79c49
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
qltFwFdcqDz
{
// 房地产权_项目内多幢房屋信息
async
getQltFwFdcqDzList
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QltFwFdcqDz/getDataPage"
,
method
:
"post"
,
data
,
});
}
//房地产权_项目内多幢房屋信息
async
getQltFwFdcqDzById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/QltFwFdcqDz/detail'
,
method
:
'get'
,
params
:
{
bsmSjsb
:
bsmSjsb
}
})
}
//修改房地产权_项目内多幢房屋信息
async
updateQltFwFdcqDz
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/QltFwFdcqDz/edit'
,
method
:
'post'
,
data
})
}
}
export
default
new
qltFwFdcqDz
();
...
...
src/components/business/qlfFwFdcqQfsyq.vue
View file @
bf79c49
...
...
@@ -182,7 +182,7 @@
</
template
>
<
script
>
// 建筑物区分所有权业主共有部分信息
import
business
from
'@/api/business
'
import
qlfFwFdcqQfsyq
from
'@/api/qlfFwFdcqQfsyq
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -220,7 +220,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getQlfFwFdcqQfsyqById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
qlfFwFdcqQfsyq
.
getQlfFwFdcqQfsyqById
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -230,7 +230,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
try
{
let
res
=
await
business
.
updateQlfFwFdcqQfsyq
(
this
.
ruleForm
)
let
res
=
await
qlfFwFdcqQfsyq
.
updateQlfFwFdcqQfsyq
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
src/components/business/qlfQlJsydsyq.vue
View file @
bf79c49
...
...
@@ -214,7 +214,7 @@
</
template
>
<
script
>
// 建设用地、宅基地使用权信息
import
business
from
'@/api/business
'
import
qlfQlJsydsyq
from
'@/api/qlfQlJsydsyq
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -275,7 +275,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getQlfQlJsydsyqById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
qlfQlJsydsyq
.
getQlfQlJsydsyqById
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -285,7 +285,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
try
{
let
res
=
await
business
.
updateQlfQlJsydsyq
(
this
.
ruleForm
)
let
res
=
await
qlfQlJsydsyq
.
updateQlfQlJsydsyq
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
src/components/business/qlfQlTdsyq.vue
View file @
bf79c49
...
...
@@ -262,7 +262,7 @@
</
template
>
<
script
>
// 土地所有权信息
import
business
from
'@/api/business
'
import
qlfQlTdsyq
from
'@/api/qlfQlTdsyq
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -307,7 +307,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getQlfQlTdsyqById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
qlfQlTdsyq
.
getQlfQlTdsyqById
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -317,7 +317,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
try
{
let
res
=
await
business
.
updateQlfQlTdsyq
(
this
.
ruleForm
)
let
res
=
await
qlfQlTdsyq
.
updateQlfQlTdsyq
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
src/components/business/qltFwFdcqDz.vue
View file @
bf79c49
...
...
@@ -248,7 +248,7 @@
</
template
>
<
script
>
// 房地产权_项目内多幢房屋信息
import
business
from
'@/api/business
'
import
qltFwFdcqDz
from
'@/api/qltFwFdcqDz
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -312,7 +312,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getQltFwFdcqDzById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
qltFwFdcqDz
.
getQltFwFdcqDzById
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
// this.featchRule()
}
catch
(
error
)
{
...
...
@@ -322,7 +322,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
try
{
let
res
=
await
business
.
updateQltFwFdcqDz
(
this
.
ruleForm
)
let
res
=
await
qltFwFdcqDz
.
updateQltFwFdcqDz
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
src/views/business-info/fdcqdz/index.vue
View file @
bf79c49
...
...
@@ -70,7 +70,7 @@
<
script
>
// 房地产权(项目内多幢房屋)
import
data
from
"./data"
import
business
from
'@/api/business
'
import
qltFwFdcqDz
from
'@/api/qltFwFdcqDz
'
import
sjsbFunctionOper
from
'@/api/sjsbFunctionOper'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/treeSelect/index.vue'
...
...
@@ -140,7 +140,7 @@ export default {
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
business
.
getQltFwFdcqDzList
(
this
.
form
)
}
=
await
qltFwFdcqDz
.
getQltFwFdcqDzList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
...
...
@@ -157,7 +157,7 @@ export default {
if
(
res
!=
null
)
{
this
.
diaData
=
res
this
.
bsmSjsb
=
row
.
BSM_SJSB
this
.
$store
.
dispatch
(
'
business
/setEdit'
);
this
.
$refs
.
editLog
.
isShow
()
this
.
$store
.
dispatch
(
'
qltFwFdcqDz
/setEdit'
);
this
.
$refs
.
editLog
.
isShow
()
}
else
{
this
.
$message
(
message
);
}
...
...
src/views/business-info/fdcqqfsyq/index.vue
View file @
bf79c49
...
...
@@ -42,7 +42,7 @@
<
script
>
// 建筑物区分所有权业主共有部分
import
data
from
"./data"
import
business
from
'@/api/business
'
import
qlfFwFdcqQfsyq
from
'@/api/qlfFwFdcqQfsyq
'
import
sjsbFunctionOper
from
'@/api/sjsbFunctionOper'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/treeSelect/index.vue'
...
...
@@ -107,7 +107,7 @@ export default {
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
business
.
getQlfFwFdcqQfsyqList
(
this
.
form
)
}
=
await
qlfFwFdcqQfsyq
.
getQlfFwFdcqQfsyqList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
...
...
Please
register
or
sign in
to post a comment