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
37c82586
authored
2023-02-01 16:27:14 +0800
by
yangwei
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
异议登记信息
1 parent
78831bd4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
5 deletions
src/api/qlfQlYydj.js
src/components/business/qlfQlYydj.vue
src/views/business-info/yydj/index.vue
src/api/qlfQlYydj.js
0 → 100644
View file @
37c8258
import
request
from
"@/utils/request"
;
import
SERVER
from
"./config"
;
class
qlfQlYydj
{
// 异议登记信息
async
getQlfQlYydjList
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlYydj/getDataPage"
,
method
:
"post"
,
data
,
});
}
// 异议登记信息
async
getQlfQlYydjById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlYydj/detail"
,
method
:
"get"
,
params
:
{
bsmSjsb
:
bsmSjsb
,
},
});
}
// 异议登记信息-修改
async
updateQlfQlYydj
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
"/rest/reg/QlfQlYydj/edit"
,
method
:
"post"
,
data
,
});
}
}
export
default
new
qlfQlYydj
();
src/components/business/qlfQlYydj.vue
View file @
37c8258
...
...
@@ -174,7 +174,7 @@
</
template
>
<
script
>
// 异议登记信息
import
business
from
'@/api/business
'
import
qlfQlYydj
from
'@/api/qlfQlYydj
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -212,7 +212,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getQlfQlYydjById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
qlfQlYydj
.
getQlfQlYydjById
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -222,7 +222,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateQlfQlYydj
(
this
.
ruleForm
)
let
res
=
await
qlfQlYydj
.
updateQlfQlYydj
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
src/views/business-info/yydj/index.vue
View file @
37c8258
...
...
@@ -64,7 +64,7 @@
<
script
>
// 异议登记
import
data
from
"./data"
import
business
from
'@/api/business
'
import
qlfQlYydj
from
'@/api/qlfQlYydj
'
import
tableMixin
from
'@/mixins/tableMixin.js'
import
treeSelect
from
'@/components/treeSelect/index.vue'
export
default
{
...
...
@@ -130,7 +130,7 @@ export default {
try
{
this
.
form
=
Object
.
assign
(
this
.
form
,
this
.
formData
)
let
{
result
:
{
list
,
total
,
pages
:
pageSize
,
pageNum
:
current
}
}
=
await
business
.
getQlfQlYydjList
(
this
.
form
)
}
=
await
qlfQlYydj
.
getQlfQlYydjList
(
this
.
form
)
this
.
tableData
.
data
=
list
this
.
pageData
=
{
pageSize
,
...
...
Please
register
or
sign in
to post a comment