Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vue-gjjs
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fukai
vue-gjjs
Commits
cc87a5e6
Commit
cc87a5e6
authored
Feb 07, 2023
by
闫泽浩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
infpts更新
parent
f64eb050
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
8 deletions
+8
-8
pts.js
src/service/test/pts.js
+1
-1
index.vue
src/views/Statics/Dbipts/index.vue
+5
-5
Infsea.vue
src/views/Statics/Infpts/Infsea.vue
+2
-2
No files found.
src/service/test/pts.js
View file @
cc87a5e6
...
...
@@ -14,7 +14,7 @@ export function queryByPage2(data) {
export
function
insert
(
data
)
{
return
Api
.
post
(
"/manager/pts/insert"
,
data
)
}
export
function
update
(
data
)
{
export
function
edit
(
data
)
{
return
Api
.
post
(
"/manager/pts/update"
,
data
)
}
export
function
deleteById
(
data
)
{
...
...
src/views/Statics/Dbipts/index.vue
View file @
cc87a5e6
...
...
@@ -23,7 +23,7 @@
<c-button
type=
"primary"
style=
"margin-right: 10px"
@
click=
"commit
Update
"
@
click=
"commit
Edit
"
>
提 交
</c-button
>
<c-button
type=
"primary"
@
click=
"goBack"
>
返 回
</c-button>
...
...
@@ -38,7 +38,7 @@ import Pts, { Pattern } from "./Pts.js";
import
PtsInfo
from
"./PtsInfo.vue"
;
import
{
add
,
update
,
deleteById
,
queryById
}
from
"~/service/test/pts.js"
;
import
{
add
,
edit
,
deleteById
,
queryById
}
from
"~/service/test/pts.js"
;
export
default
{
name
:
"StaticsDbipts"
,
...
...
@@ -62,7 +62,7 @@ export default {
},
data
()
{
return
{
tabVal
:
"
infsea
"
,
tabVal
:
"
PtsInfo
"
,
model
:
new
Pts
().
data
,
tabVal
:
"pts"
,
rules
:
Pattern
,
...
...
@@ -93,11 +93,11 @@ export default {
}
},
methods
:
{
commit
Update
()
{
commit
Edit
()
{
this
.
$refs
.
modelForm
.
validate
((
validated
)
=>
{
if
(
validated
)
{
if
(
this
.
tabPosition
===
`tab-pts`
){
update
(
this
.
model
)
edit
(
this
.
model
)
.
then
((
res
)
=>
{
this
.
$message
.
success
(
"代码修改保存成功!"
);
this
.
goBack
()
...
...
src/views/Statics/Infpts/Infsea.vue
View file @
cc87a5e6
...
...
@@ -53,7 +53,7 @@
style=
"margin-left: 5px"
size=
"small"
type=
"primary"
@
click=
"infpts
Update
(scope.$index, scope.row)"
@
click=
"infpts
Edit
(scope.$index, scope.row)"
>
修改
</c-button
>
</
template
>
...
...
@@ -150,7 +150,7 @@ export default {
})
},
infpts
Update
(
index
,
row
)
{
infpts
Edit
(
index
,
row
)
{
this
.
$router
.
push
(
`/statics/dbepts/
${
row
.
extkey
}
`
)
},
onInfptsSearch2
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment