机构管理数据为null

This commit is contained in:
zhaokaiyao@91isoft.com
2021-09-29 16:19:39 +08:00
parent 5dd1ab5b7a
commit a1fff94099
@@ -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 += ','