修改bug 55758 【线上】全局搜索到的数据-进入数据详情无法下滑

This commit is contained in:
hanshaozhuang
2022-06-20 17:23:19 +08:00
parent bc543fe838
commit c9e6b68f49
+186 -264
View File
@@ -1,6 +1,6 @@
<!--国内标准法规详情页--> <!--国内标准法规详情页-->
<template> <template>
<div class="other-standard-details v-class" :style="'width:' + (500) + 'px;'+'height:' + (screenHeight) + 'px'"> <div class="other-standard-details v-class" :style="'height:' + (screenHeight) + 'px'">
<!--title 标题--> <!--title 标题-->
<div class="details-header"> <div class="details-header">
<span v-if="sarStandardsInfoEO.standYear === null">{{ sarStandardsInfoEO.standSortShow || '' }} {{ <span v-if="sarStandardsInfoEO.standYear === null">{{ sarStandardsInfoEO.standSortShow || '' }} {{
@@ -14,16 +14,9 @@
<div class="details-content" style="position: relative"> <div class="details-content" style="position: relative">
<div class="details-content-modular basic-information"> <div class="details-content-modular basic-information">
</div> </div>
<div <div class="details-content-modular clearfix" v-for="(item, index) in dynamicFormField" :key="index" v-if="item.isShowImp === '0'">
class="details-content-modular clearfix"
v-for="(item, index) in dynamicFormField"
:key="index"
v-if="item.isShowImp === '0'"
>
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames" @change="handleChange">
<div v-if="item.label === '基础信息'" class="details-content-modular basic-information" <div v-if="item.label === '基础信息'" class="details-content-modular basic-information" style="border-top:none;position: absolute;right: 36px;"> </div>
style="border-top:none;position: absolute;right: 36px;">
</div>
<el-collapse-item :name="item.label" @click.native="handleChange1(item.label)"> <el-collapse-item :name="item.label" @click.native="handleChange1(item.label)">
<template slot="title"> <template slot="title">
<div class="modular-header" v-if="item.label === '基础信息'"> <div class="modular-header" v-if="item.label === '基础信息'">
@@ -78,6 +71,8 @@
</div> </div>
</div> </div>
</template> </template>
</p>
</template>
<template v-else-if="child.value === null">-</template> <template v-else-if="child.value === null">-</template>
<!--修订本--> <!--修订本-->
<template v-for="(child, childIndex) in item.child5"> <template v-for="(child, childIndex) in item.child5">
@@ -104,8 +99,7 @@
<template v-for="(child, childIndex) in item.child4"> <template v-for="(child, childIndex) in item.child4">
<p class="files-title"> <p class="files-title">
<label style=" margin-right: 164px;">{{ child.attrName }}</label> <label style=" margin-right: 164px;">{{ child.attrName }}</label>
<template v-if="child.value && child.value.length > 0" <template v-if="child.value && child.value.length > 0" v-for="(file, fileIndex) in child4Func(child.value)">
v-for="(file, fileIndex) in child4Func(child.value)">
<span> <span>
<a style="font-size: 16px;color: #409EFF;cursor: pointer" <a style="font-size: 16px;color: #409EFF;cursor: pointer"
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
@@ -142,39 +136,25 @@
<template v-if="child.value === null">-</template> <template v-if="child.value === null">-</template>
</p> </p>
</template> </template>
</p>
<p class="half"> <p class="half">
<label style=" margin-right: 150px;" <label style=" margin-right: 150px;" title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。">文本状态</label>
title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。"
>文本状态</label>
<span>{{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}</span> <span>{{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}</span>
</p> </p>
<p class="half"><label style=" margin-right: 150px;">发布日期</label><span>{{ <p class="half">
sarStandardsInfoEO.issueTime || '-' <label style=" margin-right: 150px;">发布日期</label>
}}</span></p> <span>{{ sarStandardsInfoEO.issueTime || '-' }}</span>
<!-- <p class="half" v-if="saveStandType === 'INLAND_STAND'"><label style=" margin-right: 150px;">标准性质</label><span>{{-->
<!-- standMap[sarStandardsInfoEO.standNature] || '-'-->
<!-- }}</span></p>-->
<!--<p class="half" v-if="saveStandType === 'INLAND_STAND'"><label
style=" margin-right: 150px;">标准体系</label><span>{{
sarStandardsInfoEO.standSystem || '-'
}}</span>
</p>-->
<p class="half"><label
style=" margin-right: 150px;">标准体系</label><span>{{
sarStandardsInfoEO.standSystem || '-'
}}</span>
</p> </p>
<p class="half"> <p class="half">
<label style=" margin-right: 11em;">是否纳入认证清单</label><span>{{ <label style=" margin-right: 150px;">标准体系</label>
sarStandardsInfoEO.isRelateAccess ? (sarStandardsInfoEO.isRelateAccess === '1' ? '是' : '否') : '-' <span>
}}</span> {{ sarStandardsInfoEO.standSystem || '-' }}
</span>
</p>
<p class="half">
<label style=" margin-right: 11em;">是否纳入认证清单</label>
<span>
{{ sarStandardsInfoEO.isRelateAccess ? (sarStandardsInfoEO.isRelateAccess === '1' ? '是' : '否') : '-' }}
</span>
</p> </p>
<template v-for="(child, childIndex) in item.child2"> <template v-for="(child, childIndex) in item.child2">
<p class="half"> <p class="half">
@@ -182,9 +162,8 @@
<span>{{ child.value || '-' }}</span> <span>{{ child.value || '-' }}</span>
</p> </p>
</template> </template>
<!-- <p><label>文本说明</label><span style="color: #999999">{{ sarStandardsInfoEO.synopsis || '-' }}</span></p>--> </div>
<!-- <p><label>重要度</label><span>{{ sarStandardsInfoEO.isRelateAccess === '1' ? 'A' : 'B'}}</span></p>--> </div>
<!-- <p><label>纳入标准法规清单的国家/地区</label><span>{{ sarStandardsInfoEO.accessCountry || '-' }}</span></p>-->
</template> </template>
<div class="modular-item-more" v-if="item.label === '实施日期' && item.one.length > 6"> <div class="modular-item-more" v-if="item.label === '实施日期' && item.one.length > 6">
<div class="wrap" @click="handleToggleShowAll(item)"> <div class="wrap" @click="handleToggleShowAll(item)">
@@ -192,24 +171,11 @@
<img :class="{'is-show-all': item.showAll}" src="@/assets/images/shangqi/img/more.png"> <img :class="{'is-show-all': item.showAll}" src="@/assets/images/shangqi/img/more.png">
</div> </div>
</div> </div>
</div> <template v-for="(child, childIndex) in item.half" v-if="child.isShowImp === '0' && child.attrField !== 'CBCD'">
</div>
</template>
<template
v-for="(child, childIndex) in item.half"
v-if="child.isShowImp === '0' && child.attrField !== 'CBCD'"
>
<!-- modular-item half 代替标准编号--> <!-- modular-item half 代替标准编号-->
<div <div :key="child.id" :class="item.label !== '过程稿件' ? 'modular-item half' : 'modular-item'" v-if=" child.attrField === 'DTBJH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ' || child.attrField === 'XGLC' || child.attrField === 'BDTBZBH' || child.attrField === 'BFDTBZ' || child.attrField === 'BBFDTBZ' ">
:key="child.id"
:class="item.label !== '过程稿件' ? 'modular-item half' : 'modular-item'"
v-if=" child.attrField === 'DTBJH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ' || child.attrField === 'XGLC' || child.attrField === 'BDTBZBH' || child.attrField === 'BFDTBZ' || child.attrField === 'BBFDTBZ' "
>
<label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label> <label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label>
<span <span class="modular-content-p-val" :title="child.value || '-'">
class="modular-content-p-val"
:title="child.value || '-'"
>
<div v-if="child.value != null && child.value !== '' && child.value.split(',').length > 0"> <div v-if="child.value != null && child.value !== '' && child.value.split(',').length > 0">
<!--相关流程--> <!--相关流程-->
<template v-if="child.attrField === 'XGLC' && child.value"> <template v-if="child.attrField === 'XGLC' && child.value">
@@ -245,17 +211,9 @@
</span> </span>
</div> </div>
<!-- 其他项--> <!-- 其他项-->
<div <div v-else :key="child.id" :class="item.label !== '过程稿件' ? 'modular-item half' : 'modular-item'">
v-else
:key="child.id"
:class="item.label !== '过程稿件' ? 'modular-item half' : 'modular-item'"
>
<label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label> <label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label>
<span <span v-if="child.attrField === 'FGWHR'" class="modular-content-p-val clearfix" :title="child.value || '-'">
v-if="child.attrField === 'FGWHR'"
class="modular-content-p-val clearfix"
:title="child.value || '-'"
>
<template v-if="child.value"> <template v-if="child.value">
{{ child.value }} {{ child.value }}
<put-question-button <put-question-button
@@ -268,50 +226,31 @@
{{ '-' }} {{ '-' }}
</template> </template>
</span> </span>
<span <span v-else-if="child.attrType === 'DATE_PICKER'" class="modular-content-p-val">
v-else-if="child.attrType === 'DATE_PICKER'"
class="modular-content-p-val"
>
{{ child.value ? child.value : '-' }} {{ child.value ? child.value : '-' }}
</span> </span>
<span <span v-else-if="child.attrType !== 'FILE'" class="modular-content-p-val" :title="child.value || '-'">
v-else-if="child.attrType !== 'FILE'"
class="modular-content-p-val"
:title="child.value || '-'"
>
{{ child.value || '-' }} {{ child.value || '-' }}
</span> </span>
<div v-else class="modular-content-p-flies"> <div v-else class="modular-content-p-flies">
<p <p class="files-title" v-for="(file, fileIndex) in child.value" :key="fileIndex">
class="files-title"
v-for="(file, fileIndex) in child.value"
:key="fileIndex"
>
<!--发布稿增补件单独设置下载权限--> <!--发布稿增补件单独设置下载权限-->
<template v-if="child.attrField === 'FBGBJBD' || child.attrField === 'ZBJBD'"> <template v-if="child.attrField === 'FBGBJBD' || child.attrField === 'ZBJBD'">
<a :title="file.oldFileName" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{ <a :title="file.oldFileName" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">
file.oldFileName {{ file.oldFileName }}
}}</a> </a>
</template> </template>
<template v-else> <template v-else>
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{ <a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">
file.oldFileName {{file.oldFileName}}
}}</a> </a>
<!-- <span class="time-text">上传时间{{ dateFormat(file.modifyTime) }}</span>-->
</template> </template>
</p> </p>
</div> </div>
</div> </div>
</template>
</template> <template v-for="(child, childIndex) in item.child" v-if="child.isShowImp === '0' && item.label === '关联信息'">
<template <div :key="child.id" :class="item.label !== '过程稿件' ? 'modular-item half' : 'modular-item'">
v-for="(child, childIndex) in item.child"
v-if="child.isShowImp === '0' && item.label === '关联信息'"
>
<div
:key="child.id"
:class="item.label !== '过程稿件' ? 'modular-item half' : 'modular-item'"
>
<label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label> <label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label>
<!--相关流程--> <!--相关流程-->
<template v-if="child.attrField === 'XGLC' && child.value"> <template v-if="child.attrField === 'XGLC' && child.value">
@@ -322,9 +261,7 @@
</span> </span>
</p> </p>
</template> </template>
<template <template v-else-if="child.attrField === 'DTBJH'|| child.attrField === 'BDTBZH' || child.attrField === 'BDTBZBH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ' || child.attrField === 'BFDTBZ' || child.attrField === 'BBFDTBZ'">
v-else-if="child.attrField === 'DTBJH'|| child.attrField === 'BDTBZH' || child.attrField === 'BDTBZBH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ' || child.attrField === 'BFDTBZ' || child.attrField === 'BBFDTBZ'"
>
<p class="modular-content-p-val" v-if="child.value"> <p class="modular-content-p-val" v-if="child.value">
<span v-for="(item, index) in child.value.split(',')" :key="index"> <span v-for="(item, index) in child.value.split(',')" :key="index">
<a @click="showReplaceStandInfo(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;" <a @click="showReplaceStandInfo(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;"
@@ -333,49 +270,34 @@
</p> </p>
<span class="modular-content-p-val" v-else>-</span> <span class="modular-content-p-val" v-else>-</span>
</template> </template>
<span <span v-else-if="child.attrField === 'SVPPS'" class="modular-content-p-val" :title="child.tips || '-'">
v-else-if="child.attrField === 'SVPPS'"
class="modular-content-p-val"
:title="child.tips || '-'"
>
{{ !child.value || child.value === 'null' ? '-' : child.value }} {{ !child.value || child.value === 'null' ? '-' : child.value }}
</span> </span>
<span <span v-else-if="child.attrType !== 'FILE'" class="modular-content-p-val" :title="child.value || '-'">
v-else-if="child.attrType !== 'FILE'"
class="modular-content-p-val"
:title="child.value || '-'"
>
{{ child.value || '-' }} {{ child.value || '-' }}
<!-- 被代替标准号--> <!-- 被代替标准号-->
</span> </span>
<div v-else class="modular-content-p-flies"> <div v-else class="modular-content-p-flies">
<p <p class="files-title" v-for="(file, fileIndex) in child.value" :key="fileIndex">
class="files-title"
v-for="(file, fileIndex) in child.value"
:key="fileIndex"
>
<!-- <span style="cursor: pointer;" @click="openFileInPdf(file.id, file.oldFileName)">|{{file.id}}|</span>--> <!-- <span style="cursor: pointer;" @click="openFileInPdf(file.id, file.oldFileName)">|{{file.id}}|</span>-->
<!--发布稿增补件单独设置下载权限--> <!--发布稿增补件单独设置下载权限-->
<template v-if="child.attrField === 'XGD' || child.attrField === 'FBGBJBD' || child.attrField === 'BPG' <template v-if="child.attrField === 'XGD' || child.attrField === 'FBGBJBD' || child.attrField === 'BPG'
|| child.attrField === 'SSG'|| child.attrField === 'ZQYJG'|| child.attrField === 'CA' || child.attrField === 'SSG'|| child.attrField === 'ZQYJG'|| child.attrField === 'CA'
|| child.attrField === 'JDWJ' || child.attrField === 'GLWJ'"> || child.attrField === 'JDWJ' || child.attrField === 'GLWJ'">
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{ <a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">
file.oldFileName {{file.oldFileName}}
}}</a> </a>
</template> </template>
<template v-else> <template v-else>
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{ <a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">
file.oldFileName {{file.oldFileName}}
}}</a> </a>
</template> </template>
</p> </p>
</div> </div>
</div> </div>
</template> </template>
<template <template v-for="(child, childIndex) in item.one" v-if="child.isShowImp === '0' && item.label == '过程稿件'">
v-for="(child, childIndex) in item.one"
v-if="child.isShowImp === '0' && item.label == '过程稿件'"
>
<!-- 增补件(必读)和勘误件不放在过程稿件里了--> <!-- 增补件(必读)和勘误件不放在过程稿件里了-->
<div <div
v-show="child.attrField !== 'ZBJBD' && child.attrField !== 'KWJ'" v-show="child.attrField !== 'ZBJBD' && child.attrField !== 'KWJ'"
@@ -413,11 +335,11 @@
</p> </p>
</div> </div>
</div> </div>
</template> </template>
<template <template
v-for="(child, childIndex) in item.one" v-for="(child, childIndex) in item.one"
v-if="child.isShowImp === '0' && item.label !== '关联信息' && item.label !== '过程稿件' && (item.label !== '实施日期' || (childIndex < 6 || item.showAll))" v-if="child.isShowImp === '0' && item.label !== '关联信息' && item.label !== '过程稿件' && (item.label !== '实施日期' || (childIndex < 6 || item.showAll))"
> >
<div <div
:key="child.id" :key="child.id"
:class="item.label !== '过程稿件' ? 'modular-item half' : 'modular-item'" :class="item.label !== '过程稿件' ? 'modular-item half' : 'modular-item'"
@@ -480,12 +402,14 @@
</div> </div>
</div> </div>
</template>
</div>
</el-collapse-item>
</el-collapse>
</div>
</div>
</div>
</template> </template>
</div>
</el-collapse-item>
</el-collapse>
</div>
</div>
<!--查看分解单--> <!--查看分解单-->
<el-drawer <el-drawer
title="查看分解单" title="查看分解单"
@@ -495,7 +419,7 @@
class="not-footer-drawer" class="not-footer-drawer"
@close="closeDrawer" @close="closeDrawer"
> >
<div class="search-area"> <div class="search-area">
<div class="left"> <div class="left">
<el-form inline :model="standardForm" ref="ruleForm" class="label-input-form"> <el-form inline :model="standardForm" ref="ruleForm" class="label-input-form">
<el-form-item class="search-item"> <el-form-item class="search-item">
@@ -557,8 +481,8 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
</div> </div>
<div class="action-bar"> <div class="action-bar">
<el-button class="common-button-default export-button" icon="export" size="mini" <el-button class="common-button-default export-button" icon="export" size="mini"
@click="exportStandardItem" @click="exportStandardItem"
v-btn-permission="$route.query.pageType === 'INLAND_STAND' ? '52HT9PLW49G6ZWS9RZSC' : '9CLEQQBS75SYV8JQQYFB'"> v-btn-permission="$route.query.pageType === 'INLAND_STAND' ? '52HT9PLW49G6ZWS9RZSC' : '9CLEQQBS75SYV8JQQYFB'">
@@ -579,8 +503,8 @@
@click="editResolveList" @click="editResolveList"
>编辑 >编辑
</el-button> </el-button>
</div> </div>
<div class="content"> <div class="content">
<el-table <el-table
@sort-change='sort' @sort-change='sort'
ref="multipleTable" ref="multipleTable"
@@ -701,26 +625,26 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<loading :loading="tableLoading">数据加载中...</loading> <loading :loading="tableLoading">数据加载中...</loading>
</div> </div>
<pagination <pagination
:page="page7" :page="page7"
:total="total7" :total="total7"
@pageChange="pageChange7" @pageChange="pageChange7"
@pageSizeChange="pageSizeChange7"></pagination> @pageSizeChange="pageSizeChange7"></pagination>
<!-- <el-pagination--> <!-- <el-pagination-->
<!-- @size-change="pageSizeChange"--> <!-- @size-change="pageSizeChange"-->
<!-- @current-change="pageChange"--> <!-- @current-change="pageChange"-->
<!-- :current-page="1"--> <!-- :current-page="1"-->
<!-- :page-sizes="[10, 20, 30, 50]"--> <!-- :page-sizes="[10, 20, 30, 50]"-->
<!-- :page-size="100"--> <!-- :page-size="100"-->
<!-- layout="sizes, prev, pager, next, jumper"--> <!-- layout="sizes, prev, pager, next, jumper"-->
<!-- :total="standitemTotal">--> <!-- :total="standitemTotal">-->
<!-- </el-pagination>--> <!-- </el-pagination>-->
<!-- <pagination :total="standitemTotal" @pageChange="pageChange"--> <!-- <pagination :total="standitemTotal" @pageChange="pageChange"-->
<!-- @pageSizeChange="pageSizeChange"></pagination>--> <!-- @pageSizeChange="pageSizeChange"></pagination>-->
</el-drawer> </el-drawer>
<!-- 编辑分解单的条款--> <!-- 编辑分解单的条款-->
@@ -732,7 +656,7 @@
size="800px" size="800px"
:wrapperClosable="false" :wrapperClosable="false"
> >
<el-form :model="resolveListForm" ref="resolveListForm"> <el-form :model="resolveListForm" ref="resolveListForm">
<el-input <el-input
v-show="false" v-show="false"
v-model="resolveListForm.id" v-model="resolveListForm.id"
@@ -878,8 +802,8 @@
clearable clearable
/> />
</el-form-item> </el-form-item>
</el-form> </el-form>
<div id="roleFormButton" class="demo-drawer-footer" style="margin-top: 8%"> <div id="roleFormButton" class="demo-drawer-footer" style="margin-top: 8%">
<el-button <el-button
type="primary" type="primary"
class="common-button-primary" class="common-button-primary"
@@ -898,7 +822,7 @@
>取消 >取消
</el-button </el-button
> >
</div> </div>
</el-drawer> </el-drawer>
<Role-tree <Role-tree
:is-title="drawerTitle" :is-title="drawerTitle"
@@ -921,7 +845,7 @@
size="800px" size="800px"
destroy-on-close destroy-on-close
> >
<div class="demo-drawer-content"> <div class="demo-drawer-content">
<el-form <el-form
v-if="modalItemaddShowflag" v-if="modalItemaddShowflag"
ref="sarStandardsItemForm" ref="sarStandardsItemForm"
@@ -1030,18 +954,18 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="demo-drawer-footer"> <div class="demo-drawer-footer">
<el-button class="common-button-primary" icon="el-icon-check" type="primary" v-if="!itemFormdisableflag" <el-button class="common-button-primary" icon="el-icon-check" type="primary" v-if="!itemFormdisableflag"
@click="saveOrUpdateStandItem" :loading="isSubmit"> @click="saveOrUpdateStandItem" :loading="isSubmit">
保存 保存
</el-button> </el-button>
<el-button class="common-button-default" icon="el-icon-close" @click="resetForm">取消</el-button> <el-button class="common-button-default" icon="el-icon-close" @click="resetForm">取消</el-button>
</div> </div>
</el-drawer> </el-drawer>
<!--导入模态窗--> <!--导入模态窗-->
<el-dialog width="400px" :visible.sync="importModalshowflag" title="导入文件" :footer-hide="true"> <el-dialog width="400px" :visible.sync="importModalshowflag" title="导入文件" :footer-hide="true">
<el-upload <el-upload
multiple multiple
drag drag
:show-file-list="showUploadlist" :show-file-list="showUploadlist"
@@ -1057,7 +981,7 @@
<i class="el-icon-upload" style="color: #3399ff"></i> <i class="el-icon-upload" style="color: #3399ff"></i>
<p>点击或拖拽上传文件</p> <p>点击或拖拽上传文件</p>
</div> </div>
</el-upload> </el-upload>
</el-dialog> </el-dialog>
<!--分解单-查看 (标准拆分-属性)--> <!--分解单-查看 (标准拆分-属性)-->
<el-drawer <el-drawer
@@ -1066,7 +990,7 @@
title="查看属性信息" title="查看属性信息"
:visible.sync="showItemInfoModal" :visible.sync="showItemInfoModal"
> >
<div class="see-drawer-content"> <div class="see-drawer-content">
<div class="see-drawer-div"> <div class="see-drawer-div">
<label class="see-drawer-name" style="font-size: 14px" title="条款号">条款号</label> <label class="see-drawer-name" style="font-size: 14px" title="条款号">条款号</label>
<span class="see-drawer-val" style="font-size: 12px" :title="standShowItemEO.itemsNum">{{ <span class="see-drawer-val" style="font-size: 12px" :title="standShowItemEO.itemsNum">{{
@@ -1171,7 +1095,7 @@
<!-- standShowItemEO.busStandCoverShow ? standShowItemEO.busStandCoverShow : busStandCoverName(standShowItemEO.busStandCover)--> <!-- standShowItemEO.busStandCoverShow ? standShowItemEO.busStandCoverShow : busStandCoverName(standShowItemEO.busStandCover)-->
<!-- }}</span>--> <!-- }}</span>-->
<!-- </div>--> <!-- </div>-->
</div> </div>
</el-drawer> </el-drawer>
<el-dialog <el-dialog
title="更多发布稿" title="更多发布稿"
@@ -1179,22 +1103,22 @@
class="relateClass" class="relateClass"
width="40%" width="40%"
:before-close="relateDialogClose1"> :before-close="relateDialogClose1">
<div <div
v-for="(file, index) in relateNowList1" v-for="(file, index) in relateNowList1"
:key="index" :key="index"
v-if="relateNowList1" v-if="relateNowList1"
style="margin-bottom: 10px;line-height: 20px;max-height: 300px" style="margin-bottom: 10px;line-height: 20px;max-height: 300px"
> >
{{ index + 1 }}. {{ index + 1 }}.
<a style="font-size: 16px;color: #409EFF;cursor: pointer" @click="openFileInPdf(file.id, file.oldFileName)" <a style="font-size: 16px;color: #409EFF;cursor: pointer" @click="openFileInPdf(file.id, file.oldFileName)"
target="_blank" :title="file.oldFileName">{{ file.oldFileName }}</a> target="_blank" :title="file.oldFileName">{{ file.oldFileName }}</a>
<div v-if="relateNowList.length >1"> <div v-if="relateNowList.length >1">
<el-divider></el-divider> <el-divider></el-divider>
</div> </div>
</div> </div>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<el-button type="primary" @click="relateDialogClose1">关 闭</el-button> <el-button type="primary" @click="relateDialogClose1">关 闭</el-button>
</div> </div>
</el-dialog> </el-dialog>
<!-- 知识点分享 --> <!-- 知识点分享 -->
<el-dialog <el-dialog
@@ -1202,7 +1126,7 @@
:visible.sync="knowledgeSharingDialog" :visible.sync="knowledgeSharingDialog"
width="800px" width="800px"
class="myDialog"> class="myDialog">
<div class="action-bar"> <div class="action-bar">
<el-button type="primary" <el-button type="primary"
class="common-button-primary add-button" class="common-button-primary add-button"
size="mini" size="mini"
@@ -1214,8 +1138,8 @@
:v-btn-permission="$route.query.pageType === 'INLAND_STAND' ? '4V4592SVLAZY9HMC8WHU' : '485WL3QHGRJ27H2XD34Z'" :v-btn-permission="$route.query.pageType === 'INLAND_STAND' ? '4V4592SVLAZY9HMC8WHU' : '485WL3QHGRJ27H2XD34Z'"
@click="deleteknowledge(2)"><i class="iconfont">&#xe61b;</i>批量删除 @click="deleteknowledge(2)"><i class="iconfont">&#xe61b;</i>批量删除
</el-button> </el-button>
</div> </div>
<div class="knowContent"> <div class="knowContent">
<el-table <el-table
:data="knowList" :data="knowList"
tooltip-effect="dark" tooltip-effect="dark"
@@ -1275,7 +1199,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<pagination :total="total" @pageChange="pageChange1" @pageSizeChange="pageSizeChange1"></pagination> <pagination :total="total" @pageChange="pageChange1" @pageSizeChange="pageSizeChange1"></pagination>
</div> </div>
</el-dialog> </el-dialog>
<!-- 知识点新增 --> <!-- 知识点新增 -->
<el-dialog <el-dialog
@@ -1285,7 +1209,7 @@
destroy-on-close destroy-on-close
:close-on-click-modal="false" :close-on-click-modal="false"
width="600px"> width="600px">
<el-form ref="addForm" :model="addForm" :rules="addFormRules" class="label-input-form" label-width="130px"> <el-form ref="addForm" :model="addForm" :rules="addFormRules" class="label-input-form" label-width="130px">
<el-formItem label="标题" prop="title" class="add-form-item"> <el-formItem label="标题" prop="title" class="add-form-item">
<el-input v-model="addForm.title" placeholder="请输入标题"></el-input> <el-input v-model="addForm.title" placeholder="请输入标题"></el-input>
</el-formItem> </el-formItem>
@@ -1310,14 +1234,14 @@
<div class="el-upload__text">点击或拖拽上传文件</div> <div class="el-upload__text">点击或拖拽上传文件</div>
</el-upload> </el-upload>
</el-formItem> </el-formItem>
</el-form> </el-form>
<div slot="footer" class="demo-drawer-footer"> <div slot="footer" class="demo-drawer-footer">
<el-button type="primary" size="mini" class="common-button-primary" :loading="AddKnowSubLoading" <el-button type="primary" size="mini" class="common-button-primary" :loading="AddKnowSubLoading"
icon="el-icon-check" @click="AddKnowSub"> icon="el-icon-check" @click="AddKnowSub">
确定 确定
</el-button> </el-button>
<el-button class="common-button-default" icon="el-icon-close" @click="AddKnowClose">取消</el-button> <el-button class="common-button-default" icon="el-icon-close" @click="AddKnowClose">取消</el-button>
</div> </div>
</el-dialog> </el-dialog>
<!-- 查看知识点详情--> <!-- 查看知识点详情-->
<el-dialog <el-dialog
@@ -1326,7 +1250,7 @@
destroy-on-close destroy-on-close
class="myDialog" class="myDialog"
width="60%"> width="60%">
<div class="basic-information-content"> <div class="basic-information-content">
<p><label>标题:</label><span>{{ knowSee.title }}</span></p> <p><label>标题:</label><span>{{ knowSee.title }}</span></p>
<p><label>内容:</label><span>{{ knowSee.content }}</span></p> <p><label>内容:</label><span>{{ knowSee.content }}</span></p>
<p><label>附件:</label> <p><label>附件:</label>
@@ -1339,7 +1263,7 @@
<p><label>发布时间:</label><span>{{ <p><label>发布时间:</label><span>{{
knowSee.creationTime ? $moment(knowSee.creationTime).format('YYYY-MM-DD') : '' knowSee.creationTime ? $moment(knowSee.creationTime).format('YYYY-MM-DD') : ''
}}</span></p> }}</span></p>
</div> </div>
</el-dialog> </el-dialog>
<el-dialog <el-dialog
@@ -1347,7 +1271,7 @@
class="myDialog1" class="myDialog1"
:before-close="comparisonClose" :before-close="comparisonClose"
:visible.sync="comparisonDialog"> :visible.sync="comparisonDialog">
<div class="search-area"> <div class="search-area">
<el-form :inline="true" class="label-input-form"> <el-form :inline="true" class="label-input-form">
<el-form-item label="关键字" class="search-item"> <el-form-item label="关键字" class="search-item">
<el-input v-model="comparisonTitle" placeholder="请输入关键字"></el-input> <el-input v-model="comparisonTitle" placeholder="请输入关键字"></el-input>
@@ -1370,8 +1294,8 @@
</el-button> </el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div class="action-bar"> <div class="action-bar">
<div class="myRadio"> <div class="myRadio">
<template> <template>
<el-radio-group v-for="(item, index) in comparisonList" :key="index" v-model="comparisonId"> <el-radio-group v-for="(item, index) in comparisonList" :key="index" v-model="comparisonId">
@@ -1387,7 +1311,7 @@
</el-button> </el-button>
<el-button class="common-button-default" icon="el-icon-close" @click="comparisonClose">取消</el-button> <el-button class="common-button-default" icon="el-icon-close" @click="comparisonClose">取消</el-button>
</div> </div>
</div> </div>
</el-dialog> </el-dialog>
<!-- 新增清单抽屉 --> <!-- 新增清单抽屉 -->
<el-drawer <el-drawer
@@ -1396,7 +1320,7 @@
size="800px" size="800px"
destroy-on-close destroy-on-close
> >
<div class="demo-drawer-content"> <div class="demo-drawer-content">
<el-form <el-form
ref="listVO" ref="listVO"
:model="listVO" :model="listVO"
@@ -1415,30 +1339,30 @@
</el-radio-group> </el-radio-group>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
<div id="listFormButton" class="demo-drawer-footer"> <div id="listFormButton" class="demo-drawer-footer">
<el-button class="common-button-primary" icon="el-icon-check" type="primary" <el-button class="common-button-primary" icon="el-icon-check" type="primary"
@click="submitDrawerForm('listVO')"> @click="submitDrawerForm('listVO')">
确定 确定
</el-button> </el-button>
<el-button class="common-button-default" icon="el-icon-close" @click="AddcomparisonDrawer = false">取消 <el-button class="common-button-default" icon="el-icon-close" @click="AddcomparisonDrawer = false">取消
</el-button> </el-button>
</div> </div>
</el-drawer> </el-drawer>
<!-- 导入失败--> <!-- 导入失败-->
<el-dialog :visible.sync="importFailed" :close-on-click-modal="false" width="400px"> <el-dialog :visible.sync="importFailed" :close-on-click-modal="false" width="400px">
<p slot="title" style="color:#f60"> <p slot="title" style="color:#f60">
<span>导入失败</span> <span>导入失败</span>
</p> </p>
<div style="max-height: 300px;overflow: auto;padding: 10px 0;"> <div style="max-height: 300px;overflow: auto;padding: 10px 0;">
<p v-html="importForm.content"></p> <p v-html="importForm.content"></p>
</div> </div>
<div slot="footer" class="demo-drawer-footer"> <div slot="footer" class="demo-drawer-footer">
<el-button type="primary" size="mini" class="common-button-default" icon="el-icon-check" <el-button type="primary" size="mini" class="common-button-default" icon="el-icon-check"
@click="importFailed = false"> @click="importFailed = false">
确认 确认
</el-button> </el-button>
</div> </div>
</el-dialog> </el-dialog>
<loading :loading="loading">数据获取中</loading> <loading :loading="loading">数据获取中</loading>
@@ -1452,7 +1376,7 @@
:visible.sync="relatedTermsDrawerVisible" :visible.sync="relatedTermsDrawerVisible"
destroy-on-close destroy-on-close
> >
<div class="demo-drawer-content"> <div class="demo-drawer-content">
<related-terms-select <related-terms-select
@func="handleChangeList" @func="handleChangeList"
ref="relatedTermsSelect" ref="relatedTermsSelect"
@@ -1460,36 +1384,34 @@
:stand-id="standId" :stand-id="standId"
@close="closeRelatedTermsDrawer" @close="closeRelatedTermsDrawer"
></related-terms-select> ></related-terms-select>
</div> </div>
<div class="demo-drawer-footer"> <div class="demo-drawer-footer">
<el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" :loading="btnLoading" <el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" :loading="btnLoading"
@click="handleRelatedTermsDrawerSubmit">提交</el-button> @click="handleRelatedTermsDrawerSubmit">提交</el-button>
<el-button class="common-button-default" size="mini" icon="el-icon-close" <el-button class="common-button-default" size="mini" icon="el-icon-close"
@click="handleRelatedTermsDrawerCancel">取消</el-button> @click="handleRelatedTermsDrawerCancel">取消</el-button>
</div> </div>
</el-drawer> </el-drawer>
<!--内容简介--> <!--内容简介-->
<el-dialog :visible.sync="itemsTextDialogs" title="内容简介" :close-on-click-modal="false"> <el-dialog :visible.sync="itemsTextDialogs" title="内容简介" :close-on-click-modal="false">
<div v-html="itemsText" class="itemsTextBox"></div> <div v-html="itemsText" class="itemsTextBox"></div>
<div slot="footer"> <div slot="footer">
<el-button type="primary" size="large" @click="itemsTextDialogs = false">关闭</el-button> <el-button type="primary" size="large" @click="itemsTextDialogs = false">关闭</el-button>
</div> </div>
</el-dialog> </el-dialog>
</div>
</template>
<script> <script>
import PutQuestionButton from '@/components/PutQuestionButton' import PutQuestionButton from '@/components/PutQuestionButton'
import CustomSVPPS from '@/components/CustomFormComponents/SVPPS' import CustomSVPPS from '@/components/CustomFormComponents/SVPPS'
import CustomSelectArray from '@/components/CustomFormComponents/SelectArray' import CustomSelectArray from '@/components/CustomFormComponents/SelectArray'
import CustomOrg from '@/components/CustomFormComponents/OrgTree' import CustomOrg from '@/components/CustomFormComponents/OrgTree'
import {dateFormat} from '@/common/date' import {dateFormat} from '@/common/date'
// import RelatedTermsSelect from './components/RelatedTermsSelect' // import RelatedTermsSelect from './components/RelatedTermsSelect'
import RelatedTermsSelect from "@/pages/details/otherStandardDetails/components/RelatedTermsSelect"; import RelatedTermsSelect from "@/pages/details/otherStandardDetails/components/RelatedTermsSelect";
import {getBusStandFileByAttId} from 'api/process' import {getBusStandFileByAttId} from 'api/process'
import {dicTypeData} from "api/unqualProcess"; import {dicTypeData} from "api/unqualProcess";
export default { export default {
name: 'domesticDetails', name: 'domesticDetails',
components: { components: {
PutQuestionButton, PutQuestionButton,
@@ -3633,13 +3555,13 @@ export default {
window.onresize = null window.onresize = null
this.tableHeight = '' this.tableHeight = ''
} }
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/mixins'; @import '~@/assets/styles/mixins';
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
.files-title { .files-title {
display: flex; display: flex;
align-items: center; align-items: center;
a { a {
@@ -3649,8 +3571,8 @@ export default {
white-space: nowrap; white-space: nowrap;
display: block; display: block;
} }
} }
.files-titles { .files-titles {
a { a {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
@@ -3658,33 +3580,33 @@ export default {
white-space: nowrap; white-space: nowrap;
display: block; display: block;
} }
} }
/deep/ .el-icon-circle-close:before { /deep/ .el-icon-circle-close:before {
margin-left: 250px; margin-left: 250px;
} }
/deep/ .el-tag.el-tag--info { /deep/ .el-tag.el-tag--info {
margin-left: 30px; margin-left: 30px;
} }
/deep/ .el-radio { /deep/ .el-radio {
margin-left: 30px; margin-left: 30px;
} }
/deep/ .label-input-form .add-form-item .el-form-item__content .el-input .el-input__inner { /deep/ .label-input-form .add-form-item .el-form-item__content .el-input .el-input__inner {
width: 600px; width: 600px;
margin-left: 20px; margin-left: 20px;
} }
/deep/ .label-input-form .add-form-item .el-form-item__label { /deep/ .label-input-form .add-form-item .el-form-item__label {
width: 150px; width: 150px;
} }
/deep/ .el-collapse-item__header { /deep/ .el-collapse-item__header {
border-bottom: none !important; border-bottom: none !important;
} }
/deep/ .decomposition-btn { /deep/ .decomposition-btn {
position: absolute; position: absolute;
top: 6px; top: 6px;
right: 0; right: 0;
@@ -3707,24 +3629,24 @@ export default {
vertical-align: sub; vertical-align: sub;
background-image: url("~assets/images/shangqi/standardDetails/separate.png"); background-image: url("~assets/images/shangqi/standardDetails/separate.png");
} }
} }
/deep/ .el-collapse { /deep/ .el-collapse {
border: none; border: none;
} }
/deep/ .el-collapse-item__wrap { /deep/ .el-collapse-item__wrap {
border: none; border: none;
} }
/deep/ .el-collapse-item__content { /deep/ .el-collapse-item__content {
padding-bottom: 0px; padding-bottom: 0px;
font-size: 16px; font-size: 16px;
color: #303133; color: #303133;
line-height: 1.769230769230769; line-height: 1.769230769230769;
} }
/deep/ .btn1 #question { /deep/ .btn1 #question {
padding: 0 10px; padding: 0 10px;
margin-left: 10px; margin-left: 10px;
height: 30px; height: 30px;
@@ -3745,9 +3667,9 @@ export default {
vertical-align: sub; vertical-align: sub;
background-image: url("~assets/images/shangqi/standardDetails/separate.png"); background-image: url("~assets/images/shangqi/standardDetails/separate.png");
} }
} }
.other-standard-details { .other-standard-details {
padding: 15px 30px 0; padding: 15px 30px 0;
width: 100%; width: 100%;
margin: 0 auto; margin: 0 auto;
@@ -4169,18 +4091,18 @@ export default {
position: static; position: static;
} }
} }
} }
.half { .half {
width: 100%; width: 100%;
float: left; float: left;
} }
.hidden { .hidden {
overflow: hidden; overflow: hidden;
} }
.clearfix { .clearfix {
&:after { &:after {
clear: both; clear: both;
} }
@@ -4189,40 +4111,40 @@ export default {
display: table; display: table;
content: ""; content: "";
} }
} }
.details-container .el-divider { .details-container .el-divider {
height: 1px; height: 1px;
background-color: #d5d8da; background-color: #d5d8da;
} }
.span-line:hover { .span-line:hover {
text-decoration: underline; text-decoration: underline;
} }
.relateClass { .relateClass {
.el-dialog__body { .el-dialog__body {
max-height: 460px; max-height: 460px;
overflow-y: auto; overflow-y: auto;
} }
} }
.over { .over {
word-break: break-all; word-break: break-all;
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
display: -webkit-box; display: -webkit-box;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
} }
::v-deep .el-drawer__header { ::v-deep .el-drawer__header {
& > span:first-child { & > span:first-child {
outline: none !important; outline: none !important;
} }
} }
::v-deep .el-drawer { ::v-deep .el-drawer {
outline: none !important; outline: none !important;
} }
</style> </style>