Commit 45e6e170 authored by zhengke's avatar zhengke

修改

parent 1b939d3a
<style>
.Mysche_Dian{
width:6px;
height:6px;
background-color: #6D97FF;
border-radius: 50%;
margin-right: 10px;
}
.myPlan_List{
display: flex;
align-items: center;
}
</style>
<template> <template>
<div class="page-body"> <div class="page-body">
<div class="page-search row items-center"> <div class="page-search row items-center">
...@@ -8,8 +21,9 @@ ...@@ -8,8 +21,9 @@
separator="none" title="我的排班计划" :data="dataList" :columns="columns" row-key="name"> separator="none" title="我的排班计划" :data="dataList" :columns="columns" row-key="name">
<template v-slot:body-cell-PlanList="props"> <template v-slot:body-cell-PlanList="props">
<q-td> <q-td>
<div v-for="(item,index) in props.row.PlanList"> <div v-for="(item,index) in props.row.PlanList" class="myPlan_List">
{{index+1}}{{item.ItemName}} <div class="Mysche_Dian"></div>
<div>{{item.ItemName}}</div>
</div> </div>
</q-td> </q-td>
</template> </template>
...@@ -29,8 +43,10 @@ ...@@ -29,8 +43,10 @@
@click="StartSchedule(props.row)" /> @click="StartSchedule(props.row)" />
</template> </template>
<template v-if="props.row.DutyStatus==2"> <template v-if="props.row.DutyStatus==2">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" <!-- <q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400"
:label="props.row.DutyStatusStr" /> :label="props.row.DutyStatusStr" /> -->
<q-btn flat size="xs" icon="iconfont icon-View" style="font-weight:400;" class="q-mr-xs"  label="查看"
 @click="GoToDutyInfo(props.row)"   />
</template> </template>
</div> </div>
</q-td> </q-td>
...@@ -139,7 +155,18 @@ ...@@ -139,7 +155,18 @@
Shift: obj.Shift Shift: obj.Shift
} }
}); });
},
//跳转到值班详情
GoToDutyInfo(item) {
this.$router.push({
path: "/scheduling/scheduleInfo",
query: {
Id: item.Id,
Shift: item.Shift
} }
});
}
}, },
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment