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
8009507b
authored
2023-02-01 16:55:31 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
查封登记信息
1 parent
37c82586
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
5 deletions
src/api/qlfQlCfdj.js
src/components/business/qlfQlCfdj.vue
src/views/business-info/Cfdj/index.vue
src/api/qlfQlCfdj.js
0 → 100644
View file @
8009507
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
qlfQlCfdj
{
// 查封登记信息
async
getQlfQlCfdjList
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlCfdj/getDataPage"
,
method
:
"post"
,
data
,
});
}
// 查封登记信息
async
getQlfQlCfdjById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlCfdj/detail"
,
method
:
"get"
,
params
:
{
bsmSjsb
:
bsmSjsb
,
},
});
}
// 查封登记信息-修改
async
updateQlfQlCfdj
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlCfdj/edit"
,
method
:
"post"
,
data
,
});
}
}
export
default
new
qlfQlCfdj
();
src/components/business/qlfQlCfdj.vue
View file @
8009507
...
...
@@ -248,7 +248,7 @@
</
template
>
<
script
>
// 查封登记信息
import
business
from
'@/api/business
'
import
qlfQlCfdj
from
'@/api/qlfQlCfdj
'
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
.
getQlfQlCfdjById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
qlfQlCfdj
.
getQlfQlCfdjById
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -322,7 +322,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateQlfQlCfdj
(
this
.
ruleForm
)
let
res
=
await
qlfQlCfdj
.
updateQlfQlCfdj
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
src/views/business-info/Cfdj/index.vue
View file @
8009507
...
...
@@ -71,7 +71,7 @@
<
script
>
// 查封登记
import
data
from
"./data"
import
business
from
'@/api/business
'
import
qlfQlCfdj
from
'@/api/qlfQlCfdj
'
import
tableMixin
from
'@/mixins/tableMixin.js'
export
default
{
name
:
"Cfdj"
,
...
...
@@ -129,7 +129,7 @@ export default {
async
featchData
()
{
try
{
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
business
.
getQlfQlCfdjList
(
this
.
form
)
}
=
await
qlfQlCfdj
.
getQlfQlCfdjList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
...
...
Please
register
or
sign in
to post a comment