恢复三大库详情的收藏按钮
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
<!--title 标题-->
|
||||
<div class="details-header">
|
||||
<span>{{sarStandardsInfoEO.standCode}} 《{{sarStandardsInfoEO.standName}}》 企标详情</span>
|
||||
<!-- 之前的,先注掉-->
|
||||
<!-- <span>{{sarStandardsInfoEO.standCode}}-{{sarStandardsInfoEO.standYear}} 《{{sarStandardsInfoEO.standName}}》 企标详情</span>-->
|
||||
<!-- 之前的,先注掉-->
|
||||
<!-- <span>{{sarStandardsInfoEO.standCode}}-{{sarStandardsInfoEO.standYear}} 《{{sarStandardsInfoEO.standName}}》 企标详情</span>-->
|
||||
</div>
|
||||
<!--主体内容-->
|
||||
<div class="details-content" style="position: relative">
|
||||
@@ -22,8 +22,8 @@
|
||||
style="border-top:none;position: absolute;right: 36px;">
|
||||
<div class="modular-header" style="height: 50px;">
|
||||
<div class="modular-header-btn">
|
||||
<el-button v-if="sarStandardsInfoEO.collectId" @click="collectClick(sarStandardsInfoEO.collectId)" title="取消收藏" class="collection-btn" style="color: #f56c6c;" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" style="color: #4788c0;" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button v-if="sarStandardsInfoEO.collectId" @click="collectClick(sarStandardsInfoEO.collectId)" title="取消收藏" class="collection-btn" icon="icon-collection" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button class="relation-btn" icon="icon-relation" @click="relateEvent()">更新记录</el-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -206,7 +206,7 @@
|
||||
</el-collapse>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div v-show="!isMoreAwayBtn" class="more" @click="moreClick">更多<img src="@/assets/images/shangqi/img/more.png"></div>-->
|
||||
<!-- <div v-show="!isMoreAwayBtn" class="more" @click="moreClick">更多<img src="@/assets/images/shangqi/img/more.png"></div>-->
|
||||
<!-- <div v-show="isMoreAwayBtn" class="put-away" @click="putAwayClick">收起<img src="@/assets/images/shangqi/img/more.png"></div>-->
|
||||
<!--查看标准条目列表-->
|
||||
<el-drawer
|
||||
@@ -251,9 +251,9 @@
|
||||
<el-form-item class="search-item">
|
||||
<el-input v-model="standItemSearch.nameOrRequest" size="small" placeholder="根据条款名称/内容查找" clearable maxlength="100"></el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item class="search-item">-->
|
||||
<!-- <el-input v-model="standItemSearch.parts" size="small" placeholder="根据涉及零部件查找" clearable maxlength="100"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item class="search-item">-->
|
||||
<!-- <el-input v-model="standItemSearch.parts" size="small" placeholder="根据涉及零部件查找" clearable maxlength="100"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item class="search-item btn-box">
|
||||
<el-button
|
||||
:loading="searching"
|
||||
@@ -2369,6 +2369,7 @@ export default {
|
||||
padding: 0;
|
||||
border: none;
|
||||
i {
|
||||
color: #F2CB51;
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
|
||||
@@ -20,8 +20,8 @@
|
||||
style="border-top:none;position: absolute;right: 36px;border: none">
|
||||
<div class="modular-header" style="height: 50px;">
|
||||
<div class="modular-header-btn">
|
||||
<el-button v-if="sarStandardsInfoEO.collectId" @click="collectClick(sarStandardsInfoEO.collectId)" title="取消收藏" class="collection-btn" style="color: #f56c6c;" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" style="color: #4788c0;" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button v-if="sarStandardsInfoEO.collectId" @click="collectClick(sarStandardsInfoEO.collectId)" title="取消收藏" class="collection-btn" icon="icon-collection" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button class="relation-btn" icon="icon-relation" @click="relateEvent()">更新LOG</el-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -212,9 +212,9 @@
|
||||
<el-form-item class="search-item">
|
||||
<el-input v-model="standItemSearch.nameOrRequest" size="small" placeholder="根据条款名称/内容查找" clearable maxlength="100"></el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item class="search-item">-->
|
||||
<!-- <el-input v-model="standItemSearch.parts" size="small" placeholder="根据涉及零部件查找" clearable maxlength="100"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item class="search-item">-->
|
||||
<!-- <el-input v-model="standItemSearch.parts" size="small" placeholder="根据涉及零部件查找" clearable maxlength="100"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item class="search-item btn-box">
|
||||
<el-button
|
||||
:loading="searching"
|
||||
@@ -2279,6 +2279,7 @@ export default {
|
||||
padding: 0;
|
||||
border: none;
|
||||
i {
|
||||
color: #F2CB51;
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
<div class="modular-header" style="height: 50px;">
|
||||
<div class="modular-header-btn">
|
||||
<el-button v-if="sarStandardsInfoEO.collectId" @click="collectClick(sarStandardsInfoEO.collectId)"
|
||||
title="取消收藏" class="collection-btn" icon="el-icon-star-off" style="color: #f56c6c;" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" icon="el-icon-star-off" style="color: #4788c0;"
|
||||
title="取消收藏" class="collection-btn" icon="icon-collection" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" icon="el-icon-star-off"
|
||||
:loading="isSubmit"></el-button>
|
||||
<el-button class="relation-btn" icon="icon-relation" @click="relateEvent()">更新记录</el-button>
|
||||
<!-- <el-button class="relation-btn" @click="knowledgeSharing">标准问答</el-button>-->
|
||||
@@ -207,7 +207,7 @@
|
||||
v-else-if="child.attrType === 'DATE_PICKER'"
|
||||
class="modular-content-p-val"
|
||||
>
|
||||
{{ child.value ? child.value : '-' }}
|
||||
{{ child.value ? child.value.substring(0, 10) : '-' }}
|
||||
</span>
|
||||
<span
|
||||
v-else-if="child.attrType !== 'FILE'"
|
||||
@@ -237,7 +237,7 @@
|
||||
class="icon-download2"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : '824f3bf9edef83fc7488917136167232'"
|
||||
/>
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</template>
|
||||
<template v-else>
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{ file.oldFileName }}</a>
|
||||
@@ -253,7 +253,7 @@
|
||||
class="icon-download2"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '824f3bf9edef83fc7488917136167232'"
|
||||
/>
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</template>
|
||||
<!-- <el-button-->
|
||||
<!-- @click="showItemsModel(child.attrField)"-->
|
||||
@@ -334,7 +334,7 @@
|
||||
/>
|
||||
|
||||
<!-- <el-button v-if="file.fileSuffix='pdf'" type="primary" round>OCR</el-button>-->
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</template>
|
||||
<template v-else>
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{ file.oldFileName }}</a>
|
||||
@@ -350,7 +350,7 @@
|
||||
class="icon-download2"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '824f3bf9edef83fc7488917136167232'"
|
||||
/>
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</template>
|
||||
</p>
|
||||
<!-- <el-button-->
|
||||
@@ -408,7 +408,7 @@
|
||||
<!-- <el-button v-if="judgeSuffix(file.fileName)" type="primary" size="mini" style="margin: 5px" @click="ocrFunction(file)" plain>OCR</el-button>-->
|
||||
|
||||
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</template>
|
||||
<template v-else>
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{ file.oldFileName | ellipsis }}</a>
|
||||
@@ -424,7 +424,7 @@
|
||||
class="icon-download2"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '824f3bf9edef83fc7488917136167232'"
|
||||
/>
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</template>
|
||||
</p>
|
||||
<el-button
|
||||
@@ -510,7 +510,7 @@
|
||||
<!-- <el-button v-if="judgeSuffix(file.fileName)" type="primary" size="mini" style="margin: 5px" @click="ocrFunction(file)" plain>OCR</el-button>-->
|
||||
|
||||
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</template>
|
||||
<template v-else>
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{ file.oldFileName }}</a>
|
||||
@@ -526,7 +526,7 @@
|
||||
class="icon-download2"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '824f3bf9edef83fc7488917136167232'"
|
||||
/>
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</template>
|
||||
</p>
|
||||
<el-button
|
||||
@@ -554,8 +554,8 @@
|
||||
</el-collapse>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div v-show="!isMoreAwayBtn" class="more" @click="moreClick">更多<img src="@/assets/images/shangqi/img/more.png">-->
|
||||
<!-- </div>-->
|
||||
<!-- <div v-show="!isMoreAwayBtn" class="more" @click="moreClick">更多<img src="@/assets/images/shangqi/img/more.png">-->
|
||||
<!-- </div>-->
|
||||
<!-- <div v-show="isMoreAwayBtn" class="put-away" @click="putAwayClick">收起<img src="@/assets/images/shangqi/img/more.png"></div>-->
|
||||
<!--查看分解单-->
|
||||
<el-drawer
|
||||
@@ -1389,13 +1389,13 @@
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
import PutQuestionButton from '@/components/PutQuestionButton'
|
||||
import CustomSVPPS from '@/components/CustomFormComponents/SVPPS'
|
||||
import CustomOrg from '@/components/CustomFormComponents/OrgTree'
|
||||
import {dateFormat} from '@/common/date'
|
||||
import RelatedTermsSelect from './components/RelatedTermsSelect'
|
||||
import PutQuestionButton from '@/components/PutQuestionButton'
|
||||
import CustomSVPPS from '@/components/CustomFormComponents/SVPPS'
|
||||
import CustomOrg from '@/components/CustomFormComponents/OrgTree'
|
||||
import {dateFormat} from '@/common/date'
|
||||
import RelatedTermsSelect from './components/RelatedTermsSelect'
|
||||
|
||||
export default {
|
||||
export default {
|
||||
name: 'OtherStandardDetails',
|
||||
components: {
|
||||
PutQuestionButton,
|
||||
@@ -2327,41 +2327,6 @@
|
||||
this.$http.get('sarStandardsInfo/sar-standards-info/getStandInfoById', {id: this.sarStandardsInfoEO.id}, {
|
||||
_this: this
|
||||
}, res => {
|
||||
|
||||
|
||||
|
||||
let SSRQStr = ''
|
||||
let ZCCSSRQStr = ''
|
||||
let XCXSSRQStr = ''
|
||||
if (res.data.attrInfoMap.SSRQ != null && res.data.attrInfoMap.SSRQ!= ''){
|
||||
let SSRQ = res.data.attrInfoMap.SSRQ.split(',')
|
||||
|
||||
for (let i = 0; i < SSRQ.length; i++) {
|
||||
SSRQStr += SSRQ[i].substring(0,10)+','
|
||||
}
|
||||
SSRQStr = SSRQStr.substring(0,SSRQStr.length-1)
|
||||
}
|
||||
if (res.data.attrInfoMap.ZCCSSRQ != null && res.data.attrInfoMap.ZCCSSRQ!= '') {
|
||||
let ZCCSSRQ = res.data.attrInfoMap.ZCCSSRQ.split(',')
|
||||
|
||||
for (let i = 0; i < ZCCSSRQ.length; i++) {
|
||||
ZCCSSRQStr += ZCCSSRQ[i].substring(0,10)+','
|
||||
}
|
||||
|
||||
ZCCSSRQStr = ZCCSSRQStr.substring(0,ZCCSSRQStr.length-1)
|
||||
|
||||
}
|
||||
|
||||
if (res.data.attrInfoMap.XCXSSRQ != null && res.data.attrInfoMap.XCXSSRQ!= '') {
|
||||
let XCXSSRQ = res.data.attrInfoMap.XCXSSRQ.split(',')
|
||||
for (let i = 0; i < XCXSSRQ.length; i++) {
|
||||
XCXSSRQStr += XCXSSRQ[i].substring(0,10)+','
|
||||
}
|
||||
XCXSSRQStr = XCXSSRQStr.substring(0,XCXSSRQStr.length-1)
|
||||
}
|
||||
res.data.attrInfoMap.SSRQ = SSRQStr
|
||||
res.data.attrInfoMap.ZCCSSRQ = ZCCSSRQStr
|
||||
res.data.attrInfoMap.XCXSSRQ = XCXSSRQStr
|
||||
this.sarStandardsInfoEO = res.data || {}
|
||||
this.itemExistList=this.sarStandardsInfoEO.attrInfoMap.itemExistList;
|
||||
console.log("hllo",this.sarStandardsInfoEO);
|
||||
@@ -3250,14 +3215,14 @@
|
||||
window.onresize = null
|
||||
this.tableHeight = ''
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
@import '~@/assets/styles/mixins';
|
||||
@import '~@/assets/styles/style';
|
||||
@import '~@/assets/styles/mixins';
|
||||
@import '~@/assets/styles/style';
|
||||
|
||||
/deep/ .decomposition-btn {
|
||||
/deep/ .decomposition-btn {
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 0;
|
||||
@@ -3280,24 +3245,24 @@
|
||||
vertical-align: sub;
|
||||
background-image: url("~assets/images/shangqi/standardDetails/separate.png");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/deep/ .el-collapse{
|
||||
/deep/ .el-collapse{
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
/deep/ .el-collapse-item__wrap{
|
||||
/deep/ .el-collapse-item__wrap{
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
/deep/ .el-collapse-item__content {
|
||||
/deep/ .el-collapse-item__content {
|
||||
padding-bottom: 0px;
|
||||
font-size: 13px;
|
||||
color: #303133;
|
||||
line-height: 1.769230769230769;
|
||||
}
|
||||
}
|
||||
|
||||
/deep/ .btn1 #question {
|
||||
/deep/ .btn1 #question {
|
||||
padding: 0 10px;
|
||||
margin-left: 10px;
|
||||
height: 30px;
|
||||
@@ -3318,9 +3283,9 @@
|
||||
vertical-align: sub;
|
||||
background-image: url("~assets/images/shangqi/standardDetails/separate.png");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.other-standard-details {
|
||||
.other-standard-details {
|
||||
padding: 15px 30px 0;
|
||||
width: 1200px;
|
||||
margin: 0 auto;
|
||||
@@ -3500,6 +3465,7 @@
|
||||
border: none;
|
||||
|
||||
i {
|
||||
color: #F2CB51;
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
@@ -3729,18 +3695,18 @@
|
||||
position: static;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.half {
|
||||
.half {
|
||||
width: 50%;
|
||||
float: left;
|
||||
}
|
||||
}
|
||||
|
||||
.hidden {
|
||||
.hidden {
|
||||
overflow: hidden;
|
||||
}
|
||||
}
|
||||
|
||||
.clearfix {
|
||||
.clearfix {
|
||||
&:after {
|
||||
clear: both;
|
||||
}
|
||||
@@ -3749,39 +3715,39 @@
|
||||
display: table;
|
||||
content: "";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.details-container .el-divider {
|
||||
.details-container .el-divider {
|
||||
height: 1px;
|
||||
background-color: #d5d8da;
|
||||
}
|
||||
}
|
||||
|
||||
.span-line:hover {
|
||||
.span-line:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.relateClass {
|
||||
.relateClass {
|
||||
.el-dialog__body {
|
||||
max-height: 460px;
|
||||
overflow-y: auto;
|
||||
}
|
||||
}
|
||||
.over{
|
||||
}
|
||||
.over{
|
||||
word-break: break-all;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 2;
|
||||
-webkit-box-orient: vertical;
|
||||
}
|
||||
}
|
||||
|
||||
::v-deep .el-drawer__header {
|
||||
::v-deep .el-drawer__header {
|
||||
& > span:first-child {
|
||||
outline: none !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
::v-deep .el-drawer {
|
||||
::v-deep .el-drawer {
|
||||
outline: none !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user