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
e07531d0
authored
2023-02-01 15:01:23 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
面状定着物
1 parent
aef89b62
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
21 deletions
src/api/business.js
src/api/ktfQtMzdzw.js
src/components/business/ktfQtMzdzw.vue
src/api/business.js
View file @
e07531d
...
...
@@ -945,23 +945,5 @@ class business {
data
})
}
// 面状定着物
async
getKtfQtMzdzwById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/KtfQtMzdzw/detail'
,
method
:
'get'
,
params
:
{
bsmSjsb
:
bsmSjsb
}
})
}
// 面状定着物-修改
async
updateKtfQtMzdzw
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/KtfQtMzdzw/edit'
,
method
:
'post'
,
data
})
}
}
export
default
new
business
()
...
...
src/api/ktfQtMzdzw.js
0 → 100644
View file @
e07531d
import
request
from
'@/utils/request'
import
SERVER
from
'./config'
class
ktfQtMzdzw
{
// 面状定着物
async
getKtfQtMzdzwById
(
bsmSjsb
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/KtfQtMzdzw/detail'
,
method
:
'get'
,
params
:
{
bsmSjsb
:
bsmSjsb
}
})
}
// 面状定着物-修改
async
updateKtfQtMzdzw
(
data
)
{
return
request
({
url
:
SERVER
.
SERVERAPI
+
'/rest/reg/KtfQtMzdzw/edit'
,
method
:
'post'
,
data
})
}
}
export
default
new
ktfQtMzdzw
()
\ No newline at end of file
src/components/business/ktfQtMzdzw.vue
View file @
e07531d
...
...
@@ -134,7 +134,7 @@
</
template
>
<
script
>
// 面状定着物
import
business
from
'@/api/business
'
import
ktfQtMzdzw
from
'@/api/ktfQtMzdzw
'
import
ruleMixin
from
'@/mixins/ruleMixin.js'
export
default
{
mixins
:
[
ruleMixin
],
...
...
@@ -166,7 +166,7 @@ export default {
methods
:
{
async
featchData
()
{
try
{
let
{
result
:
res
}
=
await
business
.
getKtfQtMzdzwById
(
this
.
bsmSjsb
)
let
{
result
:
res
}
=
await
ktfQtMzdzw
.
getKtfQtMzdzwById
(
this
.
bsmSjsb
)
this
.
ruleForm
=
res
//this.featchRule()
}
catch
(
error
)
{
...
...
@@ -176,7 +176,7 @@ export default {
handleUpdateForm
()
{
return
new
Promise
(
async
(
resolve
)
=>
{
try
{
let
res
=
await
business
.
updateKtfQtMzdzw
(
this
.
ruleForm
)
let
res
=
await
ktfQtMzdzw
.
updateKtfQtMzdzw
(
this
.
ruleForm
)
// this.$refs['formList'].resetFields();
resolve
(
res
.
code
)
}
catch
(
error
)
{
...
...
Please
register
or
sign in
to post a comment