机构管理数据为null
This commit is contained in:
@@ -101,7 +101,7 @@
|
||||
<el-popover trigger="hover" placement="top">
|
||||
{{scope.row.institutionName}}
|
||||
<div slot="reference" class="name-wrapper">
|
||||
<p v-if="scope.row.institutionName.length<15">
|
||||
<p v-if="scope.row.institutionName ==null || scope.row.institutionName.length<15">
|
||||
{{scope.row.institutionName}}
|
||||
</p>
|
||||
<p v-else> {{scope.row.institutionName.substring(0,15)}}...</p>
|
||||
@@ -116,7 +116,7 @@
|
||||
<el-popover trigger="hover" placement="top">
|
||||
{{scope.row.NameList}}
|
||||
<div slot="reference" class="name-wrapper">
|
||||
<p v-if="scope.row.NameList.length<15">
|
||||
<p v-if="scope.row.institutionName ==null ||scope.row.NameList.length<15">
|
||||
{{scope.row.NameList}}
|
||||
</p>
|
||||
<p v-else> {{scope.row.NameList.substring(0,15)}}...</p>
|
||||
@@ -334,7 +334,7 @@ export default {
|
||||
}, res => {
|
||||
console.log(res.data)
|
||||
res.data.records.forEach((item) => {
|
||||
var NameList = ''
|
||||
let NameList = ''
|
||||
item.positions.forEach((items) => {
|
||||
if (NameList.length > 0) {
|
||||
NameList += ','
|
||||
|
||||
Reference in New Issue
Block a user