This commit is contained in:
shen_yan_pu
2021-08-11 13:30:47 +08:00
parent e7064218ab
commit 0c7a655ab2
2 changed files with 808 additions and 781 deletions
+165 -147
View File
@@ -41,22 +41,36 @@
<!-- <p><label style=" margin-right: 150px;">标准类别</label><span>{{ sarStandardsInfoEO.standSort || '-' }}</span></p>--> <!-- <p><label style=" margin-right: 150px;">标准类别</label><span>{{ sarStandardsInfoEO.standSort || '-' }}</span></p>-->
<p style="color: #C42626;"> <p style="color: #C42626;">
<label style=" margin-right: 150px;">标准号</label> <label style=" margin-right: 150px;">标准号</label>
<span v-if="sarStandardsInfoEO.standYear">{{ sarStandardsInfoEO.standSortShow + ' ' + sarStandardsInfoEO.standNumber + '-' + sarStandardsInfoEO.standYear }}</span> <span v-if="sarStandardsInfoEO.standYear">{{
sarStandardsInfoEO.standSortShow + ' ' + sarStandardsInfoEO.standNumber + '-' + sarStandardsInfoEO.standYear
}}</span>
<span v-else>{{ sarStandardsInfoEO.standSort + ' ' + sarStandardsInfoEO.standNumber }}</span> <span v-else>{{ sarStandardsInfoEO.standSort + ' ' + sarStandardsInfoEO.standNumber }}</span>
</p> </p>
<!-- <p><label style=" margin-right: 150px;">标准年份</label><span>{{ sarStandardsInfoEO.standYear || '-' }}</span></p>--> <!-- <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><label style=" margin-right: 150px;">中文名称</label><span>{{
<p><label style=" margin-right: 150px;">英文名称</label><span>{{ sarStandardsInfoEO.standEnName || '-' }}</span></p> sarStandardsInfoEO.standName || '-'
<p><label style=" margin-right: 150px;">标准性质</label><span>{{ standMap[sarStandardsInfoEO.standNature] || '-' }}</span></p> }}</span></p>
<p><label style=" margin-right: 150px;">英文名称</label><span>{{
sarStandardsInfoEO.standEnName || '-'
}}</span></p>
<p><label style=" margin-right: 150px;">标准性质</label><span>{{
standMap[sarStandardsInfoEO.standNature] || '-'
}}</span></p>
<p> <p>
<label style=" margin-right: 132px;" <label style=" margin-right: 132px;"
title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。"
>文本状态<i class="el-icon-warning-outline"></i></label> >文本状态<i class="el-icon-warning-outline"></i></label>
<span style="color: #409EFF;">{{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}</span> <span style="color: #409EFF;">{{ textStatusMap[sarStandardsInfoEO.textStatus] || '-' }}</span>
</p> </p>
<p><label style=" margin-right: 150px;">发布日期</label><span>{{ sarStandardsInfoEO.issueTime || '-' }}</span></p> <p><label style=" margin-right: 150px;">发布日期</label><span>{{
<p><label style=" margin-right: 76px;">是否纳入认证清单</label><span>{{sarStandardsInfoEO.isRelateAccess ? (sarStandardsInfoEO.isRelateAccess === '1' ? '是' : '否') : '-'}}</span></p> sarStandardsInfoEO.issueTime || '-'
<p v-if="saveStandType === 'INLAND_STAND'"><label style=" margin-right: 150px;">标准体系</label><span>{{ sarStandardsInfoEO.standSystem || '-' }}</span></p> }}</span></p>
<p>
<label style=" margin-right: 76px;">是否纳入认证清单</label><span>{{ sarStandardsInfoEO.isRelateAccess ? (sarStandardsInfoEO.isRelateAccess === '1' ? '是' : '否') : '-' }}</span>
</p>
<p v-if="saveStandType === 'INLAND_STAND'"><label style=" margin-right: 150px;">标准体系</label><span>{{
sarStandardsInfoEO.standSystem || '-'
}}</span></p>
<!-- <p><label>文本说明:</label><span style="color: #999999">{{ sarStandardsInfoEO.synopsis || '-' }}</span></p>--> <!-- <p><label>文本说明:</label><span style="color: #999999">{{ sarStandardsInfoEO.synopsis || '-' }}</span></p>-->
<!-- <p><label>重要度:</label><span>{{ sarStandardsInfoEO.isRelateAccess === '1' ? 'A' : 'B'}}</span></p>--> <!-- <p><label>重要度:</label><span>{{ sarStandardsInfoEO.isRelateAccess === '1' ? 'A' : 'B'}}</span></p>-->
<!-- <p><label>纳入标准法规清单的国家/地区:</label><span>{{ sarStandardsInfoEO.accessCountry || '-' }}</span></p>--> <!-- <p><label>纳入标准法规清单的国家/地区:</label><span>{{ sarStandardsInfoEO.accessCountry || '-' }}</span></p>-->
@@ -381,7 +395,8 @@
@click="showItemsModel(child.attrField)" @click="showItemsModel(child.attrField)"
class="decomposition-btn" class="decomposition-btn"
icon="icon-separate" icon="icon-separate"
>标准分解单</el-button> >标准分解单
</el-button>
</div> </div>
</div> </div>
@@ -395,7 +410,8 @@
</div> </div>
</div> </div>
</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>--> <!-- <div v-show="isMoreAwayBtn" class="put-away" @click="putAwayClick">收起<img src="@/assets/images/shangqi/img/more.png"></div>-->
<!--查看标准条款列表--> <!--查看标准条款列表-->
<el-drawer <el-drawer
@@ -418,30 +434,10 @@
trigger="click" trigger="click"
:value="false" :value="false"
> >
<!-- <el-input-->
<!-- v-model="standItemSearch.orgName"-->
<!-- slot="reference"-->
<!-- placeholder="请选择部门"-->
<!-- readonly-->
<!-- id="searchInlandDeptBtn"-->
<!-- @on-change="inputChange"-->
<!-- style="margin-right: 0;"/>-->
<div class="api">
<!-- <laws-tree :zNodes="searchInlandNodes"-->
<!-- treeDivId="domesticTree1"-->
<!-- ref="reloadTree2"-->
<!-- deptSelect-->
<!-- showRMenu-->
<!-- @treeDblClick="searchInlandNodesClick"-->
<!-- class="ztree" style="width: 200px;height: 400px;overflow: auto">-->
<!-- </laws-tree>-->
</div>
</el-popover> </el-popover>
</el-form-item> </el-form-item>
<el-form-item class="search-item"> <el-form-item class="search-item">
<el-input v-model="standItemSearch.itemsName" size="small" placeholder="根据条款名称查找" clearable maxlength="100"></el-input> <el-input v-model="standItemSearch.itemsName" size="small" placeholder="根据条款名称查找" clearable maxlength="100"></el-input>
</el-form-item> </el-form-item>
@@ -465,9 +461,6 @@
</el-date-picker> </el-date-picker>
</div> </div>
</el-form-item> </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-form-item class="search-item btn-box">
<el-button <el-button
:loading="searching" :loading="searching"
@@ -491,14 +484,17 @@
</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" v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '52HT9PLW49G6ZWS9RZSC' : '9CLEQQBS75SYV8JQQYFB'">导出</el-button> @click="exportStandardItem" v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '52HT9PLW49G6ZWS9RZSC' : '9CLEQQBS75SYV8JQQYFB'">
导出
</el-button>
<el-button <el-button
size="mini" size="mini"
type="primary" type="primary"
class="common-button-primary" class="common-button-primary"
@click="openRelatedTermsDrawer" @click="openRelatedTermsDrawer"
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '28CUM4KPUXDMCCMTFUQA' : 'R62HAB3QEMD27BZ7XHCM'" v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '28CUM4KPUXDMCCMTFUQA' : 'R62HAB3QEMD27BZ7XHCM'"
>关联条款</el-button> >关联条款
</el-button>
</div> </div>
<div class="content"> <div class="content">
<el-table <el-table
@@ -542,17 +538,18 @@
:resizable="false" :resizable="false"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<div class="table-jump" @click="itemsTextDialog(scope.row.itemsNum, scope.row.termsConditions)">{{ scope.row.termsConditions ? scope.row.termsConditions.replace(/<.*?>/ig, ' ') : '' }}</div> <div class="table-jump" @click="itemsTextDialog(scope.row.itemsNum, scope.row.termsConditions)">
{{ scope.row.termsConditions ? scope.row.termsConditions.replace(/<.*?>/ig, ' ') : '' }}
</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="xcxssrq" prop="XCXSSRQ"
:formatter="formatterTime"
label="新车型实施日期(文本)" label="新车型实施日期(文本)"
width="180"> width="180">
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="zccssrq" prop="ZCCSSRQ"
label="在产车实施日期(文本)" label="在产车实施日期(文本)"
width="180"> width="180">
</el-table-column> </el-table-column>
@@ -590,7 +587,8 @@
<el-dropdown trigger="click" @command="handleCommand"> <el-dropdown trigger="click" @command="handleCommand">
<i class="iconfont">&#xe61e;</i> <i class="iconfont">&#xe61e;</i>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '查看']">查看</el-dropdown-item> <el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '查看']">查看
</el-dropdown-item>
<!--<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '编辑']">编辑</el-dropdown-item>--> <!--<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '编辑']">编辑</el-dropdown-item>-->
<!--<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '删除']">删除</el-dropdown-item>--> <!--<el-dropdown-item :disabled="scope.row.enable==='0'" :command="[scope.row, '删除']">删除</el-dropdown-item>-->
</el-dropdown-menu> </el-dropdown-menu>
@@ -727,7 +725,9 @@
</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" @click="saveOrUpdateStandItem" :loading="isSubmit">保存</el-button> <el-button class="common-button-primary" icon="el-icon-check" type="primary" v-if="!itemFormdisableflag" @click="saveOrUpdateStandItem" :loading="isSubmit">
保存
</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>
@@ -769,11 +769,15 @@
</div> </div>
<div class="see-drawer-div"> <div class="see-drawer-div">
<label class="see-drawer-name" title="内容简介">内容简介</label> <label class="see-drawer-name" title="内容简介">内容简介</label>
<span class="see-drawer-val" :title="standShowItemEO.termsConditions ? standShowItemEO.termsConditions.replace(/<.*?>/ig, ' ') : ''">{{ standShowItemEO.termsConditions ? standShowItemEO.termsConditions.replace(/<.*?>/ig, ' ') : '' }}</span> <span class="see-drawer-val" :title="standShowItemEO.termsConditions ? standShowItemEO.termsConditions.replace(/<.*?>/ig, ' ') : ''">{{
standShowItemEO.termsConditions ? standShowItemEO.termsConditions.replace(/<.*?>/ig, ' ') : ''
}}</span>
</div> </div>
<div class="see-drawer-div"> <div class="see-drawer-div">
<label class="see-drawer-name" title="责任部门">责任部门</label> <label class="see-drawer-name" title="责任部门">责任部门</label>
<span class="see-drawer-val" :title="standShowItemEO.responsibleUnit">{{ standShowItemEO.responsibleUnit }}</span> <span class="see-drawer-val" :title="standShowItemEO.responsibleUnit">{{
standShowItemEO.responsibleUnit
}}</span>
</div> </div>
<div class="see-drawer-div"> <div class="see-drawer-div">
<label class="see-drawer-name" title="FO">FO</label> <label class="see-drawer-name" title="FO">FO</label>
@@ -781,7 +785,9 @@
</div> </div>
<div class="see-drawer-div"> <div class="see-drawer-div">
<label class="see-drawer-name" title="责任工程师">责任工程师</label> <label class="see-drawer-name" title="责任工程师">责任工程师</label>
<span class="see-drawer-val" :title="standShowItemEO.dutyEngineerShow">{{ standShowItemEO.dutyEngineerShow }}</span> <span class="see-drawer-val" :title="standShowItemEO.dutyEngineerShow">{{
standShowItemEO.dutyEngineerShow
}}</span>
</div> </div>
<div class="see-drawer-div"> <div class="see-drawer-div">
<label class="see-drawer-name" title="svpps">svpps</label> <label class="see-drawer-name" title="svpps">svpps</label>
@@ -797,7 +803,9 @@
</div> </div>
<div class="see-drawer-div"> <div class="see-drawer-div">
<label class="see-drawer-name" title="企标覆盖关系">企标覆盖关系</label> <label class="see-drawer-name" title="企标覆盖关系">企标覆盖关系</label>
<span class="see-drawer-val" :title="standShowItemEO.busStandCoverShow ? standShowItemEO.busStandCoverShow : busStandCoverName(standShowItemEO.busStandCover)">{{ standShowItemEO.busStandCoverShow ? standShowItemEO.busStandCoverShow : busStandCoverName(standShowItemEO.busStandCover) }}</span> <span class="see-drawer-val" :title="standShowItemEO.busStandCoverShow ? standShowItemEO.busStandCoverShow : busStandCoverName(standShowItemEO.busStandCover)">{{
standShowItemEO.busStandCoverShow ? standShowItemEO.busStandCoverShow : busStandCoverName(standShowItemEO.busStandCover)
}}</span>
</div> </div>
</div> </div>
</el-drawer> </el-drawer>
@@ -834,11 +842,13 @@
class="common-button-primary add-button" class="common-button-primary add-button"
size="mini" size="mini"
:v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'PVBSWCJQ9X4RVBM9RK7L' : 'NJ3YL4SVEJADWH7ESHDX'" :v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'PVBSWCJQ9X4RVBM9RK7L' : 'NJ3YL4SVEJADWH7ESHDX'"
@click="addknowledge(1)"><i class="iconfont">&#xe84e;</i>新增</el-button> @click="addknowledge(1)"><i class="iconfont">&#xe84e;</i>新增
</el-button>
<el-button class="common-button-default delete-button" <el-button class="common-button-default delete-button"
size="mini" size="mini"
:v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '4V4592SVLAZY9HMC8WHU' : '485WL3QHGRJ27H2XD34Z'" :v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '4V4592SVLAZY9HMC8WHU' : '485WL3QHGRJ27H2XD34Z'"
@click="deleteknowledge(2)"><i class="iconfont">&#xe61b;</i>批量删除</el-button> @click="deleteknowledge(2)"><i class="iconfont">&#xe61b;</i>批量删除
</el-button>
</div> </div>
<div class="knowContent"> <div class="knowContent">
<el-table <el-table
@@ -883,8 +893,12 @@
<i class="iconfont">&#xe61e;</i> <i class="iconfont">&#xe61e;</i>
<el-dropdown-menu slot="dropdown"> <el-dropdown-menu slot="dropdown">
<el-dropdown-item :command="[scope.row, '查看']">查看</el-dropdown-item> <el-dropdown-item :command="[scope.row, '查看']">查看</el-dropdown-item>
<el-dropdown-item :v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'XPMLS6UV5HXG7C9ZR6B8' : '5ZC797XABNFV36KWJCA5'" :command="[scope.row, '编辑']">编辑</el-dropdown-item> <el-dropdown-item :v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'XPMLS6UV5HXG7C9ZR6B8' : '5ZC797XABNFV36KWJCA5'" :command="[scope.row, '编辑']">
<el-dropdown-item :v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '4V4592SVLAZY9HMC8WHU' : '485WL3QHGRJ27H2XD34Z'" :command="[scope.row, '删除']">删除</el-dropdown-item> 编辑
</el-dropdown-item>
<el-dropdown-item :v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '4V4592SVLAZY9HMC8WHU' : '485WL3QHGRJ27H2XD34Z'" :command="[scope.row, '删除']">
删除
</el-dropdown-item>
</el-dropdown-menu> </el-dropdown-menu>
</el-dropdown> </el-dropdown>
</div> </div>
@@ -928,7 +942,9 @@
</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" icon="el-icon-check" @click="AddKnowSub">确定</el-button> <el-button type="primary" size="mini" class="common-button-primary" :loading="AddKnowSubLoading" icon="el-icon-check" @click="AddKnowSub">
确定
</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>
@@ -949,7 +965,9 @@
@click="downloadFile(item.id)" @click="downloadFile(item.id)"
:key="index">{{ item.oldFileName }}</span> :key="index">{{ item.oldFileName }}</span>
</p> </p>
<p><label>发布时间:</label><span>{{ knowSee.creationTime ? $moment(knowSee.creationTime).format('YYYY-MM-DD') : '' }}</span></p> <p><label>发布时间:</label><span>{{
knowSee.creationTime ? $moment(knowSee.creationTime).format('YYYY-MM-DD') : ''
}}</span></p>
</div> </div>
</el-dialog> </el-dialog>
@@ -976,7 +994,9 @@
icon="el-icon-refresh-left" icon="el-icon-refresh-left"
size="mini" size="mini"
@click="clearComparison()"></el-button> @click="clearComparison()"></el-button>
<el-button type="primary" class="common-button-primary" size="mini" @click="addComparison"><i class="iconfont">&#xe84e;</i>新增</el-button> <el-button type="primary" class="common-button-primary" size="mini" @click="addComparison">
<i class="iconfont">&#xe84e;</i>新增
</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>
@@ -990,7 +1010,9 @@
</template> </template>
</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-primary" icon="el-icon-check" @click="comparisonSub">确定</el-button> <el-button type="primary" size="mini" class="common-button-primary" icon="el-icon-check" @click="comparisonSub">
确定
</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>
@@ -1022,8 +1044,11 @@
</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" @click="submitDrawerForm('listVO')">确定</el-button> <el-button class="common-button-primary" icon="el-icon-check" type="primary" @click="submitDrawerForm('listVO')">
<el-button class="common-button-default" icon="el-icon-close" @click="AddcomparisonDrawer = false">取消</el-button> 确定
</el-button>
<el-button class="common-button-default" icon="el-icon-close" @click="AddcomparisonDrawer = false">取消
</el-button>
</div> </div>
</el-drawer> </el-drawer>
<!-- 导入失败--> <!-- 导入失败-->
@@ -1035,7 +1060,9 @@
<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" @click="importFailed = false">确认</el-button> <el-button type="primary" size="mini" class="common-button-default" icon="el-icon-check" @click="importFailed = false">
确认
</el-button>
</div> </div>
</el-dialog> </el-dialog>
<loading :loading="loading">数据获取中</loading> <loading :loading="loading">数据获取中</loading>
@@ -1059,8 +1086,12 @@
></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" @click="handleRelatedTermsDrawerSubmit">{{$t('m.submit')}}</el-button> <el-button class="common-button-primary" size="mini" icon="el-icon-check" type="primary" :loading="btnLoading" @click="handleRelatedTermsDrawerSubmit">
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="handleRelatedTermsDrawerCancel">{{$t('m.cancel')}}</el-button> {{ $t('m.submit') }}
</el-button>
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="handleRelatedTermsDrawerCancel">
{{ $t('m.cancel') }}
</el-button>
</div> </div>
</el-drawer> </el-drawer>
<!--内容简介--> <!--内容简介-->
@@ -1373,8 +1404,7 @@ export default {
standMap: {} standMap: {}
} }
}, },
props: { props: {},
},
watch: {}, watch: {},
methods: { methods: {
FormatDate(date) { FormatDate(date) {
@@ -1386,8 +1416,6 @@ export default {
this.$set(this.textStatusMap, item.value, item.label) this.$set(this.textStatusMap, item.value, item.label)
this.$set(this.standMap, item.value, item.label) this.$set(this.standMap, item.value, item.label)
}) })
console.log(this.textStatusMap, '文本状态的值')
console.log(this.standMap, '标准性质')
}, },
statusClick() { statusClick() {
let routeUrl = this.$router.resolve({ let routeUrl = this.$router.resolve({
@@ -1400,79 +1428,6 @@ export default {
}, },
closeDrawer() { closeDrawer() {
this.modalStandItemflag = false this.modalStandItemflag = false
// svpps变化
// Promise.all([this.queryDisplayLocation(), this.selectStandMessage(), this.getAddFormFieldList()]).then((values) => {
// const [displayLocation, standEO, formFieldList] = values
// const dynamicFormField = standEO ? standEO.attrInfoMap : {}
// formFieldList.forEach((field) => {
// displayLocation.forEach((location) => {
// location.isShowImp = '1'
// if (dynamicFormField) {
// let value = dynamicFormField[field.attrField]
// if (field.attrField === 'SVPPS') {
// let tips = dynamicFormField.SVPPSTips
// field['tips'] = tips
// }
// if (value && typeof value === 'number') {
// value = this.$dateFormat(value, 'yyyy-MM-dd')
// }
// field['value'] = value
// if (field.showRegionId === location.value) {
// if (!location.child) {
// location['child'] = []
// }
// location['child'].push(field)
// if (field.isShowImp === '0') {
// location.isShowImp = '0'
// }
// }
// }
// })
// })
// displayLocation.forEach(location => {
// const child = location.child || []
// const one = []
// const half = []
// child.map(field => {
// if (['DATE_PICKER', 'SEL_OPTION', 'INPUT_NUM'].includes(field.attrType)) {
// half.push(field)
// } else {
// one.push(field)
// }
// })
// const fieldsIsTextAreaOrFile = child.filter(field => {
// return field.attrType === 'TEXTAREA' || field.attrType === 'FILE'
// })
// const fieldOthers = child.filter(field => {
// return field.attrType !== 'TEXTAREA' && field.attrType !== 'FILE'
// })
// location.child = [...fieldOthers, ...fieldsIsTextAreaOrFile]
// location.one = one
// location.half = half
// location.showAll = false
// })
// this.$http.get('lawss/sarSarAccessInfo/selectProTimeInfoByStandId', {
// standId: this.$route.params.id
// }, {
// _this: this
// }, res => {
// displayLocation.map(item => {
// if (item.value === '2URVBGR2Y4UG77KZ5YPL') {
// for (let key in res.data) {
// item.one.push({
// attrName: key,
// value: res.data[key].join(','),
// isShowImp: '0',
// id: key
// })
// }
// }
// })
// this.dynamicFormField = displayLocation
// })
// sessionStorage.setItem('displayLocation', JSON.stringify(displayLocation))
// this.loading = false
// })
}, },
clearComparison() { clearComparison() {
this.comparisonTitle = '' this.comparisonTitle = ''
@@ -2096,7 +2051,8 @@ export default {
this.zNodesSItem = treeNode this.zNodesSItem = treeNode
this.searchInlandNodes = treeNode this.searchInlandNodes = treeNode
} }
}, e => {}) }, e => {
})
}, },
getUserTreeSource() { getUserTreeSource() {
this.$http.get('sys/org/getTree', {}, {_this: this}, this.$http.get('sys/org/getTree', {}, {_this: this},
@@ -2116,7 +2072,8 @@ export default {
}) })
this.zNodesSItemEngin = treeNode this.zNodesSItemEngin = treeNode
} }
}, e => {}) }, e => {
})
}, },
// 查询相近标准 // 查询相近标准
selectCloseStand(id) { selectCloseStand(id) {
@@ -2261,16 +2218,6 @@ export default {
console.log("hello" + this.standItemList + res.data); console.log("hello" + this.standItemList + res.data);
this.standitemTotal = res.data.count // 分页需要 this.standitemTotal = res.data.count // 分页需要
} }
// if (this.standItemList != null && this.standItemList.length > 0) {
// for (let ind = 0; ind < this.standItemList.length; ind++) {
// // 去掉html标签
// let itemContent = this.standItemList[ind].termsConditions
// itemContent = itemContent ? itemContent.replace(/<.*?>/ig, ' ') : ''
// this.standItemList[ind].termsConditions = itemContent
// }
// }
}, e => { }, e => {
}) })
}, },
@@ -2369,7 +2316,8 @@ export default {
} else { } else {
this.$message.warning('暂无可导出的数据') this.$message.warning('暂无可导出的数据')
} }
}).catch(() => {}) }).catch(() => {
})
}, },
// 标准条款删除 // 标准条款删除
deleteStandItem(item, flag) { deleteStandItem(item, flag) {
@@ -2864,6 +2812,7 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/mixins'; @import '~@/assets/styles/mixins';
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
/deep/ .btn1 #question { /deep/ .btn1 #question {
padding: 0 10px; padding: 0 10px;
margin-left: 10px; margin-left: 10px;
@@ -2873,6 +2822,7 @@ export default {
color: #409EFF;; color: #409EFF;;
border: 1px solid #409EFF; border: 1px solid #409EFF;
background: rgba(64, 158, 255, 0.1); background: rgba(64, 158, 255, 0.1);
.icon-separate { .icon-separate {
display: inline-block; display: inline-block;
margin-right: 3px; margin-right: 3px;
@@ -2885,62 +2835,77 @@ export default {
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: 1200px; width: 1200px;
margin: 0 auto; margin: 0 auto;
height: 100%; height: 100%;
.itemsTextBox { .itemsTextBox {
min-height: 300px; min-height: 300px;
max-height: 500px; max-height: 500px;
overflow: auto; overflow: auto;
line-height: 20px; line-height: 20px;
/deep/ td { /deep/ td {
border: 1px solid #606266; border: 1px solid #606266;
text-align: center; text-align: center;
} }
} }
/deep/ .el-radio-group { /deep/ .el-radio-group {
display: block; display: block;
margin-bottom: 10px; margin-bottom: 10px;
} }
.action-bar { .action-bar {
border-top: 0px; border-top: 0px;
} }
.fileCss { .fileCss {
margin-right: 10px; margin-right: 10px;
cursor: pointer; cursor: pointer;
} }
.fileCss:hover { .fileCss:hover {
color: #0c91e5; color: #0c91e5;
} }
.myDialog1 { .myDialog1 {
/deep/ .el-dialog__body { /deep/ .el-dialog__body {
padding: 0px 20px 10px; padding: 0px 20px 10px;
} }
.myRadio { .myRadio {
min-height: 200px; min-height: 200px;
max-height: 400px; max-height: 400px;
overflow: auto; overflow: auto;
} }
} }
.myDialog { .myDialog {
min-width: 700px; min-width: 700px;
.el-dialog { .el-dialog {
min-width: 700px; min-width: 700px;
width: 70%; width: 70%;
} }
/deep/ .el-dialog__body { /deep/ .el-dialog__body {
padding: 0px 20px 56px; padding: 0px 20px 56px;
.basic-information-content { .basic-information-content {
color: #333333; color: #333333;
font-size: 18px; font-size: 18px;
font-weight: 400; font-weight: 400;
.standard-text { .standard-text {
height: 50px; height: 50px;
line-height: 50px; line-height: 50px;
border-bottom: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5;
} }
& > p { & > p {
min-height: 55px; min-height: 55px;
line-height: 55px; line-height: 55px;
@@ -2948,34 +2913,42 @@ export default {
} }
} }
} }
.knowContent { .knowContent {
height: 500px; height: 500px;
} }
} }
.details-header { .details-header {
padding: 34px 0; padding: 34px 0;
font-size: 20px; font-size: 20px;
font-weight: bold; font-weight: bold;
color: #555555; color: #555555;
text-align: center; text-align: center;
& > span { & > span {
width: 100%; width: 100%;
} }
} }
/deep/ .details-content { /deep/ .details-content {
/*padding: 0 67px;*/ /*padding: 0 67px;*/
.details-content-modular { .details-content-modular {
margin-bottom: 20px; margin-bottom: 20px;
.modular-header { .modular-header {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
height: 50px; height: 50px;
border-bottom: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5;
.modular-header-title { .modular-header-title {
font-size: 18px; font-size: 18px;
font-weight: bold; font-weight: bold;
color: #3B424C; color: #3B424C;
& > .icon-modular-title { & > .icon-modular-title {
display: inline-block; display: inline-block;
margin-left: -28px; margin-left: -28px;
@@ -2986,10 +2959,12 @@ export default {
background-image: url("~assets/images/shangqi/standardDetails/modular-title.png"); background-image: url("~assets/images/shangqi/standardDetails/modular-title.png");
vertical-align: top; vertical-align: top;
} }
& > span { & > span {
padding-left: 10px; padding-left: 10px;
} }
} }
.modular-header-btn { .modular-header-btn {
& > button { & > button {
height: 30px; height: 30px;
@@ -2997,6 +2972,7 @@ export default {
font-size: 14px; font-size: 14px;
padding: 0 10px; padding: 0 10px;
font-family: 'Microsoft Yahei', '\5FAE\8F6F\96C5\9ED1', Arial, sans-serif !important; font-family: 'Microsoft Yahei', '\5FAE\8F6F\96C5\9ED1', Arial, sans-serif !important;
& > i { & > i {
display: inline-block; display: inline-block;
margin-right: 3px; margin-right: 3px;
@@ -3008,43 +2984,53 @@ export default {
vertical-align: text-bottom; vertical-align: text-bottom;
} }
} }
.collection-btn { .collection-btn {
padding: 0; padding: 0;
border: none; border: none;
i { i {
color: #F2CB51; color: #F2CB51;
font-size: 18px; font-size: 18px;
width: 18px; width: 18px;
height: 18px; height: 18px;
} }
/*background: rgba(244, 162, 39, 0.1);*/ /*background: rgba(244, 162, 39, 0.1);*/
.icon-collection { .icon-collection {
background-image: url("~assets/images/shangqi/standardDetails/collection.png"); background-image: url("~assets/images/shangqi/standardDetails/collection.png");
} }
&:hover { &:hover {
background: transparent; background: transparent;
} }
} }
.relation-btn { .relation-btn {
color: #409EFF; color: #409EFF;
border: 1px solid #409EFF; border: 1px solid #409EFF;
background: rgba(64, 158, 255, 0.1); background: rgba(64, 158, 255, 0.1);
.icon-relation { .icon-relation {
background-image: url("~assets/images/shangqi/standardDetails/relation.png"); background-image: url("~assets/images/shangqi/standardDetails/relation.png");
} }
} }
} }
} }
.basic-information-content { .basic-information-content {
color: #333333; color: #333333;
font-size: 18px; font-size: 18px;
font-weight: 400; font-weight: 400;
.standard-text { .standard-text {
height: 50px; height: 50px;
line-height: 50px; line-height: 50px;
border-bottom: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5;
} }
} }
.modular-content { .modular-content {
.modular-item-more { .modular-item-more {
padding: 5px 0; padding: 5px 0;
@@ -3055,23 +3041,29 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.wrap { .wrap {
cursor: pointer; cursor: pointer;
span { span {
color: #409EFF; color: #409EFF;
} }
img { img {
height: 10px; height: 10px;
margin-left: 5px; margin-left: 5px;
transition: all .2s linear; transition: all .2s linear;
&.is-show-all { &.is-show-all {
transform: rotate(180deg); transform: rotate(180deg);
} }
} }
} }
} }
& > div:not(.modular-item-more) { & > div:not(.modular-item-more) {
border-bottom: 1px solid #E5E5E5; border-bottom: 1px solid #E5E5E5;
.modular-content-p-name { .modular-content-p-name {
display: inline-block; display: inline-block;
width: 220px; width: 220px;
@@ -3084,6 +3076,7 @@ export default {
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
} }
.modular-content-p-val { .modular-content-p-val {
display: inline-block; display: inline-block;
width: calc(~'100% - 225px'); width: calc(~'100% - 225px');
@@ -3096,20 +3089,24 @@ export default {
//white-space: nowrap; //white-space: nowrap;
//text-overflow: ellipsis; //text-overflow: ellipsis;
} }
.modular-content-p-flies { .modular-content-p-flies {
position: relative; position: relative;
display: inline-block; display: inline-block;
width: calc(~'100% - 225px'); width: calc(~'100% - 225px');
min-height: 50px; min-height: 50px;
& > .files-title { & > .files-title {
width: calc(~'100% - 120px'); width: calc(~'100% - 120px');
min-height: 50px; min-height: 50px;
line-height: 50px; line-height: 50px;
font-size: 16px; font-size: 16px;
color: #409EFF; color: #409EFF;
& > a { & > a {
cursor: pointer; cursor: pointer;
} }
& > i { & > i {
display: inline-block; display: inline-block;
margin-left: 3px; margin-left: 3px;
@@ -3121,13 +3118,16 @@ export default {
vertical-align: sub; vertical-align: sub;
cursor: pointer; cursor: pointer;
} }
.icon-download { .icon-download {
background-image: url("~assets/images/shangqi/img/download.png"); background-image: url("~assets/images/shangqi/img/download.png");
} }
.icon-download2 { .icon-download2 {
background-image: url("~assets/images/shangqi/img/download2.png"); background-image: url("~assets/images/shangqi/img/download2.png");
} }
} }
.decomposition-btn { .decomposition-btn {
position: absolute; position: absolute;
top: 10px; top: 10px;
@@ -3139,6 +3139,7 @@ export default {
color: #07C160; color: #07C160;
border: 1px solid #07C160; border: 1px solid #07C160;
background: rgba(1, 193, 96, 0.1); background: rgba(1, 193, 96, 0.1);
.icon-separate { .icon-separate {
display: inline-block; display: inline-block;
margin-right: 3px; margin-right: 3px;
@@ -3155,12 +3156,15 @@ export default {
} }
} }
} }
.basic-information { .basic-information {
border-top: 2px dashed #D1D1D1; border-top: 2px dashed #D1D1D1;
.modular-header { .modular-header {
height: 60px; height: 60px;
border-bottom: none; border-bottom: none;
} }
.basic-information-content { .basic-information-content {
& > p { & > p {
min-height: 55px; min-height: 55px;
@@ -3170,6 +3174,7 @@ export default {
} }
} }
} }
.more, .put-away { .more, .put-away {
position: fixed; position: fixed;
bottom: 0; bottom: 0;
@@ -3184,32 +3189,38 @@ export default {
background-image: linear-gradient(-180deg, rgba(255, 255, 255, 0) 0%, #fff 70%); background-image: linear-gradient(-180deg, rgba(255, 255, 255, 0) 0%, #fff 70%);
padding-bottom: 34px; padding-bottom: 34px;
padding-top: 34px; padding-top: 34px;
& > img { & > img {
margin-left: 5px; margin-left: 5px;
width: 14px; width: 14px;
height: 14px; height: 14px;
} }
} }
.put-away { .put-away {
& > img { & > img {
transform: rotate(180deg); transform: rotate(180deg);
} }
} }
.not-footer-drawer { .not-footer-drawer {
.search-area { .search-area {
margin-bottom: 0; margin-bottom: 0;
border-bottom: 5px solid #f6f6f6; border-bottom: 5px solid #f6f6f6;
} }
.content { .content {
padding: 0 10px; padding: 0 10px;
flex: auto; flex: auto;
//height: calc(~'100% - 105px - 56px'); //height: calc(~'100% - 105px - 56px');
} }
.pagination { .pagination {
position: static; position: static;
} }
} }
} }
.half { .half {
width: 50%; width: 50%;
float: left; float: left;
@@ -3218,33 +3229,40 @@ export default {
.hidden { .hidden {
overflow: hidden; overflow: hidden;
} }
.clearfix { .clearfix {
&:after { &:after {
clear: both; clear: both;
} }
&:after, &:before { &:after, &:before {
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;
} }
} }
::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;
} }
@@ -77,6 +77,15 @@
show-overflow-tooltip show-overflow-tooltip
align="center"> align="center">
</el-table-column> </el-table-column>
<el-table-column
prop="splitStatus"
label="拆分状态"
align="center">
<template slot-scope="scope">
<div>{{ scope.row.splitStatus == '0' ? '编辑中' : (scope.row.splitStatus == '1' ? '审核中' : '已完成' +
'') }}</div>
</template>
</el-table-column>
<el-table-column <el-table-column
prop="creationTime" prop="creationTime"
label="拆分时间" label="拆分时间"