Commit c0878834 by zhao_shaonan

优化字典组件、报告页样式、更新图标库

parent 2f856521
......@@ -20,6 +20,15 @@ Created by iconfont
/>
<missing-glyph />
<glyph glyph-name="rizhi" unicode="&#58962;" d="M512 810.666667A426.666667 426.666667 0 1 0 85.333333 384 428.8 428.8 0 0 0 512 810.666667z m40.533333-221.866667h-81.066666v-228.266667a44.8 44.8 0 0 1 8.533333-23.466666l142.933333-142.933334 59.733334 57.6-130.133334 130.133334z" horiz-adv-x="1024" />
<glyph glyph-name="fangwen" unicode="&#58963;" d="M849.066667 797.866667L138.666667 578.133333a59.733333 59.733333 0 0 1-40.533334-74.666666A59.733333 59.733333 0 0 1 123.733333 469.333333l211.2-134.4a61.866667 61.866667 0 0 1 70.4 4.266667l262.4 221.866667a14.933333 14.933333 0 0 0 21.333334-21.333334L467.2 277.333333a61.866667 61.866667 0 0 1-4.266667-70.4l134.4-211.2a59.733333 59.733333 0 0 1 83.2-17.066666 55.466667 55.466667 0 0 1 25.6 32L925.866667 721.066667a64 64 0 0 1-40.533334 76.8z" horiz-adv-x="1024" />
<glyph glyph-name="gonggongyunkong" unicode="&#58964;" d="M898.133333 93.866667H123.733333a38.4 38.4 0 1 1 0-76.8h774.4a38.4 38.4 0 1 1 0 76.8zM904.533333 750.933333H117.333333A32 32 0 0 1 85.333333 718.933333v-499.2a34.133333 34.133333 0 0 1 32-34.133333h789.333334a34.133333 34.133333 0 0 1 32 34.133333V718.933333a34.133333 34.133333 0 0 1-34.133334 32zM358.4 328.533333a38.4 38.4 0 1 0-76.8 0v179.2a38.4 38.4 0 1 0 76.8 0z m192 0a38.4 38.4 0 1 0-76.8 0v136.533334a38.4 38.4 0 1 0 76.8 0z m192 0a38.4 38.4 0 1 0-76.8 0V593.066667a38.4 38.4 0 1 0 76.8 0z" horiz-adv-x="1024" />
<glyph glyph-name="tongji_2" unicode="&#58958;" d="M514.133333 384V810.666667A473.6 473.6 0 0 0 938.666667 384z m356.266667-68.266667H477.866667a36.266667 36.266667 0 0 0-34.133334 36.266667V742.4a392.533333 392.533333 0 1 1 426.666667-426.666667z" horiz-adv-x="1024" />
......
......@@ -55,13 +55,14 @@ export default {
return {
isCollapse: false,
leftMenu: this.propLeftMenu,
currentBar: '1'
currentBar: '1',
csidebarItemName:this.sidebarItemName
};
},
watch: {
sidebarItemName(val) {
if(val=='ykpgbg'||val=='fwrz'){
this.sidebarItemName="dwfwyktj";
this.csidebarItemName="dwfwyktj";
}
}
},
......@@ -78,18 +79,18 @@ export default {
},
mounted() {
let self = this;
if(self.sidebarItemName=='dlrz'||self.sidebarItemName=='gnsyrz'||self.sidebarItemName=='gnfwtj'){//访问运控菜单
if(self.csidebarItemName=='dlrz'||self.csidebarItemName=='gnsyrz'||self.csidebarItemName=='gnfwtj'){//访问运控菜单
let index = self.leftMenu.findIndex(item => item.id == 'fwyk');
self.leftMenu[index].children.forEach(item2 => {
if(item2.id == self.sidebarItemName){
if(item2.id == self.csidebarItemName){
self.currentBar = (item2.index).toString();
}
});
}else{
if(self.sidebarItemName=='ykpgbg'||self.sidebarItemName=='fwrz'){
self.sidebarItemName="dwfwyktj";
if(self.csidebarItemName=='ykpgbg'||self.csidebarItemName=='fwrz'){
self.csidebarItemName="dwfwyktj";
}
let index = self.leftMenu.findIndex(item => item.id == self.sidebarItemName);
let index = self.leftMenu.findIndex(item => item.id == self.csidebarItemName);
self.currentBar = (index + 1).toString();
}
}
......
......@@ -45,6 +45,7 @@
@check="codeTreeNodeCheck"
@check-change="handleNodeClick"
:data="codeTreeConfig.props"
:check-on-click-node="true"
check-strictly
show-checkbox
style="height: 288px;">
......
......@@ -6,6 +6,7 @@ import store from "./store";
import "./plugins/element.js";
import Util from "./utils/util";
import VueWechatTitle from "vue-wechat-title";
import "@/assets/styles/iconfont.css";
// 引入echarts
import echarts from 'echarts'
Vue.prototype.$echarts = echarts
......
......@@ -19,6 +19,7 @@
prefix-icon="el-icon-date"
@change="changeDate"
v-show="isZdyDate"
style="vertical-align: middle;height: 36px;"
>
</el-date-picker>
<el-button
......@@ -475,6 +476,7 @@
self.doquery2();
self.doquery3();
}else{
self.zdyDate='';
self.isZdyDate=true;
}
......@@ -511,5 +513,6 @@
</script>
<style scoped lang="scss">
@import url("../../assets/styles/iconfont.css");
@import "../../assets/styles/ykbg.scss";
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment