提交 979eeec0 编写于 作者: zhentian.jia's avatar zhentian.jia

css card样式

上级 b632846f
...@@ -2364,19 +2364,21 @@ export default { ...@@ -2364,19 +2364,21 @@ export default {
} }
} else { } else {
let noChangeTree = this.getTreeCheck(); let noChangeTree = this.getTreeCheck();
// for (let i = 0; i < noChangeTree.length; i++) { console.log('noChangeTree值',noChangeTree);
// scope += noChangeTree[i].key + ":" + noChangeTree[i].type; if(noChangeTree.length > 0) {
// if (i < noChangeTree.length - 1) { for (let i = 0; i < noChangeTree.length; i++) {
// scope += "|"; scope += noChangeTree[i].key + ":" + noChangeTree[i].type;
// } if (i < noChangeTree.length - 1) {
// }
for (let i = 0; i < this.tagsRegion.length; i++) {
scope += this.tagsRegion[i].key;
if (i < this.tagsRegion.length - 1) {
scope += "|"; scope += "|";
} }
} }
console.log('noChangeTree',noChangeTree,'scope',scope); } else {
//选全国项目
if(this.tagsRegion[0].key == '000') {
scope = '000:1';
console.log(this.tagsRegion,'scope',scope);
}
}
} }
} }
//console.log(scope); //console.log(scope);
......
...@@ -206,7 +206,7 @@ export default { ...@@ -206,7 +206,7 @@ export default {
<style lang="scss"> <style lang="scss">
.course-analysis-wrap { .course-analysis-wrap {
background: #fff; background: #fff;
padding: 10px; overflow: hidden;
.weight { .weight {
font-weight: bold; font-weight: bold;
} }
......
...@@ -224,7 +224,7 @@ export default { ...@@ -224,7 +224,7 @@ export default {
<style lang="scss"> <style lang="scss">
.crowd-analysis-wrap { .crowd-analysis-wrap {
background: #fff; background: #fff;
padding: 10px; overflow: hidden;
.header-title { .header-title {
padding: 10px 12px; padding: 10px 12px;
font-size: 12px; font-size: 12px;
......
...@@ -202,6 +202,7 @@ export default { ...@@ -202,6 +202,7 @@ export default {
<style lang='scss' rel='stylesheet/scss'> <style lang='scss' rel='stylesheet/scss'>
.examination-analysis { .examination-analysis {
background: #fff; background: #fff;
overflow: hidden;
.el-card { .el-card {
border-width: 0px; border-width: 0px;
} }
......
<template> <template>
<div class="course-analysis-wrap"> <div class="item-list-wrap">
<bread-crumb :curmbFirst="curmbFirst" :curmbSecond="curmbSecond"></bread-crumb> <bread-crumb :curmbFirst="curmbFirst" :curmbSecond="curmbSecond"></bread-crumb>
<div class="component-content screenSet" id="screenSet"> <div class="component-content screenSet" id="screenSet">
<el-form ref="formInline" :model="formInline" label-width="80px" style="width:50%"> <el-form class="item-form" ref="formInline" :model="formInline" label-width="80px">
<el-form-item label="选择地区:"> <el-form-item label="选择地区:">
<!-- :props="props" --> <!-- :props="props" -->
<el-cascader <el-cascader
...@@ -53,11 +53,13 @@ ...@@ -53,11 +53,13 @@
<el-button @click="search()" type="primary">查询</el-button> <el-button @click="search()" type="primary">查询</el-button>
<el-button @click="resetForm()">重置</el-button> <el-button @click="resetForm()">重置</el-button>
</div> </div>
<div class="button-group"> <div class="button-group">
<el-button type="default" size="small" @click="changeDate">数据修改</el-button> <el-button type="default" size="small" @click="changeDate">数据修改</el-button>
<!-- <el-button type="default" size="small" @click="update" v-else>修改范围</el-button> --> <!-- <el-button type="default" size="small" @click="update" v-else>修改范围</el-button> -->
<el-button type="default" size="small" :disabled="exportStatus" @click="exportExcel">导出明细</el-button> <el-button type="default" size="small" :disabled="exportStatus" @click="exportExcel">导出明细</el-button>
</div> </div>
<!-- <div class="item-tab"></div> -->
<el-tabs v-model="activeName" @tab-click="handleClick" :before-leave="beforeLeave"> <el-tabs v-model="activeName" @tab-click="handleClick" :before-leave="beforeLeave">
<el-tab-pane label="参与情况" name="first"> <el-tab-pane label="参与情况" name="first">
<part-in <part-in
...@@ -539,9 +541,9 @@ export default { ...@@ -539,9 +541,9 @@ export default {
}; };
</script> </script>
<style lang="scss"> <style lang="scss">
.course-analysis-wrap { .item-list-wrap {
.component-content { .component-content {
background: #fff; // background: #fff;
padding: 10px; padding: 10px;
.header-title { .header-title {
padding: 10px 12px; padding: 10px 12px;
...@@ -549,6 +551,12 @@ export default { ...@@ -549,6 +551,12 @@ export default {
color: #449284; color: #449284;
border-bottom: 1px solid #efefef; border-bottom: 1px solid #efefef;
} }
.item-form {
padding: 10px;
background: #fff;
width:100%;
border-radius: 4px;
}
.form-button { .form-button {
width: 45%; width: 45%;
top: -120px; top: -120px;
...@@ -556,7 +564,7 @@ export default { ...@@ -556,7 +564,7 @@ export default {
left: 50%; left: 50%;
} }
.button-group { .button-group {
// position: absolute; position: relative;
// right: 100px; // right: 100px;
float: right; float: right;
margin-right: 20px; margin-right: 20px;
...@@ -565,12 +573,21 @@ export default { ...@@ -565,12 +573,21 @@ export default {
font-size: 12px; font-size: 12px;
margin-bottom: 20px; margin-bottom: 20px;
} }
.item-tab {
width: 95%;
height: 46px;
background: #F0F2F5;
position: absolute;
}
.el-tabs__item.is-active { .el-tabs__item.is-active {
color: #409eff; color: #409eff;
} }
.el-tabs__header { .el-tabs__header {
width: 65%; width: 65%;
} }
.el-tabs__nav-wrap::after {
height: 0px;
}
.tag-group { .tag-group {
margin-left: 78px; margin-left: 78px;
.el-tag { .el-tag {
......
...@@ -96,7 +96,7 @@ export default { ...@@ -96,7 +96,7 @@ export default {
this.projectId = vm.getUrlSearch(window.location.href, "id"); this.projectId = vm.getUrlSearch(window.location.href, "id");
}, },
mounted: function() { mounted: function() {
commonUtil.resizeHeight(); // commonUtil.resizeHeight();
this.$on("search", () => { this.$on("search", () => {
this.search(); this.search();
}); });
...@@ -207,6 +207,7 @@ export default { ...@@ -207,6 +207,7 @@ export default {
num: data.acquireCertificatePeopleCount, num: data.acquireCertificatePeopleCount,
}, },
]; ];
if(data.manyCertificate != null) {
for(let i=0;i<data.manyCertificate.length;i++) { for(let i=0;i<data.manyCertificate.length;i++) {
let obj = { let obj = {
title: data.manyCertificate[i].name, title: data.manyCertificate[i].name,
...@@ -216,6 +217,7 @@ export default { ...@@ -216,6 +217,7 @@ export default {
vm.cardData.push(obj); vm.cardData.push(obj);
} }
} }
}
// vm.cardData[0].num = data.participateHospitalCount; // vm.cardData[0].num = data.participateHospitalCount;
// vm.cardData[1].num = data.participatePeopleCount; // vm.cardData[1].num = data.participatePeopleCount;
// vm.cardData[2].num = data.hasParticipatePeopleCount; // vm.cardData[2].num = data.hasParticipatePeopleCount;
...@@ -227,6 +229,8 @@ export default { ...@@ -227,6 +229,8 @@ export default {
<style lang='scss'> <style lang='scss'>
.part-in-wrap { .part-in-wrap {
background: #fff;
overflow: hidden;
.el-card { .el-card {
border-width: 0px; border-width: 0px;
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册