no message
This commit is contained in:
parent
890e54792a
commit
034f4a60db
@ -1,12 +1,3 @@
|
|||||||
<!--
|
|
||||||
* @Descripttion: 资源文件选择器
|
|
||||||
* @version: 1.0
|
|
||||||
* @Author: sakuya
|
|
||||||
* @Date: 2021年10月11日16:01:40
|
|
||||||
* @LastEditors:
|
|
||||||
* @LastEditTime:
|
|
||||||
-->
|
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<div class="sc-file-select">
|
<div class="sc-file-select">
|
||||||
<div class="sc-file-select__side" v-loading="menuLoading">
|
<div class="sc-file-select__side" v-loading="menuLoading">
|
||||||
@ -122,8 +113,8 @@
|
|||||||
//获取分类数据
|
//获取分类数据
|
||||||
async getMenu(){
|
async getMenu(){
|
||||||
this.menuLoading = true
|
this.menuLoading = true
|
||||||
var res = await config.menuApiObj.get()
|
// var res = await config.menuApiObj.get()
|
||||||
this.menu = res.data
|
// this.menu = res.data
|
||||||
this.menuLoading = false
|
this.menuLoading = false
|
||||||
},
|
},
|
||||||
//获取列表数据
|
//获取列表数据
|
||||||
@ -138,10 +129,10 @@
|
|||||||
if(this.onlyImage){
|
if(this.onlyImage){
|
||||||
reqData.type = 'image'
|
reqData.type = 'image'
|
||||||
}
|
}
|
||||||
var res = await config.listApiObj.get(reqData)
|
// var res = await config.listApiObj.get(reqData)
|
||||||
var parseData = config.listParseData(res)
|
// var parseData = config.listParseData(res)
|
||||||
this.data = parseData.rows
|
// this.data = parseData.rows
|
||||||
this.total = parseData.total
|
// this.total = parseData.total
|
||||||
this.listLoading = false
|
this.listLoading = false
|
||||||
this.$refs.scrollbar.setScrollTop(0)
|
this.$refs.scrollbar.setScrollTop(0)
|
||||||
},
|
},
|
||||||
@ -243,7 +234,7 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.sc-file-select {display: flex;}
|
.sc-file-select {display: flex; height: 100%}
|
||||||
.sc-file-select__files {flex: 1;}
|
.sc-file-select__files {flex: 1;}
|
||||||
|
|
||||||
.sc-file-select__list {height:400px;}
|
.sc-file-select__list {height:400px;}
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
<script>
|
<script>
|
||||||
import scEcharts from '@/components/scEcharts';
|
import scEcharts from '@/components/scEcharts';
|
||||||
import scStatistic from '@/components/scStatistic';
|
import scStatistic from '@/components/scStatistic';
|
||||||
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'chartlist',
|
name: 'chartlist',
|
||||||
components: {
|
components: {
|
||||||
|
Loading…
Reference in New Issue
Block a user