Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tianjin
Project
Project
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
徐来柯
tianjin
Commits
5f1b70da
Commit
5f1b70da
authored
Feb 02, 2021
by
徐来柯
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d9c40ec4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
3 deletions
+22
-3
ProducSchedule.vue
src/views/education/ProducSchedule.vue
+16
-1
deletePop.vue
src/views/education/component/deletePop.vue
+6
-2
No files found.
src/views/education/ProducSchedule.vue
View file @
5f1b70da
...
...
@@ -149,7 +149,7 @@
</div>
</div>
<SchedulingPop
:typePop=
'type'
ref=
"linePop"
:data=
'editData'
v-if=
"popShow"
@
openRelate=
"openRelate"
></SchedulingPop>
<deletePop
ref=
"delete"
:deletetext=
"deletetext"
v-if=
"deleteShow"
:pathE=
"pathE
"
:type=
"typeV"
></deletePop>
<deletePop
ref=
"delete"
:deletetext=
"deletetext"
@
editPop=
"editPop"
v-if=
"deleteShow"
:pathE=
"pathE"
:flag=
"type
"
:type=
"typeV"
></deletePop>
<div
v-if=
"popShow || deleteShow"
class=
"box"
></div>
<relate-dialog
v-if=
"relateShow"
:relateType=
"relateType"
@
conserve=
"saveData"
@
closeDialog=
"closeDialog"
/>
</div>
...
...
@@ -384,6 +384,21 @@ export default {
})
},
// 编辑二次确认提交
editPop
(
num
)
{
this
.
deleteShow
=
false
if
(
num
===
'2'
)
{
this
.
$axios
({
method
:
"post"
,
url
:
`/api/Schedule/Schedule_WindowEditSave`
,
data
:
this
.
pathE
}).
then
((
res
)
=>
{
var
postData
=
this
.
resetData
()
this
.
popShow
=
false
this
.
query
(
postData
)
})
}
},
resetData
()
{
return
{
argKeyWord
:
this
.
$refs
.
head
.
input
,
...
...
src/views/education/component/deletePop.vue
View file @
5f1b70da
...
...
@@ -38,7 +38,7 @@ export default {
text
:
'是否确认删除?'
}
},
props
:[
'type'
,
'pathE'
,
'deletetext'
],
props
:[
'type'
,
'pathE'
,
'deletetext'
,
'flag'
],
created
(){
//1下发 2勾选删除 3页码不存在 4删除 4_1多选删除 5保存失败 6保存成功 7校验不通过 8 Bom表添加物料 9排查暂停
if
(
this
.
type
==
'1'
){
...
...
@@ -84,7 +84,11 @@ export default {
}
else
if
(
this
.
type
==
'4_1'
){
this
.
$parent
.
many_deleteFun
()
}
else
if
(
this
.
type
==
'9'
){
this
.
$parent
.
addFun2
(
this
.
pathE
)
if
(
this
.
flag
&&
this
.
flag
===
'edit'
)
{
this
.
$emit
(
'editPop'
,
num
)
}
else
{
this
.
$parent
.
addFun2
(
this
.
pathE
)
}
}
else
if
(
this
.
type
==
'10'
){
this
.
$parent
.
zantin
(
this
.
pathE
)
console
.
log
(
'this==4'
,
this
.
pathE
)
...
...
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