style: 格式化代码

This commit is contained in:
zyn
2023-12-28 17:43:02 +08:00
parent 986d0dc1e6
commit 0dcaf3066d
8 changed files with 19821 additions and 19319 deletions
File diff suppressed because it is too large Load Diff
@@ -1,4 +1,3 @@
<!-- eslint-disable -->
<template> <template>
<form> <form>
<ProcessTitle> <ProcessTitle>
@@ -8,18 +7,24 @@
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="企标类别" prop="standSort" class="add-form-item form-item-disabled"> <el-form-item label="企标类别" prop="standSort" class="add-form-item form-item-disabled">
<el-select v-model="form.standSort" filterable clearable @change="standSortChange" disabled> <el-select
v-model="form.standSort"
filterable
clearable
disabled
@change="standSortChange"
>
<el-option <el-option
v-for="item in standSortOptions" v-for="item in standSortOptions"
placeholder="请选择企标类别"
:key="item.value" :key="item.value"
placeholder="请选择企标类别"
:value="item.value" :value="item.value"
:label="item.label" :label="item.label"
></el-option> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="制修订类型" prop="reviseStatus" class="add-form-item form-item-disabled"> <el-form-item label="制修订类型" prop="reviseStatus" class="add-form-item form-item-disabled">
<el-select v-model="form.reviseStatus" filterable @change="reveseStatusChange" disabled> <el-select v-model="form.reviseStatus" filterable disabled @change="reveseStatusChange">
<!--:disabled="form.reviseStatus === '3'">--> <!--:disabled="form.reviseStatus === '3'">-->
<el-option <el-option
v-for="item in opinionsStand" v-for="item in opinionsStand"
@@ -27,7 +32,7 @@
:value="item.value" :value="item.value"
:label="item.label" :label="item.label"
:disabled="item.value ==='3'" :disabled="item.value ==='3'"
></el-option> />
</el-select> </el-select>
<!--<template>--> <!--<template>-->
<!-- <div style="padding-left: 10px; color: #666666;" v-if="form.reviseStatus === '1'">制定</div>--> <!-- <div style="padding-left: 10px; color: #666666;" v-if="form.reviseStatus === '1'">制定</div>-->
@@ -38,16 +43,18 @@
</el-form-item> </el-form-item>
<el-form-item label="中文名称" prop="standName" class="add-form-item form-item-disabled"> <el-form-item label="中文名称" prop="standName" class="add-form-item form-item-disabled">
<el-input <el-input
disabled
v-model="form.standName" v-model="form.standName"
disabled
placeholder="请输入中文名称" placeholder="请输入中文名称"
clearable clearable
></el-input> />
</el-form-item> </el-form-item>
<el-form-item v-show="fbNode" label="发布日期" prop="issueTime" class="add-form-item form-item-disabled"> <el-form-item v-show="fbNode" label="发布日期" prop="issueTime" class="add-form-item form-item-disabled">
<el-datePicker v-model="form.issueTime" :disabled="disabledState" <el-datePicker
v-model="form.issueTime"
:disabled="disabledState"
:editable="false" :editable="false"
></el-datePicker> />
</el-form-item> </el-form-item>
<!-- <el-form-item label="标准状态" prop="textStatusBuss" class="add-form-item form-item-disabled">--> <!-- <el-form-item label="标准状态" prop="textStatusBuss" class="add-form-item form-item-disabled">-->
<!-- <el-select :popper-append-to-body="false" v-model="form.textStatusBuss" placeholder="请选择标准状态">--> <!-- <el-select :popper-append-to-body="false" v-model="form.textStatusBuss" placeholder="请选择标准状态">-->
@@ -88,9 +95,10 @@
<!-- </el-form-item>--> <!-- </el-form-item>-->
<el-form-item v-show="fbNode" label="企业标准号" prop="standCode" class="add-form-item form-item-disabled"> <el-form-item v-show="fbNode" label="企业标准号" prop="standCode" class="add-form-item form-item-disabled">
<el-input <el-input
v-model="form.standCode" :disabled="disabledState" v-model="form.standCode"
:disabled="disabledState"
clearable clearable
></el-input> />
</el-form-item> </el-form-item>
<!--<el-form-item v-show="form.reviseStatus === '1'" label="企标顺序号" :prop="form.reviseStatus === '1'?standNum : ''" class="add-form-item form-item-disabled">--> <!--<el-form-item v-show="form.reviseStatus === '1'" label="企标顺序号" :prop="form.reviseStatus === '1'?standNum : ''" class="add-form-item form-item-disabled">-->
<el-form-item v-show="form.reviseStatus === '1' || form.reviseStatus === '2'" label="企标顺序号" :prop="form.reviseStatus === '1'? 'standNum' : ''" class="add-form-item form-item-disabled standNum"> <el-form-item v-show="form.reviseStatus === '1' || form.reviseStatus === '2'" label="企标顺序号" :prop="form.reviseStatus === '1'? 'standNum' : ''" class="add-form-item form-item-disabled standNum">
@@ -100,7 +108,7 @@
placeholder="请输入企标顺序号" placeholder="请输入企标顺序号"
clearable clearable
@input="standNumChange" @input="standNumChange"
></el-input> />
<span style="position: absolute;right: 0;color: rgb(64, 158, 255);cursor: pointer" @click="queryOrder">当前顺序号查询</span> <span style="position: absolute;right: 0;color: rgb(64, 158, 255);cursor: pointer" @click="queryOrder">当前顺序号查询</span>
</el-form-item> </el-form-item>
<el-form-item label="英文名称" prop="standEnName" class="add-form-item form-item-disabled"> <el-form-item label="英文名称" prop="standEnName" class="add-form-item form-item-disabled">
@@ -108,14 +116,15 @@
v-model="form.standEnName" v-model="form.standEnName"
placeholder="请输入英文名称" placeholder="请输入英文名称"
clearable clearable
></el-input> />
</el-form-item> </el-form-item>
<el-form-item v-show="verifySarStandard" label="企标实施日期" prop="putTime" class="add-form-item form-item-disabled"> <el-form-item v-show="verifySarStandard" label="企标实施日期" prop="putTime" class="add-form-item form-item-disabled">
<el-datePicker v-model="form.putTime" <el-datePicker
v-model="form.putTime"
:editable="false" :editable="false"
placeholder="请选择企标实施日期" placeholder="请选择企标实施日期"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
></el-datePicker> />
</el-form-item> </el-form-item>
<!-- <el-form-item v-show="verifySarStandard" label="发布日期" prop="issueTime" class="add-form-item form-item-disabled">--> <!-- <el-form-item v-show="verifySarStandard" label="发布日期" prop="issueTime" class="add-form-item form-item-disabled">-->
<!-- <el-datePicker v-model="form.issueTime"--> <!-- <el-datePicker v-model="form.issueTime"-->
@@ -135,50 +144,67 @@
<ProcessTitle v-show="verifySarStandard"> <ProcessTitle v-show="verifySarStandard">
<template slot="title">过程稿件</template> <template slot="title">过程稿件</template>
</ProcessTitle> </ProcessTitle>
<div class="prc-content-border" v-show="verifySarStandard"> <div v-show="verifySarStandard" class="prc-content-border">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled uploadBtnFormItem"> <el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled uploadBtnFormItem">
<el-input <el-input
v-model="form.FBGBUSSName"
disabled disabled
style="display: none;" style="display: none;"
v-model="form.FBGBUSSName"
clearable clearable
></el-input> />
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;margin-top: 13px" v-if="isTrue"> <div v-if="isTrue" style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in FBGBUSSFileList" :key="index" <div
v-for="(item,index) in FBGBUSSFileList"
:key="index"
style="color: #409eff;cursor:pointer" style="color: #409eff;cursor:pointer"
class="fileClass fileClassName"> class="fileClass fileClassName"
<span style="width: 80%;" >
<span
v-if="index == 0 && !item.id.startsWith('ATT')" v-if="index == 0 && !item.id.startsWith('ATT')"
@click="handleFilePreviewOne(item,'preview')"> style="width: 80%;"
@click="handleFilePreviewOne(item,'preview')"
>
{{ item.name }} {{ item.name }}
</span> </span>
<span v-else @click="handleFilePreview(item,'preview')"> <span v-else @click="handleFilePreview(item,'preview')">
{{ item.name }} {{ item.name }}
</span> </span>
<span style="width: 20%;margin-left: 15px;" <span
v-if="item.id !== '' && index == 0 && !item.id.startsWith('ATT')"> v-if="item.id !== '' && index == 0 && !item.id.startsWith('ATT')"
<el-button type="primary" size="mini" style="width: 20%;margin-left: 15px;"
plain icon="el-icon-edit" >
@click="handleFilePreviewOne(item,'onlineEdit')"></el-button> <el-button
type="primary"
size="mini"
plain
icon="el-icon-edit"
@click="handleFilePreviewOne(item,'onlineEdit')"
/>
</span> </span>
<span style="margin-left: 7px;" v-if="item.id !== '' && item.id.startsWith('ATT')"> <span v-if="item.id !== '' && item.id.startsWith('ATT')" style="margin-left: 7px;">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
</span> </span>
</div> </div>
</div> </div>
<div style="width: 80%;margin-top: 13px" v-if="!isTrue"> <div v-if="!isTrue" style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in FBGBUSSFileList" :key="index" <div
v-for="(item,index) in FBGBUSSFileList"
:key="index"
style="color: #409eff;cursor:pointer;" style="color: #409eff;cursor:pointer;"
class="fileClass"> class="fileClass"
<span style="" @click="handleFilePreview(item,'preview')" >
:title="item.name"> <span
style=""
:title="item.name"
@click="handleFilePreview(item,'preview')"
>
{{ item.name }} {{ item.name }}
</span> </span>
<span style="margin-left: 7px;" v-if="item.id !== '' && item.id.startsWith('ATT')"> <span v-if="item.id !== '' && item.id.startsWith('ATT')" style="margin-left: 7px;">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
</span> </span>
</div> </div>
</div> </div>
@@ -188,25 +214,26 @@
class="common-button-primary" class="common-button-primary"
size="mini" size="mini"
style="margin-left: 10px; margin-top: 11px; float: right;" style="margin-left: 10px; margin-top: 11px; float: right;"
@click="fileUpload('FBGBUSS')"> @click="fileUpload('FBGBUSS')"
<i class="el-icon-upload"></i> >
<i class="el-icon-upload" />
</el-button> </el-button>
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="历史版本" prop="LSBBBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="历史版本" prop="LSBBBUSSName" class="add-form-item form-item-disabled">
<el-input <el-input
v-model="form.LSBBBUSSName"
disabled disabled
style="display: none;" style="display: none;"
v-model="form.LSBBBUSSName"
clearable clearable
></el-input> />
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in LSBBBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span> <span style="" :title="item.name" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="margin-left: 7px;" v-if="item.id !== ''"> <span v-if="item.id !== ''" style="margin-left: 7px;">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
</span> </span>
</div> </div>
</div> </div>
@@ -216,8 +243,9 @@
class="common-button-primary" class="common-button-primary"
size="mini" size="mini"
style="margin-left: 10px; margin-top: 11px; float: right;" style="margin-left: 10px; margin-top: 11px; float: right;"
@click="fileUpload('LSBBBUSS')"> @click="fileUpload('LSBBBUSS')"
<i class="el-icon-upload"></i> >
<i class="el-icon-upload" />
</el-button> </el-button>
</div> </div>
</div> </div>
@@ -226,17 +254,17 @@
<el-col :span="12"> <el-col :span="12">
<el-form-item label="编制说明" prop="BZSMBUSSName" class="add-form-item form-item-disabled uploadBtnFormItem"> <el-form-item label="编制说明" prop="BZSMBUSSName" class="add-form-item form-item-disabled uploadBtnFormItem">
<el-input <el-input
v-model="form.BZSMBUSSName"
disabled disabled
style="display: none;" style="display: none;"
v-model="form.BZSMBUSSName"
clearable clearable
></el-input> />
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in BZSMBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in BZSMBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span> <span style="" :title="item.name" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="margin-left: 7px;" v-if="item.id !== ''"> <span v-if="item.id !== ''" style="margin-left: 7px;">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
</span> </span>
</div> </div>
</div> </div>
@@ -246,25 +274,26 @@
class="common-button-primary" class="common-button-primary"
size="mini" size="mini"
style="margin-left: 10px; margin-top: 11px; float: right;" style="margin-left: 10px; margin-top: 11px; float: right;"
@click="fileUpload('BZSMBUSS')"> @click="fileUpload('BZSMBUSS')"
<i class="el-icon-upload"></i> >
<i class="el-icon-upload" />
</el-button> </el-button>
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
<el-form-item label="其他文件" prop="QTWJBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="其他文件" prop="QTWJBUSSName" class="add-form-item form-item-disabled">
<el-input <el-input
v-model="form.QTWJBUSSName"
disabled disabled
style="display: none;" style="display: none;"
v-model="form.QTWJBUSSName"
clearable clearable
></el-input> />
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in QTWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span> <span style="" :title="item.name" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="margin-left: 7px;" v-if="item.id !== ''"> <span v-if="item.id !== ''" style="margin-left: 7px;">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
</span> </span>
</div> </div>
</div> </div>
@@ -274,20 +303,20 @@
class="common-button-primary" class="common-button-primary"
size="mini" size="mini"
style="margin-left: 10px; margin-top: 11px; float: right;" style="margin-left: 10px; margin-top: 11px; float: right;"
@click="fileUpload('QTWJBUSS')"> @click="fileUpload('QTWJBUSS')"
<i class="el-icon-upload"></i> >
<i class="el-icon-upload" />
</el-button> </el-button>
</div> </div>
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
<ProcessTitle v-show="verifySarStandard"> <ProcessTitle v-show="verifySarStandard">
<template slot="title">适用范围</template> <template slot="title">适用范围</template>
</ProcessTitle> </ProcessTitle>
<div class="prc-content-border" v-show="verifySarStandard"> <div v-show="verifySarStandard" class="prc-content-border">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="起草部门" prop="QCDW" class="add-form-item form-item-disabled"> <el-form-item label="起草部门" prop="QCDW" class="add-form-item form-item-disabled">
@@ -295,8 +324,8 @@
v-model="form.QCDW" v-model="form.QCDW"
placeholder="选择起草部门" placeholder="选择起草部门"
readonly="readonly" readonly="readonly"
@click.native="choiceQCDW('QCDWId', '起草部门', form.QCDW)"> @click.native="choiceQCDW('QCDWId', '起草部门', form.QCDW)"
</el-input> />
</el-form-item> </el-form-item>
<el-form-item label="文件上传人员" prop="WJSCRYBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="文件上传人员" prop="WJSCRYBUSSName" class="add-form-item form-item-disabled">
<el-input <el-input
@@ -304,24 +333,24 @@
placeholder="请输入文件上传人员" placeholder="请输入文件上传人员"
disabled disabled
clearable clearable
></el-input> />
</el-form-item> </el-form-item>
<el-form-item label="能源类型" prop="NYLXCLASS" class="add-form-item form-item-disabled"> <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="请选择能源类型" multiple> <el-select v-model="form.NYLXCLASS" :popper-append-to-body="false" placeholder="请选择能源类型" multiple>
<el-option <el-option
v-for="item in categoryOptions" v-for="item in categoryOptions"
placeholder="请选择"
:key="item.value" :key="item.value"
placeholder="请选择"
:value="item.value" :value="item.value"
:label="item.label" :label="item.label"
></el-option> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="关联模块--乘用车VPPS编码" title="关联模块--乘用车VPPS编码" class="add-form-item form-item-disabled"> <el-form-item label="关联模块--乘用车VPPS编码" title="关联模块--乘用车VPPS编码" class="add-form-item form-item-disabled">
<el-input v-model="form.CYCVPPSBMBUSS" readonly="readonly" placeholder="选择关联模块--乘用车VPPS编码" @click.native="choiceZRR2('car', '关联模块--乘用车VPPS编码', form.CYCVPPSBMBUSS,true)"></el-input> <el-input v-model="form.CYCVPPSBMBUSS" readonly="readonly" placeholder="选择关联模块--乘用车VPPS编码" @click.native="choiceZRR2('car', '关联模块--乘用车VPPS编码', form.CYCVPPSBMBUSS,true)" />
</el-form-item> </el-form-item>
<el-form-item label="关联模块--卡车VPPS编码" title="关联模块--卡车VPPS编码" class="add-form-item form-item-disabled"> <el-form-item label="关联模块--卡车VPPS编码" title="关联模块--卡车VPPS编码" class="add-form-item form-item-disabled">
<el-input v-model="form.KCVPPSBMBUSS" readonly="readonly" placeholder="选择关联模块--卡车VPPS编码" @click.native="choiceZRR3('struck', '关联模块--卡车VPPS编码', form.KCVPPSBMBUSS,false)"></el-input> <el-input v-model="form.KCVPPSBMBUSS" readonly="readonly" placeholder="选择关联模块--卡车VPPS编码" @click.native="choiceZRR3('struck', '关联模块--卡车VPPS编码', form.KCVPPSBMBUSS,false)" />
</el-form-item> </el-form-item>
<!-- <el-form-item label="模块结构单元变型号(卡车)" title="模块结构单元变型号(卡车)" class="add-form-item form-item-disabled">--> <!-- <el-form-item label="模块结构单元变型号(卡车)" title="模块结构单元变型号(卡车)" class="add-form-item form-item-disabled">-->
<!-- <el-input v-model="form.DYBXHBUSS" readonly="readonly" placeholder="选择模块结构单元变型号(卡车)" @click.native="choiceZRR4('TRUCK', '模块结构单元变型号(卡车)', form.DYBXHBUSS,false)"></el-input>--> <!-- <el-input v-model="form.DYBXHBUSS" readonly="readonly" placeholder="选择模块结构单元变型号(卡车)" @click.native="choiceZRR4('TRUCK', '模块结构单元变型号(卡车)', form.DYBXHBUSS,false)"></el-input>-->
@@ -330,7 +359,13 @@
<!-- <el-input v-model="form.CYCDYBXHBUSS" readonly="readonly" placeholder="选择模块结构单元变型号(乘用车)" @click.native="choiceZRR5('CAR', '模块结构单元变型号(乘用车)', form.CYCDYBXHBUSS,false)"></el-input>--> <!-- <el-input v-model="form.CYCDYBXHBUSS" readonly="readonly" placeholder="选择模块结构单元变型号(乘用车)" @click.native="choiceZRR5('CAR', '模块结构单元变型号(乘用车)', form.CYCDYBXHBUSS,false)"></el-input>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<el-form-item label="标准体系" prop="TXLBBUSS" class="add-form-item form-item-disabled"> <el-form-item label="标准体系" prop="TXLBBUSS" class="add-form-item form-item-disabled">
<el-input readonly v-model="form.TXLBBUSS" placeholder="选择标准体系" clearable @click.native="choiceZRR1('TXLBBUSS', '标准体系', form.TXLBBUSS)"></el-input> <el-input
v-model="form.TXLBBUSS"
readonly
placeholder="选择标准体系"
clearable
@click.native="choiceZRR1('TXLBBUSS', '标准体系', form.TXLBBUSS)"
/>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
@@ -339,36 +374,36 @@
v-model="form.QCRBUSS" v-model="form.QCRBUSS"
placeholder="选择起草人" placeholder="选择起草人"
readonly="readonly" readonly="readonly"
@click.native="choiceZRRList('QCRBUSS', '选择起草人', form.QCRBUSS)"> @click.native="choiceZRRList('QCRBUSS', '选择起草人', form.QCRBUSS)"
</el-input> />
</el-form-item> </el-form-item>
<el-form-item label="适用车型" prop="SYCXCLASS" class="add-form-item form-item-disabled"> <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="请选择适用车型" multiple> <el-select v-model="form.SYCXCLASS" :popper-append-to-body="false" placeholder="请选择适用车型" multiple>
<el-option <el-option
v-for="item in applyArcticOptions" v-for="item in applyArcticOptions"
placeholder="请选择"
:key="item.value" :key="item.value"
placeholder="请选择"
:value="item.value" :value="item.value"
:label="item.label" :label="item.label"
></el-option> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="适用产品线" prop="SYCPXCLASS" class="add-form-item form-item-disabled"> <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="请选择适用认证" multiple> <el-select v-model="form.SYCPXCLASS" :popper-append-to-body="false" placeholder="请选择适用认证" multiple>
<el-option <el-option
v-for="item in sycpxOptions" v-for="item in sycpxOptions"
placeholder="请选择"
:key="item.value" :key="item.value"
placeholder="请选择"
:value="item.value" :value="item.value"
:label="item.label" :label="item.label"
></el-option> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="关联模块--乘用车vpps中文名称" prop="CYCVPPSCNBUSS" class="add-form-item form-item-disabled"> <el-form-item label="关联模块--乘用车vpps中文名称" prop="CYCVPPSCNBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.CYCVPPSCNBUSS" placeholder="请输入模块中文名称" clearable disabled></el-input> <el-input v-model="form.CYCVPPSCNBUSS" placeholder="请输入模块中文名称" clearable disabled />
</el-form-item> </el-form-item>
<el-form-item label="关联模块--卡车VPPS编码" prop="KCVPPSCNBUSS" class="add-form-item form-item-disabled"> <el-form-item label="关联模块--卡车VPPS编码" prop="KCVPPSCNBUSS" class="add-form-item form-item-disabled">
<el-input v-model="form.KCVPPSCNBUSS" placeholder="关联模块--卡车VPPS编码" clearable disabled></el-input> <el-input v-model="form.KCVPPSCNBUSS" placeholder="关联模块--卡车VPPS编码" clearable disabled />
</el-form-item> </el-form-item>
<!-- <el-form-item label="模块结构单元名称(卡车)" prop="DYMCBUSS" class="add-form-item form-item-disabled">--> <!-- <el-form-item label="模块结构单元名称(卡车)" prop="DYMCBUSS" class="add-form-item form-item-disabled">-->
<!-- <el-input v-model="form.DYMCBUSS" placeholder="模块结构单元名称(卡车)" clearable disabled></el-input>--> <!-- <el-input v-model="form.DYMCBUSS" placeholder="模块结构单元名称(卡车)" clearable disabled></el-input>-->
@@ -382,53 +417,60 @@
<ProcessTitle v-show="verifySarStandard"> <ProcessTitle v-show="verifySarStandard">
<template slot="title">关联信息</template> <template slot="title">关联信息</template>
</ProcessTitle> </ProcessTitle>
<div class="prc-content-border" v-show="verifySarStandard"> <div v-show="verifySarStandard" class="prc-content-border">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item <el-form-item
label="代替企标编号" label="代替企标编号"
prop="DTQBBHBUSS" prop="DTQBBHBUSS"
class="add-form-item form-item-disabled"> class="add-form-item form-item-disabled"
>
<el-input <el-input
v-model="form.DTQBBHBUSS" v-model="form.DTQBBHBUSS"
placeholder="请输入代替标准号" placeholder="请输入代替标准号"
clearable clearable
></el-input> />
<el-button <el-button
type="primary" type="primary"
class="common-button-primary" class="common-button-primary"
size="mini" size="mini"
style="position:absolute;top: 10px;right: 0;" style="position:absolute;top: 10px;right: 0;"
@click="selectLaws('DTQBBHBUSS','代替企标编号')" @click="selectLaws('DTQBBHBUSS','代替企标编号')"
>{{'手动查找'}}</el-button> >
{{ '手动查找' }}
</el-button>
</el-form-item> </el-form-item>
<el-form-item label="采用标准" prop="CYBZ" class="add-form-item form-item-disabled"> <el-form-item label="采用标准" prop="CYBZ" class="add-form-item form-item-disabled">
<el-input <el-input
v-model="form.CYBZ" v-model="form.CYBZ"
placeholder="请输入采用标准" placeholder="请输入采用标准"
clearable clearable
></el-input> />
<el-button <el-button
type="primary" type="primary"
class="common-button-primary" class="common-button-primary"
size="mini" size="mini"
style="position:absolute;top: 10px;right: 0;" style="position:absolute;top: 10px;right: 0;"
@click="selectLaws('CYBZ','采用标准')" @click="selectLaws('CYBZ','采用标准')"
>{{'手动查找'}}</el-button> >
{{ '手动查找' }}
</el-button>
</el-form-item> </el-form-item>
<el-form-item label="引用标准" prop="YYBZ" class="add-form-item form-item-disabled"> <el-form-item label="引用标准" prop="YYBZ" class="add-form-item form-item-disabled">
<el-input <el-input
v-model="form.YYBZ" v-model="form.YYBZ"
placeholder="请输入引用标准" placeholder="请输入引用标准"
clearable clearable
></el-input> />
<el-button <el-button
type="primary" type="primary"
class="common-button-primary" class="common-button-primary"
size="mini" size="mini"
style="position:absolute;top: 10px;right: 0;" style="position:absolute;top: 10px;right: 0;"
@click="selectLaws('YYBZ','引用标准')" @click="selectLaws('YYBZ','引用标准')"
>{{'手动查找'}}</el-button> >
{{ '手动查找' }}
</el-button>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
@@ -452,10 +494,13 @@
placeholder="" placeholder=""
clearable clearable
disabled disabled
></el-input> />
</el-form-item> </el-form-item>
<el-form-item label="采标程度" prop="CYCD" class="add-form-item form-item-disabled cbcd"> <el-form-item label="采标程度" prop="CYCD" class="add-form-item form-item-disabled cbcd">
<el-select v-model="form.CYCD" filterable clearable <el-select
v-model="form.CYCD"
filterable
clearable
placeholder="请先选择采标程度" placeholder="请先选择采标程度"
> >
<el-option <el-option
@@ -463,22 +508,22 @@
:key="item.value" :key="item.value"
:value="item.value" :value="item.value"
:label="item.label" :label="item.label"
></el-option> />
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item label="关联文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled"> <el-form-item label="关联文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled">
<el-input <el-input
v-model="form.GLWJBUSSName"
disabled disabled
style="display: none;" style="display: none;"
v-model="form.GLWJBUSSName"
clearable clearable
></el-input> />
<div style="display: flex;justify-content: space-between;margin-left: 12px;"> <div style="display: flex;justify-content: space-between;margin-left: 12px;">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in GLWJBUSSFileList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span> <span style="" :title="item.name" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="margin-left: 7px;" v-if="item.id !== ''"> <span v-if="item.id !== ''" style="margin-left: 7px;">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
</span> </span>
</div> </div>
</div> </div>
@@ -488,8 +533,9 @@
class="common-button-primary" class="common-button-primary"
size="mini" size="mini"
style="margin-left: 10px; margin-top: 11px; float: right;" style="margin-left: 10px; margin-top: 11px; float: right;"
@click="fileUpload('GLWJBUSS')"> @click="fileUpload('GLWJBUSS')"
<i class="el-icon-upload"></i> >
<i class="el-icon-upload" />
</el-button> </el-button>
</div> </div>
</div> </div>
@@ -500,7 +546,7 @@
<ProcessTitle v-show="opinionsShow"> <ProcessTitle v-show="opinionsShow">
<template slot="title">意见信息</template> <template slot="title">意见信息</template>
</ProcessTitle> </ProcessTitle>
<div class="prc-content-border" v-show="opinionsShow"> <div v-show="opinionsShow" class="prc-content-border">
<el-table <el-table
ref="selection" ref="selection"
tooltip-effect="dark" tooltip-effect="dark"
@@ -510,11 +556,13 @@
row-key="id" row-key="id"
:data="form.infoList" :data="form.infoList"
border border
default-expand-all> default-expand-all
>
<el-table-column <el-table-column
label="序号" label="序号"
min-width="5%" min-width="5%"
align="center"> align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
{{ scope.$index + 1 }} {{ scope.$index + 1 }}
</template> </template>
@@ -524,13 +572,13 @@
label="条款号" label="条款号"
min-width="8%" min-width="8%"
align="center" align="center"
> />
</el-table-column>
<el-table-column <el-table-column
prop="modelUpdBefore" prop="modelUpdBefore"
label="修改前" label="修改前"
align="center" align="center"
min-width="20%"> min-width="20%"
>
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
<!-- <el-form-item--> <!-- <el-form-item-->
<!-- style="margin-left: 0;margin-bottom:0;"--> <!-- style="margin-left: 0;margin-bottom:0;"-->
@@ -543,7 +591,8 @@
prop="modelUpdAfter" prop="modelUpdAfter"
label="修改后" label="修改后"
align="center" align="center"
min-width="20%"> min-width="20%"
>
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
<!-- <el-form-item--> <!-- <el-form-item-->
<!-- style="margin-left: 0;margin-bottom:0;"--> <!-- style="margin-left: 0;margin-bottom:0;"-->
@@ -556,7 +605,8 @@
prop="modelContent" prop="modelContent"
label="修改理由" label="修改理由"
align="center" align="center"
min-width="20%"> min-width="20%"
>
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
<!-- <el-form-item--> <!-- <el-form-item-->
<!-- style="margin-left: 0;margin-bottom:0;"--> <!-- style="margin-left: 0;margin-bottom:0;"-->
@@ -569,7 +619,8 @@
prop="zrDeptIdName" prop="zrDeptIdName"
label="提出部门" label="提出部门"
align="center" align="center"
min-width="15%"> min-width="15%"
>
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
<!-- <el-form-item--> <!-- <el-form-item-->
<!-- style="margin-left: 0;margin-bottom:0;"--> <!-- style="margin-left: 0;margin-bottom:0;"-->
@@ -582,7 +633,8 @@
prop="zrUserIdName" prop="zrUserIdName"
label="责任人" label="责任人"
min-width="15%" min-width="15%"
align="center"> align="center"
>
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
<!-- <el-form-item--> <!-- <el-form-item-->
<!-- style="margin-left: 0;margin-bottom:0;"--> <!-- style="margin-left: 0;margin-bottom:0;"-->
@@ -594,7 +646,8 @@
<el-table-column <el-table-column
label="意见是否采纳" label="意见是否采纳"
min-width="15%" min-width="15%"
align="center"> align="center"
>
<template slot-scope="scope"> <template slot-scope="scope">
{{ filterOp(scope.row.opinionsAdopted) }} {{ filterOp(scope.row.opinionsAdopted) }}
<!-- <el-form-item--> <!-- <el-form-item-->
@@ -615,7 +668,8 @@
prop="opinionsAdoptedCont" prop="opinionsAdoptedCont"
label="采纳理由" label="采纳理由"
align="center" align="center"
min-width="15%"> min-width="15%"
>
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
<!-- <el-form-item--> <!-- <el-form-item-->
<!-- style="margin-left: 0;margin-bottom:0;"--> <!-- style="margin-left: 0;margin-bottom:0;"-->
@@ -628,10 +682,16 @@
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="汇总评审意见文件" prop="GLWJBUSSName" class="add-form-item form-item-disabled"> <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" class="fileClass"> <div
v-for="(item,index) in summaryFileList"
v-if="summaryFileList.length > 0"
:key="index"
style="color: #409eff;cursor:pointer"
class="fileClass"
>
<span style="" @click="handleFilePreview(item,'preview')">{{ item.name }}</span> <span style="" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="margin-left: 7px;" v-if="item.id !== ''"> <span v-if="item.id !== ''" style="margin-left: 7px;">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
</span> </span>
</div> </div>
</el-form-item> </el-form-item>
@@ -641,22 +701,22 @@
<ProcessTitle v-show="opinionsShow"> <ProcessTitle v-show="opinionsShow">
<template slot="title">培训信息</template> <template slot="title">培训信息</template>
</ProcessTitle> </ProcessTitle>
<div class="prc-content-border" v-show="opinionsShow"> <div v-show="opinionsShow" class="prc-content-border">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="12"> <el-col :span="12">
<el-form-item label="培训文件" prop="madelSubName" class="add-form-item form-item-disabled uploadBtnFormItem"> <el-form-item label="培训文件" prop="madelSubName" class="add-form-item form-item-disabled uploadBtnFormItem">
<el-input <el-input
v-model="form.madelSubName"
disabled disabled
style="display: none;" style="display: none;"
v-model="form.madelSubName"
clearable clearable
></el-input> />
<div style="display: flex;justify-content: left;margin-top: 5px;padding-left: 20px;"> <div style="display: flex;justify-content: left;margin-top: 5px;padding-left: 20px;">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in madelSubList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass"> <div v-for="(item,index) in madelSubList" :key="index" style="color: #409eff;cursor:pointer" class="fileClass">
<span style="" @click="handleFilePreview(item,'preview')">{{ item.name }}</span> <span style="" @click="handleFilePreview(item,'preview')">{{ item.name }}</span>
<span style="margin-left: 7px;"> <span style="margin-left: 7px;">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')" />
</span> </span>
</div> </div>
</div> </div>
@@ -666,8 +726,9 @@
class="common-button-primary" class="common-button-primary"
size="mini" size="mini"
style="margin-top: 6px; float: right;" style="margin-top: 6px; float: right;"
@click="fileUpload('madelSub')"> @click="fileUpload('madelSub')"
<i class="el-icon-upload"></i> >
<i class="el-icon-upload" />
</el-button> </el-button>
</div> </div>
</div> </div>
@@ -675,22 +736,37 @@
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
<CurrentOrder ref="CurrentOrderRef"></CurrentOrder> <CurrentOrder ref="CurrentOrderRef" />
</form> </form>
</template> </template>
<script> <script>
/* eslint-disable */
import { mapGetters } from 'vuex' import { mapGetters } from 'vuex'
import ProcessTitle from '../../../components/ProcessTitle' import ProcessTitle from '../../../components/ProcessTitle'
import CurrentOrder from '@/pages/processCenter/pages/components/CurrentOrder'; import CurrentOrder from '@/pages/processCenter/pages/components/CurrentOrder';
export default { export default {
name: 'formEditList', name: 'FormEditList',
components: { components: {
ProcessTitle, ProcessTitle,
CurrentOrder, CurrentOrder,
}, },
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
}
},
props: { props: {
// formSub: { // formSub: {
// type: Object, // type: Object,
@@ -757,22 +833,6 @@ export default {
default: false 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
}
},
data () { data () {
return { return {
opinionsStand: [ opinionsStand: [
@@ -853,6 +913,66 @@ export default {
computed: { computed: {
...mapGetters([ 'userInfo' ]) ...mapGetters([ 'userInfo' ])
}, },
watch: {
form: {
handler: function (val) {
if(val) {
this.$emit('formCancel', this.form, this.FBGBUSSFileList, this.LSBBBUSSFileList, this.BZSMBUSSFileList, this.QTWJBUSSFileList, this.GLWJBUSSFileList, false, this.fileList, '', this.madelSubList);
}
},
deep: true // 对象的深度验证
},
'form.standName': {
handler: function (val) {
console.log(val);
if (val && val !== '') {
if (this.FBGBUSSFileList.length > 0 && !this.FBGBUSSFileList[0].id.startsWith('ATT_FILE')) {
this.FBGBUSSFileList[0].name = val
}
} else {
if (this.FBGBUSSFileList.length > 0) {
this.FBGBUSSFileList[0].name = '企业标准'
}
}
}
},
// 'form.reviseStatus':{
// handler(val) {
// this.$emit('reveseStatusChange',val)
// }
// }
// 'form.standNum': {
// handler: function(val){
// this.$emit('standNumChange',val)
// }
// }
},
mounted () {
/*
if(this.formSub && this.formSub.standSort && this.formSub.standSort !== ''){
this.getDataAsync()
this.form = this.formSub
console.log(this.form)
this.FBGBUSSFileList= this.FBGBUSSFileListSub
this.BZSMBUSSFileList= this.BZSMBUSSFileListSub
this.LSBBBUSSFileList= this.LSBBBUSSFileListSub
this.QTWJBUSSFileList= this.QTWJBUSSFileListSub
this.GLWJBUSSFileList= this.GLWJBUSSFileListSub
this.summaryFileList= this.summaryFileListSub
this.madelSubList= this.madelSubListSub
}
*/
if(this.form && this.form.standSort && this.form.standSort !== '') {
this.getDataAsync()
this.FBGBUSSFileList = this.FBGBUSSFileListSub
this.BZSMBUSSFileList = this.BZSMBUSSFileListSub
this.LSBBBUSSFileList = this.LSBBBUSSFileListSub
this.QTWJBUSSFileList = this.QTWJBUSSFileListSub
this.GLWJBUSSFileList = this.GLWJBUSSFileListSub
this.summaryFileList = this.summaryFileListSub
this.madelSubList = this.madelSubListSub
}
},
methods: { methods: {
queryOrder () { queryOrder () {
this.$refs.CurrentOrderRef.open(this.form.standSort, this.form.standNum) this.$refs.CurrentOrderRef.open(this.form.standSort, this.form.standNum)
@@ -862,12 +982,12 @@ export default {
}, },
filterOp (data) { filterOp (data) {
if(!data) { if(!data) {
return "" return ''
} }
const map = new Map(); const map = new Map();
map.set("1","采纳"); map.set('1', '采纳');
map.set("2","部分采纳"); map.set('2', '部分采纳');
map.set("3","不采纳"); map.set('3', '不采纳');
return map.get(data) return map.get(data)
}, },
choiceZRR1 (type, title, id) { choiceZRR1 (type, title, id) {
@@ -950,7 +1070,7 @@ export default {
case 'madelSub': case 'madelSub':
this.fileList = this.madelSubList this.fileList = this.madelSubList
break; break;
default : ; default :
} }
this.fileMadel = true; this.fileMadel = true;
this.$emit('formCancel', this.form, this.FBGBUSSFileList, this.LSBBBUSSFileList, this.BZSMBUSSFileList, this.QTWJBUSSFileList, this.GLWJBUSSFileList, this.fileMadel, this.fileList, fileType, this.madelSubList); this.$emit('formCancel', this.form, this.FBGBUSSFileList, this.LSBBBUSSFileList, this.BZSMBUSSFileList, this.QTWJBUSSFileList, this.GLWJBUSSFileList, this.fileMadel, this.fileList, fileType, this.madelSubList);
@@ -965,15 +1085,15 @@ export default {
}, },
// 文件预览及下载 // 文件预览及下载
handleFilePreview (file, type) { handleFilePreview (file, type) {
let attId = "" let attId = ''
if(file && file.id) { if(file && file.id) {
attId = file.id attId = file.id
}else { }else {
attId = file.response.data.id attId = file.response.data.id
} }
if (type === 'preview' && file.name == this.form.standName) { if (type === 'preview' && file.name == this.form.standName) {
let fileName = "" let fileName = ''
let fileNam2 = "" let fileNam2 = ''
if (this.form.standName && this.form.standName !== '') { if (this.form.standName && this.form.standName !== '') {
fileName = this.form.standName + '-企业标准.docx' fileName = this.form.standName + '-企业标准.docx'
fileNam2 = this.form.standName fileNam2 = this.form.standName
@@ -981,7 +1101,7 @@ export default {
fileName = '企业标准.docx' fileName = '企业标准.docx'
fileNam2 = '企业标准' fileNam2 = '企业标准'
} }
let form = JSON.parse(JSON.stringify(this.form)) const form = JSON.parse(JSON.stringify(this.form))
form.standCode = '' form.standCode = ''
form.issueDate = '' form.issueDate = ''
if (file.id.startsWith('ATT')) { if (file.id.startsWith('ATT')) {
@@ -1000,9 +1120,9 @@ export default {
} }
}, },
handleFilePreviewOne (file, type) { handleFilePreviewOne (file, type) {
let id = "" let id = ''
let fileName = "" let fileName = ''
let fileNam2 = "" let fileNam2 = ''
if (this.form.standName && this.form.standName !== '') { if (this.form.standName && this.form.standName !== '') {
fileName = this.form.standName + '-企业标准.docx' fileName = this.form.standName + '-企业标准.docx'
fileNam2 = this.form.standName fileNam2 = this.form.standName
@@ -1032,7 +1152,6 @@ export default {
data.forEach(item => { data.forEach(item => {
this.$set(this.textStatusMap, item.value, item.label) this.$set(this.textStatusMap, item.value, item.label)
}) })
}, },
busVsFunc () { busVsFunc () {
this.$http.get('sarVppsTree/list', '', { this.$http.get('sarVppsTree/list', '', {
@@ -1051,7 +1170,7 @@ export default {
}) })
}, },
async getDataAsync () { async getDataAsync () {
let res = await this.getDicTypeListCode() const res = await this.getDicTypeListCode()
console.log(res) console.log(res)
if(res && res.data) { if(res && res.data) {
this.countryOptions = res.data.COUNTRY this.countryOptions = res.data.COUNTRY
@@ -1100,66 +1219,6 @@ export default {
standNumChange (val) { standNumChange (val) {
this.$emit('standNumChange', val) this.$emit('standNumChange', val)
} }
},
mounted () {
/*
if(this.formSub && this.formSub.standSort && this.formSub.standSort !== ''){
this.getDataAsync()
this.form = this.formSub
console.log(this.form)
this.FBGBUSSFileList= this.FBGBUSSFileListSub
this.BZSMBUSSFileList= this.BZSMBUSSFileListSub
this.LSBBBUSSFileList= this.LSBBBUSSFileListSub
this.QTWJBUSSFileList= this.QTWJBUSSFileListSub
this.GLWJBUSSFileList= this.GLWJBUSSFileListSub
this.summaryFileList= this.summaryFileListSub
this.madelSubList= this.madelSubListSub
}
*/
if(this.form && this.form.standSort && this.form.standSort !== ''){
this.getDataAsync()
this.FBGBUSSFileList= this.FBGBUSSFileListSub
this.BZSMBUSSFileList= this.BZSMBUSSFileListSub
this.LSBBBUSSFileList= this.LSBBBUSSFileListSub
this.QTWJBUSSFileList= this.QTWJBUSSFileListSub
this.GLWJBUSSFileList= this.GLWJBUSSFileListSub
this.summaryFileList= this.summaryFileListSub
this.madelSubList= this.madelSubListSub
}
},
watch: {
form: {
handler: function (val) {
if(val){
this.$emit('formCancel', this.form, this.FBGBUSSFileList,this.LSBBBUSSFileList,this.BZSMBUSSFileList,this.QTWJBUSSFileList,this.GLWJBUSSFileList,false,this.fileList,'',this.madelSubList);
}
},
deep: true //对象的深度验证
},
'form.standName': {
handler: function (val) {
console.log(val);
if (val && val !== '') {
if (this.FBGBUSSFileList.length > 0 && !this.FBGBUSSFileList[0].id.startsWith('ATT_FILE')) {
this.FBGBUSSFileList[0].name = val
}
} else {
if (this.FBGBUSSFileList.length > 0) {
this.FBGBUSSFileList[0].name = '企业标准'
}
}
}
},
// 'form.reviseStatus':{
// handler(val) {
// this.$emit('reveseStatusChange',val)
// }
// }
// 'form.standNum': {
// handler: function(val){
// this.$emit('standNumChange',val)
// }
// }
} }
} }
</script> </script>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff