style: eslint格式化
This commit is contained in:
@@ -7,30 +7,39 @@
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="企标类别" prop="standSort" class="add-form-item form-item-disabled">
|
||||
<el-select v-model="form.standSort" filterable clearable placeholder=""
|
||||
:disabled="disabledState" style="appearance: none">
|
||||
<el-select
|
||||
v-model="form.standSort"
|
||||
filterable
|
||||
clearable
|
||||
placeholder=""
|
||||
:disabled="disabledState"
|
||||
style="appearance: none"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in standSortOptions"
|
||||
:key="item.value"
|
||||
:value="item.value"
|
||||
:label="item.label"
|
||||
></el-option>
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="中文名称" prop="standName" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
v-model="form.standName" :disabled="disabledState"
|
||||
v-model="form.standName"
|
||||
:disabled="disabledState"
|
||||
clearable
|
||||
></el-input>
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="制修订类型" prop="reviseStatus" class="add-form-item form-item-disabled">
|
||||
<template>
|
||||
<div style="padding-left: 10px; color: #666666;" v-if="form.reviseStatus === '1'">制定</div>
|
||||
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '2'">修订
|
||||
<div v-if="form.reviseStatus === '1'" style="padding-left: 10px; color: #666666;">制定</div>
|
||||
<div v-else-if="form.reviseStatus === '2'" style="padding-left: 10px; color: #666666;">
|
||||
修订
|
||||
</div>
|
||||
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '3'">修改
|
||||
<div v-else-if="form.reviseStatus === '3'" style="padding-left: 10px; color: #666666;">
|
||||
修改
|
||||
</div>
|
||||
<div style="padding-left: 10px; color: #666666;" v-else></div>
|
||||
<div v-else style="padding-left: 10px; color: #666666;" />
|
||||
</template>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="文本状态" prop="textStatusBuss" class="add-form-item form-item-disabled">-->
|
||||
@@ -70,16 +79,24 @@
|
||||
<!-- clearable-->
|
||||
<!-- ></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item v-show="verifySarStandard" label="企标实施日期" prop="putTime"
|
||||
class="add-form-item form-item-disabled">
|
||||
<el-datePicker v-model="form.putTime" :disabled="disabledState"
|
||||
:editable="false"></el-datePicker>
|
||||
<el-form-item
|
||||
v-show="verifySarStandard"
|
||||
label="企标实施日期"
|
||||
prop="putTime"
|
||||
class="add-form-item form-item-disabled"
|
||||
>
|
||||
<el-datePicker
|
||||
v-model="form.putTime"
|
||||
:disabled="disabledState"
|
||||
:editable="false"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="英文名称" prop="standEnName" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
v-model="form.standEnName" :disabled="disabledState"
|
||||
v-model="form.standEnName"
|
||||
:disabled="disabledState"
|
||||
clearable
|
||||
></el-input>
|
||||
/>
|
||||
</el-form-item>
|
||||
<!-- <el-form-item v-show="verifySarStandard" label="标准年份" prop="standYear" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-input v-model="form.standYear" :disabled="disabledState"-->
|
||||
@@ -102,34 +119,50 @@
|
||||
<ProcessTitle v-show="verifySarStandard">
|
||||
<template slot="title">过程稿件</template>
|
||||
</ProcessTitle>
|
||||
<div class="prc-content-border" v-show="verifySarStandard">
|
||||
<div v-show="verifySarStandard" class="prc-content-border">
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled">
|
||||
<div style="width: 80%;margin-top: 13px" v-if="isTrue">
|
||||
<div v-if="FBGBUSSFileList.length > 0"
|
||||
v-for="(item,index) in FBGBUSSFileList" :key="index"
|
||||
<div v-if="isTrue" style="width: 80%;margin-top: 13px">
|
||||
<div
|
||||
v-for="(item,index) in FBGBUSSFileList"
|
||||
v-if="FBGBUSSFileList.length > 0"
|
||||
:key="index"
|
||||
style="color: #409eff;cursor:pointer;margin-left: 12px;"
|
||||
class="fileClass fileClassName">
|
||||
<span style="width: 80%;" v-if="index == 0 && !item.id.startsWith('ATT')"
|
||||
@click="handleFilePreviewOne(item,'preview')"> {{ item.name }} </span>
|
||||
class="fileClass fileClassName"
|
||||
>
|
||||
<span
|
||||
v-if="index == 0 && !item.id.startsWith('ATT')"
|
||||
style="width: 80%;"
|
||||
@click="handleFilePreviewOne(item,'preview')"
|
||||
> {{ item.name }} </span>
|
||||
<span v-else @click="handleFilePreview(item,'preview')"> {{ item.name }} </span>
|
||||
<span style="width: 20%;margin-left: 15px;" v-if="item.id !== '' && index == 0 && !item.id.startsWith('ATT')">
|
||||
<el-button type="primary" size="mini" plain icon="el-icon-edit" @click="handleFilePreviewOne(item,'onlineEdit')"></el-button>
|
||||
<span v-if="item.id !== '' && index == 0 && !item.id.startsWith('ATT')" style="width: 20%;margin-left: 15px;">
|
||||
<el-button
|
||||
type="primary"
|
||||
size="mini"
|
||||
plain
|
||||
icon="el-icon-edit"
|
||||
@click="handleFilePreviewOne(item,'onlineEdit')"
|
||||
/>
|
||||
</span>
|
||||
<span style="margin-left: 7px;" v-if="item.id !== '' && item.id.startsWith('ATT')">
|
||||
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
|
||||
<span v-if="item.id !== '' && item.id.startsWith('ATT')" style="margin-left: 7px;">
|
||||
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="width: 80%;margin-top: 13px" v-if="!isTrue">
|
||||
<div v-if="FBGBUSSFileList.length > 0" v-for="(item,index) in FBGBUSSFileList"
|
||||
:key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;"
|
||||
class="fileClass">
|
||||
<span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
|
||||
<span style="margin-left: 7px;" v-if="item.id !== '' && item.id.startsWith('ATT')">
|
||||
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
|
||||
<div v-if="!isTrue" style="width: 80%;margin-top: 13px">
|
||||
<div
|
||||
v-for="(item,index) in FBGBUSSFileList"
|
||||
v-if="FBGBUSSFileList.length > 0"
|
||||
:key="index"
|
||||
style="color: #409eff;cursor:pointer;margin-left: 12px;"
|
||||
class="fileClass"
|
||||
>
|
||||
<span style="" :title="item.name" @click="handleFilePreview(item,'preview')"> {{ item.name }}</span>
|
||||
<span v-if="item.id !== '' && item.id.startsWith('ATT')" style="margin-left: 7px;">
|
||||
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -140,11 +173,16 @@
|
||||
<!-- </div>-->
|
||||
</el-form-item>
|
||||
<el-form-item label="历史版本" prop="LSBBBUSSName" class="add-form-item form-item-disabled">
|
||||
<div v-if="LSBBBUSSFileList.length > 0" v-for="(item,index) in LSBBBUSSFileList" :key="index"
|
||||
style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
|
||||
<span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
|
||||
<span style="margin-left: 7px;" v-if="item.id !== ''">
|
||||
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
|
||||
<div
|
||||
v-for="(item,index) in LSBBBUSSFileList"
|
||||
v-if="LSBBBUSSFileList.length > 0"
|
||||
:key="index"
|
||||
style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px"
|
||||
class="fileClass"
|
||||
>
|
||||
<span style="" :title="item.name" @click="handleFilePreview(item,'preview')"> {{ item.name }}</span>
|
||||
<span v-if="item.id !== ''" style="margin-left: 7px;">
|
||||
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
|
||||
</span>
|
||||
</div>
|
||||
<!-- <div v-if="LSBBBUSSFileList.length>0" v-for="(value,index) in this.LSBBBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
|
||||
@@ -155,11 +193,16 @@
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="编制说明" prop="BZSMBUSSName" class="add-form-item form-item-disabled">
|
||||
<div v-if="BZSMBUSSFileList.length > 0" v-for="(item,index) in BZSMBUSSFileList" :key="index"
|
||||
style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
|
||||
<span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
|
||||
<span style="margin-left: 7px;" v-if="item.id !== ''">
|
||||
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
|
||||
<div
|
||||
v-for="(item,index) in BZSMBUSSFileList"
|
||||
v-if="BZSMBUSSFileList.length > 0"
|
||||
:key="index"
|
||||
style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px"
|
||||
class="fileClass"
|
||||
>
|
||||
<span style="" :title="item.name" @click="handleFilePreview(item,'preview')"> {{ item.name }}</span>
|
||||
<span v-if="item.id !== ''" style="margin-left: 7px;">
|
||||
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
|
||||
</span>
|
||||
</div>
|
||||
<!-- <div v-if="BZSMBUSSFileList.length>0" v-for="(value,index) in this.BZSMBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
|
||||
@@ -168,11 +211,16 @@
|
||||
<!-- </div>-->
|
||||
</el-form-item>
|
||||
<el-form-item label="其他文件" prop="QTWJBUSSName" class="add-form-item form-item-disabled">
|
||||
<div v-if="QTWJBUSSFileList.length > 0" v-for="(item,index) in QTWJBUSSFileList" :key="index"
|
||||
style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
|
||||
<span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
|
||||
<span style="margin-left: 7px;" v-if="item.id !== ''">
|
||||
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
|
||||
<div
|
||||
v-for="(item,index) in QTWJBUSSFileList"
|
||||
v-if="QTWJBUSSFileList.length > 0"
|
||||
:key="index"
|
||||
style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px"
|
||||
class="fileClass"
|
||||
>
|
||||
<span style="" :title="item.name" @click="handleFilePreview(item,'preview')"> {{ item.name }}</span>
|
||||
<span v-if="item.id !== ''" style="margin-left: 7px;">
|
||||
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
|
||||
</span>
|
||||
</div>
|
||||
<!-- <div v-if="QTWJBUSSFileList.length>0" v-for="(value,index) in this.QTWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
|
||||
@@ -186,37 +234,48 @@
|
||||
<ProcessTitle v-show="verifySarStandard">
|
||||
<template slot="title">适用范围</template>
|
||||
</ProcessTitle>
|
||||
<div class="prc-content-border" v-show="verifySarStandard">
|
||||
<div v-show="verifySarStandard" class="prc-content-border">
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="起草部门" prop="QCDW" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.QCDW" :disabled="disabledState" clearable></el-input>
|
||||
<el-input v-model="form.QCDW" :disabled="disabledState" clearable />
|
||||
</el-form-item>
|
||||
<el-form-item label="文件上传人员" prop="WJSCRYBUSSName" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
v-model="form.WJSCRYBUSSName"
|
||||
disabled
|
||||
clearable
|
||||
></el-input>
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="能源类型" prop="NYLXCLASS" class="add-form-item form-item-disabled">
|
||||
<el-select :popper-append-to-body="false" v-model="form.NYLXCLASS" placeholder=""
|
||||
:disabled="disabledState" multiple>
|
||||
<el-select
|
||||
v-model="form.NYLXCLASS"
|
||||
:popper-append-to-body="false"
|
||||
placeholder=""
|
||||
:disabled="disabledState"
|
||||
multiple
|
||||
>
|
||||
<el-option
|
||||
v-for="item in categoryOptions"
|
||||
:key="item.value"
|
||||
:value="item.value"
|
||||
:label="item.label"
|
||||
></el-option>
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="关联模块--乘用车VPPS中文名称" title="关联模块--乘用车VPPS中文名称"
|
||||
class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.CYCVPPSBMBUSS" :disabled="disabledState"></el-input>
|
||||
<el-form-item
|
||||
label="关联模块--乘用车VPPS中文名称"
|
||||
title="关联模块--乘用车VPPS中文名称"
|
||||
class="add-form-item form-item-disabled"
|
||||
>
|
||||
<el-input v-model="form.CYCVPPSBMBUSS" :disabled="disabledState" />
|
||||
</el-form-item>
|
||||
<el-form-item label="关联模块--卡车VPPS编码" title="关联模块--卡车VPPS编码"
|
||||
class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.KCVPPSBMBUSS" :disabled="disabledState"></el-input>
|
||||
<el-form-item
|
||||
label="关联模块--卡车VPPS编码"
|
||||
title="关联模块--卡车VPPS编码"
|
||||
class="add-form-item form-item-disabled"
|
||||
>
|
||||
<el-input v-model="form.KCVPPSBMBUSS" :disabled="disabledState" />
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="模块结构单元变型号(卡车)" title="模块结构单元变型号(卡车)" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-input v-model="form.DYBXHBUSS" :disabled="disabledState"></el-input>-->
|
||||
@@ -225,42 +284,59 @@
|
||||
<!-- <el-input v-model="form.CYCDYBXHBUSS" :disabled="disabledState"></el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<el-form-item label="标准体系" prop="TXLBBUSS" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.TXLBBUSS" :disabled="disabledState" clearable></el-input>
|
||||
<el-input v-model="form.TXLBBUSS" :disabled="disabledState" clearable />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
<el-form-item label="起草人" prop="QCRBUSS" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.QCRBUSS" :title="form.QCRBUSS" :disabled="disabledState"
|
||||
clearable></el-input>
|
||||
<el-input
|
||||
v-model="form.QCRBUSS"
|
||||
:title="form.QCRBUSS"
|
||||
:disabled="disabledState"
|
||||
clearable
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="适用车型" prop="SYCXCLASS" class="add-form-item form-item-disabled">
|
||||
<el-select :popper-append-to-body="false" v-model="form.SYCXCLASS" placeholder=""
|
||||
:disabled="disabledState" multiple>
|
||||
<el-select
|
||||
v-model="form.SYCXCLASS"
|
||||
:popper-append-to-body="false"
|
||||
placeholder=""
|
||||
:disabled="disabledState"
|
||||
multiple
|
||||
>
|
||||
<el-option
|
||||
v-for="item in applyArcticOptions"
|
||||
:key="item.value"
|
||||
:value="item.value"
|
||||
:label="item.label"
|
||||
></el-option>
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="适用产品线" prop="SYCPXCLASS" class="add-form-item form-item-disabled">
|
||||
<el-select :popper-append-to-body="false" v-model="form.SYCPXCLASS" placeholder=""
|
||||
:disabled="disabledState" multiple>
|
||||
<el-select
|
||||
v-model="form.SYCPXCLASS"
|
||||
:popper-append-to-body="false"
|
||||
placeholder=""
|
||||
:disabled="disabledState"
|
||||
multiple
|
||||
>
|
||||
<el-option
|
||||
v-for="item in sycpxOptions"
|
||||
:key="item.value"
|
||||
:value="item.value"
|
||||
:label="item.label"
|
||||
></el-option>
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="关联模块--乘用车vpps中文名称" prop="CYCVPPSCNBUSS"
|
||||
class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.CYCVPPSCNBUSS" clearable disabled></el-input>
|
||||
<el-form-item
|
||||
label="关联模块--乘用车vpps中文名称"
|
||||
prop="CYCVPPSCNBUSS"
|
||||
class="add-form-item form-item-disabled"
|
||||
>
|
||||
<el-input v-model="form.CYCVPPSCNBUSS" clearable disabled />
|
||||
</el-form-item>
|
||||
<el-form-item label="关联模块--卡车VPPS编码" prop="KCVPPSCNBUSS" class="add-form-item form-item-disabled">
|
||||
<el-input v-model="form.KCVPPSCNBUSS" clearable disabled></el-input>
|
||||
<el-input v-model="form.KCVPPSCNBUSS" clearable disabled />
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="模块结构单元名称(卡车)" prop="DYMCBUSS" class="add-form-item form-item-disabled">-->
|
||||
<!-- <el-input v-model="form.DYMCBUSS" clearable disabled></el-input>-->
|
||||
@@ -274,26 +350,29 @@
|
||||
<ProcessTitle v-show="verifySarStandard">
|
||||
<template slot="title">关联信息</template>
|
||||
</ProcessTitle>
|
||||
<div class="prc-content-border" v-show="verifySarStandard">
|
||||
<div v-show="verifySarStandard" class="prc-content-border">
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="代替企标编号" prop="DTQBBHBUSS" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
v-model="form.DTQBBHBUSS" :disabled="disabledState"
|
||||
v-model="form.DTQBBHBUSS"
|
||||
:disabled="disabledState"
|
||||
clearable
|
||||
></el-input>
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="采用标准" prop="CYBZ" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
v-model="form.CYBZ" :disabled="disabledState"
|
||||
v-model="form.CYBZ"
|
||||
:disabled="disabledState"
|
||||
clearable
|
||||
></el-input>
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="引用标准" prop="YYBZ" class="add-form-item form-item-disabled">
|
||||
<el-input
|
||||
v-model="form.YYBZ" :disabled="disabledState"
|
||||
v-model="form.YYBZ"
|
||||
:disabled="disabledState"
|
||||
clearable
|
||||
></el-input>
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="12">
|
||||
@@ -308,25 +387,34 @@
|
||||
v-model="form.XCSJBUSS"
|
||||
clearable
|
||||
disabled
|
||||
></el-input>
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="采标程度" prop="CYCD" class="add-form-item form-item-disabled">
|
||||
<el-select :popper-append-to-body="false"
|
||||
v-model="form.CYCD" placeholder="" :disabled="disabledState">
|
||||
<el-select
|
||||
v-model="form.CYCD"
|
||||
:popper-append-to-body="false"
|
||||
placeholder=""
|
||||
:disabled="disabledState"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in cbcdOptions"
|
||||
:key="item.value"
|
||||
:value="item.value"
|
||||
:label="item.label"
|
||||
></el-option>
|
||||
/>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="关联文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled">
|
||||
<div v-if="GLWJBUSSFileList.length > 0" v-for="(item,index) in GLWJBUSSFileList" :key="index"
|
||||
style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
|
||||
<span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
|
||||
<span style="margin-left: 7px;" v-if="item.id !== ''">
|
||||
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
|
||||
<div
|
||||
v-for="(item,index) in GLWJBUSSFileList"
|
||||
v-if="GLWJBUSSFileList.length > 0"
|
||||
:key="index"
|
||||
style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px"
|
||||
class="fileClass"
|
||||
>
|
||||
<span style="" :title="item.name" @click="handleFilePreview(item,'preview')"> {{ item.name }}</span>
|
||||
<span v-if="item.id !== ''" style="margin-left: 7px;">
|
||||
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
|
||||
</span>
|
||||
</div>
|
||||
<!-- <div v-if="GLWJBUSSFileList.length>0" v-for="(value,index) in this.GLWJBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
|
||||
@@ -340,10 +428,10 @@
|
||||
<ProcessTitle v-show="opinionsShow">
|
||||
<template slot="title">意见信息</template>
|
||||
</ProcessTitle>
|
||||
<div class="effect" style="margin-bottom: 8px" v-show="opinionsShow">
|
||||
<div v-show="opinionsShow" class="effect" style="margin-bottom: 8px">
|
||||
<el-button type="primary" class="common-button-primary" size="mini" @click="exportAll">导出</el-button>
|
||||
</div>
|
||||
<div class="prc-content-border" v-show="opinionsShow">
|
||||
<div v-show="opinionsShow" class="prc-content-border">
|
||||
<el-table
|
||||
ref="selection"
|
||||
tooltip-effect="dark"
|
||||
@@ -353,11 +441,13 @@
|
||||
row-key="id"
|
||||
:data="form.infoList"
|
||||
border
|
||||
default-expand-all>
|
||||
default-expand-all
|
||||
>
|
||||
<el-table-column
|
||||
label="序号"
|
||||
min-width="6%"
|
||||
align="center">
|
||||
align="center"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ scope.$index + 1 }}
|
||||
</template>
|
||||
@@ -367,13 +457,13 @@
|
||||
label="条款号"
|
||||
min-width="8%"
|
||||
align="center"
|
||||
>
|
||||
</el-table-column>
|
||||
/>
|
||||
<el-table-column
|
||||
prop="modelUpdBefore"
|
||||
label="修改前"
|
||||
align="center"
|
||||
min-width="20%">
|
||||
min-width="20%"
|
||||
>
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-form-item-->
|
||||
<!-- style="margin-left: 0;margin-bottom:0;"-->
|
||||
@@ -386,7 +476,8 @@
|
||||
prop="modelUpdAfter"
|
||||
label="修改后"
|
||||
align="center"
|
||||
min-width="20%">
|
||||
min-width="20%"
|
||||
>
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-form-item-->
|
||||
<!-- style="margin-left: 0;margin-bottom:0;"-->
|
||||
@@ -399,7 +490,8 @@
|
||||
prop="modelContent"
|
||||
label="修改理由"
|
||||
align="center"
|
||||
min-width="20%">
|
||||
min-width="20%"
|
||||
>
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-form-item-->
|
||||
<!-- style="margin-left: 0;margin-bottom:0;"-->
|
||||
@@ -412,7 +504,8 @@
|
||||
prop="zrDeptIdName"
|
||||
label="提出部门"
|
||||
align="center"
|
||||
min-width="15%">
|
||||
min-width="15%"
|
||||
>
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-form-item-->
|
||||
<!-- style="margin-left: 0;margin-bottom:0;"-->
|
||||
@@ -425,7 +518,8 @@
|
||||
prop="zrUserIdName"
|
||||
label="责任人"
|
||||
min-width="14%"
|
||||
align="center">
|
||||
align="center"
|
||||
>
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-form-item-->
|
||||
<!-- style="margin-left: 0;margin-bottom:0;"-->
|
||||
@@ -437,7 +531,8 @@
|
||||
<el-table-column
|
||||
label="意见是否采纳"
|
||||
min-width="15%"
|
||||
align="center">
|
||||
align="center"
|
||||
>
|
||||
<template slot-scope="scope">
|
||||
{{ filterOp(scope.row.opinionsAdopted) }}
|
||||
<!-- <el-form-item-->
|
||||
@@ -458,7 +553,8 @@
|
||||
prop="opinionsAdoptedCont"
|
||||
label="采纳理由"
|
||||
align="center"
|
||||
min-width="15%">
|
||||
min-width="15%"
|
||||
>
|
||||
<!-- <template slot-scope="scope">-->
|
||||
<!-- <el-form-item-->
|
||||
<!-- style="margin-left: 0;margin-bottom:0;"-->
|
||||
@@ -471,11 +567,16 @@
|
||||
<el-row :gutter="24">
|
||||
<el-col :span="12">
|
||||
<el-form-item label="汇总评审意见文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled">
|
||||
<div v-if="summaryFileList.length > 0" v-for="(item,index) in summaryFileList" :key="index"
|
||||
style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass">
|
||||
<span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
|
||||
<span style="margin-left: 7px;" v-if="item.id !== ''">
|
||||
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
|
||||
<div
|
||||
v-for="(item,index) in summaryFileList"
|
||||
v-if="summaryFileList.length > 0"
|
||||
:key="index"
|
||||
style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px"
|
||||
class="fileClass"
|
||||
>
|
||||
<span style="" :title="item.name" @click="handleFilePreview(item,'preview')"> {{ item.name }}</span>
|
||||
<span v-if="item.id !== ''" style="margin-left: 7px;">
|
||||
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
|
||||
</span>
|
||||
</div>
|
||||
</el-form-item>
|
||||
@@ -488,14 +589,36 @@
|
||||
<script>
|
||||
import { mapGetters } from 'vuex'
|
||||
import ProcessTitle from '../../../components/ProcessTitle'
|
||||
import axios from "axios";
|
||||
|
||||
import axios from 'axios';
|
||||
|
||||
export default {
|
||||
name: 'formList',
|
||||
name: 'FormList',
|
||||
components: {
|
||||
ProcessTitle,
|
||||
},
|
||||
filters: {
|
||||
ellipsis (value) {
|
||||
if (!value) return ''
|
||||
if (value.length > 35) {
|
||||
return value.slice(0, 35) + '...'
|
||||
}
|
||||
return value
|
||||
},
|
||||
ellipsis2 (value) {
|
||||
if (!value) return ''
|
||||
if (value.length > 12) {
|
||||
return value.slice(0, 12) + '...'
|
||||
}
|
||||
return value
|
||||
},
|
||||
ellipsis22 (value) {
|
||||
if (!value) return ''
|
||||
if (value.length > 22) {
|
||||
return value.slice(0, 22) + '...'
|
||||
}
|
||||
return value
|
||||
}
|
||||
},
|
||||
props: {
|
||||
form: {
|
||||
type: Object,
|
||||
@@ -546,29 +669,6 @@
|
||||
default: false
|
||||
},
|
||||
},
|
||||
filters: {
|
||||
ellipsis(value) {
|
||||
if (!value) return ''
|
||||
if (value.length > 35) {
|
||||
return value.slice(0, 35) + '...'
|
||||
}
|
||||
return value
|
||||
},
|
||||
ellipsis2(value) {
|
||||
if (!value) return ''
|
||||
if (value.length > 12) {
|
||||
return value.slice(0, 12) + '...'
|
||||
}
|
||||
return value
|
||||
},
|
||||
ellipsis22(value) {
|
||||
if (!value) return ''
|
||||
if (value.length > 22) {
|
||||
return value.slice(0, 22) + '...'
|
||||
}
|
||||
return value
|
||||
}
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
opinionsAdoptedOptions: [
|
||||
@@ -629,28 +729,31 @@
|
||||
}
|
||||
},
|
||||
},
|
||||
mounted () {
|
||||
this.getDataAsync()
|
||||
},
|
||||
methods: {
|
||||
filterOp (data) {
|
||||
if (!data) {
|
||||
return ""
|
||||
return ''
|
||||
}
|
||||
const map = new Map();
|
||||
map.set("1", "采纳");
|
||||
map.set("2", "部分采纳");
|
||||
map.set("3", "不采纳");
|
||||
map.set('1', '采纳');
|
||||
map.set('2', '部分采纳');
|
||||
map.set('3', '不采纳');
|
||||
return map.get(data)
|
||||
},
|
||||
// 文件预览及下载
|
||||
handleFilePreview (file, type) {
|
||||
let attId = ""
|
||||
let attId = ''
|
||||
if (file && file.id) {
|
||||
attId = file.id
|
||||
} else {
|
||||
attId = file.response.data.id
|
||||
}
|
||||
if(type === 'preview' && file.name == this.form.standName) {
|
||||
let fileName = ""
|
||||
let fileNam2 = ""
|
||||
let fileName = ''
|
||||
let fileNam2 = ''
|
||||
if (this.form.standName && this.form.standName !== '') {
|
||||
fileName = this.form.standName + '-企业标准.docx'
|
||||
fileNam2 = this.form.standName
|
||||
@@ -658,7 +761,7 @@
|
||||
fileName = '企业标准.docx'
|
||||
fileNam2 = '企业标准'
|
||||
}
|
||||
let form = JSON.parse(JSON.stringify(this.form))
|
||||
const form = JSON.parse(JSON.stringify(this.form))
|
||||
form.standCode = ''
|
||||
form.issueDate = ''
|
||||
if(file.id.startsWith('ATT')) {
|
||||
@@ -677,9 +780,9 @@
|
||||
}
|
||||
},
|
||||
handleFilePreviewOne (file, type) {
|
||||
let id = ""
|
||||
let fileName = ""
|
||||
let fileNam2 = ""
|
||||
let id = ''
|
||||
let fileName = ''
|
||||
let fileNam2 = ''
|
||||
if (this.form.standName && this.form.standName !== '') {
|
||||
fileName = this.form.standName + '-企业标准.docx'
|
||||
fileNam2 = this.form.standName
|
||||
@@ -692,7 +795,7 @@
|
||||
} else {
|
||||
id = file.response.data.id
|
||||
}
|
||||
let form = JSON.parse(JSON.stringify(this.form))
|
||||
const form = JSON.parse(JSON.stringify(this.form))
|
||||
form.standCode = ''
|
||||
form.issueDate = ''
|
||||
if (type === 'preview') {
|
||||
@@ -709,7 +812,6 @@
|
||||
data.forEach(item => {
|
||||
this.$set(this.textStatusMap, item.value, item.label)
|
||||
})
|
||||
|
||||
},
|
||||
exportAll () {
|
||||
const arr = JSON.stringify(this.form.infoList)
|
||||
@@ -740,7 +842,6 @@
|
||||
}
|
||||
}).catch(error => {
|
||||
})
|
||||
|
||||
},
|
||||
busVsFunc () {
|
||||
this.$http.get('sarVppsTree/list', '', {
|
||||
@@ -759,7 +860,7 @@
|
||||
})
|
||||
},
|
||||
async getDataAsync () {
|
||||
let res = await this.getDicTypeListCode()
|
||||
const res = await this.getDicTypeListCode()
|
||||
console.log(res)
|
||||
if (res && res.data) {
|
||||
this.countryOptions = res.data.COUNTRY
|
||||
@@ -802,9 +903,6 @@
|
||||
})
|
||||
})
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
this.getDataAsync()
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user