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
07a8bf43
authored
2023-02-02 10:21:28 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
登记发证信息
1 parent
326c83e4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
3 deletions
src/api/djfDjFz.js
src/components/business/djfDjFz.vue
src/api/djfDjFz.js
0 → 100644
View file @
07a8bf4
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
djfDjFz
{
//登记发证信息
async
getDjfDjFzDetailById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/DjfDjFz/detail"
,
method
:
"get"
,
params
:
{
bsmSjsb
:
bsmSjsb
,
},
});
}
//修改登记发证信息
async
updateDjfDjFz
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/DjfDjFz/edit"
,
method
:
"post"
,
data
,
});
}
}
export
default
new
djfDjFz
();
src/components/business/djfDjFz.vue
View file @
07a8bf4
...
...
@@ -184,7 +184,7 @@
</
template
>
<
script
>
// 发证信息
import
business
from
'@/api/business
'
import
djfDjFz
from
'@/api/djfDjFz
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
import
treeSelect
from
'@/components/treeSelect/index.vue'
export
default
{
...
...
@@ -226,7 +226,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getDjfDjFzDetailById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
djfDjFz
.
getDjfDjFzDetailById
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -236,7 +236,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
try
{
let
res
=
await
business
.
updateDjfDjFz
(
this
.
ruleForm
)
let
res
=
await
djfDjFz
.
updateDjfDjFz
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
Please
register
or
sign in
to post a comment