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
513b1ebb
Commit
513b1ebb
authored
May 08, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
609a96fb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
schedulingPlan.vue
src/pages/scheduling/schedulingPlan.vue
+14
-11
No files found.
src/pages/scheduling/schedulingPlan.vue
View file @
513b1ebb
...
...
@@ -76,23 +76,25 @@
</div>
</div>
</q-td>
<q-td
v-if=
"col.name == '
DutyStatus
'"
style=
"padding-right:0px"
>
<q-td
v-if=
"col.name == '
StatusStr
'"
style=
"padding-right:0px"
>
<div
v-for=
"item in col.value"
>
<div
class=
"border-bottom"
v-if=
"item.DutyStatus==0"
style=
"color:blue"
>
{{
item
.
DutyStatusStr
}}
</div>
<div
class=
"border-bottom"
v-if=
"item.DutyStatus==1"
style=
"color:green"
>
{{
item
.
DutyStatusStr
}}
</div>
<div
class=
"border-bottom"
v-if=
"item.DutyStatus==2"
style=
"color:red"
>
{{
item
.
DutyStatusStr
}}
</div>
<div
class=
"border-bottom"
v-if=
"item.Status==0"
style=
"color:blue"
>
{{
item
.
StatusStr
}}
</div>
<div
class=
"border-bottom"
v-if=
"item.Status==1"
style=
"color:green"
>
{{
item
.
StatusStr
}}
</div>
<div
class=
"border-bottom"
v-if=
"item.Status==2"
style=
"color:red"
>
{{
item
.
StatusStr
}}
</div>
<div
class=
"border-bottom"
v-if=
"item.Status==3"
style=
"color:red"
>
{{
item
.
StatusStr
}}
</div>
</div>
</q-td>
<q-td
v-else-if=
"col.name == 'Id'"
style=
"width:200px;"
>
<div
v-for=
"item in col.value"
>
<div
class=
"border-bottom"
style=
"border-bottom:0;"
>
<q-btn
v-if=
"item.
DutyStatus==0||item.Duty
Status==1"
flat
size=
"xs"
icon=
"edit"
<q-btn
v-if=
"item.
Status==0||item.
Status==1"
flat
size=
"xs"
icon=
"edit"
style=
"font-weight:400;"
color=
"edit"
class=
"q-mr-xs"
label=
"修改"
@
click=
"EditSchedu(props.row)"
/>
<q-btn
v-if=
"item.
Duty
Status==0"
flat
size=
"xs"
icon=
"delete"
style=
"font-weight:400;"
<q-btn
v-if=
"item.Status==0"
flat
size=
"xs"
icon=
"delete"
style=
"font-weight:400;"
color=
"negative"
class=
"q-mr-xs"
label=
"删除"
@
click=
"RemovePlan(props.row.Id)"
/>
<q-btn
flat
size=
"xs"
icon=
"iconfont icon-View"
style=
"font-weight:400;"
class=
"q-mr-xs"
label=
"查看"
@
click=
"GoToDutyInfo(item)"
/>
...
...
@@ -160,6 +162,7 @@
field
:
'StartTime'
,
field
:
row
=>
row
.
PlanDetails
},
{
name
:
'DutyManName'
,
label
:
'值班人员'
,
...
...
@@ -168,10 +171,10 @@
field
:
row
=>
row
.
PlanDetails
},
{
name
:
'
DutyStatus
'
,
name
:
'
StatusStr
'
,
label
:
'状态'
,
align
:
'left'
,
field
:
'
DutyStatus
'
,
field
:
'
StatusStr
'
,
field
:
row
=>
row
.
PlanDetails
},
{
...
...
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