|
@ -136,11 +136,11 @@ |
|
|
<!-- 素材库 --> |
|
|
<!-- 素材库 --> |
|
|
<div v-if="activeIndex === 0"> |
|
|
<div v-if="activeIndex === 0"> |
|
|
<ul class="tab_item"> |
|
|
<ul class="tab_item"> |
|
|
<li v-for="(item, index) in materialTabItem" :key="index" :class="{'active': activeItemIndex === index}" @click="tabItem(index)">{{ item.name }}<span>{{ item.num }}</span> |
|
|
|
|
|
|
|
|
<li v-for="(item, index) in materialTabItem" :key="index" :class="{'active': activeItemIndex == index}" @click="tabItem(index)">{{ item.name }}<span>{{ item.num }}</span> |
|
|
</li> |
|
|
</li> |
|
|
</ul> |
|
|
</ul> |
|
|
<div class="material_list" style="min-height: 260px"> |
|
|
<div class="material_list" style="min-height: 260px"> |
|
|
<MaterialList ref="MaterialList" :is-multi-selected="isMultiSelected" :mulit-text="mulitText" :active-item-index="activeItemIndex" /> |
|
|
|
|
|
|
|
|
<MaterialList ref="MaterialList" :is-publish-layer="isPublishLayer" :is-multi-selected="isMultiSelected" :mulit-text="mulitText" :active-item-index="activeItemIndex" /> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<!-- 主题库 --> |
|
|
<!-- 主题库 --> |
|
@ -251,7 +251,8 @@ |
|
|
<script> |
|
|
<script> |
|
|
import draggable from 'vuedraggable' |
|
|
import draggable from 'vuedraggable' |
|
|
import ThemeGalleryList from '@/views/components/ThemeGalleryList.vue' |
|
|
import ThemeGalleryList from '@/views/components/ThemeGalleryList.vue' |
|
|
import MaterialList from '@/views/components/MaterialCompontentList.vue' |
|
|
|
|
|
|
|
|
// import MaterialList from '@/views/components/MaterialCompontentList.vue' |
|
|
|
|
|
import MaterialList from '@/views/content/material/materialList/index' |
|
|
import { getMaterialByType, FetchFindMaterialById } from '@/api/material/material' |
|
|
import { getMaterialByType, FetchFindMaterialById } from '@/api/material/material' |
|
|
import { ReqDeviceList } from '@/api/device/deviceList.js' |
|
|
import { ReqDeviceList } from '@/api/device/deviceList.js' |
|
|
import { FetchSaveRelease, FetchGetReleaseDetailsById } from '@/api/release/release.js' |
|
|
import { FetchSaveRelease, FetchGetReleaseDetailsById } from '@/api/release/release.js' |
|
@ -276,7 +277,7 @@ export default { |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
isThemeOrMaterial: false, |
|
|
|
|
|
|
|
|
isPublishLayer: true, |
|
|
orga_id: '133221333123111', |
|
|
orga_id: '133221333123111', |
|
|
selectedMaterial: [], // 从其他页面选择带过来的素材 |
|
|
selectedMaterial: [], // 从其他页面选择带过来的素材 |
|
|
publishType: 0, // 判断是定时发布还是即时发布页面 |
|
|
publishType: 0, // 判断是定时发布还是即时发布页面 |
|
|