Commit 4e28794e authored by daywrite's avatar daywrite

修复

parent 684a998b
...@@ -7,9 +7,12 @@ ...@@ -7,9 +7,12 @@
Case编号:<span>{{ item.case_no }}</span> Case编号:<span>{{ item.case_no }}</span>
</el-col> </el-col>
<el-col :span="24"> <el-col :span="24">
<a class="client"> <router-link class="client" :to="{ path: '/ofClient/' + item.client_id }">
<i class="fa fa-star" aria-hidden="true"></i>{{ isNullClient ? '客户名称(未设置)' : item.client.name }}
</router-link>
<!-- <a class="client">
<i class="fa fa-star" aria-hidden="true"></i>{{ item.client.name }} <i class="fa fa-star" aria-hidden="true"></i>{{ item.client.name }}
</a> </a> -->
</el-col> </el-col>
<el-col :span="24" style="padding-left: 5px;"> <el-col :span="24" style="padding-left: 5px;">
<span> <span>
...@@ -108,6 +111,10 @@ export default { ...@@ -108,6 +111,10 @@ export default {
}, },
computed: { computed: {
isNullClient () {
return !(this.item.client && this.item.client.name)
},
isNullProject () { isNullProject () {
return !!this.item.Project return !!this.item.Project
}, },
......
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