Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
template_vue
Project
Project
Details
Activity
Releases
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
胡宝山
template_vue
Commits
e3375dc2
Commit
e3375dc2
authored
Sep 17, 2023
by
jack_liu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
c52317eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
16 deletions
+16
-16
index.vue
src/views/production/data/index.vue
+16
-16
No files found.
src/views/production/data/index.vue
View file @
e3375dc2
...
@@ -116,12 +116,12 @@ export default {
...
@@ -116,12 +116,12 @@ export default {
this
.
$message
.
error
(
'ptype为空,不允许提交'
)
this
.
$message
.
error
(
'ptype为空,不允许提交'
)
return
return
}
}
if
(
this
.
dictSelection
.
length
===
0
)
{
/*
if (this.dictSelection.length === 0) {
return
return
}
}
*/
getlist
(
this
.
queryParams
).
then
(
res
=>
{
/*
getlist(this.queryParams).then(res => {
const ptypeList = res.data
const ptypeList = res.data
if
(
ptypeList
.
length
==
0
)
{
if (ptypeList.length ==
=
0) {
this.$refs.dictTable.clearSelection()
this.$refs.dictTable.clearSelection()
}
}
ptypeList.forEach(row => {
ptypeList.forEach(row => {
...
@@ -130,20 +130,20 @@ export default {
...
@@ -130,20 +130,20 @@ export default {
this.$refs.dictTable.toggleRowSelection(item, true)
this.$refs.dictTable.toggleRowSelection(item, true)
}
}
})
})
})
})
*/
this
.
$nextTick
(()
=>
{
/* this.$nextTick(() => { */
submit
({
submit
({
list
:
this
.
dictSelection
,
list
:
this
.
dictSelection
,
ptype
:
this
.
queryParams
.
ptype
ptype
:
this
.
queryParams
.
ptype
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
code
===
200
)
{
this
.
$message
.
success
(
'提交成功'
)
this
.
$message
.
success
(
'提交成功'
)
/* this.$refs.dictTable.clearSelection()
/* this.$refs.dictTable.clearSelection()
this.queryParams.ptype = '' */
this.queryParams.ptype = '' */
}
}
})
})
})
})
// })
// })
},
},
//查询
//查询
handleQuery
()
{
handleQuery
()
{
...
...
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