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

修复一些小bug

parent 8c437984
......@@ -5,7 +5,7 @@
<el-row :gutter="10">
<el-col :span="24">
<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>
</el-col>
<el-col :span="24" style="padding-left: 3px;">
......@@ -15,7 +15,7 @@
</el-col>
<el-col :span="24">
<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-row>
</el-col>
......
......@@ -139,7 +139,7 @@ export default {
computed: {
isCreate () {
return true
return !this.model.id
}
},
......
......@@ -66,6 +66,7 @@ export default {
requestAPI(Object.assign(_apiUrl, { method: 'POST' }), _params)
.then((res) => {
this.$refs.scheduleSidePopup.close()
this.$parent.reload()
this.$message.success('操作成功')
})
}
......
......@@ -40,8 +40,7 @@
</div>
</div>
<ScheduleModal
ref="scheduleModal"
v-click-outside="scheduleClose">
ref="scheduleModal">
</ScheduleModal>
<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