Merge remote-tracking branch 'origin/develop' into develop
This commit is contained in:
@@ -86,10 +86,11 @@
|
||||
:resizable="false"
|
||||
align="center">
|
||||
<template slot-scope="scope">
|
||||
<el-tooltip placement="top">
|
||||
<div slot="content">{{scope.row.itermsConditions}}</div>
|
||||
<div class="itemsText" @click="itemsTextDialog(scope.row.itemsNum, scope.row.itermsConditions)">{{ scope.row.itermsConditions ? scope.row.itermsConditions.replace(/<.*?>/ig, ' ') : '' }}</div>
|
||||
</el-tooltip>
|
||||
<div class="itemsText" @click="itemsTextDialog(scope.row.itemsNum, scope.row.itermsConditions)">{{ scope.row.itermsConditions ? scope.row.itermsConditions.replace(/<.*?>/ig, ' ') : '' }}</div>
|
||||
<!-- <el-tooltip placement="top">-->
|
||||
<!-- <div slot="content">{{scope.row.itermsConditions}}</div>-->
|
||||
<!-- <div class="itemsText" @click="itemsTextDialog(scope.row.itemsNum, scope.row.itermsConditions)">{{ scope.row.itermsConditions ? scope.row.itermsConditions.replace(/<.*?>/ig, ' ') : '' }}</div>-->
|
||||
<!-- </el-tooltip>-->
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" width="50" :resizable="false" fixed="right">
|
||||
|
||||
+241
-175
@@ -31,164 +31,223 @@
|
||||
<div class="details-content-modular basic-information" style="border-top:none; border-bottom: none;">
|
||||
<div class="basic-information-content">
|
||||
<!-- <p><label style=" margin-right: 150px;">标准类别</label><span>{{ sarStandardsInfoEO.standSort || '-' }}</span></p>-->
|
||||
<p class="">
|
||||
<label style=" margin-right: 164px;">标准号</label>
|
||||
<span v-if="sarStandardsInfoEO.standYear">{{
|
||||
sarStandardsInfoEO.standSortShow + ' ' + sarStandardsInfoEO.standNumber + '-' + sarStandardsInfoEO.standYear
|
||||
}}</span>
|
||||
<span v-else>{{ sarStandardsInfoEO.standSort + ' ' + sarStandardsInfoEO.standNumber }}</span>
|
||||
</p>
|
||||
<el-row :gutter="5" class="">
|
||||
<el-col :span="8">
|
||||
<label>标准号</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<span v-if="sarStandardsInfoEO.standYear">{{
|
||||
sarStandardsInfoEO.standSortShow + ' ' + sarStandardsInfoEO.standNumber + '-' + sarStandardsInfoEO.standYear
|
||||
}}</span>
|
||||
<span v-else>{{ sarStandardsInfoEO.standSort + ' ' + sarStandardsInfoEO.standNumber }}</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!-- <p><label style=" margin-right: 150px;">标准年份</label><span>{{ sarStandardsInfoEO.standYear || '-' }}</span></p>-->
|
||||
<p><label style=" margin-right: 150px;">中文名称</label><span>{{
|
||||
sarStandardsInfoEO.standName || '-'
|
||||
}}</span></p>
|
||||
<p v-if="activeState"><label style=" margin-right: 150px;">英文名称</label><span>{{
|
||||
sarStandardsInfoEO.standEnName || '-'
|
||||
}}</span></p>
|
||||
<el-row :gutter="5" class="">
|
||||
<el-col :span="8">
|
||||
<label>中文名称</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<span>{{
|
||||
sarStandardsInfoEO.standName || '-'
|
||||
}}</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row v-if="activeState" :gutter="5">
|
||||
<el-col :span="8">
|
||||
<label>英文名称</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<span>{{
|
||||
sarStandardsInfoEO.standEnName || '-'
|
||||
}}</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<!--发布稿(必读)-->
|
||||
<template v-for="(child, childIndex) in item.child1" v-if="child.value && child.value.length > 0">
|
||||
<p class="files-titles" style="border-bottom: 1px solid #E5E5E5">
|
||||
<label style="float: left">{{ child.attrName }}</label>
|
||||
<template v-if="child.value && child.value.length > 0">
|
||||
<!-- 单个文件时-->
|
||||
<div style="position: relative;margin-left: 19em; line-height: 32px">
|
||||
<div v-for="(file, fileIndex) in child1Func(child.value)" style="display: flex;">
|
||||
<span v-if="child.value && child.value.length > 0 && child.value.length === 1" style="display: flex; align-items: center;">
|
||||
<a style="font-size:0.2rem;color: #409EFF;cursor: pointer;display: inline-block"
|
||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||
:title="file.oldFileName">{{ file.oldFileName | ellipsis50}}</a>
|
||||
<el-row :gutter="5" class="files-titles" style="border-bottom: 1px solid #E5E5E5">
|
||||
<el-col :span="8">
|
||||
<label style="float: left">{{ child.attrName }}</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<template v-if="child.value && child.value.length > 0">
|
||||
<!-- 单个文件时-->
|
||||
<div style=" line-height: 32px">
|
||||
<div v-for="(file, fileIndex) in child1Func(child.value)" style="display: flex;">
|
||||
<span v-if="child.value && child.value.length > 0 && child.value.length === 1"
|
||||
style="display: flex; align-items: center;">
|
||||
<a style="font-size:0.2rem;color: #409EFF;cursor: pointer;display: inline-block;"
|
||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||
:title="file.oldFileName">{{ file.oldFileName | ellipsis50 }}</a>
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</span>
|
||||
<!-- 多个文件时-->
|
||||
<div v-else-if="child.value && child.value.length > 0">
|
||||
<span style="display: flex; align-items: center;">
|
||||
<a style="ffont-size:0.2rem;color: #409EFF;cursor: pointer"
|
||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||
:title="file.oldFileName">{{ file.oldFileName | ellipsis50}}</a>
|
||||
</span>
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</span>
|
||||
<!-- 多个文件时-->
|
||||
<div v-else-if="child.value && child.value.length > 0">
|
||||
<span style="display: flex; align-items: center;">
|
||||
<a style="font-size:0.2rem;color: #409EFF;cursor: pointer"
|
||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||
:title="file.oldFileName">{{ file.oldFileName | ellipsis50 }}</a>
|
||||
</span>
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
</p>
|
||||
</template>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
<template v-else-if="child.value === null">-</template>
|
||||
<!--发布稿(必读)-->
|
||||
<template v-for="(child, childIndex) in item.child6" v-if="child.value && child.value.length > 0">
|
||||
<p class="files-titles" style="border-bottom: 1px solid #E5E5E5">
|
||||
<label style="float: left">{{ child.attrName }}</label>
|
||||
<template v-if="child.value && child.value.length > 0" >
|
||||
<div style="position: relative;margin-left: 214px; line-height: 32px">
|
||||
<div v-for="(file, fileIndex) in child6Func(child.value)" style="display: flex;">
|
||||
<el-row :gutter="5" class="files-titles" style="border-bottom: 1px solid #E5E5E5">
|
||||
<el-col :span="8">
|
||||
<label style="float: left">{{ child.attrName }}</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<template v-if="child.value && child.value.length > 0" >
|
||||
<div style="line-height: 32px">
|
||||
<div v-for="(file, fileIndex) in child6Func(child.value)" style="display: flex;">
|
||||
<span v-if="child.value && child.value.length > 0 && child.value.length === 1" style="display: flex; align-items: center;">
|
||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer;display: inline-block"
|
||||
<a style="font-size: 0.2rem;color: #409EFF;cursor: pointer;display: inline-block"
|
||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||
:title="file.oldFileName">{{ file.oldFileName | ellipsis50}}</a>
|
||||
</span>
|
||||
<!--多个文件时-->
|
||||
<div v-else-if="child.value && child.value.length > 0">
|
||||
<!--多个文件时-->
|
||||
<div v-else-if="child.value && child.value.length > 0">
|
||||
<span style="display: flex; align-items: center;">
|
||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||
:title="file.oldFileName">{{ file.oldFileName | ellipsis50}}</a>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <el-button v-if="child.attrField === 'FBGYWBD'" @click="showItemsModel(child.attrField)" class="decomposition-btn">标准分解单-->
|
||||
<!-- </el-button>-->
|
||||
</div>
|
||||
<el-button v-if="child.attrField === 'FBGYWBD'" @click="showItemsModel(child.attrField)" class="decomposition-btn">标准分解单
|
||||
</el-button>
|
||||
</div>
|
||||
</template>
|
||||
<template v-else-if="child.value === null">-</template>
|
||||
</p>
|
||||
</template>
|
||||
<template v-else-if="child.value === null">-</template>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
<template v-else-if="child.value === null">-</template>
|
||||
<!--修订本-->
|
||||
<template v-for="(child, childIndex) in item.child5">
|
||||
<p class="files-title">
|
||||
<label style=" margin-right: 164px;">{{ child.attrName }}</label>
|
||||
<template v-if="child.value && child.value.length > 0"
|
||||
v-for="(file, fileIndex) in child5Func(child.value)">
|
||||
<el-row :gutter="5" class="files-title">
|
||||
<el-col :span="8">
|
||||
<label>{{ child.attrName }}</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<template v-if="child.value && child.value.length > 0"
|
||||
v-for="(file, fileIndex) in child5Func(child.value)">
|
||||
<span>
|
||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer"
|
||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||
:title="file.oldFileName">{{ file.oldFileName }}</a>
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</span>
|
||||
<el-button v-if="child.value && child.value.length > 1"
|
||||
style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"
|
||||
class="decomposition-btn" icon="icon-relation" @click="relateEvent1(child.value)">
|
||||
更多
|
||||
</el-button>
|
||||
</template>
|
||||
<template v-if="child.value === null">-</template>
|
||||
</p>
|
||||
<!-- <el-button v-if="child.value && child.value.length > 1"-->
|
||||
<!-- style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"-->
|
||||
<!-- class="decomposition-btn" icon="icon-relation" @click="relateEvent1(child.value)">-->
|
||||
<!-- 更多-->
|
||||
<!-- </el-button>-->
|
||||
</template>
|
||||
<template v-if="child.value === null">-</template>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
<!--勘误件-->
|
||||
<template v-for="(child, childIndex) in item.child4">
|
||||
<p class="files-title">
|
||||
<label style=" margin-right: 164px;">{{ child.attrName }}</label>
|
||||
<template v-if="child.value && child.value.length > 0" v-for="(file, fileIndex) in child4Func(child.value)">
|
||||
<el-row :gutter="5" class="files-title">
|
||||
<el-col :span="8">
|
||||
<label>{{ child.attrName }}</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<template v-if="child.value && child.value.length > 0" v-for="(file, fileIndex) in child4Func(child.value)">
|
||||
<span>
|
||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer"
|
||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||
:title="file.oldFileName">{{ file.oldFileName }}</a>
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</span>
|
||||
<el-button v-if="child.value && child.value.length > 1"
|
||||
style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"
|
||||
class="decomposition-btn" icon="icon-relation" @click="relateEvent1(child.value)">
|
||||
更多
|
||||
</el-button>
|
||||
</template>
|
||||
<template v-if="child.value === null">-</template>
|
||||
</p>
|
||||
<!-- <el-button v-if="child.value && child.value.length > 1"-->
|
||||
<!-- style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"-->
|
||||
<!-- class="decomposition-btn" icon="icon-relation" @click="relateEvent1(child.value)">-->
|
||||
<!-- 更多-->
|
||||
<!-- </el-button>-->
|
||||
</template>
|
||||
<template v-if="child.value === null">-</template>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
<!--增补件(必读)-->
|
||||
<template v-for="(child, childIndex) in item.child3">
|
||||
<p class="files-title">
|
||||
<label style=" margin-right: 164px;">{{ child.attrName }}</label>
|
||||
<template v-if="child.value && child.value.length > 0"
|
||||
v-for="(file, fileIndex) in child3Func(child.value)">
|
||||
<el-row :gutter="5" class="files-title">
|
||||
<el-col :span="8">
|
||||
<label>{{ child.attrName }}</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<template v-if="child.value && child.value.length > 0"
|
||||
v-for="(file, fileIndex) in child3Func(child.value)">
|
||||
<span>
|
||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer"
|
||||
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||
:title="file.oldFileName">{{ file.oldFileName }}</a>
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</span>
|
||||
<el-button v-if="child.value && child.value.length > 1"
|
||||
style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"
|
||||
class="decomposition-btn" icon="icon-relation" @click="relateEvent1(child.value)">
|
||||
更多
|
||||
</el-button>
|
||||
</template>
|
||||
<template v-if="child.value === null">-</template>
|
||||
</p>
|
||||
<!-- <el-button v-if="child.value && child.value.length > 1"-->
|
||||
<!-- style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"-->
|
||||
<!-- class="decomposition-btn" icon="icon-relation" @click="relateEvent1(child.value)">-->
|
||||
<!-- 更多-->
|
||||
<!-- </el-button>-->
|
||||
</template>
|
||||
<template v-if="child.value === null">-</template>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
<p class="half">
|
||||
<label style=" margin-right: 150px;" title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。">文本状态</label>
|
||||
<span>{{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}</span>
|
||||
</p>
|
||||
<p class="half">
|
||||
<label style=" margin-right: 150px;">发布日期</label>
|
||||
<span>{{ sarStandardsInfoEO.issueTime || '-' }}</span>
|
||||
</p>
|
||||
<p class="half">
|
||||
<label style=" margin-right: 150px;">标准体系</label>
|
||||
<span>
|
||||
<el-row :gutter="5" class="half">
|
||||
<el-col :span="8">
|
||||
<label title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。">文本状态</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<span>{{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="5" class="half">
|
||||
<el-col :span="8">
|
||||
<label>发布日期</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<span>{{ sarStandardsInfoEO.issueTime || '-' }}</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="5" class="half">
|
||||
<el-col :span="8">
|
||||
<label>标准体系</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<span>
|
||||
{{ sarStandardsInfoEO.standSystem || '-' }}
|
||||
</span>
|
||||
</p>
|
||||
<p class="half">
|
||||
<label style=" margin-right: 11em;">是否纳入认证清单</label>
|
||||
<span>
|
||||
</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-row :gutter="5" class="half">
|
||||
<el-col :span="8">
|
||||
<label>是否纳入认证清单</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<span>
|
||||
{{ sarStandardsInfoEO.isRelateAccess ? (sarStandardsInfoEO.isRelateAccess === '1' ? '是' : '否') : '-' }}
|
||||
</span>
|
||||
</p>
|
||||
</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<template v-for="(child, childIndex) in item.child2">
|
||||
<p class="half">
|
||||
<label style=" margin-right: 150px;">{{ child.attrName }}</label>
|
||||
<span>{{ child.value || '-' }}</span>
|
||||
</p>
|
||||
<el-row :gutter="5" class="half">
|
||||
<el-col :span="8">
|
||||
<label>{{ child.attrName }}</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<span>{{ child.value || '-' }}</span>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
@@ -201,21 +260,24 @@
|
||||
</div>
|
||||
<template v-for="(child, childIndex) in item.half" v-if="child.isShowImp === '0' && child.attrField !== 'CBCD'">
|
||||
<!-- modular-item half 代替标准编号-->
|
||||
<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' ">
|
||||
<label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label>
|
||||
<el-row :gutter="5" :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' ">
|
||||
<el-col :span="8">
|
||||
<label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label>
|
||||
</el-col>
|
||||
<el-col :span="16"></el-col>
|
||||
<span 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">
|
||||
<p class="modular-content-p-val">
|
||||
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
||||
<a @click="processCenterClick(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;"
|
||||
class="span-line" :title="item">{{ item }}</a>
|
||||
</span>
|
||||
</p>
|
||||
</template>
|
||||
<template v-if="child.attrField === 'XGLC' && child.value">
|
||||
<p class="modular-content-p-val">
|
||||
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
||||
<a @click="processCenterClick(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;"
|
||||
class="span-line" :title="item">{{ item }}</a>
|
||||
</span>
|
||||
</p>
|
||||
</template>
|
||||
<!--是否授权-->
|
||||
<template v-else-if="child.attrField === 'QBSQ' && child.value">
|
||||
<template v-else-if="child.attrField === 'QBSQ' && child.value">
|
||||
<p class="modular-content-p-val">
|
||||
<span v-if="child.value === '1'">
|
||||
是
|
||||
@@ -226,40 +288,40 @@
|
||||
</p>
|
||||
</template>
|
||||
<!--其他-->
|
||||
<template v-else>
|
||||
<template v-else>
|
||||
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
||||
<a @click="showReplaceStandInfo(item)" style="cursor: pointer;color: #0c91e5;margin-right: 5px;"
|
||||
class="span-line" :title="item">{{ item }}</a>
|
||||
</span>
|
||||
</template>
|
||||
</div>
|
||||
<div v-else>
|
||||
{{ '-' }}
|
||||
</div>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div v-else>
|
||||
{{ '-' }}
|
||||
</div>
|
||||
</span>
|
||||
</el-row>
|
||||
<!-- 其他项-->
|
||||
<div 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>
|
||||
<span v-if="child.attrField === 'FGWHR'" class="modular-content-p-val clearfix" :title="child.value || '-'">
|
||||
<template v-if="child.value">
|
||||
{{ child.value }}
|
||||
<put-question-button
|
||||
style="float: right;"
|
||||
:resId="sarStandardsInfoEO.id"
|
||||
:resType="saveStandType"
|
||||
></put-question-button>
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ '-' }}
|
||||
</template>
|
||||
</span>
|
||||
<template v-if="child.value">
|
||||
{{ child.value }}
|
||||
<put-question-button
|
||||
style="float: right;"
|
||||
:resId="sarStandardsInfoEO.id"
|
||||
:resType="saveStandType"
|
||||
></put-question-button>
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ '-' }}
|
||||
</template>
|
||||
</span>
|
||||
<span v-else-if="child.attrType === 'DATE_PICKER'" class="modular-content-p-val">
|
||||
{{ child.value ? child.value : '-' }}
|
||||
</span>
|
||||
{{ child.value ? child.value : '-' }}
|
||||
</span>
|
||||
<span v-else-if="child.attrType !== 'FILE'" class="modular-content-p-val" :title="child.value || '-'">
|
||||
{{ child.value || '-' }}
|
||||
</span>
|
||||
{{ child.value || '-' }}
|
||||
</span>
|
||||
<div v-else class="modular-content-p-flies">
|
||||
<p class="files-title" v-for="(file, fileIndex) in child.value" :key="fileIndex">
|
||||
<!--发布稿、增补件单独设置下载权限-->
|
||||
@@ -327,42 +389,46 @@
|
||||
</template>
|
||||
<template v-for="(child, childIndex) in item.one" v-if="child.isShowImp === '0' && item.label == '过程稿件'">
|
||||
<!-- 增补件(必读)和勘误件不放在过程稿件里了-->
|
||||
<div
|
||||
<el-row :gutter="5"
|
||||
v-show="child.attrField !== 'ZBJBD' && child.attrField !== 'KWJ' && child.attrField !== 'FBGYWBD' "
|
||||
:key="child.id"
|
||||
:class="'modular-item half'"
|
||||
>
|
||||
<label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label>
|
||||
<span
|
||||
v-if="child.attrType !== 'FILE'"
|
||||
class="modular-content-p-val"
|
||||
:title="child.value || '-'"
|
||||
>
|
||||
{{ child.value || '-' }}
|
||||
</span>
|
||||
<div v-else class="modular-content-p-flies">
|
||||
<p
|
||||
class="files-title"
|
||||
v-for="(file, fileIndex) in child.value"
|
||||
:key="fileIndex"
|
||||
<el-col :span="8">
|
||||
<label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label>
|
||||
</el-col>
|
||||
<el-col :span="16">
|
||||
<span
|
||||
v-if="child.attrType !== 'FILE'"
|
||||
class="modular-content-p-val"
|
||||
:title="child.value || '-'"
|
||||
>
|
||||
<!-- <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'
|
||||
{{ child.value || '-' }}
|
||||
</span>
|
||||
<div v-else class="modular-content-p-flies">
|
||||
<p
|
||||
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>-->
|
||||
<!--发布稿、增补件单独设置下载权限-->
|
||||
<template v-if="child.attrField === 'XGD' || child.attrField === 'FBGBJBD' || child.attrField === 'BPG'
|
||||
|| child.attrField === 'SSG'|| child.attrField === 'ZQYJG'|| child.attrField === 'CA'
|
||||
|| child.attrField === 'JDWJ' || child.attrField === 'GLWJ'">
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{
|
||||
file.oldFileName | ellipsis
|
||||
}}</a>
|
||||
</template>
|
||||
<template v-else>
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{
|
||||
file.oldFileName | ellipsis
|
||||
}}</a>
|
||||
</template>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{
|
||||
file.oldFileName
|
||||
}}</a>
|
||||
</template>
|
||||
<template v-else>
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{
|
||||
file.oldFileName
|
||||
}}</a>
|
||||
</template>
|
||||
</p>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</template>
|
||||
<template
|
||||
v-for="(child, childIndex) in item.one"
|
||||
@@ -3471,8 +3537,8 @@
|
||||
a {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
width: calc(~'100% - 40px');
|
||||
white-space: nowrap;
|
||||
//width: calc(~'100% - 40px');
|
||||
//white-space: nowrap;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@@ -3481,7 +3547,6 @@
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 780px;
|
||||
white-space: nowrap;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
@@ -3867,10 +3932,10 @@
|
||||
line-height: 32px;
|
||||
//position: relative;
|
||||
display: inline-block;
|
||||
width: calc(~'100% - 225px');
|
||||
//width: calc(~'100% - 225px');
|
||||
|
||||
& > .files-title {
|
||||
width: calc(~'100% - 120px');
|
||||
//width: calc(~'100% - 120px');
|
||||
//报批稿撑开
|
||||
//min-height: 50px;
|
||||
//line-height: 50px;
|
||||
@@ -4051,4 +4116,5 @@
|
||||
::v-deep .el-drawer {
|
||||
outline: none !important;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
@@ -317,7 +317,7 @@
|
||||
title="查看修改前内容"
|
||||
:visible.sync="itermsConditionsFlag"
|
||||
size="800px">
|
||||
<div style="height: 500px;overflow: auto;" v-html="itermsConditionsTitle"></div>
|
||||
<div class="itemsTextBox" v-html="itermsConditionsTitle"></div>
|
||||
<div slot="footer">
|
||||
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="itermsConditionsClose">关闭</el-button>
|
||||
</div>
|
||||
@@ -423,7 +423,7 @@
|
||||
},
|
||||
itermsConditionsOpen (row) {
|
||||
this.itermsConditionsFlag = true
|
||||
this.itermsConditionsTitle = row
|
||||
this.itermsConditionsTitle = row.replace(/''/g, '\'')
|
||||
},
|
||||
optionsChange (data) {
|
||||
for (let a = 0; a < this.options.length; a++) {
|
||||
|
||||
@@ -340,14 +340,33 @@ export default {
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
id: item.key || item.standId,
|
||||
pageType: item.standType + '_STAND'
|
||||
let replaceStandInfoEO ={}
|
||||
replaceStandInfoEO.standNumber = item.standNumber
|
||||
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.data != null) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: res.data.id,
|
||||
pageType:item.standType + '_STAND'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
} else {
|
||||
this.$message.error(res.message)
|
||||
}
|
||||
});
|
||||
window.open(routeUrl.href, "_blank");
|
||||
}, e => {
|
||||
})
|
||||
// let routeUrl = this.$router.resolve({
|
||||
// name: "OtherStandardDetails",
|
||||
// params: {
|
||||
// id: item.key || item.standId,
|
||||
// pageType: item.standType + '_STAND'
|
||||
// }
|
||||
// });
|
||||
// window.open(routeUrl.href, "_blank");
|
||||
},
|
||||
//查询项目下的标准
|
||||
getStandData() {
|
||||
|
||||
@@ -907,14 +907,33 @@ export default {
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
id: item.standId,
|
||||
pageType: item.standType + '_STAND'
|
||||
// let routeUrl = this.$router.resolve({
|
||||
// name: "OtherStandardDetails",
|
||||
// params: {
|
||||
// id: item.standId,
|
||||
// pageType: item.standType + '_STAND'
|
||||
// }
|
||||
// });
|
||||
// window.open(routeUrl.href, "_blank");
|
||||
let replaceStandInfoEO ={}
|
||||
replaceStandInfoEO.standNumber = item.standNumber
|
||||
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.data != null) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: res.data.id,
|
||||
pageType:item.standType + '_STAND'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
} else {
|
||||
this.$message.error(res.message)
|
||||
}
|
||||
});
|
||||
window.open(routeUrl.href, "_blank");
|
||||
}, e => {
|
||||
})
|
||||
},
|
||||
choiceZRR(type, title, id) {
|
||||
this.nodeList = [];
|
||||
|
||||
@@ -260,14 +260,33 @@ export default {
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
id: item.standId,
|
||||
pageType: item.standType + '_STAND'
|
||||
let replaceStandInfoEO ={}
|
||||
replaceStandInfoEO.standNumber = item.standNumber
|
||||
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.data != null) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: res.data.id,
|
||||
pageType:item.standType + '_STAND'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
} else {
|
||||
this.$message.error(res.message)
|
||||
}
|
||||
});
|
||||
window.open(routeUrl.href, "_blank");
|
||||
}, e => {
|
||||
})
|
||||
// let routeUrl = this.$router.resolve({
|
||||
// name: "OtherStandardDetails",
|
||||
// params: {
|
||||
// id: item.standId,
|
||||
// pageType: item.standType + '_STAND'
|
||||
// }
|
||||
// });
|
||||
// window.open(routeUrl.href, "_blank");
|
||||
},
|
||||
//查询项目下的标准
|
||||
getStandData() {
|
||||
|
||||
@@ -684,14 +684,33 @@ export default {
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
id: item.standId,
|
||||
pageType: item.standType + '_STAND'
|
||||
let replaceStandInfoEO ={}
|
||||
replaceStandInfoEO.standNumber = item.standNumber
|
||||
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.data != null) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: res.data.id,
|
||||
pageType:item.standType + '_STAND'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
} else {
|
||||
this.$message.error(res.message)
|
||||
}
|
||||
});
|
||||
window.open(routeUrl.href, "_blank");
|
||||
}, e => {
|
||||
})
|
||||
// let routeUrl = this.$router.resolve({
|
||||
// name: "OtherStandardDetails",
|
||||
// params: {
|
||||
// id: item.standId,
|
||||
// pageType: item.standType + '_STAND'
|
||||
// }
|
||||
// });
|
||||
// window.open(routeUrl.href, "_blank");
|
||||
},
|
||||
itemsTextDialog(itemsNum, text) {
|
||||
this.itemsTextDialogs = true
|
||||
|
||||
@@ -378,14 +378,33 @@ export default {
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
id: item.key || item.standId,
|
||||
pageType: item.standType + '_STAND'
|
||||
let replaceStandInfoEO ={}
|
||||
replaceStandInfoEO.standNumber = item.standNumber
|
||||
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.data != null) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: res.data.id,
|
||||
pageType:item.standType + '_STAND'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
} else {
|
||||
this.$message.error(res.message)
|
||||
}
|
||||
});
|
||||
window.open(routeUrl.href, "_blank");
|
||||
}, e => {
|
||||
})
|
||||
// let routeUrl = this.$router.resolve({
|
||||
// name: "OtherStandardDetails",
|
||||
// params: {
|
||||
// id: item.key || item.standId,
|
||||
// pageType: item.standType + '_STAND'
|
||||
// }
|
||||
// });
|
||||
// window.open(routeUrl.href, "_blank");
|
||||
},
|
||||
//查询项目下的标准
|
||||
getStandData() {
|
||||
|
||||
@@ -375,14 +375,33 @@ export default {
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
id: item.key || item.standId,
|
||||
pageType: item.standType + '_STAND'
|
||||
let replaceStandInfoEO ={}
|
||||
replaceStandInfoEO.standNumber = item.standNumber
|
||||
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.data != null) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: res.data.id,
|
||||
pageType:item.standType + '_STAND'
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
} else {
|
||||
this.$message.error(res.message)
|
||||
}
|
||||
});
|
||||
window.open(routeUrl.href, "_blank");
|
||||
}, e => {
|
||||
})
|
||||
// let routeUrl = this.$router.resolve({
|
||||
// name: "OtherStandardDetails",
|
||||
// params: {
|
||||
// id: item.key || item.standId,
|
||||
// pageType: item.standType + '_STAND'
|
||||
// }
|
||||
// });
|
||||
// window.open(routeUrl.href, "_blank");
|
||||
},
|
||||
//查询项目下的标准
|
||||
getStandData() {
|
||||
|
||||
@@ -159,7 +159,7 @@
|
||||
</div>
|
||||
</el-form-item>
|
||||
<el-form-item prop="fbgbjbdName" class="add-form-item form-item-disabled">
|
||||
<span slot="label" title="发布稿(原文)" style="width: 112px">发布稿(译文)</span>
|
||||
<span slot="label" title="发布稿(原文)" style="width: 112px">发布稿(原文)</span>
|
||||
<div v-if="fbgbjbdFileMap.length>0" v-for="(value,index) in this.fbgbjbdFileMap" :key="index" style="cursor: pointer;color: #00b7ee">
|
||||
<span style="" @click="downloadFile('fbg',value.id)" :title="value.name">{{ value.name }}</span>
|
||||
</div>
|
||||
@@ -787,6 +787,7 @@ export default {
|
||||
this.xgdFileMap = this.assemble(processForm.xgd, processForm.xgdName);
|
||||
|
||||
this.fbgbjbdFileMap = this.assemble(processForm.fbgbjbd, processForm.fbgbjbdName);
|
||||
this.fbgywbdFileMap = this.assemble(processForm.fbgywbd, processForm.fbgywbdName);
|
||||
// fbgbjbdFileMap: {},
|
||||
this.bpgFileMap = this.assemble(processForm.bpg, processForm.bpgName);
|
||||
// bpgFileMap: {},
|
||||
|
||||
@@ -327,6 +327,11 @@
|
||||
padding: 0 20px 0;
|
||||
}
|
||||
}
|
||||
/deep/.van-dialog__content {
|
||||
max-height: 400px;
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
}
|
||||
.fileClass {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -405,6 +405,11 @@
|
||||
padding: 0 20px 0;
|
||||
}
|
||||
}
|
||||
/deep/.van-dialog__content {
|
||||
max-height: 400px;
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
}
|
||||
.fileClass {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -387,6 +387,11 @@
|
||||
padding: 0 20px 0;
|
||||
}
|
||||
}
|
||||
/deep/.van-dialog__content {
|
||||
max-height: 400px;
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
}
|
||||
.fileClass {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -482,6 +482,11 @@
|
||||
padding: 0 20px 0;
|
||||
}
|
||||
}
|
||||
/deep/.van-dialog__content {
|
||||
max-height: 400px;
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
}
|
||||
.fileClass {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -416,6 +416,11 @@
|
||||
padding: 0 20px 0;
|
||||
}
|
||||
}
|
||||
/deep/.van-dialog__content {
|
||||
max-height: 400px;
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
}
|
||||
.fileClass {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -418,6 +418,11 @@
|
||||
padding: 0 20px 0;
|
||||
}
|
||||
}
|
||||
/deep/.van-dialog__content {
|
||||
max-height: 400px;
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
}
|
||||
.fileClass {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -432,6 +432,11 @@
|
||||
padding: 0 20px 0;
|
||||
}
|
||||
}
|
||||
/deep/.van-dialog__content {
|
||||
max-height: 400px;
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
}
|
||||
.fileClass {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@@ -334,14 +334,33 @@ export default {
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
id: item.standId,
|
||||
pageType: "INLAND_STAND"
|
||||
let replaceStandInfoEO ={}
|
||||
replaceStandInfoEO.standNumber = item.standNumber
|
||||
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.data != null) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: res.data.id,
|
||||
pageType:"INLAND_STAND"
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
} else {
|
||||
this.$message.error(res.message)
|
||||
}
|
||||
});
|
||||
window.open(routeUrl.href, "_blank");
|
||||
}, e => {
|
||||
})
|
||||
// let routeUrl = this.$router.resolve({
|
||||
// name: "OtherStandardDetails",
|
||||
// params: {
|
||||
// id: item.standId,
|
||||
// pageType: "INLAND_STAND"
|
||||
// }
|
||||
// });
|
||||
// window.open(routeUrl.href, "_blank");
|
||||
},
|
||||
//查询项目下的标准
|
||||
getStandData() {
|
||||
|
||||
@@ -332,14 +332,33 @@ export default {
|
||||
},
|
||||
// 点击查看
|
||||
handlePreview(item) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: "OtherStandardDetails",
|
||||
params: {
|
||||
id: item.standId,
|
||||
pageType: "INLAND_STAND"
|
||||
let replaceStandInfoEO ={}
|
||||
replaceStandInfoEO.standNumber = item.standNumber
|
||||
this.$http.get('sarStandardsInfo/sar-standards-info/queryInfoByStandNum', replaceStandInfoEO, {
|
||||
_this: this
|
||||
}, res => {
|
||||
if (res.data != null) {
|
||||
let routeUrl = this.$router.resolve({
|
||||
name: 'OtherStandardDetails',
|
||||
params: {
|
||||
id: res.data.id,
|
||||
pageType:"INLAND_STAND"
|
||||
}
|
||||
})
|
||||
window.open(routeUrl.href, '_blank')
|
||||
} else {
|
||||
this.$message.error(res.message)
|
||||
}
|
||||
});
|
||||
window.open(routeUrl.href, "_blank");
|
||||
}, e => {
|
||||
})
|
||||
// let routeUrl = this.$router.resolve({
|
||||
// name: "OtherStandardDetails",
|
||||
// params: {
|
||||
// id: item.standId,
|
||||
// pageType: "INLAND_STAND"
|
||||
// }
|
||||
// });
|
||||
// window.open(routeUrl.href, "_blank");
|
||||
},
|
||||
//查询项目下的标准
|
||||
getStandData() {
|
||||
|
||||
Reference in New Issue
Block a user