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
46ef4eca
authored
2023-02-02 09:55:02 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:更正登记信息
1 parent
83537435
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
6 deletions
src/api/qlfQlGzdj.js
src/components/business/qlfQlGzdj.vue
src/api/qlfQlGzdj.js
0 → 100644
View file @
46ef4ec
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
class
qlfQlGzdj
{
// 更正登记信息
async
getQlfQlGzdjById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/QlfQlGzdj/detail'
,
method
:
'get'
,
params
:
{
bsmSjsb
:
bsmSjsb
}
})
}
// 更正登记信息-修改
async
updateQlfQlGzdj
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/QlfQlGzdj/edit'
,
method
:
'post'
,
data
})
}
}
export
default
new
qlfQlGzdj
()
src/components/business/qlfQlGzdj.vue
View file @
46ef4ec
...
...
@@ -172,7 +172,7 @@
</
template
>
<
script
>
// 归档信息
import
business
from
"@/api/business
"
;
import
qlfQlGzdj
from
"@/api/qlfQlGzdj
"
;
import
ruleMixin
from
"@/mixins/ruleMixin.js"
;
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -186,7 +186,7 @@ export default {
default
:
""
,
},
},
data
()
{
data
()
{
return
{
ruleForm
:
{
YSDM
:
""
,
...
...
@@ -205,19 +205,19 @@ export default {
};
},
methods
:
{
async
featchData
()
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getQlfQlGzdjById
(
this
.
bsmSjsb
);
let
{
result
:
res
}
=
await
qlfQlGzdj
.
getQlfQlGzdjById
(
this
.
bsmSjsb
);
this
.
ruleForm
=
res
;
//this.featchRule()
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
();
}
},
handleUpdateForm
()
{
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateQlfQlGzdj
(
this
.
ruleForm
);
let
res
=
await
qlfQlGzdj
.
updateQlfQlGzdj
(
this
.
ruleForm
);
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
);
}
catch
(
error
)
{
...
...
Please
register
or
sign in
to post a comment