Commit 3ee958d4 authored by zhengke's avatar zhengke

修改

parent b5f733a8
...@@ -77,18 +77,24 @@ ...@@ -77,18 +77,24 @@
</div> </div>
</q-td> </q-td>
<q-td v-if="col.name == 'DutyStatus'" style="padding-right:0px"> <q-td v-if="col.name == 'DutyStatus'" style="padding-right:0px">
<span v-if="props.row.DutyStatus==0" style="color:blue">{{props.row.DutyStatusStr}}</span> <div v-for="item in col.value">
<span v-if="props.row.DutyStatus==1" style="color:green">{{props.row.DutyStatusStr}}</span> <div class="border-bottom" v-if="props.row.DutyStatus==0" style="color:blue">{{props.row.DutyStatusStr}}</div>
<span v-if="props.row.DutyStatus==2" style="color:red">{{props.row.DutyStatusStr}}</span> <div class="border-bottom" v-if="props.row.DutyStatus==1" style="color:green">{{props.row.DutyStatusStr}}</div>
<div class="border-bottom" v-if="props.row.DutyStatus==2" style="color:red">{{props.row.DutyStatusStr}}</div>
</div>
</q-td> </q-td>
<q-td v-else-if="col.name == 'Id'" style="width:200px;"> <q-td v-else-if="col.name == 'Id'" style="width:200px;">
<q-btn v-if="props.row.DutyStatus==0||props.row.DutyStatus==1"  flat size="xs"  icon="edit" <div v-for="item in col.value">
 style="font-weight:400;" color="edit"  class="q-mr-xs" label="修改"  @click="EditSchedu(props.row)" <div class="border-bottom" style="border-bottom:0;">
  /> <q-btn v-if="props.row.DutyStatus==0||props.row.DutyStatus==1"  flat size="xs"  icon="edit"
<q-btn v-if="props.row.DutyStatus==0"  flat size="xs"  icon="delete"  style="font-weight:400;"  style="font-weight:400;" color="edit"  class="q-mr-xs" label="修改"  @click="EditSchedu(props.row)"
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="查看" <q-btn v-if="props.row.DutyStatus==0"  flat size="xs"  icon="delete"  style="font-weight:400;"
 @click=""   /> 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=""   />
</div>
</div>
</q-td> </q-td>
</template> </template>
</q-tr> </q-tr>
...@@ -168,7 +174,7 @@ ...@@ -168,7 +174,7 @@
{ {
name: 'Id', name: 'Id',
label: '操作', label: '操作',
field: 'Id' field: row => row.PlanDetails
} }
], ],
dataList: [], dataList: [],
...@@ -310,12 +316,16 @@ ...@@ -310,12 +316,16 @@
} }
</script> </script>
<style scoped> <style>
.border-bottom { .border-bottom {
border-bottom: 1px dashed #EEE; border-bottom: 1px dashed #EEE;
padding-bottom: 5px; padding-bottom: 5px;
margin-bottom: 5px; margin-bottom: 5px;
} }
.Sysuser_Date .el-input__inner {
background-color: transparent;
border:0;
}
</style> </style>
<style lang="sass"> <style lang="sass">
......
<template> <template>
<div class="page-body"> <div class="page-body schedulingRecord">
<div class="page-search row items-center"> <div class="page-search row items-center">
<div class="col row wrap q-mr-lg q-col-gutter-md"> <div class="col row wrap q-mr-lg q-col-gutter-md">
<div class="col-3"> <div class="col-3">
...@@ -77,16 +77,18 @@ ...@@ -77,16 +77,18 @@
</q-td> </q-td>
<q-td v-if="col.name == 'DutyStatusStr'" style="padding-right:0px"> <q-td v-if="col.name == 'DutyStatusStr'" style="padding-right:0px">
<div v-for="item in col.value"> <div v-for="item in col.value">
<span v-if="item.DutyStatus==0" style="color:blue" class="border-bottom">{{item.DutyStatusStr}}</span> <div v-if="item.DutyStatus==0" style="color:blue" class="border-bottom">{{item.DutyStatusStr}}</div>
<span v-if="item.DutyStatus==1" style="color:green" <div v-if="item.DutyStatus==1" style="color:green"
class="border-bottom">{{item.DutyStatusStr}}</span> class="border-bottom">{{item.DutyStatusStr}}</div>
<span v-if="item.DutyStatus==2" style="color:red" class="border-bottom">{{item.DutyStatusStr}}</span> <div v-if="item.DutyStatus==2" style="color:red" class="border-bottom">{{item.DutyStatusStr}}</div>
</div> </div>
</q-td> </q-td>
<q-td v-else-if="col.name == 'ViewId'" style="width:200px;"> <q-td v-else-if="col.name == 'ViewId'" style="width:200px;">
<div v-for="item in col.value"> <div v-for="item in col.value">
<q-btn flat size="xs" icon="iconfont icon-View" style="font-weight:400;" class="q-mr-xs"  label="查看" <div class="border-bottom" style="border:0;margin-bottom:8px;">
 @click="GoToDutyInfo(item)"   /> <q-btn flat size="xs" icon="iconfont icon-View" style="font-weight:400;" class="q-mr-xs"  label="查看"
 @click="GoToDutyInfo(item)"   />
</div>
</div> </div>
</q-td> </q-td>
</template> </template>
...@@ -261,12 +263,16 @@ ...@@ -261,12 +263,16 @@
} }
</script> </script>
<style scoped> <style>
.border-bottom { .border-bottom {
border-bottom: 1px dashed #EEE; border-bottom: 1px dashed #EEE;
padding-bottom: 5px; padding-bottom: 5px;
margin-bottom: 5px; margin-bottom: 5px;
} }
.Sysuser_Date .el-input__inner {
background-color: transparent;
border:0;
}
</style> </style>
<style lang="sass"> <style lang="sass">
......
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