Authored by 张凯

Merge branch 'master' of http://113.200.75.45:82/monitor_v3/hg-monitor-web into joke

@@ -47,15 +47,15 @@ @@ -47,15 +47,15 @@
47 <i class="iconfont icon-icon--download"></i> 47 <i class="iconfont icon-icon--download"></i>
48 下载 48 下载
49 </el-button> 49 </el-button>
50 -<!-- <el-button :size="$global.elementSize" @click="showFolder(true,true)" v-if="canAddFolder && !isRecycle">-->  
51 -<!-- <i class="iconfont icon-weidaqiadewenjianjia"></i>-->  
52 -<!-- 新增文件夹-->  
53 -<!-- </el-button>--> 50 + <el-button :size="$global.elementSize" @click="showFolder(true,true)" v-if="!isView & canAddFolder && !isRecycle">
  51 + <i class="iconfont icon-weidaqiadewenjianjia"></i>
  52 + 新增文件夹
  53 + </el-button>
54 <el-button type="primary" :size="$global.elementSize" @click="showUploadFile(true)" v-if=" !isRecycle"> 54 <el-button type="primary" :size="$global.elementSize" @click="showUploadFile(true)" v-if=" !isRecycle">
55 <i class="iconfont icon-icon--shangchuan"></i> 55 <i class="iconfont icon-icon--shangchuan"></i>
56 上传 56 上传
57 </el-button> 57 </el-button>
58 - <el-button type="danger" :size="$global.elementSize" @click="deleteDocument('','file')" v-if="isRecycle"> 58 + <el-button type="danger" :size="$global.elementSize" @click="deleteDocument('','file')" v-if="!isView">
59 <i class="iconfont icon-shanchuwenjianjia"></i> 59 <i class="iconfont icon-shanchuwenjianjia"></i>
60 删除 60 删除
61 </el-button> 61 </el-button>
@@ -114,8 +114,8 @@ body{ @@ -114,8 +114,8 @@ body{
114 display: inline-block; 114 display: inline-block;
115 background-size: 100%; 115 background-size: 100%;
116 background-position: center; 116 background-position: center;
117 - width: 14px;  
118 - height: 14px; 117 + width: 12px;
  118 + height: 12px;
119 } 119 }
120 .button-flex-div-center span{ 120 .button-flex-div-center span{
121 display: flex; 121 display: flex;
@@ -145,9 +145,15 @@ body{ @@ -145,9 +145,15 @@ body{
145 .icon-list-net{ 145 .icon-list-net{
146 background-image: url("/vue3/src/assets/images/analysis/icon-list-net.png"); 146 background-image: url("/vue3/src/assets/images/analysis/icon-list-net.png");
147 } 147 }
  148 +.icon-list-add{
  149 + background-image: url("/vue3/src/assets/images/analysis/icon-list-add.png");
  150 +}
148 .search-text{ 151 .search-text{
149 cursor: pointer; 152 cursor: pointer;
150 } 153 }
  154 +.list-search .search-text{
  155 + margin-left:10px;
  156 +}
151 .alert-div{ 157 .alert-div{
152 position:absolute; 158 position:absolute;
153 top:0; 159 top:0;
@@ -167,3 +173,7 @@ body{ @@ -167,3 +173,7 @@ body{
167 padding: 5px 10px; 173 padding: 5px 10px;
168 z-index: 1; 174 z-index: 1;
169 } 175 }
  176 +.list-handle{
  177 + display: flex;
  178 + justify-content: center;
  179 +}
@@ -18,8 +18,9 @@ @@ -18,8 +18,9 @@
18 background-image: url("/vue3/src/assets/images/zjdp/declare-title.png"); 18 background-image: url("/vue3/src/assets/images/zjdp/declare-title.png");
19 background-position: center; 19 background-position: center;
20 background-repeat: no-repeat; 20 background-repeat: no-repeat;
21 - margin-top:15px;  
22 height: 53px; 21 height: 53px;
  22 + background-size: 100%;
  23 + flex:1;
23 } 24 }
24 .total-title{ 25 .total-title{
25 margin-right: 10px; 26 margin-right: 10px;
@@ -109,3 +110,15 @@ @@ -109,3 +110,15 @@
109 .num-net{ 110 .num-net{
110 color:#e5abd1; 111 color:#e5abd1;
111 } 112 }
  113 +.jump{
  114 + display: flex;
  115 + justify-content: space-around;
  116 + align-items: center;
  117 + margin-top: 15px;
  118 +}
  119 +.img-link{
  120 + /*width: 42px;*/
  121 + height: 47px;
  122 + margin-right:2px;
  123 + cursor: pointer;
  124 +}
@@ -16,28 +16,33 @@ @@ -16,28 +16,33 @@
16 <el-col :span="6"> 16 <el-col :span="6">
17 <div class="search-input flex-div-start"> 17 <div class="search-input flex-div-start">
18 <el-input v-model="inputSearch" placeholder="请输入创建人名称" /> 18 <el-input v-model="inputSearch" placeholder="请输入创建人名称" />
19 - <span class="search-text" @click="searchData">搜索</span> 19 +<!-- <span class="search-text" >搜索</span>-->
  20 + <el-button type="primary" @click="searchData" class="search-text button-flex-div-center">搜索</el-button>
  21 +
20 </div> 22 </div>
21 23
22 </el-col> 24 </el-col>
23 </el-row> 25 </el-row>
24 - <!-- <el-row class="list-title"> 26 + <el-row class="list-title">
25 <el-col :span="24" class="text-left"> 27 <el-col :span="24" class="text-left">
26 - <el-button type="primary" class="button-flex-div-center"><i class="icon-list icon-list-add"></i>新增</el-button>  
27 - <el-button type="primary" class="button-flex-div-center"><i class="icon-list icon-list-delete"></i>删除</el-button> 28 + <router-link :to="'/analysis/add'" class="analysis link-type">
  29 + <el-button type="primary" class="button-flex-div-center"><i class="el-icon-plus"></i>新增</el-button>
  30 + </router-link>
  31 +
  32 + <!-- <el-button type="primary" class="button-flex-div-center"><i class="icon-list icon-list-delete"></i>删除</el-button>-->
28 </el-col> 33 </el-col>
29 - </el-row>--> 34 + </el-row>
30 <el-row class="analysis-table-div"> 35 <el-row class="analysis-table-div">
31 <el-col :span="24"> 36 <el-col :span="24">
32 <el-table border ref="multipleTable" @selection-change="handleSelectionChange" :data="tableData" stripe style="width: 100%"> 37 <el-table border ref="multipleTable" @selection-change="handleSelectionChange" :data="tableData" stripe style="width: 100%">
33 <!-- <el-table-column align="center" type="selection" width="55" />--> 38 <!-- <el-table-column align="center" type="selection" width="55" />-->
34 - <el-table-column prop="configName" align="center" label="配置项名称" sortable width="180" />  
35 - <el-table-column prop="configDepict" label="配置项描述" sortable width="180" />  
36 - <el-table-column prop="timeScopeName" label="时间范围" sortable width="180" ></el-table-column>  
37 - <el-table-column align="center" prop="nickname" label="创建人名称" sortable width="180" />  
38 - <el-table-column align="center" prop="createTime" :formatter="dateFormat" label="创建时间" sortable width="210" /> 39 + <el-table-column prop="configName" align="center" label="配置项名称" sortable />
  40 + <el-table-column prop="configDepict" align="center" label="配置项描述" sortable />
  41 + <el-table-column prop="timeScopeName" align="center" label="时间范围" sortable ></el-table-column>
  42 + <el-table-column align="center" prop="nickname" label="创建人名称" sortable />
  43 + <el-table-column align="center" prop="createTime" :formatter="dateFormat" label="创建时间" sortable />
39 44
40 - <el-table-column prop="address" label="操作" > 45 + <el-table-column prop="address" align="center" label="操作"width="180" >
41 <template #default="scope"> 46 <template #default="scope">
42 <div class="list-handle"> 47 <div class="list-handle">
43 <span class="icon-bg"> 48 <span class="icon-bg">
1 <div class="declare-container" id="declare"> 1 <div class="declare-container" id="declare">
2 <!--今日申报--> 2 <!--今日申报-->
3 <div class="declare-left"> 3 <div class="declare-left">
  4 + <div class="jump">
  5 + <img @click="goJump" src="/vue3/src/assets/images/zjdp/icon-link.png" class="img-link">
4 <div class="declare-total"> 6 <div class="declare-total">
5 <span class="total-title">本月应申报</span> 7 <span class="total-title">本月应申报</span>
6 <span class="total-num">{{reportable}}</span> 8 <span class="total-num">{{reportable}}</span>
7 </div> 9 </div>
  10 + </div>
  11 +
8 <div class="declaration-rate"> 12 <div class="declaration-rate">
9 <span class="rate-title">本月申报率</span> 13 <span class="rate-title">本月申报率</span>
10 <span class="proportion-bar"> 14 <span class="proportion-bar">
@@ -180,12 +180,16 @@ export default { @@ -180,12 +180,16 @@ export default {
180 return intPartFormat 180 return intPartFormat
181 } 181 }
182 } 182 }
  183 + const goJump=()=>{
  184 + proxy.$router.push({path:'/zj/dp',query: {access_token:localStorage.getItem('access_token')}})
  185 + }
183 186
184 return{ 187 return{
185 numberFilter, 188 numberFilter,
186 eleWidthNum, 189 eleWidthNum,
187 getDeclareData, 190 getDeclareData,
188 - startInterval 191 + startInterval,
  192 + goJump
189 } 193 }
190 }, 194 },
191 unmounted () { 195 unmounted () {