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
bbcc2774
authored
2023-02-01 16:55:40 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
预告登记信息
1 parent
8009507b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
5 deletions
src/api/qlfQlYgdj.js
src/components/business/qlfQlYgdj.vue
src/views/business-info/ygdj/index.vue
src/api/qlfQlYgdj.js
0 → 100644
View file @
bbcc277
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
qlfQlYgdj
{
// 预告登记信息
async
getQlfQlYgdjList
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlYgdj/getDataPage"
,
method
:
"post"
,
data
,
});
}
// 预告登记信息
async
getQlfQlYgdjById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlYgdj/detail"
,
method
:
"get"
,
params
:
{
bsmSjsb
:
bsmSjsb
,
},
});
}
// 预告登记信息-修改
async
updateQlfQlYgdj
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlYgdj/edit"
,
method
:
"post"
,
data
,
});
}
}
export
default
new
qlfQlYgdj
();
src/components/business/qlfQlYgdj.vue
View file @
bbcc277
...
...
@@ -379,7 +379,7 @@
</
template
>
<
script
>
// 预告登记信息
import
business
from
"@/api/business
"
;
import
qlfQlYgdj
from
"@/api/qlfQlYgdj
"
;
import
ruleMixin
from
"@/mixins/ruleMixin.js"
;
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -428,7 +428,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getQlfQlYgdjById
(
this
.
bsmSjsb
);
let
{
result
:
res
}
=
await
qlfQlYgdj
.
getQlfQlYgdjById
(
this
.
bsmSjsb
);
this
.
ruleForm
=
res
;
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -438,7 +438,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateQlfQlYgdj
(
this
.
ruleForm
);
let
res
=
await
qlfQlYgdj
.
updateQlfQlYgdj
(
this
.
ruleForm
);
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
);
}
catch
(
error
)
{
...
...
src/views/business-info/ygdj/index.vue
View file @
bbcc277
...
...
@@ -74,7 +74,7 @@
<
script
>
// 预告登记
import
data
from
"./data"
import
business
from
'@/api/business
'
import
qlfQlYgdj
from
'@/api/qlfQlYgdj
'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/treeSelect/index.vue'
export
default
{
...
...
@@ -141,7 +141,7 @@ export default {
async
featchData
()
{
try
{
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
business
.
getQlfQlYgdjList
(
this
.
form
)
}
=
await
qlfQlYgdj
.
getQlfQlYgdjList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
...
...
Please
register
or
sign in
to post a comment