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

修复bug

parent 8dba551f
...@@ -19,6 +19,9 @@ ...@@ -19,6 +19,9 @@
.el-dialog__title { .el-dialog__title {
color:white; color:white;
} }
.ec-page-wrapper .el-form-item__label {
color: white;
}
.is-disabled { .is-disabled {
color: #fff!important; color: #fff!important;
background-color: #999!important; background-color: #999!important;
......
<template> <template>
<section class="obear-schedule-item"> <section class="obear-schedule-item">
<el-row class="obear-schedule-row"> <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-row :gutter="10">
<el-col :span="24"> <el-col :span="24">
<router-link :to="{ app: 'client', name: 'viewClient', params: {id: item.id} }"> <router-link :to="{ app: 'client', name: 'viewClient', params: {id: item.id} }">
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
</el-row> </el-row>
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :span="6" :xs="24"> <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>
<el-col :span="6" :xs="24"> <el-col :span="6" :xs="24">
<span>图片:</span><span></span> <span>图片:</span><span></span>
......
...@@ -338,4 +338,7 @@ export default { ...@@ -338,4 +338,7 @@ export default {
.el-input__inner { .el-input__inner {
padding: 3px 0px 0px 15px padding: 3px 0px 0px 15px
} }
.list-wrap {
color: black;
}
</style> </style>
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
:inputWidth="340" :inputWidth="340"
:startLoadInitial="false"/> :startLoadInitial="false"/>
</el-form-item> </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 <el-input
class="ec-input-normal" class="ec-input-normal"
type="textarea" type="textarea"
...@@ -117,12 +117,12 @@ export default { ...@@ -117,12 +117,12 @@ export default {
}, },
is_public_array: [ is_public_array: [
{ {
'name': 1, 'name': '共享',
'value': '共享' 'key': 1
}, },
{ {
'name': 0, 'name': '私人',
'value': '私人' 'key': 0
} }
], ],
rules: {}, rules: {},
......
...@@ -151,6 +151,14 @@ export default { ...@@ -151,6 +151,14 @@ export default {
this.getFilter() this.getFilter()
}, },
reload () {
let ret = this.setParams({
...this.form,
page: this.pagenation.thispage
}, {})
this.getScheduleList(ret)
},
searchKeyword (search) { searchKeyword (search) {
let ret = this.setParams({ let ret = this.setParams({
...this.form, ...this.form,
...@@ -212,6 +220,7 @@ export default { ...@@ -212,6 +220,7 @@ export default {
requestAPI(api.deleteSchedule, { id }) requestAPI(api.deleteSchedule, { id })
.then((res) => { .then((res) => {
this.$message.success('删除成功') this.$message.success('删除成功')
this.reload()
}) })
}).catch(() => { }).catch(() => {
this.$message.info('取消删除') 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