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