Commit 9bf7aab3 authored by huai.li's avatar huai.li

修复一些小bug

parent 8c437984
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<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.client_id} }"> <router-link :to="{ app: 'client', name: 'viewClient', params: {id: item.client_id} }">
<i class="fa fa-star" aria-hidden="true"></i>客户名称({{ isNullClient ? '未设置' : item.client.name }}) <i class="fa fa-star" aria-hidden="true"></i>{{ isNullClient ? '客户名称(未设置)' : item.client.name }}
</router-link> </router-link>
</el-col> </el-col>
<el-col :span="24" style="padding-left: 3px;"> <el-col :span="24" style="padding-left: 3px;">
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<span><i class="fa fa-sitemap" aria-hidden="true"></i>{{ item.department.name }}</span> <span><i class="fa fa-sitemap" aria-hidden="true"></i>{{ item.department.name }}</span>
<span class="obear-schedule-left__private colWhite">{{ isPublic ? '私人' : '共享' }}</span> <span class="obear-schedule-left__private colWhite">{{ !isPublic ? '私人' : '共享' }}</span>
</el-col> </el-col>
</el-row> </el-row>
</el-col> </el-col>
......
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
computed: { computed: {
isCreate () { isCreate () {
return true return !this.model.id
} }
}, },
......
...@@ -66,6 +66,7 @@ export default { ...@@ -66,6 +66,7 @@ export default {
requestAPI(Object.assign(_apiUrl, { method: 'POST' }), _params) requestAPI(Object.assign(_apiUrl, { method: 'POST' }), _params)
.then((res) => { .then((res) => {
this.$refs.scheduleSidePopup.close() this.$refs.scheduleSidePopup.close()
this.$parent.reload()
this.$message.success('操作成功') this.$message.success('操作成功')
}) })
} }
......
...@@ -40,8 +40,7 @@ ...@@ -40,8 +40,7 @@
</div> </div>
</div> </div>
<ScheduleModal <ScheduleModal
ref="scheduleModal" ref="scheduleModal">
v-click-outside="scheduleClose">
</ScheduleModal> </ScheduleModal>
<ReportModal <ReportModal
ref="reportModal"> ref="reportModal">
......
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