|
@@ -87,13 +87,13 @@
|
|
|
</script>
|
|
|
<div id="app"></div>
|
|
|
<template id="template">
|
|
|
- <div class="layui-layout layui-layout-admin">
|
|
|
+ <div class="layui-layout layui-layout-admin pd0">
|
|
|
<!-- 内容区域 -->
|
|
|
<div class="right_title">
|
|
|
<%-- <span class="txt">重点项目信息台账</span>--%>
|
|
|
- <div class="txt" style="width: 100%;text-align: center">储备项目库</div>
|
|
|
+ <div class="txt">储备项目库<div class="top-breadcrumb"></div></div>
|
|
|
<%-- <span class="txt">储备项目库</span>--%>
|
|
|
- <div class="layui-collapse">
|
|
|
+ <div class="layui-collapse search-form">
|
|
|
<div class="layui-colla-item">
|
|
|
<%-- <h2 class="layui-colla-title">筛选</h2>--%>
|
|
|
<div class="layui-colla-content layui-show">
|
|
@@ -214,12 +214,12 @@
|
|
|
<%-- <button type="button" class="layui-btn layui-btn-norma"--%>
|
|
|
<%-- style="margin-left: 20px" @click="uploadProject">导入--%>
|
|
|
<%-- </button>--%>
|
|
|
- <button type="button" class="layui-btn layui-btn-norma"
|
|
|
+ <button type="button" class="layui-btn layui-btn-normal"
|
|
|
style="margin-left: 20px"
|
|
|
@click="subInfoToSubFix">自动抓取
|
|
|
</button>
|
|
|
- <button type="button" class="layui-btn layui-btn-norma" style="margin-left: 20px" @click="exportFixTotalExcel">项目汇总导出</button>
|
|
|
- <button type="button" class="layui-btn layui-btn-norma" style="margin-left: 20px" @click="exportFixDetailExcel">项目明细导出</button>
|
|
|
+<%-- <button type="button" class="layui-btn layui-btn-norma" style="margin-left: 20px" @click="exportFixTotalExcel">项目汇总导出</button>--%>
|
|
|
+<%-- <button type="button" class="layui-btn layui-btn-norma" style="margin-left: 20px" @click="exportFixDetailExcel">项目明细导出</button>--%>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -235,7 +235,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div>
|
|
|
- <div class="layui-row">
|
|
|
+ <div class="layui-row class_ls">
|
|
|
<div class="layui-form-item">
|
|
|
<div style="display: flex">
|
|
|
<label class="juli">
|
|
@@ -247,7 +247,7 @@
|
|
|
</div>
|
|
|
</label>
|
|
|
<label class="juli">
|
|
|
- A类项目数<span class="lanse-first">{{beginRate.atotal}}</span>
|
|
|
+ A类项目数<span class="lanse-first" style="color: #FFAD0D">{{beginRate.atotal}}</span>
|
|
|
<div class="progress-div">
|
|
|
<div class="layui-progress">
|
|
|
<div class="layui-progress-bar" :style="'width:'+beginRate.noRate"></div>
|
|
@@ -255,7 +255,7 @@
|
|
|
</div>
|
|
|
</label>
|
|
|
<label class="juli">
|
|
|
- B类项目数<span class="lanse-first">{{beginRate.btotal}}</span>
|
|
|
+ B类项目数<span class="lanse-first" style="color: #E0534E">{{beginRate.btotal}}</span>
|
|
|
<div class="progress-div">
|
|
|
<div class="layui-progress">
|
|
|
<div class="layui-progress-bar" :style="'width:'+beginRate.beginRate"></div>
|
|
@@ -263,7 +263,7 @@
|
|
|
</div>
|
|
|
</label>
|
|
|
<label class="juli">
|
|
|
- C类项目数<span class="lanse-first">{{beginRate.ctotal}}</span>
|
|
|
+ C类项目数<span class="lanse-first" style="color: #ff0d56">{{beginRate.ctotal}}</span>
|
|
|
<div class="progress-div">
|
|
|
<div class="layui-progress">
|
|
|
<div class="layui-progress-bar" :style="'width:'+beginRate.beginRate"></div>
|
|
@@ -287,14 +287,14 @@
|
|
|
</div>
|
|
|
</label>
|
|
|
</div>
|
|
|
- <div style="display: flex;margin-bottom: 3px">
|
|
|
+ <div style="display: flex;margin-bottom: 3px" class="second_line">
|
|
|
<label class="juli" @click="levelList('subjects',item.title,item.code)"
|
|
|
v-for="(item, index) in beginRate.subjectIdList" :key="index">
|
|
|
{{item.title}}<span class="lanse-first">{{item.total}}</span>
|
|
|
</label>
|
|
|
</div>
|
|
|
|
|
|
- <div style="margin-bottom: 3px">
|
|
|
+ <div style="margin-bottom: 3px" class="second_line">
|
|
|
<label class="juli"
|
|
|
@click="levelList('indusKinds',item.title,item.code)"
|
|
|
v-for="(item, index) in beginRate.indusKindList" :key="index">
|
|
@@ -307,6 +307,16 @@
|
|
|
</div>
|
|
|
<div class="table_box" style="padding-top: 0;">
|
|
|
<div class="table_process" style="position: relative;">
|
|
|
+ <div style="position: relative; display: inline-block" @mouseover="openExport" @mouseout="choseExport">
|
|
|
+ <div class="export">
|
|
|
+ <img src="${WebSite.asset}/css/images/left/export.svg"/>
|
|
|
+ <span>导出</span>
|
|
|
+ </div>
|
|
|
+ <div class="export-item" v-if="showExport" :style="{ top: '-93px' }">
|
|
|
+ <button type="button" class="" @click="exportFixDetailExcel">项目明细导出</button>
|
|
|
+ <button type="button" class="" @click="exportFixTotalExcel">项目汇总导出</button>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
<table id="table1" lay-filter="test" style="position: relative;"></table>
|
|
|
<div class="pagination-box" id="pagination"></div>
|
|
|
</div>
|
|
@@ -735,6 +745,9 @@
|
|
|
, multiple: false //允许上传多个文件
|
|
|
});
|
|
|
this.getData();
|
|
|
+
|
|
|
+ window.addEventListener('message', this.receiveMessage, false);
|
|
|
+ window.parent.postMessage('init loaded')
|
|
|
window.toDetail = this.toDetail;
|
|
|
window.toVideo = this.toVideo;
|
|
|
$(".hiddenParams").show();
|
|
@@ -1312,6 +1325,12 @@
|
|
|
choseExport: function () {
|
|
|
this.showExport = false;
|
|
|
console.log('移出了')
|
|
|
+ },
|
|
|
+ receiveMessage (e) {
|
|
|
+ console.log('cb receiveMessage: ', e.data)
|
|
|
+ if (e.data.topBreadcrumb) {
|
|
|
+ $(".top-breadcrumb").html(e.data.topBreadcrumb)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
});
|