clay commit : 新闻中心对接完成
This commit is contained in:
@@ -100,7 +100,8 @@
|
||||
<el-row>
|
||||
<el-col>
|
||||
<Introduction :introduction="contextData" v-if="type === 1"/>
|
||||
<List :list="contextData" v-if="type === 2"/>
|
||||
<List :list="contextData" v-if="type === 2 && listDataType == 0"/>
|
||||
<SimpleList :list="contextData" v-if="type === 2 && listDataType == 1"/>
|
||||
<FileList :value="contextData" v-if="type === 4"/>
|
||||
<DireData :value="contextData" v-if="type === 3 && dreDataType == '1'"/>
|
||||
<DireDataTow :value="contextData" v-if="type === 3 && dreDataType == '2'"/>
|
||||
@@ -139,7 +140,8 @@
|
||||
<el-row>
|
||||
<el-col>
|
||||
<Introduction :introduction="contextData" v-if="type === 1"/>
|
||||
<List :list="contextData" v-if="type === 2"/>
|
||||
<List :list="contextData" v-if="type === 2 && listDataType == 0"/>
|
||||
<SimpleList :list="contextData" v-if="type === 2 && listDataType == 1"/>
|
||||
<FileList :value="contextData" v-if="type === 4"/>
|
||||
<DireData :value="contextData" v-if="type === 3 && dreDataType == '1'"/>
|
||||
<DireDataTow :value="contextData" v-if="type === 3 && dreDataType == '2'"/>
|
||||
@@ -164,6 +166,7 @@ import DireData from './components/dire_data.vue'
|
||||
import DireDataTow from './components/dire_data_tow.vue'
|
||||
import Details from './components/details.vue'
|
||||
import FileList from './components/file_list.vue'
|
||||
import SimpleList from './components/simple_list.vue'
|
||||
import {handleTree} from "@/utils/ebts";
|
||||
import {getParentNode, setLanguage} from "@/utils/sist";
|
||||
|
||||
@@ -175,7 +178,8 @@ export default {
|
||||
DireData,
|
||||
Details,
|
||||
FileList,
|
||||
DireDataTow
|
||||
DireDataTow,
|
||||
SimpleList
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
@@ -183,6 +187,7 @@ export default {
|
||||
secondId: null,
|
||||
navId: null,
|
||||
dreDataType: "",
|
||||
listDataType: 0,
|
||||
navList: [],
|
||||
showIndex: 0,
|
||||
showSecond: true,
|
||||
@@ -387,8 +392,10 @@ export default {
|
||||
pageNum: 1,
|
||||
pageSize: 5
|
||||
}
|
||||
if (this.type === 4) {
|
||||
this.listDataType = 0
|
||||
if (this.type === 4||menu.isSimple == 1) {
|
||||
data.pageSize = 10
|
||||
this.listDataType = 1
|
||||
}
|
||||
} else {
|
||||
data = {
|
||||
|
||||
Reference in New Issue
Block a user