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
446aae45
authored
2023-02-02 10:32:28 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
登记审核信息
1 parent
6c388184
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
3 deletions
src/api/djfDjSh.js
src/components/business/djfDjSh.vue
src/api/djfDjSh.js
0 → 100644
View file @
446aae4
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
djfDjSh
{
//登记审核信息
async
getDjfDjShById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/DjfDjSh/detail"
,
method
:
"get"
,
params
:
{
bsmSjsb
:
bsmSjsb
,
},
});
}
//修改登记审核信息
async
updateDjfDjSh
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/DjfDjSh/edit"
,
method
:
"post"
,
data
,
});
}
}
export
default
new
djfDjSh
();
src/components/business/djfDjSh.vue
View file @
446aae4
...
...
@@ -145,7 +145,7 @@
</div>
</
template
>
<
script
>
import
business
from
'@/api/business
'
import
djfDjSh
from
'@/api/djfDjSh
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
// 审核信息
export
default
{
...
...
@@ -209,7 +209,7 @@ export default {
},
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getDjfDjShById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
djfDjSh
.
getDjfDjShById
(
this
.
bsmSjsb
)
this
.
form
.
auditInfo
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -219,7 +219,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateDjfDjSh
(
this
.
form
.
auditInfo
)
let
res
=
await
djfDjSh
.
updateDjfDjSh
(
this
.
form
.
auditInfo
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
Please
register
or
sign in
to post a comment