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
c27d1f84
authored
2023-02-01 16:12:45 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
注销登记
1 parent
a2dc2904
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
5 deletions
src/api/qlfQlZxdj.js
src/components/business/qlfQlZxdj.vue
src/views/business-info/zxdj/index.vue
src/api/qlfQlZxdj.js
0 → 100644
View file @
c27d1f8
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
qlfQlZxdj
{
// 注销登记
async
getQlfQlZxdjList
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlZxdj/getDataPage"
,
method
:
"post"
,
data
,
});
}
// 注销登记信息
async
getQlfQlZxdjById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlZxdj/detail"
,
method
:
"get"
,
params
:
{
bsmSjsb
:
bsmSjsb
,
},
});
}
//注销登记信息 - 修改
async
updateQlfQlZxdj
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlZxdj/edit"
,
method
:
"post"
,
data
,
});
}
}
export
default
new
qlfQlZxdj
();
src/components/business/qlfQlZxdj.vue
View file @
c27d1f8
...
...
@@ -145,7 +145,7 @@
</
template
>
<
script
>
// 注销登记信息
import
business
from
"@/api/business
"
;
import
qlfQlZxdj
from
"@/api/qlfQlZxdj
"
;
import
ruleMixin
from
"@/mixins/ruleMixin.js"
;
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -179,7 +179,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getQlfQlZxdjById
(
this
.
bsmSjsb
);
let
{
result
:
res
}
=
await
qlfQlZxdj
.
getQlfQlZxdjById
(
this
.
bsmSjsb
);
this
.
ruleForm
=
res
;
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -189,7 +189,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateQlfQlZxdj
(
this
.
ruleForm
);
let
res
=
await
qlfQlZxdj
.
updateQlfQlZxdj
(
this
.
ruleForm
);
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
);
}
catch
(
error
)
{
...
...
src/views/business-info/zxdj/index.vue
View file @
c27d1f8
...
...
@@ -68,7 +68,7 @@
<
script
>
// 注销登记
import
data
from
"./data"
import
business
from
'@/api/business
'
import
qlfQlZxdj
from
'@/api/qlfQlZxdj
'
import
tableMixin
from
'@/mixins/tableMixin.js'
export
default
{
name
:
"cancellationReg"
,
...
...
@@ -126,7 +126,7 @@ export default {
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
business
.
getQlfQlZxdjList
(
this
.
form
)
}
=
await
qlfQlZxdj
.
getQlfQlZxdjList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
...
...
Please
register
or
sign in
to post a comment