|
@@ -27,13 +27,14 @@ export default defineComponent({
|
|
|
commonStore.globalDict['zhdd_org_upload']?.find(
|
|
|
(i) => i?.dictValue?.toString() === value?.toString(),
|
|
|
)?.dictLabel ?? '-';
|
|
|
+
|
|
|
onMounted(() => {
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
- var templist = store?.incidentDetail?.baseInfo?.assistDept?.split(',');
|
|
|
- const xblist = templist == undefined ? [] : templist ;
|
|
|
+
|
|
|
+
|
|
|
|
|
|
// const xblist = ['2', '2', '2', '2'];
|
|
|
// console.log(xblist);
|
|
@@ -84,7 +85,14 @@ export default defineComponent({
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="main-dept" v-show={xblist.length!=0}>
|
|
|
+ <div
|
|
|
+ class="main-dept"
|
|
|
+ style={
|
|
|
+ store?.incidentDetail?.baseInfo?.assistDept?.split(',').length !=
|
|
|
+ 0
|
|
|
+ ? 'display:none'
|
|
|
+ : 'display:block'
|
|
|
+ }>
|
|
|
<div>
|
|
|
<div class="dept" datatype="2">
|
|
|
<img src={co_organizer} />
|
|
@@ -97,8 +105,8 @@ export default defineComponent({
|
|
|
<div
|
|
|
class="leftline"
|
|
|
style="position: absolute;background: white;width: 1px;left: 0;"></div>
|
|
|
- {xblist
|
|
|
- ? xblist!
|
|
|
+ {store?.incidentDetail?.baseInfo?.assistDept?.split(',')
|
|
|
+ ? store?.incidentDetail?.baseInfo?.assistDept?.split(',')
|
|
|
: [].map((item, index) => (
|
|
|
<div
|
|
|
class="dept-name"
|