Commit 5e2ff3b2 authored by huai.li's avatar huai.li

修复bug

parent 8dba551f
......@@ -19,6 +19,9 @@
.el-dialog__title {
color:white;
}
.ec-page-wrapper .el-form-item__label {
color: white;
}
.is-disabled {
color: #fff!important;
background-color: #999!important;
......
<template>
<section class="obear-schedule-item">
<el-row class="obear-schedule-row">
<el-col :span="4" :xs="24" class="obear-schedule-left">
<el-col :span="4" :xs="24" class="obear-schedule-left" :style="{background: item.bgcolor}">
<el-row :gutter="10">
<el-col :span="24">
<router-link :to="{ app: 'client', name: 'viewClient', params: {id: item.id} }">
......@@ -36,7 +36,7 @@
</el-row>
<el-row :gutter="10">
<el-col :span="6" :xs="24">
<span>状态:</span><span class="obear-schedule-right__status">{{ item.schedule_status_display }}</span>
<span>状态:</span><span class="obear-schedule-right__status" :style="{color: item.bgcolor}">{{ item.schedule_status_display }}</span>
</el-col>
<el-col :span="6" :xs="24">
<span>图片:</span><span></span>
......
......@@ -338,4 +338,7 @@ export default {
.el-input__inner {
padding: 3px 0px 0px 15px
}
.list-wrap {
color: black;
}
</style>
......@@ -7,7 +7,7 @@
:inputWidth="340"
:startLoadInitial="false"/>
</el-form-item>
<el-form-item label="待办事项内容" prop="schedule_title" class="ec-clear-left ec-form-item-lg is-required">
<el-form-item label="待办事项内容" prop="schedule_title" class="ec-clear-left ec-form-item-lg is-required fontWhite">
<el-input
class="ec-input-normal"
type="textarea"
......@@ -117,12 +117,12 @@ export default {
},
is_public_array: [
{
'name': 1,
'value': '共享'
'name': '共享',
'key': 1
},
{
'name': 0,
'value': '私人'
'name': '私人',
'key': 0
}
],
rules: {},
......
......@@ -151,6 +151,14 @@ export default {
this.getFilter()
},
reload () {
let ret = this.setParams({
...this.form,
page: this.pagenation.thispage
}, {})
this.getScheduleList(ret)
},
searchKeyword (search) {
let ret = this.setParams({
...this.form,
......@@ -212,6 +220,7 @@ export default {
requestAPI(api.deleteSchedule, { id })
.then((res) => {
this.$message.success('删除成功')
this.reload()
})
}).catch(() => {
this.$message.info('取消删除')
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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