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
6c388184
authored
2023-02-02 10:30:46 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
登记缮证信息
1 parent
5ae2d962
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
3 deletions
src/api/djfDjSz.js
src/components/business/djfDjSz.vue
src/api/djfDjSz.js
0 → 100644
View file @
6c38818
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
djfDjSz
{
//登记缮证信息
async
getDjfDjSzById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/DjfDjSz/detail"
,
method
:
"get"
,
params
:
{
bsmSjsb
:
bsmSjsb
,
},
});
}
//修改登记缮证信息
async
updateDjfDjSz
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/DjfDjSz/edit"
,
method
:
"post"
,
data
,
});
}
}
export
default
new
djfDjSz
();
src/components/business/djfDjSz.vue
View file @
6c38818
...
...
@@ -116,7 +116,7 @@
</div>
</
template
>
<
script
>
import
business
from
'@/api/business
'
import
djfDjSz
from
'@/api/djfDjSz
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
// 缮证信息
export
default
{
...
...
@@ -151,7 +151,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getDjfDjSzById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
djfDjSz
.
getDjfDjSzById
(
this
.
bsmSjsb
)
this
.
certificateInfo
.
ruleForm
=
res
;
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -161,7 +161,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateDjfDjSz
(
this
.
certificateInfo
.
ruleForm
)
let
res
=
await
djfDjSz
.
updateDjfDjSz
(
this
.
certificateInfo
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
Please
register
or
sign in
to post a comment