|
@@ -11,7 +11,8 @@
|
|
|
<link rel="stylesheet" href=//cdn-common.jianyu360.com/cdn/lib/vant/2.12.24/lib/icon/local.css />
|
|
|
<link rel="stylesheet" href='{{Msg "seo" "cdn"}}/common-module/collection/css/index.css?v={{Msg "seo" "version"}}'>
|
|
|
<link rel="stylesheet" href='{{Msg "seo" "cdn"}}/common-module/big-member/css/ent_project_news.css?v={{Msg "seo" "version"}}'>
|
|
|
- <!--临时处理区域选择仅有一个时展示问题-->
|
|
|
+ <link rel="stylesheet" href='{{Msg "seo" "cdn"}}/common-module/mainSearch/css/j-icons.css?v={{Msg "seo" "version"}}' />
|
|
|
+ <!--临时处理区域选择仅有一个时展示问题-->
|
|
|
<style>
|
|
|
.select-area-box.j-container.hide-all .van-index-bar__sidebar + .key-card-box {
|
|
|
display: none;
|
|
@@ -77,44 +78,146 @@
|
|
|
</van-dropdown-menu>
|
|
|
</div> -->
|
|
|
</div>
|
|
|
- <div class="j-main" ref="jList">
|
|
|
- <div class="list-wrapper">
|
|
|
- <van-list
|
|
|
- v-model="listState.loading"
|
|
|
- :finished="listState.finished"
|
|
|
- :immediate-check="false"
|
|
|
- finished-text=""
|
|
|
- @load="onLoad"
|
|
|
- class="project-info-list">
|
|
|
- <div
|
|
|
- v-for="(item, index) in listState.list"
|
|
|
- class="project-info-item bg-white border-line-b clickable"
|
|
|
- :immediate-check="false"
|
|
|
- @click="goToDetail(item)"
|
|
|
- :key="item.id">
|
|
|
- <div class="project-name">${ item.title }</div>
|
|
|
- <div class="project-info">
|
|
|
- <span class="tags">
|
|
|
- <span class="tag tag-success" v-if="item.area">${item.area}</span>
|
|
|
- <span class="tag tag-success" v-if="item.bidstatus">${item.bidstatus}</span>
|
|
|
- <span class="tag tag-success" v-if="item.bidamount">${utils.moneyUnit(item.bidamount)}</span>
|
|
|
- </span>
|
|
|
- <span class="project-time">
|
|
|
- ${item.firsttime ? new Date(item.firsttime * 1000).pattern('yyyy-MM-dd') : '-'}
|
|
|
+ <div class="dynamic">
|
|
|
+ <div class="selected-export-box" >
|
|
|
+ <div class="selected-export">
|
|
|
+ <div class="select-show-type-group">
|
|
|
+ <span v-if="isActive ==0" class="active" @click="changeList">列表显示</span>
|
|
|
+ <span v-else @click="changeList">列表显示</span>
|
|
|
+ <span v-if="isActive ==1" class="active" @click="changeList">表格显示</span>
|
|
|
+ <span v-else @click="changeList">表格显示</span>
|
|
|
+ </div>
|
|
|
+ <div class="export">
|
|
|
+ <span @click="onExport">
|
|
|
+ <i class="j-icon base-icon icon-download"></i>
|
|
|
+ <em id="mainSearch-selLable-dataExport">数据导出</em>
|
|
|
</span>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </van-list>
|
|
|
- <div class="empty-container" v-show="listState.list.length === 0 && listState.loaded && !listState.loading">
|
|
|
- <div class="empty-content-position">
|
|
|
- <div class="image">
|
|
|
- <img src="/big-member/image/img-empty.png">
|
|
|
- </div>
|
|
|
- <div class="empty-main tip-text">暂无数据</div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div v-if="isActive ==0" class="j-main" ref="jList">
|
|
|
+ <div class="list-wrapper">
|
|
|
+ <van-list
|
|
|
+ v-model="listState.loading"
|
|
|
+ :finished="listState.finished"
|
|
|
+ :immediate-check="false"
|
|
|
+ finished-text=""
|
|
|
+ @load="onLoad"
|
|
|
+ class="project-info-list">
|
|
|
+ <div
|
|
|
+ v-for="(item, index) in listState.list"
|
|
|
+ class="project-info-item bg-white border-line-b clickable"
|
|
|
+ :immediate-check="false"
|
|
|
+ @click="goToDetail(item)"
|
|
|
+ :key="item.id">
|
|
|
+ <!-- <div class="project-name">${ item.title }</div>-->
|
|
|
+ <div class="head-group">
|
|
|
+ <div class="project-name" style="flex: 1">${ item.title }</div>
|
|
|
+ <span class="icon weishoucang" :class="idx.indexOf(item.id) >-1 ? 'shoucang' : 'weishoucang'" @click.stop="addKeepStatus(item)"></span>
|
|
|
+ </div>
|
|
|
+ <div class="project-info">
|
|
|
+ <span class="tags">
|
|
|
+ <span class="tag tag-success" v-if="item.area">${item.area}</span>
|
|
|
+ <span class="tag tag-success" v-if="item.bidstatus">${item.bidstatus}</span>
|
|
|
+ <span class="tag tag-success" v-if="item.bidamount">${utils.moneyUnit(item.bidamount)}</span>
|
|
|
+ </span>
|
|
|
+ <span class="project-time">
|
|
|
+ ${item.firsttime ? new Date(item.firsttime * 1000).pattern('yyyy-MM-dd') : '-'}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </van-list>
|
|
|
+ <div class="empty-container" v-show="listState.list.length === 0 && listState.loaded && !listState.loading">
|
|
|
+ <div class="empty-content-position">
|
|
|
+ <div class="image">
|
|
|
+ <img src="/jyapp/big-member/image/img-empty.png">
|
|
|
+ </div>
|
|
|
+ <div class="empty-main tip-text">暂无数据</div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div v-if="isActive ==1" class="d_content" style="padding: 15px;background-color: white" ref="jList">
|
|
|
+ <div class="etable">
|
|
|
+ <el-table
|
|
|
+ :data="colList"
|
|
|
+ border
|
|
|
+ style="width: 100%;"
|
|
|
+ size="medium"
|
|
|
+ :header-cell-style="{background:'rgb(245,246,247)'}">
|
|
|
+ <el-table-column
|
|
|
+ prop="title"
|
|
|
+ label="项目名称"
|
|
|
+ width="240"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span @click="goToDetail(scope.row)">${scope.row.title}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="bidsta"
|
|
|
+ label="公告类型"
|
|
|
+ width="120">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="budget"
|
|
|
+ label="预算(万元)"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ ${scope.row.budget ? (scope.row.budget/10000).toFixed(2):""}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="bidopentime"
|
|
|
+ label="开标日期"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ ${scope.row.bidopentime? new Date(scope.row.bidopentime * 1000).pattern('yyyy-MM-dd') : ''}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="buyer"
|
|
|
+ label="招标单位"
|
|
|
+ width="230">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span @click="goEntInfo(scope.row.id)">${scope.row.buyer}</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="bidamount"
|
|
|
+ label="中标金额(万元)">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ ${scope.row.bidamount ?(scope.row.bidamount/10000).toFixed(2):""}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="area"
|
|
|
+ label="省份">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ prop="firsttime"
|
|
|
+ label="发布时间"
|
|
|
+ width="120">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ ${scope.row.firsttime? new Date(scope.row.firsttime * 1000).pattern('yyyy-MM-dd') : ''}
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
</div>
|
|
|
+ </template>
|
|
|
+ <div v-show="isShowMoreBtn">
|
|
|
+ <div class="more">
|
|
|
+ <span @click.stop="onExport">查看更多</span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div id="jyKeepComponent">
|
|
|
+ <keep-component ref="vKeepComponent" @on-change-keep="changeKeepStatus" :bid="nowOpenBid" :first="false"></keep-component>
|
|
|
+ </div>
|
|
|
+ <div id="jyEntKeepComponent">
|
|
|
+ <keep-ent-component ref="vKeepEntComponent" @on-save-tag="onSvaeTag" :bid="nowOpenBid" :first="false"></keep-ent-component>
|
|
|
</div>
|
|
|
|
|
|
<link rel="stylesheet" href='{{Msg "seo" "cdn"}}/common-module/collection/css/index.css?v={{Msg "seo" "version"}}'>
|
|
@@ -124,6 +227,8 @@
|
|
|
<script src=//cdn-common.jianyu360.com/cdn/lib/vue/2.6.11/vue.min.js></script>
|
|
|
<script src=//cdn-common.jianyu360.com/cdn/lib/vant/2.12.24/lib/vant.min.js></script>
|
|
|
<script src=//cdn-common.jianyu360.com/cdn/lib/zepto/1.2.0/zepto.min.js></script>
|
|
|
+ <script src="//cdn-common.jianyu360.com/cdn/lib/element-ui/2.15.7/lib/index.js"></script>
|
|
|
+ <link href="//cdn-common.jianyu360.com/cdn/lib/element-ui/2.15.7/lib/theme-chalk/index.css" rel="stylesheet" />
|
|
|
<script>
|
|
|
var pageInfo = {
|
|
|
version: {{Msg "seo" "version"}},
|
|
@@ -135,5 +240,27 @@
|
|
|
<script src='{{Msg "seo" "cdn"}}/common-module/collection/js/notice-mobile.js?v={{Msg "seo" "version"}}'></script>
|
|
|
<script src='{{Msg "seo" "cdn"}}/common-module/collection/js/area-mobile.js?v={{Msg "seo" "version"}}'></script>
|
|
|
<script src='{{Msg "seo" "cdn"}}/common-module/big-member/js/ent_project_news.js?v={{Msg "seo" "version"}}'></script>
|
|
|
+ <script src='{{Msg "seo" "cdn"}}/common-module/keep-tags/keep-tags-template.js?v={{Msg "seo" "version"}}'></script>
|
|
|
+ <script src='{{Msg "seo" "cdn"}}/common-module/keep-tags/keep-ent-tags-template.js?v={{Msg "seo" "version"}}'></script>
|
|
|
+ <script>
|
|
|
+ // 收藏组件
|
|
|
+ var vKeepComponent = new Vue({
|
|
|
+ delimiters: ['${', '}'],
|
|
|
+ el: '#jyKeepComponent',
|
|
|
+ data: {
|
|
|
+ nowOpenBid: ''
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ changeBid (id, type) {
|
|
|
+ this.nowOpenBid = id
|
|
|
+ this.$refs.vKeepComponent.ajaxAddKeep(id, type)
|
|
|
+ },
|
|
|
+ changeKeepStatus (type) {
|
|
|
+
|
|
|
+ entProjectNews.changeKeepStatus(this.nowOpenBid, type)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ </script>
|
|
|
</body>
|
|
|
</html>
|