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
6fc23e2c
authored
2023-02-02 10:40:50 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
登记受理申请信息 -- 业务表单
1 parent
c4882636
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
3 deletions
src/api/djtDjSlsq.js
src/components/business/djtDjSlsq.vue
src/api/djtDjSlsq.js
0 → 100644
View file @
6fc23e2
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
djtDjSlsq
{
// 登记受理申请信息 -- 业务表单
async
getDjtDjSlsqById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/DjtDjSlsq/detail"
,
method
:
"get"
,
params
:
{
bsmSjsb
:
bsmSjsb
,
},
});
}
// 登记受理申请信息 -- 业务修改
async
updateDjtDjSlsq
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/DjtDjSlsq/edit"
,
method
:
"post"
,
data
,
});
}
//修改登记受理申请信息
async
updateDjtDjSlsq
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/DjtDjSlsq/updateDjtDjSlsq"
,
method
:
"put"
,
data
,
});
}
}
export
default
new
djtDjSlsq
();
src/components/business/djtDjSlsq.vue
View file @
6fc23e2
...
...
@@ -231,7 +231,7 @@
</
template
>
<
script
>
// 登记受理申请信息
import
business
from
"@/api/business
"
;
import
djtDjSlsq
from
"@/api/djtDjSlsq
"
;
import
ruleMixin
from
"@/mixins/ruleMixin.js"
;
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -273,7 +273,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getDjtDjSlsqById
(
this
.
bsmSjsb
);
let
{
result
:
res
}
=
await
djtDjSlsq
.
getDjtDjSlsqById
(
this
.
bsmSjsb
);
this
.
ruleForm
=
res
;
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -283,7 +283,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateDjtDjSlsq
(
this
.
ruleForm
);
let
res
=
await
djtDjSlsq
.
updateDjtDjSlsq
(
this
.
ruleForm
);
resolve
(
res
.
code
);
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
();
...
...
Please
register
or
sign in
to post a comment