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
a61f8570
authored
2023-02-01 15:25:22 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
其他相关权利
1 parent
150c3ecc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
3 deletions
src/api/qlfQlQtxgql.js
src/components/business/qlfQlQtxgql.vue
src/api/qlfQlQtxgql.js
0 → 100644
View file @
a61f857
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
class
qlfQlQtxgql
{
// 其他相关权利
async
getQlfQlQtxgqlById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/QlfQlQtxgql/detail'
,
method
:
'get'
,
params
:
{
bsmSjsb
:
bsmSjsb
}
})
}
// 其他相关权利-修改
async
updateQlfQlQtxgql
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/QlfQlQtxgql/edit'
,
method
:
'post'
,
data
})
}
}
export
default
new
qlfQlQtxgql
()
\ No newline at end of file
src/components/business/qlfQlQtxgql.vue
View file @
a61f857
...
...
@@ -277,7 +277,7 @@
</
template
>
<
script
>
// 其他相关权利
import
business
from
'@/api/business
'
import
qlfQlQtxgql
from
'@/api/qlfQlQtxgql
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -345,7 +345,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getQlfQlQtxgqlById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
qlfQlQtxgql
.
getQlfQlQtxgqlById
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -355,7 +355,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateQlfQlQtxgql
(
this
.
ruleForm
)
let
res
=
await
qlfQlQtxgql
.
updateQlfQlQtxgql
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
Please
register
or
sign in
to post a comment