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
f1e28c68
authored
2023-02-02 10:14:05 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
申请人属性信息-业务表单
1 parent
83537435
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
5 deletions
src/api/djfDjSqr.js
src/components/business/djfDjDb.vue
src/components/business/djfDjSqr.vue
src/api/djfDjSqr.js
0 → 100644
View file @
f1e28c6
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
djfDjSqr
{
// 申请人属性信息-业务表单
async
getDjfDjSqrById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/DjfDjSqr/detail"
,
method
:
"get"
,
params
:
{
bsmSjsb
:
bsmSjsb
,
},
});
}
// 申请人属性信息-业务-修改
async
updateDjfDjSqr
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/DjfDjSqr/edit"
,
method
:
"post"
,
data
,
});
}
}
export
default
new
djfDjSqr
();
src/components/business/djfDjDb.vue
View file @
f1e28c6
...
...
@@ -87,7 +87,7 @@
</
template
>
<
script
>
// 申请人属性信息
import
business
from
"@/api/business
"
;
import
djfDjSqr
from
"@/api/djfDjSqr
"
;
import
ruleMixin
from
"@/mixins/ruleMixin.js"
;
import
treeSelect
from
"@/components/treeSelect/index.vue"
;
export
default
{
...
...
@@ -151,7 +151,7 @@ export default {
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
try
{
let
data
=
_
.
cloneDeep
(
this
.
ruleForm
);
let
res
=
await
business
.
updateDjfDjSqr
(
data
);
let
res
=
await
djfDjSqr
.
updateDjfDjSqr
(
data
);
resolve
(
res
.
code
);
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
();
...
...
src/components/business/djfDjSqr.vue
View file @
f1e28c6
...
...
@@ -309,7 +309,7 @@
</
template
>
<
script
>
// 申请人属性信息
import
business
from
"@/api/business
"
;
import
djfDjSqr
from
"@/api/djfDjSqr
"
;
import
ruleMixin
from
"@/mixins/ruleMixin.js"
;
import
treeSelect
from
"@/components/treeSelect/index.vue"
;
export
default
{
...
...
@@ -362,7 +362,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getDjfDjSqrById
(
this
.
bsmSjsb
);
let
{
result
:
res
}
=
await
djfDjSqr
.
getDjfDjSqrById
(
this
.
bsmSjsb
);
this
.
ruleForm
=
res
;
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -373,7 +373,7 @@ export default {
return
new
Promise
(
async
(
resolve
,
reject
)
=>
{
try
{
let
data
=
_
.
cloneDeep
(
this
.
ruleForm
);
let
res
=
await
business
.
updateDjfDjSqr
(
data
);
let
res
=
await
djfDjSqr
.
updateDjfDjSqr
(
data
);
resolve
(
res
.
code
);
}
catch
(
error
)
{
this
.
$refs
.
msg
.
messageShow
();
...
...
Please
register
or
sign in
to post a comment