恢复三大库详情的收藏按钮
This commit is contained in:
@@ -4,29 +4,29 @@
|
||||
<!--title 标题-->
|
||||
<div class="details-header">
|
||||
<span>{{sarStandardsInfoEO.standCode}} 《{{sarStandardsInfoEO.standName}}》 企标详情</span>
|
||||
<!-- 之前的,先注掉-->
|
||||
<!-- <span>{{sarStandardsInfoEO.standCode}}-{{sarStandardsInfoEO.standYear}} 《{{sarStandardsInfoEO.standName}}》 企标详情</span>-->
|
||||
<!-- 之前的,先注掉-->
|
||||
<!-- <span>{{sarStandardsInfoEO.standCode}}-{{sarStandardsInfoEO.standYear}} 《{{sarStandardsInfoEO.standName}}》 企标详情</span>-->
|
||||
</div>
|
||||
<!--主体内容-->
|
||||
<div class="details-content" style="position: relative">
|
||||
<div class="details-content-modular basic-information" style="border-top: 2px dashed #D1D1D1;">
|
||||
</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">
|
||||
<div v-if="item.label === '基础信息'" class="details-content-modular basic-information"
|
||||
style="border-top:none;position: absolute;right: 36px;">
|
||||
<div class="modular-header" style="height: 50px;">
|
||||
<div class="modular-header-btn">
|
||||
<el-button v-if="sarStandardsInfoEO.collectId" @click="collectClick(sarStandardsInfoEO.collectId)" title="取消收藏" class="collection-btn" style="color: #f56c6c;" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" style="color: #4788c0;" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button class="relation-btn" icon="icon-relation" @click="relateEvent()">更新记录</el-button>
|
||||
</div>
|
||||
<div class="modular-header" style="height: 50px;">
|
||||
<div class="modular-header-btn">
|
||||
<el-button v-if="sarStandardsInfoEO.collectId" @click="collectClick(sarStandardsInfoEO.collectId)" title="取消收藏" class="collection-btn" icon="icon-collection" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button class="relation-btn" icon="icon-relation" @click="relateEvent()">更新记录</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<el-collapse-item :name="item.label" @click.native="handleChange1(item.label)">
|
||||
<template slot="title">
|
||||
@@ -52,32 +52,32 @@
|
||||
<span>
|
||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{ file.oldFileName | ellipsis }}</a>
|
||||
<i
|
||||
title="下载"
|
||||
@click="downloadFile(file.id)"
|
||||
class="icon-download"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '9882f477aad895ec56a7464f3e9c0b11'"
|
||||
title="下载"
|
||||
@click="downloadFile(file.id)"
|
||||
class="icon-download"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '9882f477aad895ec56a7464f3e9c0b11'"
|
||||
/>
|
||||
<i
|
||||
title="下载带水印"
|
||||
v-show="file.fileSuffix === 'pdf' || file.fileSuffix === 'PDF'"
|
||||
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
||||
class="icon-download2"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : '9bab2662fbd9d0507b39be813371a597'"
|
||||
title="下载带水印"
|
||||
v-show="file.fileSuffix === 'pdf' || file.fileSuffix === 'PDF'"
|
||||
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
||||
class="icon-download2"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : '9bab2662fbd9d0507b39be813371a597'"
|
||||
/>
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
<!-- <span class="time-text">上传时间:{{ dateFormat(file.modifyTime) }}</span>-->
|
||||
</span>
|
||||
<!-- <el-button-->
|
||||
<!-- v-if="child.attrField === itemNam "-->
|
||||
<!-- v-for="(itemNam,index) in itemExistList"-->
|
||||
<!-- :key="index"-->
|
||||
<!-- @click="showItemsModel(child.attrField)"-->
|
||||
<!-- class="decomposition-btn"-->
|
||||
<!-- style="right:62px"-->
|
||||
<!-- icon="icon-separate"-->
|
||||
<!-- >标准分解单-->
|
||||
<!-- </el-button>-->
|
||||
<el-button v-if="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>
|
||||
<!-- <el-button-->
|
||||
<!-- v-if="child.attrField === itemNam "-->
|
||||
<!-- v-for="(itemNam,index) in itemExistList"-->
|
||||
<!-- :key="index"-->
|
||||
<!-- @click="showItemsModel(child.attrField)"-->
|
||||
<!-- class="decomposition-btn"-->
|
||||
<!-- style="right:62px"-->
|
||||
<!-- icon="icon-separate"-->
|
||||
<!-- >标准分解单-->
|
||||
<!-- </el-button>-->
|
||||
<el-button v-if="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>
|
||||
@@ -92,8 +92,8 @@
|
||||
<p class="half"><label style=" margin-right: 157px;">发布日期</label><span>{{ sarStandardsInfoEO.issueTime || '-' }}</span></p>
|
||||
<p class="half" style=""><label style=" margin-right: 122px;">标准实施日期</label><span>{{ sarStandardsInfoEO.putTime || '-' }}</span></p>
|
||||
<template
|
||||
v-for="(child, childIndex) in item.child"
|
||||
v-if="child.isShowImp === '0'"
|
||||
v-for="(child, childIndex) in item.child"
|
||||
v-if="child.isShowImp === '0'"
|
||||
>
|
||||
<p class="half">
|
||||
<label style=" margin-right: 157px;" :title="child.attrName">{{child.attrName}}</label>
|
||||
@@ -111,25 +111,25 @@
|
||||
</div>
|
||||
</template>
|
||||
<template
|
||||
v-for="(child, childIndex) in item.child"
|
||||
v-if="child.isShowImp === '0' && item.label !== '基础信息'"
|
||||
v-for="(child, childIndex) in item.child"
|
||||
v-if="child.isShowImp === '0' && item.label !== '基础信息'"
|
||||
>
|
||||
<div
|
||||
:key="childIndex"
|
||||
:class="item.label !== '过程稿件' ? 'modular-item half' : 'modular-item'"
|
||||
:key="childIndex"
|
||||
: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 === 'ZYQCR'"
|
||||
class="modular-content-p-val clearfix"
|
||||
:title="child.value || '-'"
|
||||
v-if="child.attrField === 'ZYQCR'"
|
||||
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"
|
||||
style="float: right;"
|
||||
:resId="sarStandardsInfoEO.id"
|
||||
:resType="saveStandType"
|
||||
></put-question-button>
|
||||
</template>
|
||||
<template v-else>
|
||||
@@ -155,9 +155,9 @@
|
||||
<!--相关计划-->
|
||||
<template v-else-if="child.attrField === 'XGJH' && child.value">
|
||||
<span
|
||||
v-if="child.value.length === 0"
|
||||
class="modular-content-p-val"
|
||||
:title="'-'"
|
||||
v-if="child.value.length === 0"
|
||||
class="modular-content-p-val"
|
||||
:title="'-'"
|
||||
>
|
||||
{{ '-' }}
|
||||
</span>
|
||||
@@ -168,24 +168,24 @@
|
||||
</p>
|
||||
</template>
|
||||
<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 }}
|
||||
</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 || '-' }}
|
||||
</span>
|
||||
<div v-else class="modular-content-p-flies">
|
||||
<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"
|
||||
>
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{ file.oldFileName }}</a>
|
||||
<i title="下载" @click="downloadFile(file.id)" class="icon-download" v-btn-permission="'9882f477aad895ec56a7464f3e9c0b11'"/>
|
||||
@@ -206,15 +206,15 @@
|
||||
</el-collapse>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div v-show="!isMoreAwayBtn" class="more" @click="moreClick">更多<img src="@/assets/images/shangqi/img/more.png"></div>-->
|
||||
<!-- <div v-show="!isMoreAwayBtn" class="more" @click="moreClick">更多<img src="@/assets/images/shangqi/img/more.png"></div>-->
|
||||
<!-- <div v-show="isMoreAwayBtn" class="put-away" @click="putAwayClick">收起<img src="@/assets/images/shangqi/img/more.png"></div>-->
|
||||
<!--查看标准条目列表-->
|
||||
<el-drawer
|
||||
title="查看分解单"
|
||||
:wrapperClosable="false"
|
||||
:visible.sync="modalStandItemflag"
|
||||
size="80%"
|
||||
class="not-footer-drawer"
|
||||
title="查看分解单"
|
||||
:wrapperClosable="false"
|
||||
:visible.sync="modalStandItemflag"
|
||||
size="80%"
|
||||
class="not-footer-drawer"
|
||||
>
|
||||
<div class="search-area">
|
||||
<div class="left">
|
||||
@@ -223,19 +223,19 @@
|
||||
<el-input size="small" v-model="standItemSearch.orgName" v-show="false" style="height: 32px"/>
|
||||
<el-input size="small" v-model="standItemSearch.responsibleUnit" v-show="false" style="height: 32px"/>
|
||||
<el-popover
|
||||
placement="bottom"
|
||||
popper-class="user-dept-popper"
|
||||
trigger="click"
|
||||
:value="false"
|
||||
placement="bottom"
|
||||
popper-class="user-dept-popper"
|
||||
trigger="click"
|
||||
:value="false"
|
||||
>
|
||||
<el-input
|
||||
v-model="standItemSearch.orgName"
|
||||
slot="reference"
|
||||
placeholder="请选择部门"
|
||||
readonly
|
||||
id="searchInlandDeptBtn"
|
||||
@on-change="inputChange"
|
||||
style="margin-right: 0;"/>
|
||||
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"
|
||||
@@ -251,25 +251,25 @@
|
||||
<el-form-item class="search-item">
|
||||
<el-input v-model="standItemSearch.nameOrRequest" size="small" placeholder="根据条款名称/内容查找" clearable maxlength="100"></el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item class="search-item">-->
|
||||
<!-- <el-input v-model="standItemSearch.parts" size="small" placeholder="根据涉及零部件查找" clearable maxlength="100"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item class="search-item">-->
|
||||
<!-- <el-input v-model="standItemSearch.parts" size="small" placeholder="根据涉及零部件查找" clearable maxlength="100"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item class="search-item btn-box">
|
||||
<el-button
|
||||
:loading="searching"
|
||||
icon="el-icon-search"
|
||||
type="primary"
|
||||
round
|
||||
class="common-button-primary"
|
||||
@click="searchSarStandItems">
|
||||
:loading="searching"
|
||||
icon="el-icon-search"
|
||||
type="primary"
|
||||
round
|
||||
class="common-button-primary"
|
||||
@click="searchSarStandItems">
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item class="search-item btn-box">
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
icon="el-icon-refresh-left"
|
||||
@click="clearAllSearch"
|
||||
round>
|
||||
class="common-button-default"
|
||||
icon="el-icon-refresh-left"
|
||||
@click="clearAllSearch"
|
||||
round>
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@@ -277,13 +277,13 @@
|
||||
</div>
|
||||
<div class="action-bar">
|
||||
<el-button
|
||||
round
|
||||
type="primary"
|
||||
class="common-button-primary add-button"
|
||||
:loading="searching"
|
||||
icon="add"
|
||||
@click="addItemModal"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '84a37ea1e1' : '3D87NJR8N3'">新增</el-button>
|
||||
round
|
||||
type="primary"
|
||||
class="common-button-primary add-button"
|
||||
:loading="searching"
|
||||
icon="add"
|
||||
@click="addItemModal"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '84a37ea1e1' : '3D87NJR8N3'">新增</el-button>
|
||||
<el-button class="common-button-default" :loading="searching" @click="uploadImportModal">模板下载</el-button>
|
||||
<el-button class="common-button-default in-button" :loading="searching" icon="in" @click="addImportModal(2)" v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '9ca97b05b2' : '6JM97X9W9C'">导入</el-button>
|
||||
<el-button class="common-button-default export-button" icon="export" @click="exportStandardItem">导出</el-button>
|
||||
@@ -291,73 +291,73 @@
|
||||
</div>
|
||||
<div class="content">
|
||||
<el-table
|
||||
ref="multipleTable"
|
||||
:data="standItemList"
|
||||
tooltip-effect="dark"
|
||||
border
|
||||
style="width: 100%"
|
||||
:height="tableHeight"
|
||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||
ref="multipleTable"
|
||||
:data="standItemList"
|
||||
tooltip-effect="dark"
|
||||
border
|
||||
style="width: 100%"
|
||||
:height="tableHeight"
|
||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||
fontWeight: 'bold', height: '48px'}"
|
||||
@selection-change="selectAllStand">
|
||||
@selection-change="selectAllStand">
|
||||
<el-table-column
|
||||
type="selection"
|
||||
width="55"
|
||||
fixed="left"
|
||||
align="center">
|
||||
type="selection"
|
||||
width="55"
|
||||
fixed="left"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itemsNum"
|
||||
label="条款号"
|
||||
width="150"
|
||||
prop="itemsNum"
|
||||
label="条款号"
|
||||
width="150"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itemsName"
|
||||
label="条款名称"
|
||||
width="150"
|
||||
prop="itemsName"
|
||||
label="条款名称"
|
||||
width="150"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="termsConditions"
|
||||
label="内容简介"
|
||||
width="250"
|
||||
prop="termsConditions"
|
||||
label="内容简介"
|
||||
width="250"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="responsibleUnitShow"
|
||||
label="责任部门"
|
||||
width="150">
|
||||
prop="responsibleUnitShow"
|
||||
label="责任部门"
|
||||
width="150">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="fo"
|
||||
label="FO"
|
||||
width="150">
|
||||
prop="fo"
|
||||
label="FO"
|
||||
width="150">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="dutyEngineerShow"
|
||||
label="责任工程师"
|
||||
width="150">
|
||||
prop="dutyEngineerShow"
|
||||
label="责任工程师"
|
||||
width="150">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="svpps"
|
||||
label="SVPPS"
|
||||
width="150">
|
||||
prop="svpps"
|
||||
label="SVPPS"
|
||||
width="150">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="applyArcticShow"
|
||||
label="适用车辆类型"
|
||||
width="150">
|
||||
prop="applyArcticShow"
|
||||
label="适用车辆类型"
|
||||
width="150">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="claimTypeShow"
|
||||
label="要求类型"
|
||||
width="150">
|
||||
prop="claimTypeShow"
|
||||
label="要求类型"
|
||||
width="150">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="busStandCover"
|
||||
label="覆盖关系"
|
||||
width="150">
|
||||
prop="busStandCover"
|
||||
label="覆盖关系"
|
||||
width="150">
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" width="50" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
@@ -380,18 +380,18 @@
|
||||
</el-drawer>
|
||||
<!--新增标准条目-->
|
||||
<el-drawer
|
||||
:title="itemModalTitle"
|
||||
:wrapperClosable="false"
|
||||
:visible.sync="modalItemaddShowflag"
|
||||
size="800px"
|
||||
:title="itemModalTitle"
|
||||
:wrapperClosable="false"
|
||||
:visible.sync="modalItemaddShowflag"
|
||||
size="800px"
|
||||
>
|
||||
<div class="demo-drawer-content">
|
||||
<el-form
|
||||
ref="sarStandardsItemForm"
|
||||
:model="standItemEO"
|
||||
class="label-input-form"
|
||||
:rules="sarStandardItemRules"
|
||||
label-width="150px"
|
||||
ref="sarStandardsItemForm"
|
||||
:model="standItemEO"
|
||||
class="label-input-form"
|
||||
:rules="sarStandardItemRules"
|
||||
label-width="150px"
|
||||
>
|
||||
<el-form-item label="条款号" prop="itemsNum" class="add-form-item">
|
||||
<el-input v-model="standItemEO.itemsNum" :disabled="itemFormdisableflag" placeholder="请输入内容"></el-input>
|
||||
@@ -403,33 +403,33 @@
|
||||
<el-input v-model="standItemEO.termsConditions" :disabled="itemFormdisableflag" placeholder="请输入内容"/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
label="责任部门"
|
||||
prop="responsibleUnit"
|
||||
class="add-form-item"
|
||||
label="责任部门"
|
||||
prop="responsibleUnit"
|
||||
class="add-form-item"
|
||||
>
|
||||
<el-input v-model="standItemEO.responsibleUnit" v-show="false" />
|
||||
<el-popover
|
||||
placement="bottom"
|
||||
popper-class="user-dept-popper"
|
||||
trigger="click"
|
||||
:value="false"
|
||||
placement="bottom"
|
||||
popper-class="user-dept-popper"
|
||||
trigger="click"
|
||||
:value="false"
|
||||
>
|
||||
<el-input
|
||||
slot="reference"
|
||||
v-model="standItemEO.orgName"
|
||||
placeholder="根据责任部门查找"
|
||||
readonly
|
||||
clearable
|
||||
id="deptBtnS"
|
||||
slot="reference"
|
||||
v-model="standItemEO.orgName"
|
||||
placeholder="根据责任部门查找"
|
||||
readonly
|
||||
clearable
|
||||
id="deptBtnS"
|
||||
/>
|
||||
<div class="api">
|
||||
<laws-tree
|
||||
:zNodes="zNodesSItem"
|
||||
treeDivId="zNodesSItem"
|
||||
deptSelect
|
||||
showRMenu
|
||||
@treeDblClick="treeDblClickS"
|
||||
class="ztree" style="width: 200px;height: 400px;overflow: auto">
|
||||
:zNodes="zNodesSItem"
|
||||
treeDivId="zNodesSItem"
|
||||
deptSelect
|
||||
showRMenu
|
||||
@treeDblClick="treeDblClickS"
|
||||
class="ztree" style="width: 200px;height: 400px;overflow: auto">
|
||||
</laws-tree>
|
||||
</div>
|
||||
</el-popover>
|
||||
@@ -441,11 +441,11 @@
|
||||
<el-input v-model="standItemEO.dutyEngineer" v-show="false"></el-input>
|
||||
<el-popover placement="bottom" popper-class="user-dept-popper" trigger="click">
|
||||
<el-input
|
||||
v-model="standItemEO.dutyEngineerShow"
|
||||
placeholder="请选择责任工程师"
|
||||
readonly
|
||||
id="enginBtnS"
|
||||
slot="reference"
|
||||
v-model="standItemEO.dutyEngineerShow"
|
||||
placeholder="请选择责任工程师"
|
||||
readonly
|
||||
id="enginBtnS"
|
||||
slot="reference"
|
||||
/>
|
||||
<div class="api">
|
||||
<dept-tree treeDivId="zNodesSItemEngin"
|
||||
@@ -465,20 +465,20 @@
|
||||
<el-form-item label="适用车辆类型" prop="applyArctic" class="add-form-item">
|
||||
<el-select v-model="standItemEO.applyArctic" multiple placeholder="请选择" :filterable="true">
|
||||
<el-option
|
||||
v-for="opt in applyArcticOptions"
|
||||
:key="opt.value"
|
||||
:label="opt.label"
|
||||
:value="opt.value">
|
||||
v-for="opt in applyArcticOptions"
|
||||
:key="opt.value"
|
||||
:label="opt.label"
|
||||
:value="opt.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="要求类型" prop="claimType" class="add-form-item">
|
||||
<el-select v-model="standItemEO.claimType" placeholder="请选择" :filterable="true">
|
||||
<el-option
|
||||
v-for="opt in requestOptions"
|
||||
:key="opt.value"
|
||||
:label="opt.label"
|
||||
:value="opt.value">
|
||||
v-for="opt in requestOptions"
|
||||
:key="opt.value"
|
||||
:label="opt.label"
|
||||
:value="opt.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@@ -495,17 +495,17 @@
|
||||
<!--导入模态窗-->
|
||||
<el-dialog width="400px" :visible.sync="importModalshowflag" title="导入文件" :footer-hide="true">
|
||||
<el-upload
|
||||
multiple
|
||||
drag
|
||||
:show-file-list="showUploadlist"
|
||||
:on-success="importFileSuccess"
|
||||
:on-remove="removeOneFile"
|
||||
:before-upload="beforeUpload"
|
||||
:action="importExcelUrl"
|
||||
:file-list="defaultFileList"
|
||||
accept=".xlsx"
|
||||
name="file"
|
||||
ref="importFileAboutStand">
|
||||
multiple
|
||||
drag
|
||||
:show-file-list="showUploadlist"
|
||||
:on-success="importFileSuccess"
|
||||
:on-remove="removeOneFile"
|
||||
:before-upload="beforeUpload"
|
||||
:action="importExcelUrl"
|
||||
:file-list="defaultFileList"
|
||||
accept=".xlsx"
|
||||
name="file"
|
||||
ref="importFileAboutStand">
|
||||
<div style="padding: 20px 0">
|
||||
<i class="el-icon-upload" style="color: #3399ff"></i>
|
||||
<p>点击或拖拽上传文件</p>
|
||||
@@ -514,10 +514,10 @@
|
||||
</el-dialog>
|
||||
<!--分解单-查看 (标准拆分-属性)-->
|
||||
<el-drawer
|
||||
:wrapperClosable="false"
|
||||
size="800px"
|
||||
title="查看属性信息"
|
||||
:visible.sync="showItemInfoModal"
|
||||
:wrapperClosable="false"
|
||||
size="800px"
|
||||
title="查看属性信息"
|
||||
:visible.sync="showItemInfoModal"
|
||||
>
|
||||
<div class="see-drawer-content">
|
||||
<div class="see-drawer-div">
|
||||
@@ -564,20 +564,20 @@
|
||||
</el-drawer>
|
||||
<!-- 更新LOG -->
|
||||
<el-dialog
|
||||
title="更新LOG"
|
||||
:visible.sync="relateDialog"
|
||||
width="60%"
|
||||
class="relateClass"
|
||||
:before-close="relateDialogClose">
|
||||
title="更新LOG"
|
||||
:visible.sync="relateDialog"
|
||||
width="60%"
|
||||
class="relateClass"
|
||||
:before-close="relateDialogClose">
|
||||
<div
|
||||
v-for="(item, index) in relateNowList"
|
||||
:key="index"
|
||||
v-if="relateNowList"
|
||||
style="margin-bottom: 10px;line-height: 20px"
|
||||
v-for="(item, index) in relateNowList"
|
||||
:key="index"
|
||||
v-if="relateNowList"
|
||||
style="margin-bottom: 10px;line-height: 20px"
|
||||
>
|
||||
{{index+1}}. {{item.creationUserName}} {{item.creationTime}} {{item.content}}
|
||||
<div v-if="relateNowList.length >1">
|
||||
<el-divider></el-divider>
|
||||
<el-divider></el-divider>
|
||||
</div>
|
||||
</div>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
@@ -585,30 +585,30 @@
|
||||
</span>
|
||||
</el-dialog>
|
||||
<el-dialog
|
||||
title="更多发布稿"
|
||||
:visible.sync="relateDialog1"
|
||||
class="relateClass"
|
||||
width="40%"
|
||||
:before-close="relateDialogClose1">
|
||||
title="更多发布稿"
|
||||
:visible.sync="relateDialog1"
|
||||
class="relateClass"
|
||||
width="40%"
|
||||
:before-close="relateDialogClose1">
|
||||
<div
|
||||
v-for="(file, index) in relateNowList1"
|
||||
:key="index"
|
||||
v-if="relateNowList1"
|
||||
style="margin-bottom: 10px;line-height: 20px;max-height: 300px"
|
||||
v-for="(file, index) in relateNowList1"
|
||||
:key="index"
|
||||
v-if="relateNowList1"
|
||||
style="margin-bottom: 10px;line-height: 20px;max-height: 300px"
|
||||
>
|
||||
{{ index + 1 }}.
|
||||
<a style="font-size: 16px;color: #409EFF;cursor: pointer" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{ file.oldFileName }}</a>
|
||||
<i
|
||||
title="下载"
|
||||
@click="downloadFile(file.id)"
|
||||
class="icon-download"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '9882f477aad895ec56a7464f3e9c0b11'"
|
||||
title="下载"
|
||||
@click="downloadFile(file.id)"
|
||||
class="icon-download"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : '9882f477aad895ec56a7464f3e9c0b11'"
|
||||
/>
|
||||
<i
|
||||
title="下载带水印"
|
||||
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
||||
class="icon-download2"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : '9bab2662fbd9d0507b39be813371a597'"
|
||||
title="下载带水印"
|
||||
@click="downloadFileByWater(file.id, file.fileSuffix)"
|
||||
class="icon-download2"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : '9bab2662fbd9d0507b39be813371a597'"
|
||||
/>
|
||||
<div v-if="relateNowList.length >1">
|
||||
<el-divider></el-divider>
|
||||
@@ -1205,8 +1205,8 @@ export default {
|
||||
},
|
||||
handleChange1(val) {
|
||||
if(val && val === '基础信息'){
|
||||
this.activeState = true
|
||||
}
|
||||
this.activeState = true
|
||||
}
|
||||
},
|
||||
getPlanStatusName(status) {
|
||||
switch (status) {
|
||||
@@ -1243,10 +1243,10 @@ export default {
|
||||
let levelName = "-";
|
||||
if (this.mjOptions) {
|
||||
this.mjOptions.map((item) => {
|
||||
if (item.value === standLevel) {
|
||||
levelName = item.label;
|
||||
}
|
||||
});
|
||||
if (item.value === standLevel) {
|
||||
levelName = item.label;
|
||||
}
|
||||
});
|
||||
}
|
||||
return levelName;
|
||||
},
|
||||
@@ -1518,24 +1518,24 @@ export default {
|
||||
// 获取组织机构数据
|
||||
getOrgTreeSource () {
|
||||
this.$http.get('sys/org/getTree', {}, {_this: this},
|
||||
res => {
|
||||
if (res.ok) {
|
||||
let treeNode = []
|
||||
res.data.map((item, index) => {
|
||||
let treeItem = {}
|
||||
for (let key in item) {
|
||||
if (key === 'orgName') {
|
||||
treeItem.name = item[key]
|
||||
} else {
|
||||
treeItem[key] = item[key]
|
||||
res => {
|
||||
if (res.ok) {
|
||||
let treeNode = []
|
||||
res.data.map((item, index) => {
|
||||
let treeItem = {}
|
||||
for (let key in item) {
|
||||
if (key === 'orgName') {
|
||||
treeItem.name = item[key]
|
||||
} else {
|
||||
treeItem[key] = item[key]
|
||||
}
|
||||
}
|
||||
}
|
||||
treeNode[index] = treeItem
|
||||
})
|
||||
this.zNodesSItem = treeNode
|
||||
this.searchInlandNodes = treeNode
|
||||
}
|
||||
}, e => {})
|
||||
treeNode[index] = treeItem
|
||||
})
|
||||
this.zNodesSItem = treeNode
|
||||
this.searchInlandNodes = treeNode
|
||||
}
|
||||
}, e => {})
|
||||
},
|
||||
// 查询相近标准
|
||||
selectCloseStand (id) {
|
||||
@@ -1948,19 +1948,19 @@ export default {
|
||||
getAddFormFieldList (isEdit) {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.$http.get('lawss/sarStandAttrDetails/list', {}, {_this: this},
|
||||
res => {
|
||||
if (res.ok) {
|
||||
// const { data: { STAND: data } } = res
|
||||
const { data = {} } = res
|
||||
this.formFieldListData = data[this.sarType]
|
||||
// this.resolveFormFieldList()
|
||||
resolve(data[this.sarType])
|
||||
} else {
|
||||
reject(res)
|
||||
}
|
||||
}, e => {
|
||||
reject(e)
|
||||
})
|
||||
res => {
|
||||
if (res.ok) {
|
||||
// const { data: { STAND: data } } = res
|
||||
const { data = {} } = res
|
||||
this.formFieldListData = data[this.sarType]
|
||||
// this.resolveFormFieldList()
|
||||
resolve(data[this.sarType])
|
||||
} else {
|
||||
reject(res)
|
||||
}
|
||||
}, e => {
|
||||
reject(e)
|
||||
})
|
||||
})
|
||||
},
|
||||
// 点击更多按钮事件
|
||||
@@ -2204,10 +2204,10 @@ export default {
|
||||
for (let i = 0; i < displayLocation.length; i++) {
|
||||
// sss
|
||||
if(displayLocation[i].label !== '基础信息' && displayLocation[i].label !== '过程稿件'){
|
||||
const childList = displayLocation[i].child.filter ( item => item.value !== null && item.value !== '');
|
||||
if(childList.length === 0){
|
||||
displayLocation.splice(i,1)
|
||||
}
|
||||
const childList = displayLocation[i].child.filter ( item => item.value !== null && item.value !== '');
|
||||
if(childList.length === 0){
|
||||
displayLocation.splice(i,1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2369,6 +2369,7 @@ export default {
|
||||
padding: 0;
|
||||
border: none;
|
||||
i {
|
||||
color: #F2CB51;
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
|
||||
@@ -10,18 +10,18 @@
|
||||
<div class="details-content-modular basic-information" style="border-top: 2px dashed #D1D1D1;">
|
||||
</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">
|
||||
<div v-if="item.label === '基础信息'" class="details-content-modular basic-information"
|
||||
style="border-top:none;position: absolute;right: 36px;border: none">
|
||||
<div class="modular-header" style="height: 50px;">
|
||||
<div class="modular-header-btn">
|
||||
<el-button v-if="sarStandardsInfoEO.collectId" @click="collectClick(sarStandardsInfoEO.collectId)" title="取消收藏" class="collection-btn" style="color: #f56c6c;" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" style="color: #4788c0;" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button v-if="sarStandardsInfoEO.collectId" @click="collectClick(sarStandardsInfoEO.collectId)" title="取消收藏" class="collection-btn" icon="icon-collection" :loading="isSubmit"></el-button>
|
||||
<el-button v-else @click="collectClick()" title="收藏" class="collection-btn" icon="el-icon-star-off" :loading="isSubmit"></el-button>
|
||||
<el-button class="relation-btn" icon="icon-relation" @click="relateEvent()">更新LOG</el-button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -72,25 +72,25 @@
|
||||
</div>
|
||||
</template>
|
||||
<template
|
||||
v-for="(child, childIndex) in item.child"
|
||||
v-if="child.isShowImp === '0'"
|
||||
v-for="(child, childIndex) in item.child"
|
||||
v-if="child.isShowImp === '0'"
|
||||
>
|
||||
<div
|
||||
:key="childIndex"
|
||||
:class="item.label !== '过程稿件' ? 'modular-item half' : 'modular-item'"
|
||||
:key="childIndex"
|
||||
: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 === 'ZYQCR'"
|
||||
class="modular-content-p-val clearfix"
|
||||
:title="child.value || '-'"
|
||||
v-if="child.attrField === 'ZYQCR'"
|
||||
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"
|
||||
style="float: right;"
|
||||
:resId="sarStandardsInfoEO.id"
|
||||
:resType="saveStandType"
|
||||
></put-question-button>
|
||||
</template>
|
||||
<template v-else>
|
||||
@@ -116,9 +116,9 @@
|
||||
<!--相关计划-->
|
||||
<template v-else-if="child.attrField === 'XGJH' && child.value">
|
||||
<span
|
||||
v-if="child.value.length === 0"
|
||||
class="modular-content-p-val"
|
||||
:title="'-'"
|
||||
v-if="child.value.length === 0"
|
||||
class="modular-content-p-val"
|
||||
:title="'-'"
|
||||
>
|
||||
{{ '-' }}
|
||||
</span>
|
||||
@@ -129,24 +129,24 @@
|
||||
</p>
|
||||
</template>
|
||||
<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 }}
|
||||
</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 || '-' }}
|
||||
</span>
|
||||
<div v-else class="modular-content-p-flies">
|
||||
<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"
|
||||
>
|
||||
<a @click="openFileInPdf(file.id, file.oldFileName)" target="_blank">{{ file.oldFileName }}</a>
|
||||
<i title="下载" @click="downloadFile(file.id)" class="icon-download" v-btn-permission="''"/>
|
||||
@@ -171,11 +171,11 @@
|
||||
<!-- <div v-show="isMoreAwayBtn" class="put-away" @click="putAwayClick">收起<img src="@/assets/images/shangqi/img/more.png"></div>-->
|
||||
<!--查看标准条目列表-->
|
||||
<el-drawer
|
||||
title="查看分解单"
|
||||
:wrapperClosable="false"
|
||||
:visible.sync="modalStandItemflag"
|
||||
size="80%"
|
||||
class="not-footer-drawer"
|
||||
title="查看分解单"
|
||||
:wrapperClosable="false"
|
||||
:visible.sync="modalStandItemflag"
|
||||
size="80%"
|
||||
class="not-footer-drawer"
|
||||
>
|
||||
<div class="search-area">
|
||||
<div class="left">
|
||||
@@ -184,19 +184,19 @@
|
||||
<el-input size="small" v-model="standItemSearch.orgName" v-show="false" style="height: 32px"/>
|
||||
<el-input size="small" v-model="standItemSearch.responsibleUnit" v-show="false" style="height: 32px"/>
|
||||
<el-popover
|
||||
placement="bottom"
|
||||
popper-class="user-dept-popper"
|
||||
trigger="click"
|
||||
:value="false"
|
||||
placement="bottom"
|
||||
popper-class="user-dept-popper"
|
||||
trigger="click"
|
||||
:value="false"
|
||||
>
|
||||
<el-input
|
||||
v-model="standItemSearch.orgName"
|
||||
slot="reference"
|
||||
placeholder="请选择部门"
|
||||
readonly
|
||||
id="searchInlandDeptBtn"
|
||||
@on-change="inputChange"
|
||||
style="margin-right: 0;"/>
|
||||
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"
|
||||
@@ -212,25 +212,25 @@
|
||||
<el-form-item class="search-item">
|
||||
<el-input v-model="standItemSearch.nameOrRequest" size="small" placeholder="根据条款名称/内容查找" clearable maxlength="100"></el-input>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item class="search-item">-->
|
||||
<!-- <el-input v-model="standItemSearch.parts" size="small" placeholder="根据涉及零部件查找" clearable maxlength="100"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- <el-form-item class="search-item">-->
|
||||
<!-- <el-input v-model="standItemSearch.parts" size="small" placeholder="根据涉及零部件查找" clearable maxlength="100"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item class="search-item btn-box">
|
||||
<el-button
|
||||
:loading="searching"
|
||||
icon="el-icon-search"
|
||||
type="primary"
|
||||
round
|
||||
class="common-button-primary"
|
||||
@click="searchSarStandItems">
|
||||
:loading="searching"
|
||||
icon="el-icon-search"
|
||||
type="primary"
|
||||
round
|
||||
class="common-button-primary"
|
||||
@click="searchSarStandItems">
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
<el-form-item class="search-item btn-box">
|
||||
<el-button
|
||||
class="common-button-default"
|
||||
icon="el-icon-refresh-left"
|
||||
@click="clearAllSearch"
|
||||
round>
|
||||
class="common-button-default"
|
||||
icon="el-icon-refresh-left"
|
||||
@click="clearAllSearch"
|
||||
round>
|
||||
</el-button>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
@@ -238,13 +238,13 @@
|
||||
</div>
|
||||
<div class="action-bar">
|
||||
<el-button
|
||||
round
|
||||
type="primary"
|
||||
class="common-button-primary add-button"
|
||||
:loading="searching"
|
||||
icon="add"
|
||||
@click="addItemModal"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '84a37ea1e1' : '3D87NJR8N3'">新增</el-button>
|
||||
round
|
||||
type="primary"
|
||||
class="common-button-primary add-button"
|
||||
:loading="searching"
|
||||
icon="add"
|
||||
@click="addItemModal"
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '84a37ea1e1' : '3D87NJR8N3'">新增</el-button>
|
||||
<el-button class="common-button-default" :loading="searching" @click="uploadImportModal">模板下载</el-button>
|
||||
<el-button class="common-button-default in-button" :loading="searching" icon="in" @click="addImportModal(2)" v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '9ca97b05b2' : '6JM97X9W9C'">导入</el-button>
|
||||
<el-button class="common-button-default export-button" icon="export" @click="exportStandardItem">导出</el-button>
|
||||
@@ -252,73 +252,73 @@
|
||||
</div>
|
||||
<div class="content">
|
||||
<el-table
|
||||
ref="multipleTable"
|
||||
:data="standItemList"
|
||||
tooltip-effect="dark"
|
||||
border
|
||||
style="width: 100%"
|
||||
:height="tableHeight"
|
||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||
ref="multipleTable"
|
||||
:data="standItemList"
|
||||
tooltip-effect="dark"
|
||||
border
|
||||
style="width: 100%"
|
||||
:height="tableHeight"
|
||||
:header-cell-style="{background: '#e8e8e8', color: '#333333', fontSize: '16px',
|
||||
fontWeight: 'bold', height: '48px'}"
|
||||
@selection-change="selectAllStand">
|
||||
@selection-change="selectAllStand">
|
||||
<el-table-column
|
||||
type="selection"
|
||||
width="55"
|
||||
fixed="left"
|
||||
align="center">
|
||||
type="selection"
|
||||
width="55"
|
||||
fixed="left"
|
||||
align="center">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itemsNum"
|
||||
label="条款号"
|
||||
width="150"
|
||||
prop="itemsNum"
|
||||
label="条款号"
|
||||
width="150"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="itemsName"
|
||||
label="条款名称"
|
||||
width="150"
|
||||
prop="itemsName"
|
||||
label="条款名称"
|
||||
width="150"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="termsConditions"
|
||||
label="内容简介"
|
||||
width="250"
|
||||
prop="termsConditions"
|
||||
label="内容简介"
|
||||
width="250"
|
||||
>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="responsibleUnitShow"
|
||||
label="责任部门"
|
||||
width="150">
|
||||
prop="responsibleUnitShow"
|
||||
label="责任部门"
|
||||
width="150">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="fo"
|
||||
label="FO"
|
||||
width="150">
|
||||
prop="fo"
|
||||
label="FO"
|
||||
width="150">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="dutyEngineerShow"
|
||||
label="责任工程师"
|
||||
width="150">
|
||||
prop="dutyEngineerShow"
|
||||
label="责任工程师"
|
||||
width="150">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="svpps"
|
||||
label="SVPPS"
|
||||
width="150">
|
||||
prop="svpps"
|
||||
label="SVPPS"
|
||||
width="150">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="applyArcticShow"
|
||||
label="适用车辆类型"
|
||||
width="150">
|
||||
prop="applyArcticShow"
|
||||
label="适用车辆类型"
|
||||
width="150">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="claimTypeShow"
|
||||
label="要求类型"
|
||||
width="150">
|
||||
prop="claimTypeShow"
|
||||
label="要求类型"
|
||||
width="150">
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="busStandCover"
|
||||
label="覆盖关系"
|
||||
width="150">
|
||||
prop="busStandCover"
|
||||
label="覆盖关系"
|
||||
width="150">
|
||||
</el-table-column>
|
||||
<el-table-column label="操作" align="center" width="50" fixed="right">
|
||||
<template slot-scope="scope">
|
||||
@@ -341,18 +341,18 @@
|
||||
</el-drawer>
|
||||
<!--新增标准条目-->
|
||||
<el-drawer
|
||||
:title="itemModalTitle"
|
||||
:wrapperClosable="false"
|
||||
:visible.sync="modalItemaddShowflag"
|
||||
size="800px"
|
||||
:title="itemModalTitle"
|
||||
:wrapperClosable="false"
|
||||
:visible.sync="modalItemaddShowflag"
|
||||
size="800px"
|
||||
>
|
||||
<div class="demo-drawer-content">
|
||||
<el-form
|
||||
ref="sarStandardsItemForm"
|
||||
:model="standItemEO"
|
||||
class="label-input-form"
|
||||
:rules="sarStandardItemRules"
|
||||
label-width="150px"
|
||||
ref="sarStandardsItemForm"
|
||||
:model="standItemEO"
|
||||
class="label-input-form"
|
||||
:rules="sarStandardItemRules"
|
||||
label-width="150px"
|
||||
>
|
||||
<el-form-item label="条款号" prop="itemsNum" class="add-form-item">
|
||||
<el-input v-model="standItemEO.itemsNum" :disabled="itemFormdisableflag" placeholder="请输入内容"></el-input>
|
||||
@@ -364,33 +364,33 @@
|
||||
<el-input v-model="standItemEO.termsConditions" :disabled="itemFormdisableflag" placeholder="请输入内容"/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
label="责任部门"
|
||||
prop="responsibleUnit"
|
||||
class="add-form-item"
|
||||
label="责任部门"
|
||||
prop="responsibleUnit"
|
||||
class="add-form-item"
|
||||
>
|
||||
<el-input v-model="standItemEO.responsibleUnit" v-show="false" />
|
||||
<el-popover
|
||||
placement="bottom"
|
||||
popper-class="user-dept-popper"
|
||||
trigger="click"
|
||||
:value="false"
|
||||
placement="bottom"
|
||||
popper-class="user-dept-popper"
|
||||
trigger="click"
|
||||
:value="false"
|
||||
>
|
||||
<el-input
|
||||
slot="reference"
|
||||
v-model="standItemEO.orgName"
|
||||
placeholder="根据责任部门查找"
|
||||
readonly
|
||||
clearable
|
||||
id="deptBtnS"
|
||||
slot="reference"
|
||||
v-model="standItemEO.orgName"
|
||||
placeholder="根据责任部门查找"
|
||||
readonly
|
||||
clearable
|
||||
id="deptBtnS"
|
||||
/>
|
||||
<div class="api">
|
||||
<laws-tree
|
||||
:zNodes="zNodesSItem"
|
||||
treeDivId="zNodesSItem"
|
||||
deptSelect
|
||||
showRMenu
|
||||
@treeDblClick="treeDblClickS"
|
||||
class="ztree" style="width: 200px;height: 400px;overflow: auto">
|
||||
:zNodes="zNodesSItem"
|
||||
treeDivId="zNodesSItem"
|
||||
deptSelect
|
||||
showRMenu
|
||||
@treeDblClick="treeDblClickS"
|
||||
class="ztree" style="width: 200px;height: 400px;overflow: auto">
|
||||
</laws-tree>
|
||||
</div>
|
||||
</el-popover>
|
||||
@@ -402,11 +402,11 @@
|
||||
<el-input v-model="standItemEO.dutyEngineer" v-show="false"></el-input>
|
||||
<el-popover placement="bottom" popper-class="user-dept-popper" trigger="click">
|
||||
<el-input
|
||||
v-model="standItemEO.dutyEngineerShow"
|
||||
placeholder="请选择责任工程师"
|
||||
readonly
|
||||
id="enginBtnS"
|
||||
slot="reference"
|
||||
v-model="standItemEO.dutyEngineerShow"
|
||||
placeholder="请选择责任工程师"
|
||||
readonly
|
||||
id="enginBtnS"
|
||||
slot="reference"
|
||||
/>
|
||||
<div class="api">
|
||||
<dept-tree treeDivId="zNodesSItemEngin"
|
||||
@@ -426,20 +426,20 @@
|
||||
<el-form-item label="适用车辆类型" prop="applyArctic" class="add-form-item">
|
||||
<el-select v-model="standItemEO.applyArctic" multiple placeholder="请选择" :filterable="true">
|
||||
<el-option
|
||||
v-for="opt in applyArcticOptions"
|
||||
:key="opt.value"
|
||||
:label="opt.label"
|
||||
:value="opt.value">
|
||||
v-for="opt in applyArcticOptions"
|
||||
:key="opt.value"
|
||||
:label="opt.label"
|
||||
:value="opt.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="要求类型" prop="claimType" class="add-form-item">
|
||||
<el-select v-model="standItemEO.claimType" placeholder="请选择" :filterable="true">
|
||||
<el-option
|
||||
v-for="opt in requestOptions"
|
||||
:key="opt.value"
|
||||
:label="opt.label"
|
||||
:value="opt.value">
|
||||
v-for="opt in requestOptions"
|
||||
:key="opt.value"
|
||||
:label="opt.label"
|
||||
:value="opt.value">
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
@@ -456,17 +456,17 @@
|
||||
<!--导入模态窗-->
|
||||
<el-dialog width="400px" :visible.sync="importModalshowflag" title="导入文件" :footer-hide="true">
|
||||
<el-upload
|
||||
multiple
|
||||
drag
|
||||
:show-file-list="showUploadlist"
|
||||
:on-success="importFileSuccess"
|
||||
:on-remove="removeOneFile"
|
||||
:before-upload="beforeUpload"
|
||||
:action="importExcelUrl"
|
||||
:file-list="defaultFileList"
|
||||
accept=".xlsx"
|
||||
name="file"
|
||||
ref="importFileAboutStand">
|
||||
multiple
|
||||
drag
|
||||
:show-file-list="showUploadlist"
|
||||
:on-success="importFileSuccess"
|
||||
:on-remove="removeOneFile"
|
||||
:before-upload="beforeUpload"
|
||||
:action="importExcelUrl"
|
||||
:file-list="defaultFileList"
|
||||
accept=".xlsx"
|
||||
name="file"
|
||||
ref="importFileAboutStand">
|
||||
<div style="padding: 20px 0">
|
||||
<i class="el-icon-upload" style="color: #3399ff"></i>
|
||||
<p>点击或拖拽上传文件</p>
|
||||
@@ -475,10 +475,10 @@
|
||||
</el-dialog>
|
||||
<!--分解单-查看 (标准拆分-属性)-->
|
||||
<el-drawer
|
||||
:wrapperClosable="false"
|
||||
size="800px"
|
||||
title="查看属性信息"
|
||||
:visible.sync="showItemInfoModal"
|
||||
:wrapperClosable="false"
|
||||
size="800px"
|
||||
title="查看属性信息"
|
||||
:visible.sync="showItemInfoModal"
|
||||
>
|
||||
<div class="see-drawer-content">
|
||||
<div class="see-drawer-div">
|
||||
@@ -525,20 +525,20 @@
|
||||
</el-drawer>
|
||||
<!-- 更新LOG -->
|
||||
<el-dialog
|
||||
title="更新LOG"
|
||||
:visible.sync="relateDialog"
|
||||
width="60%"
|
||||
class="relateClass"
|
||||
:before-close="relateDialogClose">
|
||||
title="更新LOG"
|
||||
:visible.sync="relateDialog"
|
||||
width="60%"
|
||||
class="relateClass"
|
||||
:before-close="relateDialogClose">
|
||||
<div
|
||||
v-for="(item, index) in relateNowList"
|
||||
:key="index"
|
||||
v-if="relateNowList"
|
||||
style="margin-bottom: 10px;line-height: 20px"
|
||||
v-for="(item, index) in relateNowList"
|
||||
:key="index"
|
||||
v-if="relateNowList"
|
||||
style="margin-bottom: 10px;line-height: 20px"
|
||||
>
|
||||
{{index+1}}. {{item.creationUserName}} {{item.creationTime}} {{item.content}}
|
||||
<div v-if="relateNowList.length >1">
|
||||
<el-divider></el-divider>
|
||||
<el-divider></el-divider>
|
||||
</div>
|
||||
</div>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
@@ -1162,10 +1162,10 @@ export default {
|
||||
let levelName = "-";
|
||||
if (this.mjOptions) {
|
||||
this.mjOptions.map((item) => {
|
||||
if (item.value === standLevel) {
|
||||
levelName = item.label;
|
||||
}
|
||||
});
|
||||
if (item.value === standLevel) {
|
||||
levelName = item.label;
|
||||
}
|
||||
});
|
||||
}
|
||||
return levelName;
|
||||
},
|
||||
@@ -1437,24 +1437,24 @@ export default {
|
||||
// 获取组织机构数据
|
||||
getOrgTreeSource () {
|
||||
this.$http.get('sys/org/getTree', {}, {_this: this},
|
||||
res => {
|
||||
if (res.ok) {
|
||||
let treeNode = []
|
||||
res.data.map((item, index) => {
|
||||
let treeItem = {}
|
||||
for (let key in item) {
|
||||
if (key === 'orgName') {
|
||||
treeItem.name = item[key]
|
||||
} else {
|
||||
treeItem[key] = item[key]
|
||||
res => {
|
||||
if (res.ok) {
|
||||
let treeNode = []
|
||||
res.data.map((item, index) => {
|
||||
let treeItem = {}
|
||||
for (let key in item) {
|
||||
if (key === 'orgName') {
|
||||
treeItem.name = item[key]
|
||||
} else {
|
||||
treeItem[key] = item[key]
|
||||
}
|
||||
}
|
||||
}
|
||||
treeNode[index] = treeItem
|
||||
})
|
||||
this.zNodesSItem = treeNode
|
||||
this.searchInlandNodes = treeNode
|
||||
}
|
||||
}, e => {})
|
||||
treeNode[index] = treeItem
|
||||
})
|
||||
this.zNodesSItem = treeNode
|
||||
this.searchInlandNodes = treeNode
|
||||
}
|
||||
}, e => {})
|
||||
},
|
||||
// 查询相近标准
|
||||
selectCloseStand (id) {
|
||||
@@ -1867,19 +1867,19 @@ export default {
|
||||
getAddFormFieldList (isEdit) {
|
||||
return new Promise((resolve, reject) => {
|
||||
this.$http.get('lawss/sarStandAttrDetails/list', {}, {_this: this},
|
||||
res => {
|
||||
if (res.ok) {
|
||||
// const { data: { STAND: data } } = res
|
||||
const { data = {} } = res
|
||||
this.formFieldListData = data[this.sarType]
|
||||
// this.resolveFormFieldList()
|
||||
resolve(data[this.sarType])
|
||||
} else {
|
||||
reject(res)
|
||||
}
|
||||
}, e => {
|
||||
reject(e)
|
||||
})
|
||||
res => {
|
||||
if (res.ok) {
|
||||
// const { data: { STAND: data } } = res
|
||||
const { data = {} } = res
|
||||
this.formFieldListData = data[this.sarType]
|
||||
// this.resolveFormFieldList()
|
||||
resolve(data[this.sarType])
|
||||
} else {
|
||||
reject(res)
|
||||
}
|
||||
}, e => {
|
||||
reject(e)
|
||||
})
|
||||
})
|
||||
},
|
||||
// 点击更多按钮事件
|
||||
@@ -2279,6 +2279,7 @@ export default {
|
||||
padding: 0;
|
||||
border: none;
|
||||
i {
|
||||
color: #F2CB51;
|
||||
font-size: 18px;
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user