Merge branch 'dev' of https://git.qcloud.com/joylink/jl-nclient into dev
This commit is contained in:
commit
95e6008c50
@ -77,6 +77,11 @@ export default {
|
|||||||
return '';
|
return '';
|
||||||
},
|
},
|
||||||
height() {
|
height() {
|
||||||
|
if (/\/dp\//.test(this.$route.path) ||
|
||||||
|
/\/plan\//.test(this.$route.path)) {
|
||||||
|
return this.$store.state.app.height;
|
||||||
|
}
|
||||||
|
|
||||||
return this.$store.state.app.height - 61;
|
return this.$store.state.app.height - 61;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -27,7 +27,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
option: {
|
option: {
|
||||||
backgroundColor: '#f0f0f0',
|
backgroundColor: '#fefefe',
|
||||||
title: {
|
title: {
|
||||||
text: '',
|
text: '',
|
||||||
subtext: '',
|
subtext: '',
|
||||||
|
@ -91,6 +91,5 @@ export default {
|
|||||||
.perssmin-card {
|
.perssmin-card {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
// margin-top: 20px;
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -27,7 +27,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
listShow: true,
|
listShow: true,
|
||||||
widthLeft: 450
|
widthLeft: Number(localStore.get('LeftWidth')) || 450
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -43,9 +43,6 @@ export default {
|
|||||||
this.listShow = val;
|
this.listShow = val;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
|
||||||
this.widthLeft = Number(localStore.get('LeftWidth'));
|
|
||||||
},
|
|
||||||
methods: {
|
methods: {
|
||||||
refresh() {
|
refresh() {
|
||||||
this.$refs && this.$refs.examlList && this.$refs.examlList.refresh();
|
this.$refs && this.$refs.examlList && this.$refs.examlList.refresh();
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
<el-card v-loading="loading" class="map-list-main">
|
<el-card v-loading="loading" class="map-list-main">
|
||||||
<div slot="header" class="clearfix">
|
<div slot="header" class="clearfix">
|
||||||
<span>试题列表</span>
|
<span>试题列表</span>
|
||||||
<!-- <div v-if="role" class="back-home" @click="backHome">返回首页</div> -->
|
|
||||||
</div>
|
</div>
|
||||||
<filter-city
|
<filter-city
|
||||||
ref="filerCity"
|
ref="filerCity"
|
||||||
@ -12,7 +11,7 @@
|
|||||||
@filterSelectChange="refresh"
|
@filterSelectChange="refresh"
|
||||||
/>
|
/>
|
||||||
<el-input v-model="filterText" placeholder="输入关键字进行过滤" clearable />
|
<el-input v-model="filterText" placeholder="输入关键字进行过滤" clearable />
|
||||||
<el-scrollbar wrap-class="scrollbar-wrapper" :style="{ height: (height-125) +'px' }">
|
<el-scrollbar wrap-class="scrollbar-wrapper" :style="{ height: (height-175) +'px' }">
|
||||||
<el-tree
|
<el-tree
|
||||||
ref="tree"
|
ref="tree"
|
||||||
:data="treeData"
|
:data="treeData"
|
||||||
@ -97,9 +96,6 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
// backHome() {
|
|
||||||
// this.$router.push({ path: `/` });
|
|
||||||
// },
|
|
||||||
filterNode(value, data) {
|
filterNode(value, data) {
|
||||||
if (!value) return true;
|
if (!value) return true;
|
||||||
return data.name.indexOf(value) !== -1;
|
return data.name.indexOf(value) !== -1;
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
:data="ruleList"
|
:data="ruleList"
|
||||||
border
|
border
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
:height="height-300"
|
:height="height-450"
|
||||||
>
|
>
|
||||||
<el-table-column prop="createTime" label="创建时间" />
|
<el-table-column prop="createTime" label="创建时间" />
|
||||||
<el-table-column prop="creatorUserName" label="创建者" />
|
<el-table-column prop="creatorUserName" label="创建者" />
|
||||||
@ -102,7 +102,7 @@ export default {
|
|||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
height() {
|
height() {
|
||||||
return this.$store.state.app.height - 62;
|
return this.$store.state.app.height - 65;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
Loading…
Reference in New Issue
Block a user