Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
cc46b5d3
Commit
cc46b5d3
authored
Jun 17, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
9512ce6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
4 deletions
+21
-4
schedul-orderlist.vue
src/components/schedul/schedul-orderlist.vue
+21
-4
No files found.
src/components/schedul/schedul-orderlist.vue
View file @
cc46b5d3
...
@@ -137,6 +137,10 @@
...
@@ -137,6 +137,10 @@
justify-content
:
space-between
;
justify-content
:
space-between
;
align-items
:
center
;
align-items
:
center
;
height
:
25px
;
height
:
25px
;
position
:
absolute
;
bottom
:
20px
;
width
:
100%
;
right
:
0
;
}
}
.tufa_xiugai
{
.tufa_xiugai
{
...
@@ -290,7 +294,7 @@
...
@@ -290,7 +294,7 @@
</
template
>
</
template
>
</div>
</div>
</template>
</template>
<
template
v-if=
"workAuthObj.isShowEditAndDelete"
>
<
template
v-if=
"workAuthObj.isShowEditAndDelete
&&WorkObj.ItemImgList.length>0
"
>
<el-upload
class=
"schedul_Upload MyUpload"
style=
"display:inline;"
action=
""
list-type=
"picture-card"
<el-upload
class=
"schedul_Upload MyUpload"
style=
"display:inline;"
action=
""
list-type=
"picture-card"
:show-file-list=
"false"
:http-request=
"UploadWorkFile"
>
:show-file-list=
"false"
:http-request=
"UploadWorkFile"
>
<i
class=
"el-icon-plus"
></i>
<i
class=
"el-icon-plus"
></i>
...
@@ -318,8 +322,8 @@
...
@@ -318,8 +322,8 @@
<div
class=
"tufa_xiugai"
>
<div
class=
"tufa_xiugai"
>
<
template
v-if=
"WorkObj.ItemType==1 && workAuthObj.isShowEditAndDelete"
>
<
template
v-if=
"WorkObj.ItemType==1 && workAuthObj.isShowEditAndDelete"
>
<q-btn
color=
"primary"
flat
v-if=
"WorkObj.IsChecked==0"
dense
style=
"margin-left:10px;"
slot=
"reference"
<q-btn
color=
"primary"
flat
v-if=
"WorkObj.IsChecked==0"
dense
style=
"margin-left:10px;"
slot=
"reference"
@
click=
"
WorkObj.IsChecked=1,saveOrder(
)"
label=
"确认完成"
/>
@
click=
"
saveOrder(1
)"
label=
"确认完成"
/>
<q-btn
v-if=
"WorkObj.IsChecked==1"
dense
flat
@
click=
"
WorkObj.IsChecked=0,saveOrder(
)"
<q-btn
v-if=
"WorkObj.IsChecked==1"
dense
flat
@
click=
"
saveOrder(0
)"
style=
"margin-left:10px;"
class=
"schedu_red"
label=
"取消完成"
/>
style=
"margin-left:10px;"
class=
"schedu_red"
label=
"取消完成"
/>
</
template
>
</
template
>
<
template
v-if=
"WorkObj.ItemType==2 && workAuthObj.isShowEditAndDelete"
>
<
template
v-if=
"WorkObj.ItemType==2 && workAuthObj.isShowEditAndDelete"
>
...
@@ -623,7 +627,6 @@
...
@@ -623,7 +627,6 @@
this
.
HandoverList
=
res
.
Data
.
HandoverList
;
this
.
HandoverList
=
res
.
Data
.
HandoverList
;
this
.
EmergenciesList
=
res
.
Data
.
EmergenciesList
;
this
.
EmergenciesList
=
res
.
Data
.
EmergenciesList
;
this
.
WorkList
=
res
.
Data
.
WorkList
;
this
.
WorkList
=
res
.
Data
.
WorkList
;
console
.
log
(
this
.
WorkList
,
'WorkList'
);
if
(
this
.
EmergenciesList
&&
this
.
EmergenciesList
.
length
>
0
)
{
if
(
this
.
EmergenciesList
&&
this
.
EmergenciesList
.
length
>
0
)
{
this
.
EmergenciesObj
=
this
.
EmergenciesList
[
this
.
EmergenciesIndex
];
this
.
EmergenciesObj
=
this
.
EmergenciesList
[
this
.
EmergenciesIndex
];
}
}
...
@@ -725,6 +728,20 @@
...
@@ -725,6 +728,20 @@
},
},
//保存工作清单
//保存工作清单
saveOrder
(
type
)
{
saveOrder
(
type
)
{
if
(
this
.
WorkObj
.
FileList
==
null
){
this
.
WorkObj
.
FileList
=
[];
}
if
(
type
==
1
){
if
(
this
.
WorkObj
.
ItemImgList
.
length
>
0
&&
this
.
WorkObj
.
FileList
.
length
==
0
){
this
.
$q
.
notify
({
type
:
'negative'
,
message
:
'请上传图片'
,
position
:
'top'
})
return
}
}
this
.
WorkObj
.
IsChecked
=
type
;
var
saveWorkMsg
=
{
var
saveWorkMsg
=
{
Id
:
this
.
WorkObj
.
Id
,
//编号
Id
:
this
.
WorkObj
.
Id
,
//编号
PlanShift
:
this
.
saveObj
.
Shift
,
//值班班次
PlanShift
:
this
.
saveObj
.
Shift
,
//值班班次
...
...
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