合并分支 'master' 到 'test_20230215'

Master

查看合并请求 laws-foton-slrs/foton-laws-system-front!23
This commit is contained in:
高嵩
2023-03-03 13:40:27 +08:00
14 changed files with 10237 additions and 9419 deletions
+27 -1
View File
@@ -4,7 +4,7 @@
import { onlyOfficeUrl,kkFileViewUrl } from '@/sysConfig' import { onlyOfficeUrl,kkFileViewUrl } from '@/sysConfig'
import { processEditFile } from 'api/process' import { processEditFile } from 'api/process'
let Base64 = require('js-base64').Base64; let Base64 = require('js-base64').Base64;
export default (id,nodeName,userId,userName) => { export default (id,nodeName,userId,userName,query) => {
processEditFile({ processEditFile({
id id
}).then(res => { }).then(res => {
@@ -20,7 +20,33 @@ export default (id,nodeName,userId,userName) => {
editFileInfo.pId = editFileInfo.pid editFileInfo.pId = editFileInfo.pid
} }
const nowTime = new Date().getTime() const nowTime = new Date().getTime()
if (query){
if (!query.standEnName || query.standEnName == 'null'){
query.standEnName = ''
}
if (!query.DTQBBHBUSS || query.DTQBBHBUSS == 'null'){
query.DTQBBHBUSS = ''
}
if (!query.standName || query.standName == 'null'){
query.standName = ''
}
if (!query.issueTime || query.issueTime == 'null'){
query.issueTime = ''
}
if (!query.putTime || query.putTime == 'null'){
query.putTime = ''
}
window.open(onlyOfficeUrl+'/editor?fileId='+editFileInfo.id+'&pid='+editFileInfo.pId+
'&taskIds='+editFileInfo.taskId+'&editType='+editFileInfo.editType+'&oldFileName=' + showName +
'&fileType=' + 'docx' + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl +
'&key=' + editFileInfo.id+nowTime +'&filePath='+editFileInfo.filePath+ '&fileName='+editFileInfo.fileName+
'&userId='+editFileInfo.userId+'&userName='+editFileInfo.userName+'&standName='+query.standName+
'&standEnName='+query.standEnName+'&standCode='+query.standCode+'&putTime='+query.putTime+
'&issueTime='+query.issueTime+'&dtqbbhbuss='+query.DTQBBHBUSS+'&isEdit=123')
}else{
window.open(onlyOfficeUrl+'/editor?fileId='+editFileInfo.id+'&pid='+editFileInfo.pId+'&taskIds='+editFileInfo.taskId+'&editType='+editFileInfo.editType+'&oldFileName=' + showName + '&fileType=' + 'docx' + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id +'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName+'&userId='+editFileInfo.userId+'&userName='+editFileInfo.userName) window.open(onlyOfficeUrl+'/editor?fileId='+editFileInfo.id+'&pid='+editFileInfo.pId+'&taskIds='+editFileInfo.taskId+'&editType='+editFileInfo.editType+'&oldFileName=' + showName + '&fileType=' + 'docx' + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&key=' + editFileInfo.id +'&filePath='+editFileInfo.filePath+'&fileName='+editFileInfo.fileName+'&userId='+editFileInfo.userId+'&userName='+editFileInfo.userName)
}
} }
}).catch(e => { }).catch(e => {
}) })
+1 -1
View File
@@ -4,7 +4,7 @@
import { onlyOfficeUrl,kkFileViewUrl } from '@/sysConfig' import { onlyOfficeUrl,kkFileViewUrl } from '@/sysConfig'
import { processEditFile } from 'api/process' import { processEditFile } from 'api/process'
let Base64 = require('js-base64').Base64; let Base64 = require('js-base64').Base64;
export default (id,nodeName,userId,userName) => { export default (id,nodeName,userId,userName,query) => {
processEditFile({ processEditFile({
id id
}).then(res => { }).then(res => {
@@ -24,7 +24,8 @@
clearable clearable
></el-input> ></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-datePicker>
@@ -32,8 +33,10 @@
<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">
<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>
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '2'">修订</div> <div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '2'">修订
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '3'">修改</div> </div>
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '3'">修改
</div>
<div style="padding-left: 10px; color: #666666;" v-else></div> <div style="padding-left: 10px; color: #666666;" v-else></div>
</template> </template>
</el-form-item> </el-form-item>
@@ -81,7 +84,8 @@
<!-- clearable--> <!-- clearable-->
<!-- ></el-input>--> <!-- ></el-input>-->
<!-- </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
@@ -94,7 +98,8 @@
clearable clearable
></el-input> ></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="请选择企标实施日期"
@@ -130,10 +135,39 @@
clearable clearable
></el-input> ></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" v-if="isTrue">
<div v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;" class="fileClass"> <div v-for="(item,index) in FBGBUSSFileList" :key="index"
<span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span> style="color: #409eff;cursor:pointer"
<span style="margin-left: 7px;" v-if="item.id !== ''"> class="fileClass fileClassName">
<span style="width: 80%;"
v-if="index == 0"
@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">
<el-button type="primary" size="mini"
plain icon="el-icon-edit"
@click="handleFilePreviewOne(item,'onlineEdit')"></el-button>
</span>
<span style="margin-left: 7px;" v-if="item.id !== '' && index != 0">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span>
</div>
</div>
<div style="width: 80%;margin-top: 13px" v-if="!isTrue">
<div v-for="(item,index) in FBGBUSSFileList" :key="index"
style="color: #409eff;cursor:pointer;"
class="fileClass">
<span style="" @click="handleFilePreview(item,'preview')"
:title="item.name">
{{ item.name }}
</span>
<span style="margin-left: 7px;"
v-if="item.id !== '' && item.name != form.standName">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
@@ -159,7 +193,8 @@
></el-input> ></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="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span>
<span style="margin-left: 7px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
@@ -189,7 +224,8 @@
></el-input> ></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="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span>
<span style="margin-left: 7px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
@@ -217,7 +253,8 @@
></el-input> ></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="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span>
<span style="margin-left: 7px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
@@ -263,7 +300,8 @@
></el-input> ></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 :popper-append-to-body="false" v-model="form.NYLXCLASS" placeholder="请选择能源类型"
multiple>
<el-option <el-option
v-for="item in categoryOptions" v-for="item in categoryOptions"
placeholder="请选择" placeholder="请选择"
@@ -273,11 +311,15 @@
></el-option> ></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编码"
<el-input v-model="form.CYCVPPSBMBUSS" readonly="readonly" placeholder="选择关联模块--乘用车VPPS编码" @click.native="choiceZRR2('car', '关联模块--乘用车VPPS编码', form.CYCVPPSBMBUSS,true)"></el-input> 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-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编码"
<el-input v-model="form.KCVPPSBMBUSS" readonly="readonly" placeholder="选择关联模块--卡车VPPS编码" @click.native="choiceZRR3('struck', '关联模块--卡车VPPS编码', form.KCVPPSBMBUSS,false)"></el-input> 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-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>-->
@@ -286,7 +328,8 @@
<!-- <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 v-model="form.TXLBBUSS" placeholder="选择体系类别" clearable @click.native="choiceZRR1('TXLBBUSS', '体系类别', form.TXLBBUSS)"></el-input> <el-input v-model="form.TXLBBUSS" placeholder="选择体系类别" clearable
@click.native="choiceZRR1('TXLBBUSS', '体系类别', form.TXLBBUSS)"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
@@ -299,7 +342,8 @@
</el-input> </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 :popper-append-to-body="false" v-model="form.SYCXCLASS" placeholder="请选择适用车型"
multiple>
<el-option <el-option
v-for="item in applyArcticOptions" v-for="item in applyArcticOptions"
placeholder="请选择" placeholder="请选择"
@@ -310,7 +354,8 @@
</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 :popper-append-to-body="false" v-model="form.SYCPXCLASS" placeholder="请选择适用认证"
multiple>
<el-option <el-option
v-for="item in sycpxOptions" v-for="item in sycpxOptions"
placeholder="请选择" placeholder="请选择"
@@ -320,11 +365,13 @@
></el-option> ></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-input>
</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-input>
</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>-->
@@ -356,7 +403,8 @@
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
@@ -370,7 +418,8 @@
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
@@ -384,7 +433,8 @@
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">
@@ -431,7 +481,8 @@
></el-input> ></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="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span>
<span style="margin-left: 7px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
@@ -584,7 +635,8 @@
<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-if="summaryFileList.length > 0" v-for="(item,index) in summaryFileList" :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 style="margin-left: 7px;" v-if="item.id !== ''">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
@@ -609,7 +661,8 @@
></el-input> ></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')"></i>
@@ -701,6 +754,10 @@ export default {
type: Boolean, type: Boolean,
default: false default: false
}, },
isTrue: {
type: Boolean,
default: false
},
}, },
filters: { filters: {
ellipsis(value) { ellipsis(value) {
@@ -884,7 +941,8 @@ 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);
@@ -905,6 +963,22 @@ export default {
} else { } else {
attId = file.response.data.id attId = file.response.data.id
} }
if (file.name == this.form.standName) {
let fileName = ""
let fileNam2 = ""
if (this.form.standName && this.form.standName !== '') {
fileName = this.form.standName + '-企业标准.docx'
fileNam2 = this.form.standName
} else {
fileName = '企业标准.docx'
fileNam2 = '企业标准'
}
let form = JSON.parse(JSON.stringify(this.form))
form.standCode = ''
form.issueDate = ''
this.$onlineEditPreview(file.id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, form)
return
}
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId)
@@ -915,6 +989,31 @@ export default {
this.$preview(attId) this.$preview(attId)
} }
}, },
handleFilePreviewOne(file, type) {
let id = ""
let fileName = ""
let fileNam2 = ""
if (this.form.standName && this.form.standName !== '') {
fileName = this.form.standName + '-企业标准.docx'
fileNam2 = this.form.standName
} else {
fileName = '企业标准.docx'
fileNam2 = '企业标准'
}
if (file && file.id) {
id = file.id
} else {
id = file.response.data.id
}
let form = JSON.parse(JSON.stringify(this.form))
form.standCode = ''
form.issueDate = ''
if (type === 'preview') {
this.$onlineEditPreview(id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, form)
} else {
this.$onlineEdit(id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, form)
}
},
downloadFile(data) { downloadFile(data) {
//文件id中出现了','字符,去除掉 //文件id中出现了','字符,去除掉
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
@@ -984,6 +1083,17 @@ export default {
}) })
}) })
}, },
assemble(ids, names) {
let list = new Array();
if (ids && ids !== '' && names && names !== '') {
let idArray = ids.split(',');
let nameArray = names.split(',');
for (let i = 0; i < idArray.length; i++) {
list.push({id: idArray[i], name: nameArray[i]});
}
}
return list;
},
}, },
mounted() { mounted() {
if (this.formSub && this.formSub.standSort && this.formSub.standSort !== '') { if (this.formSub && this.formSub.standSort && this.formSub.standSort !== '') {
@@ -1031,6 +1141,20 @@ export default {
madelSubListSub: function (val) { madelSubListSub: function (val) {
this.madelSubList = val this.madelSubList = val
}, },
'form.standName': {
handler: function (val) {
console.log(val);
if (val && val !== '') {
if (this.FBGBUSSFileList.length > 0) {
this.FBGBUSSFileList[0].name = val
}
} else {
if (this.FBGBUSSFileList.length > 0) {
this.FBGBUSSFileList[0].name = '企业标准'
}
}
}
},
} }
} }
</script> </script>
@@ -1039,6 +1163,7 @@ export default {
/deep/ .fileClass { /deep/ .fileClass {
line-height: 22px !important; line-height: 22px !important;
} }
.process-manuscript /deep/ .el-form-item__error { .process-manuscript /deep/ .el-form-item__error {
right: 45px !important; right: 45px !important;
} }
@@ -131,10 +131,38 @@
clearable clearable
></el-input> ></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" v-if="isTrue">
<div v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;" class="fileClass"> <div v-for="(item,index) in FBGBUSSFileList" :key="index"
<span style="" @click="handleFilePreview(item,'preview')" :title="item.name">{{ item.name }}</span> style="color: #409eff;cursor:pointer"
<span style="margin-left: 7px;" v-if="item.id !== ''"> class="fileClass fileClassName">
<span style="width: 80%;"
v-if="index == 0"
@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">
<el-button type="primary" size="mini"
plain icon="el-icon-edit"
@click="handleFilePreviewOne(item,'onlineEdit')"></el-button>
</span>
<span style="margin-left: 7px;" v-if="item.id !== '' && index != 0">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span>
</div>
</div>
<div style="width: 80%;margin-top: 13px" v-if="!isTrue">
<div v-for="(item,index) in FBGBUSSFileList" :key="index"
style="color: #409eff;cursor:pointer;"
class="fileClass">
<span style="" @click="handleFilePreview(item,'preview')"
:title="item.name">
{{ item.name }}
</span>
<span style="margin-left: 7px;" v-if="item.id !== '' && item.name != form.standName">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </div>
@@ -702,6 +730,10 @@ export default {
type: Boolean, type: Boolean,
default: false default: false
}, },
isTrue: {
type: Boolean,
default: false
},
}, },
filters: { filters: {
ellipsis (value) { ellipsis (value) {
@@ -905,6 +937,22 @@ export default {
attId = file.id attId = file.id
}else { }else {
attId = file.response.data.id attId = file.response.data.id
}
if (file.name == this.form.standName) {
let fileName = ""
let fileNam2 = ""
if (this.form.standName && this.form.standName !== '') {
fileName = this.form.standName + '-企业标准.docx'
fileNam2 = this.form.standName
} else {
fileName = '企业标准.docx'
fileNam2 = '企业标准'
}
let form = JSON.parse(JSON.stringify(this.form))
form.standCode = ''
form.issueDate = ''
this.$onlineEditPreview(file.id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, form)
return
} }
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
@@ -916,6 +964,31 @@ export default {
this.$preview(attId) this.$preview(attId)
} }
}, },
handleFilePreviewOne(file, type) {
let id = ""
let fileName = ""
let fileNam2 = ""
if (this.form.standName && this.form.standName !== '') {
fileName = this.form.standName + '-企业标准.docx'
fileNam2 = this.form.standName
} else {
fileName = '企业标准.docx'
fileNam2 = '企业标准'
}
if (file && file.id) {
id = file.id
} else {
id = file.response.data.id
}
if (this.form.issueTime){
this.form.issueTime = this.form.issueTime.slice(0,10)
}
if (type === 'preview') {
this.$onlineEditPreview(id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, this.form)
} else {
this.$onlineEdit(id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, this.form)
}
},
downloadFile (data) { downloadFile (data) {
//文件id中出现了','字符,去除掉 //文件id中出现了','字符,去除掉
window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id window.location.href = '/api/att/attFile/downloadFileForSarNew?fileId=' + data.id
@@ -1010,6 +1083,20 @@ export default {
}, },
deep: true //对象的深度验证 deep: true //对象的深度验证
}, },
'form.standName': {
handler: function (val) {
console.log(val);
if (val && val !== '') {
if (this.FBGBUSSFileList.length > 0) {
this.FBGBUSSFileList[0].name = val
}
} else {
if (this.FBGBUSSFileList.length > 0) {
this.FBGBUSSFileList[0].name = '企业标准'
}
}
}
},
} }
} }
</script> </script>
@@ -7,7 +7,8 @@
<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 placeholder="" :disabled="disabledState" style="appearance: none"> <el-select v-model="form.standSort" filterable clearable placeholder=""
:disabled="disabledState" style="appearance: none">
<el-option <el-option
v-for="item in standSortOptions" v-for="item in standSortOptions"
:key="item.value" :key="item.value"
@@ -25,8 +26,10 @@
<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">
<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>
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '2'">修订</div> <div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '2'">修订
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '3'">修改</div> </div>
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '3'">修改
</div>
<div style="padding-left: 10px; color: #666666;" v-else></div> <div style="padding-left: 10px; color: #666666;" v-else></div>
</template> </template>
</el-form-item> </el-form-item>
@@ -67,7 +70,8 @@
<!-- clearable--> <!-- clearable-->
<!-- ></el-input>--> <!-- ></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" :disabled="disabledState" <el-datePicker v-model="form.putTime" :disabled="disabledState"
:editable="false"></el-datePicker> :editable="false"></el-datePicker>
</el-form-item> </el-form-item>
@@ -102,19 +106,50 @@
<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"> <el-form-item label="发布稿" prop="FBGBUSSName" class="add-form-item form-item-disabled">
<div v-if="FBGBUSSFileList.length > 0" v-for="(item,index) in FBGBUSSFileList" :key="index" style="color: #409eff;cursor:pointer;margin-left: 12px;margin-top: 13px" class="fileClass"> <div style="width: 80%;margin-top: 13px" v-if="isTrue">
<span style="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span> <div v-if="FBGBUSSFileList.length > 0"
<span style="margin-left: 7px;" v-if="item.id !== ''"> v-for="(item,index) in FBGBUSSFileList" :key="index"
style="color: #409eff;cursor:pointer;margin-left: 12px;"
class="fileClass fileClassName">
<span style="width: 80%;"
v-if="index == 0"
@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">
<el-button type="primary" size="mini"
plain icon="el-icon-edit"
@click="handleFilePreviewOne(item,'onlineEdit')"></el-button>
</span>
<span style="margin-left: 7px;" v-if="item.id !== '' && index != 0">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span> </span>
</div> </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.name != form.standName">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
</span>
</div>
</div>
<!-- <div v-if="FBGBUSSFileList.length>0" v-for="(value,index) in this.FBGBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">--> <!-- <div v-if="FBGBUSSFileList.length>0" v-for="(value,index) in this.FBGBUSSFileList" :key="index" style="cursor: pointer;color: #00b7ee" @click="downloadFile(value)">-->
<!-- &lt;!&ndash; {{ value.name }} &ndash;&gt;--> <!-- &lt;!&ndash; {{ value.name }} &ndash;&gt;-->
<!-- {{value.name}}--> <!-- {{value.name}}-->
<!-- </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">
<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"> <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="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="margin-left: 7px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
@@ -128,7 +163,8 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="编制说明" prop="BZSMBUSSName" class="add-form-item form-item-disabled"> <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"> <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="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="margin-left: 7px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
@@ -140,7 +176,8 @@
<!-- </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">
<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"> <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="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="margin-left: 7px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
@@ -171,7 +208,8 @@
></el-input> ></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="" :disabled="disabledState" multiple> <el-select :popper-append-to-body="false" v-model="form.NYLXCLASS" placeholder=""
:disabled="disabledState" multiple>
<el-option <el-option
v-for="item in categoryOptions" v-for="item in categoryOptions"
:key="item.value" :key="item.value"
@@ -180,10 +218,12 @@
></el-option> ></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" :disabled="disabledState"></el-input> <el-input v-model="form.CYCVPPSBMBUSS" :disabled="disabledState"></el-input>
</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" :disabled="disabledState"></el-input> <el-input v-model="form.KCVPPSBMBUSS" :disabled="disabledState"></el-input>
</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">-->
@@ -198,10 +238,12 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="起草人" prop="QCRBUSS" class="add-form-item form-item-disabled"> <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-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="" :disabled="disabledState" multiple> <el-select :popper-append-to-body="false" v-model="form.SYCXCLASS" placeholder=""
:disabled="disabledState" multiple>
<el-option <el-option
v-for="item in applyArcticOptions" v-for="item in applyArcticOptions"
:key="item.value" :key="item.value"
@@ -211,7 +253,8 @@
</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="" :disabled="disabledState" multiple> <el-select :popper-append-to-body="false" v-model="form.SYCPXCLASS" placeholder=""
:disabled="disabledState" multiple>
<el-option <el-option
v-for="item in sycpxOptions" v-for="item in sycpxOptions"
:key="item.value" :key="item.value"
@@ -220,7 +263,8 @@
></el-option> ></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" clearable disabled></el-input> <el-input v-model="form.CYCVPPSCNBUSS" clearable disabled></el-input>
</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">
@@ -286,7 +330,8 @@
</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">
<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"> <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="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="margin-left: 7px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
@@ -434,7 +479,8 @@
<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;margin-left: 12px;margin-top: 13px" class="fileClass"> <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="" @click="handleFilePreview(item,'preview')" :title="item.name"> {{ item.name }}</span>
<span style="margin-left: 7px;" v-if="item.id !== ''"> <span style="margin-left: 7px;" v-if="item.id !== ''">
<i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i> <i class="el-icon-download" title="下载" @click="handleFilePreview(item,'down')"></i>
@@ -503,6 +549,10 @@ export default {
type: Boolean, type: Boolean,
default: false default: false
}, },
isTrue: {
type: Boolean,
default: false
},
}, },
filters: { filters: {
ellipsis(value) { ellipsis(value) {
@@ -571,6 +621,22 @@ export default {
computed: { computed: {
...mapGetters(['userInfo']) ...mapGetters(['userInfo'])
}, },
watch:{
'form.standName': {
handler: function (val) {
console.log(val);
if (val && val !== '') {
if (this.FBGBUSSFileList.length > 0) {
this.FBGBUSSFileList[0].name = val
}
} else {
if (this.FBGBUSSFileList.length > 0) {
this.FBGBUSSFileList[0].name = '企业标准'
}
}
}
},
},
methods: { methods: {
filterOp(data) { filterOp(data) {
if (!data) { if (!data) {
@@ -590,6 +656,22 @@ export default {
} else { } else {
attId = file.response.data.id attId = file.response.data.id
} }
if (file.name == this.form.standName) {
let fileName = ""
let fileNam2 = ""
if (this.form.standName && this.form.standName !== '') {
fileName = this.form.standName + '-企业标准.docx'
fileNam2 = this.form.standName
} else {
fileName = '企业标准.docx'
fileNam2 = '企业标准'
}
let form = JSON.parse(JSON.stringify(this.form))
form.standCode = ''
form.issueDate = ''
this.$onlineEditPreview(file.id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, form)
return
}
if (type === 'down') { if (type === 'down') {
if (attId) { if (attId) {
window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + attId)
@@ -600,6 +682,31 @@ export default {
this.$preview(attId) this.$preview(attId)
} }
}, },
handleFilePreviewOne(file, type) {
let id = ""
let fileName = ""
let fileNam2 = ""
if (this.form.standName && this.form.standName !== '') {
fileName = this.form.standName + '-企业标准.docx'
fileNam2 = this.form.standName
} else {
fileName = '企业标准.docx'
fileNam2 = '企业标准'
}
if (file && file.id) {
id = file.id
} else {
id = file.response.data.id
}
let form = JSON.parse(JSON.stringify(this.form))
form.standCode = ''
form.issueDate = ''
if (type === 'preview') {
this.$onlineEditPreview(id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, form)
} else {
this.$onlineEdit(id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, form)
}
},
downloadFile(data) { downloadFile(data) {
//文件id中出现了','字符,去除掉 //文件id中出现了','字符,去除掉
window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id) window.open('/api/att/attFile/downloadFileForSarNew?fileId=' + data.id)
@@ -1,4 +1,5 @@
<template><div class="bzrkStep1"> <template>
<div class="bzrkStep1">
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订计划管控</template> <template slot="proName">企标制修订计划管控</template>
@@ -25,7 +26,8 @@
<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 :disabled="planDisabled || disabledXX" <el-select v-model="form.standSort" filterable clearable
:disabled="planDisabled || disabledXX"
placeholder="请先选择计划带入企标类别" placeholder="请先选择计划带入企标类别"
> >
<el-option <el-option
@@ -44,11 +46,18 @@
clearable clearable
></el-input> ></el-input>
</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">
<template> <template>
<div style="padding-left: 10px; color: #666666;" v-if="form.reviseStatus === '1'">制定</div> <div style="padding-left: 10px; color: #666666;"
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '2'">修订</div> v-if="form.reviseStatus === '1'">制定
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '3'">修改</div> </div>
<div style="padding-left: 10px; color: #666666;"
v-else-if="form.reviseStatus === '2'">修订
</div>
<div style="padding-left: 10px; color: #666666;"
v-else-if="form.reviseStatus === '3'">修改
</div>
<div style="padding-left: 10px; color: #666666;" v-else></div> <div style="padding-left: 10px; color: #666666;" v-else></div>
</template> </template>
<!-- <el-select v-model="form.reviseStatus" filterable clearable>--> <!-- <el-select v-model="form.reviseStatus" filterable clearable>-->
@@ -119,7 +128,8 @@
clearable clearable
></el-input> ></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 :disabled="disabledXX" v-model="form.putTime" <el-datePicker :disabled="disabledXX" v-model="form.putTime"
:editable="false" :editable="false"
placeholder="请选择企标实施日期" placeholder="请选择企标实施日期"
@@ -156,11 +166,33 @@
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in FBGBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <!-- <div v-for="(item,index) in FBGBUSSFileList"-->
<!-- :key="index" @click="handleFilePreview(item)"-->
<!-- style="color: #409eff;cursor:pointer" -->
<!-- class="fileClass">{{ item.name }}</div>-->
<div v-for="(item,index) in FBGBUSSFileList" :key="index"
style="color: #409eff;cursor:pointer"
class="fileClass fileClassName">
<span style="width: 80%;"
v-if="index == 0"
@click="handleFilePreviewOne(item,'preview')">
{{ item.name }}
</span>
<span v-else @click="handleFilePreview(item)">
{{ item.name }}
</span>
<span style="width: 20%;margin-left: 15px;"
v-if="item.id !== '' && index == 0">
<el-button type="primary" size="mini"
plain icon="el-icon-edit"
@click="handleFilePreviewOne(item,'onlineEdit')"></el-button>
</span>
</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
<el-button :disabled="disabledXX" <!-- :disabled="disabledXX"-->
disabled <!-- disabled-->
<el-button
type="primary" type="primary"
class="common-button-primary" class="common-button-primary"
size="mini" size="mini"
@@ -180,7 +212,10 @@
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in LSBBBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in LSBBBUSSFileList" :key="index"
@click="handleFilePreview(item)" style="color: #409eff;cursor:pointer"
class="fileClass">{{ item.name }}
</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
<el-button :disabled="disabledXX" <el-button :disabled="disabledXX"
@@ -205,7 +240,10 @@
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in BZSMBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in BZSMBUSSFileList" :key="index"
@click="handleFilePreview(item)" style="color: #409eff;cursor:pointer"
class="fileClass">{{ item.name }}
</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
<el-button :disabled="disabledXX" <el-button :disabled="disabledXX"
@@ -228,7 +266,10 @@
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in QTWJBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in QTWJBUSSFileList" :key="index"
@click="handleFilePreview(item)" style="color: #409eff;cursor:pointer"
class="fileClass">{{ item.name }}
</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
<el-button :disabled="disabledXX" <el-button :disabled="disabledXX"
@@ -260,7 +301,8 @@
@click.native="choiceQCDW('QCDWId', '起草部门', form.QCDW)"> @click.native="choiceQCDW('QCDWId', '起草部门', form.QCDW)">
</el-input> </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 :disabled="disabledXX" <el-input :disabled="disabledXX"
v-model="form.WJSCRYBUSSName" v-model="form.WJSCRYBUSSName"
placeholder="请输入文件上传人员" placeholder="请输入文件上传人员"
@@ -269,7 +311,8 @@
></el-input> ></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 :disabled="disabledXX" :popper-append-to-body="false" v-model="form.NYLXCLASS" placeholder="请选择能源类型" multiple> <el-select :disabled="disabledXX" :popper-append-to-body="false"
v-model="form.NYLXCLASS" placeholder="请选择能源类型" multiple>
<el-option <el-option
v-for="item in categoryOptions" v-for="item in categoryOptions"
placeholder="请选择" placeholder="请选择"
@@ -279,11 +322,17 @@
></el-option> ></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编码"
<el-input :disabled="disabledXX" v-model="form.CYCVPPSBMBUSS" readonly="readonly" placeholder="关联模块--乘用车VPPS编码" @click.native="choiceZRR2('car', '关联模块--乘用车VPPS编码', form.CYCVPPSBMBUSS,true)"></el-input> class="add-form-item form-item-disabled">
<el-input :disabled="disabledXX" v-model="form.CYCVPPSBMBUSS" readonly="readonly"
placeholder="关联模块--乘用车VPPS编码"
@click.native="choiceZRR2('car', '关联模块--乘用车VPPS编码', form.CYCVPPSBMBUSS,true)"></el-input>
</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编码"
<el-input :disabled="disabledXX" v-model="form.KCVPPSBMBUSS" readonly="readonly" placeholder="关联模块--卡车VPPS编码" @click.native="choiceZRR3('struck', '关联模块--卡车VPPS编码', form.KCVPPSBMBUSS,false)"></el-input> class="add-form-item form-item-disabled">
<el-input :disabled="disabledXX" v-model="form.KCVPPSBMBUSS" readonly="readonly"
placeholder="关联模块--卡车VPPS编码"
@click.native="choiceZRR3('struck', '关联模块--卡车VPPS编码', form.KCVPPSBMBUSS,false)"></el-input>
</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 :disabled="disabledXX" v-model="form.DYBXHBUSS" readonly="readonly" placeholder="选择模块结构单元变型号(卡车)" @click.native="choiceZRR4('TRUCK', '模块结构单元变型号(卡车)', form.DYBXHBUSS,false)"></el-input>--> <!-- <el-input :disabled="disabledXX" v-model="form.DYBXHBUSS" readonly="readonly" placeholder="选择模块结构单元变型号(卡车)" @click.native="choiceZRR4('TRUCK', '模块结构单元变型号(卡车)', form.DYBXHBUSS,false)"></el-input>-->
@@ -292,7 +341,9 @@
<!-- <el-input :disabled="disabledXX" v-model="form.CYCDYBXHBUSS" readonly="readonly" placeholder="选择模块结构单元变型号(乘用车)" @click.native="choiceZRR5('CAR', '模块结构单元变型号(乘用车)', form.CYCDYBXHBUSS,false)"></el-input>--> <!-- <el-input :disabled="disabledXX" 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 :disabled="disabledXX" v-model="form.TXLBBUSS" placeholder="选择体系类别" clearable @click.native="choiceZRR1('TXLBBUSS', '体系类别', form.TXLBBUSS)"></el-input> <el-input :disabled="disabledXX" v-model="form.TXLBBUSS" placeholder="选择体系类别"
clearable
@click.native="choiceZRR1('TXLBBUSS', '体系类别', form.TXLBBUSS)"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
@@ -306,7 +357,8 @@
</el-input> </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 :disabled="disabledXX" :popper-append-to-body="false" v-model="form.SYCXCLASS" placeholder="请选择适用车型" multiple> <el-select :disabled="disabledXX" :popper-append-to-body="false"
v-model="form.SYCXCLASS" placeholder="请选择适用车型" multiple>
<el-option <el-option
v-for="item in applyArcticOptions" v-for="item in applyArcticOptions"
placeholder="请选择" placeholder="请选择"
@@ -317,7 +369,8 @@
</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 :disabled="disabledXX" :popper-append-to-body="false" v-model="form.SYCPXCLASS" placeholder="请选择适用认证" multiple> <el-select :disabled="disabledXX" :popper-append-to-body="false"
v-model="form.SYCPXCLASS" placeholder="请选择适用认证" multiple>
<el-option <el-option
v-for="item in sycpxOptions" v-for="item in sycpxOptions"
placeholder="请选择" placeholder="请选择"
@@ -327,11 +380,15 @@
></el-option> ></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"
<el-input :disabled="disabledXX" v-model="form.CYCVPPSCNBUSS" placeholder="请输入模块中文名称" clearable disabled></el-input> class="add-form-item form-item-disabled">
<el-input :disabled="disabledXX" v-model="form.CYCVPPSCNBUSS"
placeholder="请输入模块中文名称" clearable disabled></el-input>
</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"
<el-input :disabled="disabledXX" v-model="form.KCVPPSCNBUSS" placeholder="关联模块--卡车VPPS编码" clearable disabled></el-input> class="add-form-item form-item-disabled">
<el-input :disabled="disabledXX" v-model="form.KCVPPSCNBUSS"
placeholder="关联模块--卡车VPPS编码" clearable disabled></el-input>
</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 :disabled="disabledXX" v-model="form.DYMCBUSS" placeholder="模块结构单元名称(卡车)" clearable disabled></el-input>--> <!-- <el-input :disabled="disabledXX" v-model="form.DYMCBUSS" placeholder="模块结构单元名称(卡车)" clearable disabled></el-input>-->
@@ -363,7 +420,8 @@
size="mini" size="mini"
style="position:absolute;top: 10px;right: 0;" style="position:absolute;top: 10px;right: 0;"
@click="selectLaws('DTQBBHBUSS'),config.attrName = '代替企标编号'" @click="selectLaws('DTQBBHBUSS'),config.attrName = '代替企标编号'"
>{{'手动查找'}}</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 :disabled="disabledXX" <el-input :disabled="disabledXX"
@@ -377,7 +435,8 @@
size="mini" size="mini"
style="position:absolute;top: 10px;right: 0;" style="position:absolute;top: 10px;right: 0;"
@click="selectLaws('CYBZ'),config.attrName = '采用标准'" @click="selectLaws('CYBZ'),config.attrName = '采用标准'"
>{{'手动查找'}}</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 :disabled="disabledXX" <el-input :disabled="disabledXX"
@@ -391,7 +450,8 @@
size="mini" size="mini"
style="position:absolute;top: 10px;right: 0;" style="position:absolute;top: 10px;right: 0;"
@click="selectLaws('YYBZ'),config.attrName = '引用标准'" @click="selectLaws('YYBZ'),config.attrName = '引用标准'"
>{{'手动查找'}}</el-button> >{{'手动查找'}}
</el-button>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
@@ -438,7 +498,10 @@
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in GLWJBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in GLWJBUSSFileList" :key="index"
@click="handleFilePreview(item)" style="color: #409eff;cursor:pointer"
class="fileClass">{{ item.name }}
</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
<el-button :disabled="disabledXX" <el-button :disabled="disabledXX"
@@ -555,132 +618,171 @@
:model="roleForm" :model="roleForm"
:rules="roleRules" :rules="roleRules"
class="label-input-form"> class="label-input-form">
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.prcCreateUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="起草" placement="top"
:color="roleForm.prcCreateUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="prcCreateUserName" style="margin-bottom: 0"> <el-form-item prop="prcCreateUserName" style="margin-bottom: 0">
<h4>标准起草人</h4> <h4>标准起草人</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" disabled v-model="roleForm.prcCreateUserName" placeholder="标准起草人"></el-input> <el-input :disabled="disabledXX" disabled
v-model="roleForm.prcCreateUserName"
placeholder="标准起草人"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="企标编写" prop="qcUserName" placement="top" :color="roleForm.qcUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="企标编写" prop="qcUserName" placement="top"
:color="roleForm.qcUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="qcUserName" style="margin-bottom: 0"> <el-form-item prop="qcUserName" style="margin-bottom: 0">
<h4>其他起草人</h4> <h4>其他起草人</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.qcUserName" clearable readonly="readonly" placeholder="其他起草人" @click.native="choiceZRRList('qcUserId', '选择其他起草人', roleForm.qcUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.qcUserName" clearable
readonly="readonly" placeholder="其他起草人"
@click.native="choiceZRRList('qcUserId', '选择其他起草人', roleForm.qcUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="企标编写汇总" placement="top" :color="roleForm.hzUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="企标编写汇总" placement="top"
:color="roleForm.hzUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="hzUserName" style="margin-bottom: 0"> <el-form-item prop="hzUserName" style="margin-bottom: 0">
<h4>标准起草人</h4> <h4>标准起草人</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" disabled v-model="roleForm.hzUserName" readonly="readonly" clearable placeholder="标准起草人"></el-input> <el-input :disabled="disabledXX" disabled v-model="roleForm.hzUserName"
readonly="readonly" clearable placeholder="标准起草人"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="标准化初审" prop="bzhUserName" placement="top" :color="roleForm.bzhUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="标准化初审" prop="bzhUserName" placement="top"
:color="roleForm.bzhUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="bzhUserName" style="margin-bottom: 0"> <el-form-item prop="bzhUserName" style="margin-bottom: 0">
<h4>总院各中心兼职标准化员/各事业部标准化员</h4> <h4>总院各中心兼职标准化员/各事业部标准化员</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.bzhUserName" readonly="readonly" placeholder="选择总院各中心兼职标准化员/各事业部标准化员" @click.native="choiceZRR('bzhUserId', '选择总院各中心兼职标准化员/各事业部标准化员', roleForm.bzhUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.bzhUserName"
readonly="readonly" placeholder="选择总院各中心兼职标准化员/各事业部标准化员"
@click.native="choiceZRR('bzhUserId', '选择总院各中心兼职标准化员/各事业部标准化员', roleForm.bzhUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="征求意见(张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师)" prop="hqUserName" placement="top" :color="roleForm.hqUserName ? '#66b1ff' : ''"> <el-timeline-item
timestamp="征求意见(张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师)"
prop="hqUserName" placement="top" :color="roleForm.hqUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="hqUserName" style="margin-bottom: 0"> <el-form-item prop="hqUserName" style="margin-bottom: 0">
<h4>张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师</h4> <h4>张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.hqUserName" placeholder="选择张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师" readonly="readonly" @click.native="choiceZRRList('hqUserId', '选择张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师', roleForm.hqUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.hqUserName"
placeholder="选择张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师"
readonly="readonly"
@click.native="choiceZRRList('hqUserId', '选择张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师', roleForm.hqUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="技术委员会评审、评审意见修改" placement="top" :color="roleForm.xdUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="技术委员会评审、评审意见修改" placement="top"
:color="roleForm.xdUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="xdUserName" style="margin-bottom: 0"> <el-form-item prop="xdUserName" style="margin-bottom: 0">
<h4>标准起草人</h4> <h4>标准起草人</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" disabled v-model="roleForm.xdUserName" readonly="readonly" placeholder="标准起草人"></el-input> <el-input :disabled="disabledXX" disabled v-model="roleForm.xdUserName"
readonly="readonly" placeholder="标准起草人"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="标准化复审" prop="fggcsUserName" placement="top" :color="roleForm.fggcsUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="标准化复审" prop="fggcsUserName" placement="top"
:color="roleForm.fggcsUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="fggcsUserName" style="margin-bottom: 0"> <el-form-item prop="fggcsUserName" style="margin-bottom: 0">
<h4>标准法规工程师</h4> <h4>标准法规工程师</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.fggcsUserName" readonly="readonly" placeholder="标准法规工程师" @click.native="choiceZRR('fggcsUserId', '选择标准法规工程师', roleForm.fggcsUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.fggcsUserName"
readonly="readonly" placeholder="标准法规工程师"
@click.native="choiceZRR('fggcsUserId', '选择标准法规工程师', roleForm.fggcsUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="审核" prop="jsfzrUserName" placement="top" :color="roleForm.jsfzrUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="审核" prop="jsfzrUserName" placement="top"
:color="roleForm.jsfzrUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="jsfzrUserName" style="margin-bottom: 0"> <el-form-item prop="jsfzrUserName" style="margin-bottom: 0">
<h4>起草单位高级经理</h4> <h4>起草单位高级经理</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.jsfzrUserName" readonly="readonly" placeholder="选择起草单位高级经理" @click.native="choiceZRR('jsfzrUserId', '选择起草单位高级经理', roleForm.jsfzrUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.jsfzrUserName"
readonly="readonly" placeholder="选择起草单位高级经理"
@click.native="choiceZRR('jsfzrUserId', '选择起草单位高级经理', roleForm.jsfzrUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="审核" prop="bzUserName" placement="top" :color="roleForm.bzUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="审核" prop="bzUserName" placement="top"
:color="roleForm.bzUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="bzUserName" style="margin-bottom: 0"> <el-form-item prop="bzUserName" style="margin-bottom: 0">
<h4>标准法规部高级经理</h4> <h4>标准法规部高级经理</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.bzUserName" readonly="readonly" placeholder="选择标准法规部高级经理" @click.native="choiceZRR('bzUserId', '选择标准法规部高级经理', roleForm.bzUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.bzUserName"
readonly="readonly" placeholder="选择标准法规部高级经理"
@click.native="choiceZRR('bzUserId', '选择标准法规部高级经理', roleForm.bzUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="审定" prop="fzrUserName" placement="top" :color="roleForm.fzrUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="审定" prop="fzrUserName" placement="top"
:color="roleForm.fzrUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="fzrUserName" style="margin-bottom: 0"> <el-form-item prop="fzrUserName" style="margin-bottom: 0">
<h4>起草单位中心主任</h4> <h4>起草单位中心主任</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.fzrUserName" readonly="readonly" placeholder="选择起草单位中心主任" @click.native="choiceZRR('fzrUserId', '选择起草单位中心主任', roleForm.fzrUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.fzrUserName"
readonly="readonly" placeholder="选择起草单位中心主任"
@click.native="choiceZRR('fzrUserId', '选择起草单位中心主任', roleForm.fzrUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="批准" prop="zhrUserName" placement="top" :color="roleForm.zhrUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="批准" prop="zhrUserName" placement="top"
:color="roleForm.zhrUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="zhrUserName" style="margin-bottom: 0"> <el-form-item prop="zhrUserName" style="margin-bottom: 0">
<h4>总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长</h4> <h4>总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.zhrUserName" readonly="readonly" placeholder="选择总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长" @click.native="choiceZRR('zhrUserId', '选择总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长', roleForm.zhrUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.zhrUserName"
readonly="readonly"
placeholder="选择总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长"
@click.native="choiceZRR('zhrUserId', '选择总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长', roleForm.zhrUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="培训" placement="top" :color="roleForm.pxUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="培训" placement="top"
:color="roleForm.pxUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="hzUserName" style="margin-bottom: 0"> <el-form-item prop="hzUserName" style="margin-bottom: 0">
<h4>标准起草人</h4> <h4>标准起草人</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" disabled v-model="roleForm.pxUserName" readonly="readonly" clearable placeholder="标准起草人"></el-input> <el-input :disabled="disabledXX" disabled v-model="roleForm.pxUserName"
readonly="readonly" clearable placeholder="标准起草人"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="发布" prop="fbUserName" placement="top" :color="roleForm.fbUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="发布" prop="fbUserName" placement="top"
:color="roleForm.fbUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="fbUserName" style="margin-bottom: 0"> <el-form-item prop="fbUserName" style="margin-bottom: 0">
<h4>标准法规工程师</h4> <h4>标准法规工程师</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.fbUserName" readonly="readonly" placeholder="选择标准法规工程师" @click.native="choiceZRR('fbUserId', '选择标准法规工程师', roleForm.fbUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.fbUserName"
readonly="readonly" placeholder="选择标准法规工程师"
@click.native="choiceZRR('fbUserId', '选择标准法规工程师', roleForm.fbUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -800,7 +902,9 @@
prop="issueTime" prop="issueTime"
label="发布日期" label="发布日期"
width="130"> width="130">
<template slot-scope="scope">{{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}</template> <template slot-scope="scope">{{ scope.row.issueTime ?
$moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="textStatusBuss" prop="textStatusBuss"
@@ -820,8 +924,12 @@
@pageChange="pageChangeReplace" @pageChange="pageChangeReplace"
@pageSizeChange="pageSizeChangeReplace"></pagination> @pageSizeChange="pageSizeChangeReplace"></pagination>
<div slot="footer" class="demo-drawer-footer"> <div slot="footer" class="demo-drawer-footer">
<el-button :disabled="disabledXX" class="common-button-default" round icon="el-icon-close" @click="replaceLawsNumModel = false">取消</el-button> <el-button :disabled="disabledXX" class="common-button-default" round icon="el-icon-close"
<el-button :disabled="disabledXX" type="primary" round class="common-button-primary" icon="el-icon-check" @click="replaceLawsNumModelBt">提交</el-button> @click="replaceLawsNumModel = false">取消
</el-button>
<el-button :disabled="disabledXX" type="primary" round class="common-button-primary"
icon="el-icon-check" @click="replaceLawsNumModelBt">提交
</el-button>
</div> </div>
</el-dialog> </el-dialog>
<Role-tree v-if="!disabledXX" <Role-tree v-if="!disabledXX"
@@ -880,7 +988,8 @@
<div class="standard-content"> <div class="standard-content">
<div class="content"> <div class="content">
<div class="standard-table-search"> <div class="standard-table-search">
<el-form :model="standardSearchForm" inline class="label-input-form search-area" style="justify-content:left"> <el-form :model="standardSearchForm" inline class="label-input-form search-area"
style="justify-content:left">
<!-- <el-form-item label="计划状态" style="margin-right:-20px" prop="planStatus" class="search-item" >--> <!-- <el-form-item label="计划状态" style="margin-right:-20px" prop="planStatus" class="search-item" >-->
<!-- <el-select :disabled="disabledXX" v-model="standardSearchForm.planStatus" placeholder="请选择计划状态">--> <!-- <el-select :disabled="disabledXX" v-model="standardSearchForm.planStatus" placeholder="请选择计划状态">-->
<!-- <el-option label="制定" value="2"></el-option>--> <!-- <el-option label="制定" value="2"></el-option>-->
@@ -895,14 +1004,16 @@
<!-- <el-option label="未制定" value="2"></el-option>--> <!-- <el-option label="未制定" value="2"></el-option>-->
<!-- </el-select>--> <!-- </el-select>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<el-form-item v-if="this.form.reviseStatus != '3'" label="企标名称" style="margin-right:20px" prop="esName" class="search-item" > <el-form-item v-if="this.form.reviseStatus != '3'" label="企标名称" style="margin-right:20px"
prop="esName" class="search-item">
<el-input :disabled="disabledXX" <el-input :disabled="disabledXX"
v-model="standardSearchForm.esName" v-model="standardSearchForm.esName"
placeholder="请输入企标名称" placeholder="请输入企标名称"
clearable clearable
:maxlength="100"></el-input> :maxlength="100"></el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="this.form.reviseStatus != '3'" label="起草责任单位" style="margin-right:20px" prop="unit" class="search-item" > <el-form-item v-if="this.form.reviseStatus != '3'" label="起草责任单位" style="margin-right:20px"
prop="unit" class="search-item">
<el-input :disabled="disabledXX" <el-input :disabled="disabledXX"
style="width:176px" style="width:176px"
v-model="standardSearchForm.unit" v-model="standardSearchForm.unit"
@@ -910,7 +1021,8 @@
clearable clearable
:maxlength="100"></el-input> :maxlength="100"></el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="this.form.reviseStatus === '3'" label="企标编号" style="margin-right:20px" prop="unit" class="search-item" > <el-form-item v-if="this.form.reviseStatus === '3'" label="企标编号" style="margin-right:20px"
prop="unit" class="search-item">
<el-input :disabled="disabledXX" <el-input :disabled="disabledXX"
style="width:176px" style="width:176px"
v-model="standardSearchForm.standCode" v-model="standardSearchForm.standCode"
@@ -918,7 +1030,8 @@
clearable clearable
:maxlength="100"></el-input> :maxlength="100"></el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="this.form.reviseStatus === '3'" label="起草单位" style="margin-right:20px" prop="unit" class="search-item" > <el-form-item v-if="this.form.reviseStatus === '3'" label="起草单位" style="margin-right:20px"
prop="unit" class="search-item">
<el-input :disabled="disabledXX" <el-input :disabled="disabledXX"
style="width:176px" style="width:176px"
v-model="standardSearchForm.QCDW" v-model="standardSearchForm.QCDW"
@@ -926,7 +1039,8 @@
clearable clearable
:maxlength="100"></el-input> :maxlength="100"></el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="this.form.reviseStatus === '3'" label="中文名称" style="margin-right:20px" prop="unit" class="search-item" > <el-form-item v-if="this.form.reviseStatus === '3'" label="中文名称" style="margin-right:20px"
prop="unit" class="search-item">
<el-input :disabled="disabledXX" <el-input :disabled="disabledXX"
style="width:176px" style="width:176px"
v-model="standardSearchForm.standName" v-model="standardSearchForm.standName"
@@ -1041,7 +1155,9 @@
align="center" align="center"
label="制修订状态"> label="制修订状态">
<template slot-scope="scope"> <template slot-scope="scope">
<div>{{ scope.row.reviseStatus === ''? '' : (scope.row.reviseStatus === '1'? '制定' : '修订') }}</div> <div>{{ scope.row.reviseStatus === ''? '' : (scope.row.reviseStatus === '1'? '制定' :
'修订') }}
</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -1124,12 +1240,14 @@
class="common-button-primary" class="common-button-primary"
icon="el-icon-check" icon="el-icon-check"
type="primary" type="primary"
@click="handleProcessStandardNext(2)">带入</el-button> @click="handleProcessStandardNext(2)">带入
</el-button>
<el-button :disabled="disabledXX" <el-button :disabled="disabledXX"
round round
class="common-button-default" class="common-button-default"
icon="el-icon-close" icon="el-icon-close"
@click="handleProcessStandardNext(3)">取消</el-button> @click="handleProcessStandardNext(3)">取消
</el-button>
</div> </div>
</el-drawer> </el-drawer>
<Mechanism-tree v-if="!disabledXX" <Mechanism-tree v-if="!disabledXX"
@@ -1147,7 +1265,8 @@
width="500" width="500"
:data="standSystemOptions" :data="standSystemOptions"
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys" :defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
:nodeKey="nodeKey" @popoverHide="popoverHide" @popoverHideCancel="popoverHideCancel"></tree-select-new> :nodeKey="nodeKey" @popoverHide="popoverHide"
@popoverHideCancel="popoverHideCancel"></tree-select-new>
<tree-select-new v-if="!disabledXX" <tree-select-new v-if="!disabledXX"
width="500" width="500"
:lazy=true :lazy=true
@@ -1207,7 +1326,14 @@
import ProcessHeader from '../../components/ProcessHeader' import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter' import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle' import ProcessTitle from '../../components/ProcessTitle'
import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,taskDel,inboundLiaisonDetail,execTask} from "api/process"; import {
saveTaskFirst,
queryTaskFirst,
getBusStandFileByAttId,
taskDel,
inboundLiaisonDetail,
execTask
} from "api/process";
import TreeSelect from '@/components/treeSelect/treeSelect.vue'; import TreeSelect from '@/components/treeSelect/treeSelect.vue';
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue'; import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
import treeSelectModule from "@/components/treeSelect/treeSelectModule.vue"; import treeSelectModule from "@/components/treeSelect/treeSelectModule.vue";
@@ -1577,7 +1703,11 @@ export default {
{required: true, message: '选择总院各中心兼职标准化员/各事业部标准化员', trigger: 'blur'}, {required: true, message: '选择总院各中心兼职标准化员/各事业部标准化员', trigger: 'blur'},
], ],
hqUserName: [ hqUserName: [
{ required: true, message: '选择张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师', trigger: 'blur' }, {
required: true,
message: '选择张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师',
trigger: 'blur'
},
], ],
fggcsUserName: [ fggcsUserName: [
{required: true, message: '选择标准法规工程师', trigger: 'blur'}, {required: true, message: '选择标准法规工程师', trigger: 'blur'},
@@ -1592,7 +1722,11 @@ export default {
{required: true, message: '选择起草单位中心主任', trigger: 'blur'}, {required: true, message: '选择起草单位中心主任', trigger: 'blur'},
], ],
zhrUserName: [ zhrUserName: [
{ required: true, message: '选择总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长', trigger: 'blur' }, {
required: true,
message: '选择总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长',
trigger: 'blur'
},
], ],
fbUserName: [ fbUserName: [
{required: true, message: '选择标准法规工程师', trigger: 'blur'}, {required: true, message: '选择标准法规工程师', trigger: 'blur'},
@@ -1732,6 +1866,19 @@ export default {
filterText(val) { filterText(val) {
this.$refs.tree.filter(val); this.$refs.tree.filter(val);
}, },
'form.standName': {
handler: function (val) {
if (val && val !== '') {
this.form.FBGBUSSName = val
this.FBGBUSSFileList = []
this.FBGBUSSFileList = this.assemble(this.form.FBGBUSS, val);
} else {
this.form.FBGBUSSName = '企业标准'
this.FBGBUSSFileList = []
this.FBGBUSSFileList = this.assemble(this.form.FBGBUSS, '企业标准');
}
}
},
}, },
methods: { methods: {
getMap1(item) { getMap1(item) {
@@ -1991,10 +2138,9 @@ export default {
} }
}, },
assemble(ids, names) { assemble(ids, names) {
let id = ids.substring(0, ids.lastIndexOf(','))
let list = new Array(); let list = new Array();
if(id && id !== '' && names && names !== ''){ if (ids && ids !== '' && names && names !== '') {
let idArray=id.split(','); let idArray = ids.split(',');
let nameArray = names.split(','); let nameArray = names.split(',');
for (let i = 0; i < idArray.length; i++) { for (let i = 0; i < idArray.length; i++) {
list.push({id: idArray[i], name: nameArray[i]}); list.push({id: idArray[i], name: nameArray[i]});
@@ -2176,7 +2322,8 @@ export default {
case 'glwj': case 'glwj':
this.getFileList(value, this.glwjFileList); this.getFileList(value, this.glwjFileList);
break; break;
default: ; default:
;
} }
}, getFileList(fileIds, defaultFileList) { }, getFileList(fileIds, defaultFileList) {
@@ -2721,6 +2868,28 @@ export default {
this.$preview(attId) this.$preview(attId)
} }
}, },
handleFilePreviewOne(file, type) {
let id = ""
let fileName = ""
let fileNam2 = ""
if (this.form.standName && this.form.standName !== '') {
fileName = this.form.standName + '-企业标准.docx'
fileNam2 = this.form.standName
} else {
fileName = '企业标准.docx'
fileNam2 = '企业标准'
}
if (file && file.id) {
id = file.id
} else {
id = file.response.data.id
}
if (type === 'preview') {
this.$onlineEditPreview(id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, this.form)
} else {
this.$onlineEdit(id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, this.form)
}
},
// 导入标准数据成功后执行 // 导入标准数据成功后执行
importFileSuccess(response, file, fileList) { importFileSuccess(response, file, fileList) {
// 上传成功后判断是否是两条数据是的话替换掉旧数据 // 上传成功后判断是否是两条数据是的话替换掉旧数据
@@ -2752,7 +2921,8 @@ export default {
this.GLWJBUSSFileList = this.GLWJBUSSFileList.filter(item => item.response === undefined); this.GLWJBUSSFileList = this.GLWJBUSSFileList.filter(item => item.response === undefined);
this.GLWJBUSSFileList.push(fileObj) this.GLWJBUSSFileList.push(fileObj)
break; break;
default : ; default :
;
} }
this.$message({ this.$message({
// showClose: true, // showClose: true,
@@ -2783,7 +2953,8 @@ export default {
case 'GLWJBUSS': case 'GLWJBUSS':
this.fileList = this.GLWJBUSSFileList this.fileList = this.GLWJBUSSFileList
break; break;
default : ; default :
;
} }
this.fileMadel = true; this.fileMadel = true;
@@ -2806,7 +2977,8 @@ export default {
case 'GLWJBUSS': case 'GLWJBUSS':
this.GLWJBUSSFileList = fileList this.GLWJBUSSFileList = fileList
break; break;
default : ; default :
;
} }
}, },
drawerCheckZRBM(data) { drawerCheckZRBM(data) {
@@ -3184,7 +3356,8 @@ export default {
}) })
} }
// 流程提交之后,应该流转至待办任务页面 // 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) } else { this.$router.push({path: '/processCenter?tabsName=ProcessCenter'})
} else {
} }
} else { } else {
this.$message.warning(res.data) this.$message.warning(res.data)
@@ -3254,6 +3427,18 @@ export default {
this.nowEsId = processForm.nowEsId this.nowEsId = processForm.nowEsId
this.form.reviseStatus = processForm.reviseStatus this.form.reviseStatus = processForm.reviseStatus
this.form.standName = processForm.renameEs ? processForm.renameEs : processForm.esName this.form.standName = processForm.renameEs ? processForm.renameEs : processForm.esName
this.$http.get('/lawss/activiti/saveEditFile', {
model: 'model_qb'
}, {
_this: this
}, res => {
if (res) {
this.form.FBGBUSS = res.id
this.form.FBGBUSSName = this.form.standName
this.FBGBUSSFileList = this.assemble(res.id, this.form.FBGBUSSName);
}
})
this.form.QCDW = processForm.unitName this.form.QCDW = processForm.unitName
this.form.QCDWID = processForm.unit this.form.QCDWID = processForm.unit
this.form.QCRBUSSID = processForm.drafter this.form.QCRBUSSID = processForm.drafter
@@ -3328,18 +3513,24 @@ export default {
this.cbcdOptions = res.data.DEGREESTANDARD;//采标程度 this.cbcdOptions = res.data.DEGREESTANDARD;//采标程度
}) })
} }
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
/deep/ .fileClass { /deep/ .fileClass {
line-height: 22px !important; line-height: 22px !important;
} }
.fileClassName {
margin-bottom: 10px;
}
/deep/ #active2 .el-form-item__content { /deep/ #active2 .el-form-item__content {
margin-left: 0px !important; margin-left: 0px !important;
} }
.bzrkStep1 { .bzrkStep1 {
/deep/ .el-drawer__container { /deep/ .el-drawer__container {
.prc-content-border { .prc-content-border {
@@ -3347,8 +3538,10 @@ export default {
padding: 0 20px 0; padding: 0 20px 0;
} }
} }
position: relative; position: relative;
height: 100%; height: 100%;
.headerTabs { .headerTabs {
height: 52px; height: 52px;
display: flex; display: flex;
@@ -3356,6 +3549,7 @@ export default {
position: absolute; position: absolute;
top: 0; top: 0;
right: 10px; right: 10px;
.headerTabsItem { .headerTabsItem {
border: 1px solid #c1c1c1; border: 1px solid #c1c1c1;
padding: 0 5px; padding: 0 5px;
@@ -3363,18 +3557,21 @@ export default {
line-height: 30px; line-height: 30px;
cursor: pointer; cursor: pointer;
} }
.active { .active {
border: 1px solid #E6A23C; border: 1px solid #E6A23C;
color: #fff; color: #fff;
background: #E6A23C; background: #E6A23C;
} }
} }
.content { .content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
height: calc(~'100% - 103px'); height: calc(~'100% - 103px');
overflow: auto; overflow: auto;
.tableTitle { .tableTitle {
margin-bottom: 10px; margin-bottom: 10px;
height: 30px; height: 30px;
@@ -3382,6 +3579,7 @@ export default {
position: relative; position: relative;
font-size: 13px; font-size: 13px;
font-weight: bold; font-weight: bold;
.tableButton { .tableButton {
position: absolute; position: absolute;
right: 0; right: 0;
@@ -3390,26 +3588,32 @@ export default {
} }
} }
} }
.standard-content { .standard-content {
height: 100%; height: 100%;
padding: 10px 0 0; padding: 10px 0 0;
.content { .content {
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 0 10px; padding: 0 10px;
.standard-table-wrap { .standard-table-wrap {
flex: auto; flex: auto;
overflow-y: auto; overflow-y: auto;
} }
.pagination { .pagination {
position: static; position: static;
/deep/ .pagination-slot { /deep/ .pagination-slot {
padding: 0; padding: 0;
} }
} }
} }
} }
/deep/ .el-form-item__error { /deep/ .el-form-item__error {
right: 50px !important; right: 50px !important;
} }
@@ -1,4 +1,5 @@
<template><div class="bzrkStep1"> <template>
<div class="bzrkStep1">
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订-技术标准</template> <template slot="proName">企标制修订-技术标准</template>
@@ -25,7 +26,8 @@
<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 :disabled="planDisabled || disabledXX" <el-select v-model="form.standSort" filterable clearable
:disabled="planDisabled || disabledXX"
placeholder="请先选择计划带入企标类别" placeholder="请先选择计划带入企标类别"
> >
<el-option <el-option
@@ -44,11 +46,18 @@
clearable clearable
></el-input> ></el-input>
</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">
<template> <template>
<div style="padding-left: 10px; color: #666666;" v-if="form.reviseStatus === '1'">制定</div> <div style="padding-left: 10px; color: #666666;"
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '2'">修订</div> v-if="form.reviseStatus === '1'">制定
<div style="padding-left: 10px; color: #666666;" v-else-if="form.reviseStatus === '3'">修改</div> </div>
<div style="padding-left: 10px; color: #666666;"
v-else-if="form.reviseStatus === '2'">修订
</div>
<div style="padding-left: 10px; color: #666666;"
v-else-if="form.reviseStatus === '3'">修改
</div>
<div style="padding-left: 10px; color: #666666;" v-else></div> <div style="padding-left: 10px; color: #666666;" v-else></div>
</template> </template>
<!-- <el-select v-model="form.reviseStatus" filterable clearable>--> <!-- <el-select v-model="form.reviseStatus" filterable clearable>-->
@@ -119,7 +128,8 @@
clearable clearable
></el-input> ></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 :disabled="disabledXX" v-model="form.putTime" <el-datePicker :disabled="disabledXX" v-model="form.putTime"
:editable="false" :editable="false"
placeholder="请选择企标实施日期" placeholder="请选择企标实施日期"
@@ -156,11 +166,29 @@
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in FBGBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in FBGBUSSFileList" :key="index"
style="color: #409eff;cursor:pointer"
class="fileClass fileClassName">
<span style="width: 80%;"
v-if="index == 0"
@click="handleFilePreviewOne(item,'preview')">
{{ item.name }}
</span>
<span v-else @click="handleFilePreview(item)">
{{ item.name }}
</span>
<span style="width: 20%;margin-left: 15px;"
v-if="item.id !== '' && index == 0">
<el-button type="primary" size="mini"
plain icon="el-icon-edit"
@click="handleFilePreviewOne(item,'onlineEdit')"></el-button>
</span>
</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
<el-button :disabled="disabledXX" <!-- :disabled="disabledXX"-->
disabled <!-- disabled-->
<el-button
type="primary" type="primary"
class="common-button-primary" class="common-button-primary"
size="mini" size="mini"
@@ -180,7 +208,10 @@
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in LSBBBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in LSBBBUSSFileList" :key="index"
@click="handleFilePreview(item)" style="color: #409eff;cursor:pointer"
class="fileClass">{{ item.name }}
</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
<el-button :disabled="disabledXX" <el-button :disabled="disabledXX"
@@ -205,7 +236,10 @@
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in BZSMBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in BZSMBUSSFileList" :key="index"
@click="handleFilePreview(item)" style="color: #409eff;cursor:pointer"
class="fileClass">{{ item.name }}
</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
<el-button :disabled="disabledXX" <el-button :disabled="disabledXX"
@@ -228,7 +262,10 @@
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in QTWJBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in QTWJBUSSFileList" :key="index"
@click="handleFilePreview(item)" style="color: #409eff;cursor:pointer"
class="fileClass">{{ item.name }}
</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
<el-button :disabled="disabledXX" <el-button :disabled="disabledXX"
@@ -260,7 +297,8 @@
@click.native="choiceQCDW('QCDWId', '起草部门', form.QCDW)"> @click.native="choiceQCDW('QCDWId', '起草部门', form.QCDW)">
</el-input> </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 :disabled="disabledXX" <el-input :disabled="disabledXX"
v-model="form.WJSCRYBUSSName" v-model="form.WJSCRYBUSSName"
placeholder="请输入文件上传人员" placeholder="请输入文件上传人员"
@@ -269,7 +307,8 @@
></el-input> ></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 :disabled="disabledXX" :popper-append-to-body="false" v-model="form.NYLXCLASS" placeholder="请选择能源类型" multiple> <el-select :disabled="disabledXX" :popper-append-to-body="false"
v-model="form.NYLXCLASS" placeholder="请选择能源类型" multiple>
<el-option <el-option
v-for="item in categoryOptions" v-for="item in categoryOptions"
placeholder="请选择" placeholder="请选择"
@@ -279,11 +318,17 @@
></el-option> ></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编码"
<el-input :disabled="disabledXX" v-model="form.CYCVPPSBMBUSS" readonly="readonly" placeholder="关联模块--乘用车VPPS编码" @click.native="choiceZRR2('car', '关联模块--乘用车VPPS编码', form.CYCVPPSBMBUSS,true)"></el-input> class="add-form-item form-item-disabled">
<el-input :disabled="disabledXX" v-model="form.CYCVPPSBMBUSS" readonly="readonly"
placeholder="关联模块--乘用车VPPS编码"
@click.native="choiceZRR2('car', '关联模块--乘用车VPPS编码', form.CYCVPPSBMBUSS,true)"></el-input>
</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编码"
<el-input :disabled="disabledXX" v-model="form.KCVPPSBMBUSS" readonly="readonly" placeholder="关联模块--卡车VPPS编码" @click.native="choiceZRR3('struck', '关联模块--卡车VPPS编码', form.KCVPPSBMBUSS,false)"></el-input> class="add-form-item form-item-disabled">
<el-input :disabled="disabledXX" v-model="form.KCVPPSBMBUSS" readonly="readonly"
placeholder="关联模块--卡车VPPS编码"
@click.native="choiceZRR3('struck', '关联模块--卡车VPPS编码', form.KCVPPSBMBUSS,false)"></el-input>
</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 :disabled="disabledXX" v-model="form.DYBXHBUSS" readonly="readonly" placeholder="选择模块结构单元变型号(卡车)" @click.native="choiceZRR4('TRUCK', '模块结构单元变型号(卡车)', form.DYBXHBUSS,false)"></el-input>--> <!-- <el-input :disabled="disabledXX" v-model="form.DYBXHBUSS" readonly="readonly" placeholder="选择模块结构单元变型号(卡车)" @click.native="choiceZRR4('TRUCK', '模块结构单元变型号(卡车)', form.DYBXHBUSS,false)"></el-input>-->
@@ -292,7 +337,9 @@
<!-- <el-input :disabled="disabledXX" v-model="form.CYCDYBXHBUSS" readonly="readonly" placeholder="选择模块结构单元变型号(乘用车)" @click.native="choiceZRR5('CAR', '模块结构单元变型号(乘用车)', form.CYCDYBXHBUSS,false)"></el-input>--> <!-- <el-input :disabled="disabledXX" 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 :disabled="disabledXX" v-model="form.TXLBBUSS" placeholder="选择体系类别" clearable @click.native="choiceZRR1('TXLBBUSS', '体系类别', form.TXLBBUSS)"></el-input> <el-input :disabled="disabledXX" v-model="form.TXLBBUSS" placeholder="选择体系类别"
clearable
@click.native="choiceZRR1('TXLBBUSS', '体系类别', form.TXLBBUSS)"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
@@ -306,7 +353,8 @@
</el-input> </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 :disabled="disabledXX" :popper-append-to-body="false" v-model="form.SYCXCLASS" placeholder="请选择适用车型" multiple> <el-select :disabled="disabledXX" :popper-append-to-body="false"
v-model="form.SYCXCLASS" placeholder="请选择适用车型" multiple>
<el-option <el-option
v-for="item in applyArcticOptions" v-for="item in applyArcticOptions"
placeholder="请选择" placeholder="请选择"
@@ -317,7 +365,8 @@
</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 :disabled="disabledXX" :popper-append-to-body="false" v-model="form.SYCPXCLASS" placeholder="请选择适用认证" multiple> <el-select :disabled="disabledXX" :popper-append-to-body="false"
v-model="form.SYCPXCLASS" placeholder="请选择适用认证" multiple>
<el-option <el-option
v-for="item in sycpxOptions" v-for="item in sycpxOptions"
placeholder="请选择" placeholder="请选择"
@@ -327,11 +376,15 @@
></el-option> ></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"
<el-input :disabled="disabledXX" v-model="form.CYCVPPSCNBUSS" placeholder="请输入模块中文名称" clearable disabled></el-input> class="add-form-item form-item-disabled">
<el-input :disabled="disabledXX" v-model="form.CYCVPPSCNBUSS"
placeholder="请输入模块中文名称" clearable disabled></el-input>
</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"
<el-input :disabled="disabledXX" v-model="form.KCVPPSCNBUSS" placeholder="关联模块--卡车VPPS编码" clearable disabled></el-input> class="add-form-item form-item-disabled">
<el-input :disabled="disabledXX" v-model="form.KCVPPSCNBUSS"
placeholder="关联模块--卡车VPPS编码" clearable disabled></el-input>
</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 :disabled="disabledXX" v-model="form.DYMCBUSS" placeholder="模块结构单元名称(卡车)" clearable disabled></el-input>--> <!-- <el-input :disabled="disabledXX" v-model="form.DYMCBUSS" placeholder="模块结构单元名称(卡车)" clearable disabled></el-input>-->
@@ -363,7 +416,8 @@
size="mini" size="mini"
style="position:absolute;top: 10px;right: 0;" style="position:absolute;top: 10px;right: 0;"
@click="selectLaws('DTQBBHBUSS'),config.attrName = '代替企标编号'" @click="selectLaws('DTQBBHBUSS'),config.attrName = '代替企标编号'"
>{{'手动查找'}}</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 :disabled="disabledXX" <el-input :disabled="disabledXX"
@@ -377,7 +431,8 @@
size="mini" size="mini"
style="position:absolute;top: 10px;right: 0;" style="position:absolute;top: 10px;right: 0;"
@click="selectLaws('CYBZ'),config.attrName = '采用标准'" @click="selectLaws('CYBZ'),config.attrName = '采用标准'"
>{{'手动查找'}}</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 :disabled="disabledXX" <el-input :disabled="disabledXX"
@@ -391,7 +446,8 @@
size="mini" size="mini"
style="position:absolute;top: 10px;right: 0;" style="position:absolute;top: 10px;right: 0;"
@click="selectLaws('YYBZ'),config.attrName = '引用标准'" @click="selectLaws('YYBZ'),config.attrName = '引用标准'"
>{{'手动查找'}}</el-button> >{{'手动查找'}}
</el-button>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
@@ -438,7 +494,10 @@
></el-input> ></el-input>
<div style="display: flex;justify-content: space-between"> <div style="display: flex;justify-content: space-between">
<div style="width: 80%;margin-top: 13px"> <div style="width: 80%;margin-top: 13px">
<div v-for="(item,index) in GLWJBUSSFileList" :key="index" @click="handleFilePreview(item)" style="color: #409eff;cursor:pointer" class="fileClass">{{ item.name }}</div> <div v-for="(item,index) in GLWJBUSSFileList" :key="index"
@click="handleFilePreview(item)" style="color: #409eff;cursor:pointer"
class="fileClass">{{ item.name }}
</div>
</div> </div>
<div style="width: 20%;"> <div style="width: 20%;">
<el-button :disabled="disabledXX" <el-button :disabled="disabledXX"
@@ -555,132 +614,171 @@
:model="roleForm" :model="roleForm"
:rules="roleRules" :rules="roleRules"
class="label-input-form"> class="label-input-form">
<el-timeline-item timestamp="起草" placement="top" :color="roleForm.prcCreateUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="起草" placement="top"
:color="roleForm.prcCreateUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="prcCreateUserName" style="margin-bottom: 0"> <el-form-item prop="prcCreateUserName" style="margin-bottom: 0">
<h4>标准起草人</h4> <h4>标准起草人</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" disabled v-model="roleForm.prcCreateUserName" placeholder="标准起草人"></el-input> <el-input :disabled="disabledXX" disabled
v-model="roleForm.prcCreateUserName"
placeholder="标准起草人"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="企标编写" prop="qcUserName" placement="top" :color="roleForm.qcUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="企标编写" prop="qcUserName" placement="top"
:color="roleForm.qcUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="qcUserName" style="margin-bottom: 0"> <el-form-item prop="qcUserName" style="margin-bottom: 0">
<h4>其他起草人</h4> <h4>其他起草人</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.qcUserName" clearable readonly="readonly" placeholder="其他起草人" @click.native="choiceZRRList('qcUserId', '选择其他起草人', roleForm.qcUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.qcUserName" clearable
readonly="readonly" placeholder="其他起草人"
@click.native="choiceZRRList('qcUserId', '选择其他起草人', roleForm.qcUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="企标编写汇总" placement="top" :color="roleForm.hzUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="企标编写汇总" placement="top"
:color="roleForm.hzUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="hzUserName" style="margin-bottom: 0"> <el-form-item prop="hzUserName" style="margin-bottom: 0">
<h4>标准起草人</h4> <h4>标准起草人</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" disabled v-model="roleForm.hzUserName" readonly="readonly" clearable placeholder="标准起草人"></el-input> <el-input :disabled="disabledXX" disabled v-model="roleForm.hzUserName"
readonly="readonly" clearable placeholder="标准起草人"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="标准化初审" prop="bzhUserName" placement="top" :color="roleForm.bzhUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="标准化初审" prop="bzhUserName" placement="top"
:color="roleForm.bzhUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="bzhUserName" style="margin-bottom: 0"> <el-form-item prop="bzhUserName" style="margin-bottom: 0">
<h4>总院各中心兼职标准化员/各事业部标准化员</h4> <h4>总院各中心兼职标准化员/各事业部标准化员</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.bzhUserName" readonly="readonly" placeholder="选择总院各中心兼职标准化员/各事业部标准化员" @click.native="choiceZRR('bzhUserId', '选择总院各中心兼职标准化员/各事业部标准化员', roleForm.bzhUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.bzhUserName"
readonly="readonly" placeholder="选择总院各中心兼职标准化员/各事业部标准化员"
@click.native="choiceZRR('bzhUserId', '选择总院各中心兼职标准化员/各事业部标准化员', roleForm.bzhUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="征求意见(张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师)" prop="hqUserName" placement="top" :color="roleForm.hqUserName ? '#66b1ff' : ''"> <el-timeline-item
timestamp="征求意见(张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师)"
prop="hqUserName" placement="top" :color="roleForm.hqUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="hqUserName" style="margin-bottom: 0"> <el-form-item prop="hqUserName" style="margin-bottom: 0">
<h4>张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师</h4> <h4>张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.hqUserName" placeholder="选择张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师" readonly="readonly" @click.native="choiceZRRList('hqUserId', '选择张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师', roleForm.hqUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.hqUserName"
placeholder="选择张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师"
readonly="readonly"
@click.native="choiceZRRList('hqUserId', '选择张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师', roleForm.hqUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="技术委员会评审、评审意见修改" placement="top" :color="roleForm.xdUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="技术委员会评审、评审意见修改" placement="top"
:color="roleForm.xdUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="xdUserName" style="margin-bottom: 0"> <el-form-item prop="xdUserName" style="margin-bottom: 0">
<h4>标准起草人</h4> <h4>标准起草人</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" disabled v-model="roleForm.xdUserName" readonly="readonly" placeholder="标准起草人"></el-input> <el-input :disabled="disabledXX" disabled v-model="roleForm.xdUserName"
readonly="readonly" placeholder="标准起草人"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="标准化复审" prop="fggcsUserName" placement="top" :color="roleForm.fggcsUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="标准化复审" prop="fggcsUserName" placement="top"
:color="roleForm.fggcsUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="fggcsUserName" style="margin-bottom: 0"> <el-form-item prop="fggcsUserName" style="margin-bottom: 0">
<h4>标准法规工程师</h4> <h4>标准法规工程师</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.fggcsUserName" readonly="readonly" placeholder="标准法规工程师" @click.native="choiceZRR('fggcsUserId', '选择标准法规工程师', roleForm.fggcsUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.fggcsUserName"
readonly="readonly" placeholder="标准法规工程师"
@click.native="choiceZRR('fggcsUserId', '选择标准法规工程师', roleForm.fggcsUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="审核" prop="jsfzrUserName" placement="top" :color="roleForm.jsfzrUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="审核" prop="jsfzrUserName" placement="top"
:color="roleForm.jsfzrUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="jsfzrUserName" style="margin-bottom: 0"> <el-form-item prop="jsfzrUserName" style="margin-bottom: 0">
<h4>起草单位高级经理</h4> <h4>起草单位高级经理</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.jsfzrUserName" readonly="readonly" placeholder="选择起草单位高级经理" @click.native="choiceZRR('jsfzrUserId', '选择起草单位高级经理', roleForm.jsfzrUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.jsfzrUserName"
readonly="readonly" placeholder="选择起草单位高级经理"
@click.native="choiceZRR('jsfzrUserId', '选择起草单位高级经理', roleForm.jsfzrUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="审核" prop="bzUserName" placement="top" :color="roleForm.bzUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="审核" prop="bzUserName" placement="top"
:color="roleForm.bzUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="bzUserName" style="margin-bottom: 0"> <el-form-item prop="bzUserName" style="margin-bottom: 0">
<h4>标准法规部高级经理</h4> <h4>标准法规部高级经理</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.bzUserName" readonly="readonly" placeholder="选择标准法规部高级经理" @click.native="choiceZRR('bzUserId', '选择标准法规部高级经理', roleForm.bzUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.bzUserName"
readonly="readonly" placeholder="选择标准法规部高级经理"
@click.native="choiceZRR('bzUserId', '选择标准法规部高级经理', roleForm.bzUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="审定" prop="fzrUserName" placement="top" :color="roleForm.fzrUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="审定" prop="fzrUserName" placement="top"
:color="roleForm.fzrUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="fzrUserName" style="margin-bottom: 0"> <el-form-item prop="fzrUserName" style="margin-bottom: 0">
<h4>起草单位中心主任</h4> <h4>起草单位中心主任</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.fzrUserName" readonly="readonly" placeholder="选择起草单位中心主任" @click.native="choiceZRR('fzrUserId', '选择起草单位中心主任', roleForm.fzrUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.fzrUserName"
readonly="readonly" placeholder="选择起草单位中心主任"
@click.native="choiceZRR('fzrUserId', '选择起草单位中心主任', roleForm.fzrUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="批准" prop="zhrUserName" placement="top" :color="roleForm.zhrUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="批准" prop="zhrUserName" placement="top"
:color="roleForm.zhrUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="zhrUserName" style="margin-bottom: 0"> <el-form-item prop="zhrUserName" style="margin-bottom: 0">
<h4>总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长</h4> <h4>总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.zhrUserName" readonly="readonly" placeholder="选择总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长" @click.native="choiceZRR('zhrUserId', '选择总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长', roleForm.zhrUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.zhrUserName"
readonly="readonly"
placeholder="选择总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长"
@click.native="choiceZRR('zhrUserId', '选择总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长', roleForm.zhrUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="培训" placement="top" :color="roleForm.pxUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="培训" placement="top"
:color="roleForm.pxUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="hzUserName" style="margin-bottom: 0"> <el-form-item prop="hzUserName" style="margin-bottom: 0">
<h4>标准起草人</h4> <h4>标准起草人</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" disabled v-model="roleForm.pxUserName" readonly="readonly" clearable placeholder="标准起草人"></el-input> <el-input :disabled="disabledXX" disabled v-model="roleForm.pxUserName"
readonly="readonly" clearable placeholder="标准起草人"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
</el-timeline-item> </el-timeline-item>
<el-timeline-item timestamp="发布" prop="fbUserName" placement="top" :color="roleForm.fbUserName ? '#66b1ff' : ''"> <el-timeline-item timestamp="发布" prop="fbUserName" placement="top"
:color="roleForm.fbUserName ? '#66b1ff' : ''">
<el-card> <el-card>
<el-form-item prop="fbUserName" style="margin-bottom: 0"> <el-form-item prop="fbUserName" style="margin-bottom: 0">
<h4>标准法规工程师</h4> <h4>标准法规工程师</h4>
<div style="margin-top: 10px;width: 300px;"> <div style="margin-top: 10px;width: 300px;">
<el-input :disabled="disabledXX" v-model="roleForm.fbUserName" readonly="readonly" placeholder="选择标准法规工程师" @click.native="choiceZRR('fbUserId', '选择标准法规工程师', roleForm.fbUserId)"></el-input> <el-input :disabled="disabledXX" v-model="roleForm.fbUserName"
readonly="readonly" placeholder="选择标准法规工程师"
@click.native="choiceZRR('fbUserId', '选择标准法规工程师', roleForm.fbUserId)"></el-input>
</div> </div>
</el-form-item> </el-form-item>
</el-card> </el-card>
@@ -798,7 +896,9 @@
prop="issueTime" prop="issueTime"
label="发布日期" label="发布日期"
width="130"> width="130">
<template slot-scope="scope">{{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}</template> <template slot-scope="scope">{{ scope.row.issueTime ?
$moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="textStatusBuss" prop="textStatusBuss"
@@ -818,8 +918,12 @@
@pageChange="pageChangeReplace" @pageChange="pageChangeReplace"
@pageSizeChange="pageSizeChangeReplace"></pagination> @pageSizeChange="pageSizeChangeReplace"></pagination>
<div slot="footer" class="demo-drawer-footer"> <div slot="footer" class="demo-drawer-footer">
<el-button :disabled="disabledXX" class="common-button-default" round icon="el-icon-close" @click="replaceLawsNumModel = false">取消</el-button> <el-button :disabled="disabledXX" class="common-button-default" round icon="el-icon-close"
<el-button :disabled="disabledXX" type="primary" round class="common-button-primary" icon="el-icon-check" @click="replaceLawsNumModelBt">提交</el-button> @click="replaceLawsNumModel = false">取消
</el-button>
<el-button :disabled="disabledXX" type="primary" round class="common-button-primary"
icon="el-icon-check" @click="replaceLawsNumModelBt">提交
</el-button>
</div> </div>
</el-dialog> </el-dialog>
<Role-tree v-if="!disabledXX" <Role-tree v-if="!disabledXX"
@@ -878,7 +982,8 @@
<div class="standard-content"> <div class="standard-content">
<div class="content"> <div class="content">
<div class="standard-table-search"> <div class="standard-table-search">
<el-form :model="standardSearchForm" inline class="label-input-form search-area" style="justify-content:left"> <el-form :model="standardSearchForm" inline class="label-input-form search-area"
style="justify-content:left">
<!-- <el-form-item label="计划状态" style="margin-right:-20px" prop="planStatus" class="search-item" >--> <!-- <el-form-item label="计划状态" style="margin-right:-20px" prop="planStatus" class="search-item" >-->
<!-- <el-select :disabled="disabledXX" v-model="standardSearchForm.planStatus" placeholder="请选择计划状态">--> <!-- <el-select :disabled="disabledXX" v-model="standardSearchForm.planStatus" placeholder="请选择计划状态">-->
<!-- <el-option label="制定" value="2"></el-option>--> <!-- <el-option label="制定" value="2"></el-option>-->
@@ -893,14 +998,16 @@
<!-- <el-option label="未制定" value="2"></el-option>--> <!-- <el-option label="未制定" value="2"></el-option>-->
<!-- </el-select>--> <!-- </el-select>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<el-form-item v-if="this.form.reviseStatus === '1' || this.form.reviseStatus === '2'" label="企标名称" style="margin-right:20px" prop="esName" class="search-item" > <el-form-item v-if="this.form.reviseStatus === '1' || this.form.reviseStatus === '2'"
label="企标名称" style="margin-right:20px" prop="esName" class="search-item">
<el-input :disabled="disabledXX" <el-input :disabled="disabledXX"
v-model="standardSearchForm.esName" v-model="standardSearchForm.esName"
placeholder="请输入企标名称" placeholder="请输入企标名称"
clearable clearable
:maxlength="100"></el-input> :maxlength="100"></el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="this.form.reviseStatus === '1' || this.form.reviseStatus === '2'" label="起草责任单位" style="margin-right:20px" prop="unit" class="search-item" > <el-form-item v-if="this.form.reviseStatus === '1' || this.form.reviseStatus === '2'"
label="起草责任单位" style="margin-right:20px" prop="unit" class="search-item">
<el-input :disabled="disabledXX" <el-input :disabled="disabledXX"
style="width:176px" style="width:176px"
v-model="standardSearchForm.unit" v-model="standardSearchForm.unit"
@@ -908,7 +1015,8 @@
clearable clearable
:maxlength="100"></el-input> :maxlength="100"></el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="this.form.reviseStatus === '3'" label="企标编号" style="margin-right:20px" prop="unit" class="search-item" > <el-form-item v-if="this.form.reviseStatus === '3'" label="企标编号" style="margin-right:20px"
prop="unit" class="search-item">
<el-input :disabled="disabledXX" <el-input :disabled="disabledXX"
style="width:176px" style="width:176px"
v-model="standardSearchForm.standCode" v-model="standardSearchForm.standCode"
@@ -916,7 +1024,8 @@
clearable clearable
:maxlength="100"></el-input> :maxlength="100"></el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="this.form.reviseStatus === '3'" label="起草单位" style="margin-right:20px" prop="unit" class="search-item" > <el-form-item v-if="this.form.reviseStatus === '3'" label="起草单位" style="margin-right:20px"
prop="unit" class="search-item">
<el-input :disabled="disabledXX" <el-input :disabled="disabledXX"
style="width:176px" style="width:176px"
v-model="standardSearchForm.QCDW" v-model="standardSearchForm.QCDW"
@@ -924,7 +1033,8 @@
clearable clearable
:maxlength="100"></el-input> :maxlength="100"></el-input>
</el-form-item> </el-form-item>
<el-form-item v-if="this.form.reviseStatus === '3'" label="中文名称" style="margin-right:20px" prop="unit" class="search-item" > <el-form-item v-if="this.form.reviseStatus === '3'" label="中文名称" style="margin-right:20px"
prop="unit" class="search-item">
<el-input :disabled="disabledXX" <el-input :disabled="disabledXX"
style="width:176px" style="width:176px"
v-model="standardSearchForm.standName" v-model="standardSearchForm.standName"
@@ -1003,7 +1113,9 @@
align="center" align="center"
label="制修订状态"> label="制修订状态">
<template slot-scope="scope"> <template slot-scope="scope">
<div>{{ scope.row.reviseStatus === ''? '' : (scope.row.reviseStatus === '1'? '制定' : '修订') }}</div> <div>{{ scope.row.reviseStatus === ''? '' : (scope.row.reviseStatus === '1'? '制定' :
'修订') }}
</div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -1121,12 +1233,14 @@
class="common-button-primary" class="common-button-primary"
icon="el-icon-check" icon="el-icon-check"
type="primary" type="primary"
@click="handleProcessStandardNext(2)">带入</el-button> @click="handleProcessStandardNext(2)">带入
</el-button>
<el-button :disabled="disabledXX" <el-button :disabled="disabledXX"
round round
class="common-button-default" class="common-button-default"
icon="el-icon-close" icon="el-icon-close"
@click="handleProcessStandardNext(3)">取消</el-button> @click="handleProcessStandardNext(3)">取消
</el-button>
</div> </div>
</el-drawer> </el-drawer>
<Mechanism-tree v-if="!disabledXX" <Mechanism-tree v-if="!disabledXX"
@@ -1144,7 +1258,8 @@
width="500" width="500"
:data="standSystemOptions" :data="standSystemOptions"
:defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys" :defaultProps="defaultProps" :checkedKeys="defaultCheckedKeys"
:nodeKey="nodeKey" @popoverHide="popoverHide" @popoverHideCancel="popoverHideCancel"></tree-select-new> :nodeKey="nodeKey" @popoverHide="popoverHide"
@popoverHideCancel="popoverHideCancel"></tree-select-new>
<tree-select-new v-if="!disabledXX" <tree-select-new v-if="!disabledXX"
width="500" width="500"
:lazy=true :lazy=true
@@ -1568,7 +1683,11 @@ export default {
{required: true, message: '选择总院各中心兼职标准化员/各事业部标准化员', trigger: 'blur'}, {required: true, message: '选择总院各中心兼职标准化员/各事业部标准化员', trigger: 'blur'},
], ],
hqUserName: [ hqUserName: [
{ required: true, message: '选择张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师', trigger: 'blur' }, {
required: true,
message: '选择张建芳、蒋敏、吴娟、李中立、尧燕、耿红静、赵淑珍、符清萍、杨卫利、技术委员会相关成员、总院相关中心总工及四五级工程师',
trigger: 'blur'
},
], ],
fggcsUserName: [ fggcsUserName: [
{required: true, message: '选择标准法规工程师', trigger: 'blur'}, {required: true, message: '选择标准法规工程师', trigger: 'blur'},
@@ -1583,7 +1702,11 @@ export default {
{required: true, message: '选择起草单位中心主任', trigger: 'blur'}, {required: true, message: '选择起草单位中心主任', trigger: 'blur'},
], ],
zhrUserName: [ zhrUserName: [
{ required: true, message: '选择总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长', trigger: 'blur' }, {
required: true,
message: '选择总院技术委员会覆盖领域企业标准:专委会主任;总院技术委员会未覆盖领域企业标准:总院院长或总院主管副院长',
trigger: 'blur'
},
], ],
fbUserName: [ fbUserName: [
{required: true, message: '选择标准法规工程师', trigger: 'blur'}, {required: true, message: '选择标准法规工程师', trigger: 'blur'},
@@ -1677,6 +1800,8 @@ export default {
syrzOptions: [],//适用认证下拉框 syrzOptions: [],//适用认证下拉框
data: [], // 标准列表数据 data: [], // 标准列表数据
ListForm: {}, // 新增数据 ListForm: {}, // 新增数据
fileId: '',
fileName: '',
} }
}, },
watch: { watch: {
@@ -1723,6 +1848,25 @@ export default {
filterText(val) { filterText(val) {
this.$refs.tree.filter(val); this.$refs.tree.filter(val);
}, },
'form.standName': {
handler: function (val) {
if (val && val !== '') {
this.form.FBGBUSSName = val
if (this.FBGBUSSFileList.length > 0) {
this.FBGBUSSFileList[0].name = val
}
// this.FBGBUSSFileList = []
// this.FBGBUSSFileList = this.assemble(this.form.FBGBUSS, val);
} else {
this.form.FBGBUSSName = '企业标准'
if (this.FBGBUSSFileList.length > 0) {
this.FBGBUSSFileList[0].name = '企业标准'
}
// this.FBGBUSSFileList = []
// this.FBGBUSSFileList = this.assemble(this.form.FBGBUSS, '企业标准');
}
}
},
}, },
methods: { methods: {
getMap1(item) { getMap1(item) {
@@ -2098,17 +2242,16 @@ export default {
}, { }, {
_this: this _this: this
}, res => { }, res => {
console.log(res.data);
this.form.standEnName = res.data.standEnName this.form.standEnName = res.data.standEnName
this.form.putTime = res.data.putTime this.form.putTime = res.data.putTime
this.form.QCDW = res.data.attrInfoMap.QCDW this.form.QCDW = res.data.attrInfoMap.QCDW
this.form.WJSCRYBUSSName = res.data.attrInfoMap.WJSCRYBUSS this.form.WJSCRYBUSSName = res.data.attrInfoMap.WJSCRYBUSS
this.form.NYLXCLASS = res.data.attrInfoMap.NYLXCLASS.split(',') this.form.NYLXCLASS = res.data.attrInfoMap.NYLXCLASS ? res.data.attrInfoMap.NYLXCLASS.split(',') : []
this.form.SYCXCLASS = res.data.attrInfoMap.SYCXCLASS.split(',') this.form.SYCXCLASS = res.data.attrInfoMap.SYCXCLASS ? res.data.attrInfoMap.SYCXCLASS.split(',') : []
this.form.CYCVPPSBMBUSS = res.data.attrInfoMap.CYCVPPSBMBUSS this.form.CYCVPPSBMBUSS = res.data.attrInfoMap.CYCVPPSBMBUSS
this.form.KCVPPSBMBUSS = res.data.attrInfoMap.KCVPPSBMBUSS this.form.KCVPPSBMBUSS = res.data.attrInfoMap.KCVPPSBMBUSS
this.form.SYCPXCLASS = res.data.attrInfoMap.SYCPXCLASS.split(',') this.form.SYCPXCLASS = res.data.attrInfoMap.SYCPXCLASS ? res.data.attrInfoMap.SYCPXCLASS.split(',') : []
this.form.CYCD = res.data.attrInfoMap.CYCD.split(',') this.form.CYCD = res.data.attrInfoMap.CYCD ? res.data.attrInfoMap.CYCD.split(',') : []
this.form.TXLBBUSS = res.data.attrInfoMap.TXLBBUSS this.form.TXLBBUSS = res.data.attrInfoMap.TXLBBUSS
this.form.QCRBUSS = res.data.attrInfoMap.QCRBUSS this.form.QCRBUSS = res.data.attrInfoMap.QCRBUSS
this.form.CYCVPPSCNBUSS = res.data.attrInfoMap.CYCVPPSCNBUSS this.form.CYCVPPSCNBUSS = res.data.attrInfoMap.CYCVPPSCNBUSS
@@ -2117,8 +2260,14 @@ export default {
this.form.CYBZ = res.data.attrInfoMap.CYBZ this.form.CYBZ = res.data.attrInfoMap.CYBZ
this.form.YYBZ = res.data.attrInfoMap.YYBZ this.form.YYBZ = res.data.attrInfoMap.YYBZ
this.form.XCSJBUSS = res.data.attrInfoMap.XCSJBUSS this.form.XCSJBUSS = res.data.attrInfoMap.XCSJBUSS
let FBGBUSSLast = res.data.attrInfoMap.FBGBUSS.substring(0, res.data.attrInfoMap.FBGBUSS.lastIndexOf(','))
if (this.form.standName) {
this.fileName = this.form.standName
}
let FBGBUSS = this.fileId + ',' + FBGBUSSLast
let FBGBUSSName = this.fileName + ',' + res.data.attrInfoMap.FBGBUSSName
this.BZSMBUSSFileList = this.assemble(res.data.attrInfoMap.BZSMBUSS.substring(0, res.data.attrInfoMap.BZSMBUSS.lastIndexOf(',')), res.data.attrInfoMap.BZSMBUSSName); this.BZSMBUSSFileList = this.assemble(res.data.attrInfoMap.BZSMBUSS.substring(0, res.data.attrInfoMap.BZSMBUSS.lastIndexOf(',')), res.data.attrInfoMap.BZSMBUSSName);
this.FBGBUSSFileList=this.assemble(res.data.attrInfoMap.FBGBUSS.substring(0, res.data.attrInfoMap.FBGBUSS.lastIndexOf(',')),res.data.attrInfoMap.FBGBUSSName); this.FBGBUSSFileList = this.assemble(FBGBUSS, FBGBUSSName);
this.LSBBBUSSFileList = this.assemble(res.data.attrInfoMap.LSBBBUSS.substring(0, res.data.attrInfoMap.LSBBBUSS.lastIndexOf(',')), res.data.attrInfoMap.LSBBBUSSName); this.LSBBBUSSFileList = this.assemble(res.data.attrInfoMap.LSBBBUSS.substring(0, res.data.attrInfoMap.LSBBBUSS.lastIndexOf(',')), res.data.attrInfoMap.LSBBBUSSName);
this.QTWJBUSSFileList = this.assemble(res.data.attrInfoMap.QTWJBUSS.substring(0, res.data.attrInfoMap.QTWJBUSS.lastIndexOf(',')), res.data.attrInfoMap.QTWJBUSSName); this.QTWJBUSSFileList = this.assemble(res.data.attrInfoMap.QTWJBUSS.substring(0, res.data.attrInfoMap.QTWJBUSS.lastIndexOf(',')), res.data.attrInfoMap.QTWJBUSSName);
this.GLWJBUSSFileList = this.assemble(res.data.attrInfoMap.GLWJBUSS.substring(0, res.data.attrInfoMap.GLWJBUSS.lastIndexOf(',')), res.data.attrInfoMap.GLWJBUSSName); this.GLWJBUSSFileList = this.assemble(res.data.attrInfoMap.GLWJBUSS.substring(0, res.data.attrInfoMap.GLWJBUSS.lastIndexOf(',')), res.data.attrInfoMap.GLWJBUSSName);
@@ -2181,7 +2330,8 @@ export default {
case 'glwj': case 'glwj':
this.getFileList(value, this.glwjFileList); this.getFileList(value, this.glwjFileList);
break; break;
default: ; default:
;
} }
}, getFileList(fileIds, defaultFileList) { }, getFileList(fileIds, defaultFileList) {
@@ -2722,6 +2872,7 @@ export default {
// 文件预览及下载 // 文件预览及下载
handleFilePreview(file) { handleFilePreview(file) {
let attId = "" let attId = ""
console.log(file);
if (file && file.id) { if (file && file.id) {
attId = file.id attId = file.id
} else { } else {
@@ -2768,7 +2919,8 @@ export default {
this.GLWJBUSSFileList = this.GLWJBUSSFileList.filter(item => item.response === undefined); this.GLWJBUSSFileList = this.GLWJBUSSFileList.filter(item => item.response === undefined);
this.GLWJBUSSFileList.push(fileObj) this.GLWJBUSSFileList.push(fileObj)
break; break;
default : ; default :
;
} }
this.$message({ this.$message({
// showClose: true, // showClose: true,
@@ -2799,7 +2951,8 @@ export default {
case 'GLWJBUSS': case 'GLWJBUSS':
this.fileList = this.GLWJBUSSFileList this.fileList = this.GLWJBUSSFileList
break; break;
default : ; default :
;
} }
this.fileMadel = true; this.fileMadel = true;
@@ -2822,7 +2975,8 @@ export default {
case 'GLWJBUSS': case 'GLWJBUSS':
this.GLWJBUSSFileList = fileList this.GLWJBUSSFileList = fileList
break; break;
default : ; default :
;
} }
}, },
drawerCheckZRBM(data) { drawerCheckZRBM(data) {
@@ -3031,6 +3185,28 @@ export default {
} }
return data return data
}, },
handleFilePreviewOne(file, type) {
let id = ""
let fileName = ""
let fileNam2 = ""
if (this.form.standName && this.form.standName !== '') {
fileName = this.form.standName + '-企业标准.docx'
fileNam2 = this.form.standName
} else {
fileName = '企业标准.docx'
fileNam2 = '企业标准'
}
if (file && file.id) {
id = file.id
} else {
id = file.response.data.id
}
if (type === 'preview') {
this.$onlineEditPreview(id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, JSON.parse(JSON.stringify(this.form)))
} else {
this.$onlineEdit(id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, JSON.parse(JSON.stringify(this.form)))
}
},
changeRestTree(val) { changeRestTree(val) {
let arr = []; let arr = [];
if (val.length !== 0) { if (val.length !== 0) {
@@ -3155,7 +3331,8 @@ export default {
}) })
} }
// 流程提交之后,应该流转至待办任务页面 // 流程提交之后,应该流转至待办任务页面
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'}) } else { this.$router.push({path: '/processCenter?tabsName=ProcessCenter'})
} else {
} }
} else { } else {
this.$message.warning(res.data) this.$message.warning(res.data)
@@ -3239,6 +3416,24 @@ export default {
this.gkglbmOptions = res.data.GKGLBM;//归口管理部门 this.gkglbmOptions = res.data.GKGLBM;//归口管理部门
this.cbcdOptions = res.data.DEGREESTANDARD;//采标程度 this.cbcdOptions = res.data.DEGREESTANDARD;//采标程度
}) })
if (this.$route.query.bpnId === undefined && this.$route.query.taskIds === undefined) {
this.$http.get('/lawss/activiti/saveEditFile', {
model: 'model_qb'
}, {
_this: this
}, res => {
if (res) {
this.form.FBGBUSS = res.id
this.form.FBGBUSSName = '企业标准'
this.fileId = res.id
this.fileName = '企业标准'
this.FBGBUSSFileList = this.assemble(res.id, '企业标准');
}
})
} else {
this.FBGBUSSFileList = this.assemble(this.form.FBGBUSS, this.form.FBGBUSSName);
}
} }
} }
@@ -3246,12 +3441,19 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
/deep/ .fileClass { /deep/ .fileClass {
line-height: 22px !important; line-height: 22px !important;
} }
.fileClassName {
margin-bottom: 10px;
}
/deep/ #active2 .el-form-item__content { /deep/ #active2 .el-form-item__content {
margin-left: 0px !important; margin-left: 0px !important;
} }
.bzrkStep1 { .bzrkStep1 {
/deep/ .el-drawer__container { /deep/ .el-drawer__container {
.prc-content-border { .prc-content-border {
@@ -3259,8 +3461,10 @@ export default {
padding: 0 20px 0; padding: 0 20px 0;
} }
} }
position: relative; position: relative;
height: 100%; height: 100%;
.headerTabs { .headerTabs {
height: 52px; height: 52px;
display: flex; display: flex;
@@ -3268,6 +3472,7 @@ export default {
position: absolute; position: absolute;
top: 0; top: 0;
right: 10px; right: 10px;
.headerTabsItem { .headerTabsItem {
border: 1px solid #c1c1c1; border: 1px solid #c1c1c1;
padding: 0 5px; padding: 0 5px;
@@ -3275,18 +3480,21 @@ export default {
line-height: 30px; line-height: 30px;
cursor: pointer; cursor: pointer;
} }
.active { .active {
border: 1px solid #E6A23C; border: 1px solid #E6A23C;
color: #fff; color: #fff;
background: #E6A23C; background: #E6A23C;
} }
} }
.content { .content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
height: calc(~'100% - 103px'); height: calc(~'100% - 103px');
overflow: auto; overflow: auto;
.tableTitle { .tableTitle {
margin-bottom: 10px; margin-bottom: 10px;
height: 30px; height: 30px;
@@ -3294,6 +3502,7 @@ export default {
position: relative; position: relative;
font-size: 13px; font-size: 13px;
font-weight: bold; font-weight: bold;
.tableButton { .tableButton {
position: absolute; position: absolute;
right: 0; right: 0;
@@ -3302,29 +3511,36 @@ export default {
} }
} }
} }
.standard-content { .standard-content {
height: 100%; height: 100%;
padding: 10px 0 0; padding: 10px 0 0;
.content { .content {
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 0 10px; padding: 0 10px;
.standard-table-wrap { .standard-table-wrap {
flex: auto; flex: auto;
overflow-y: auto; overflow-y: auto;
} }
.pagination { .pagination {
position: static; position: static;
/deep/ .pagination-slot { /deep/ .pagination-slot {
padding: 0; padding: 0;
} }
} }
} }
} }
.process-manuscript /deep/ .el-form-item__error { .process-manuscript /deep/ .el-form-item__error {
right: 45px !important; right: 45px !important;
} }
.standard-table-search /deep/ .el-form-item span.el-input__suffix { .standard-table-search /deep/ .el-form-item span.el-input__suffix {
position: absolute; position: absolute;
right: 10px right: 10px
@@ -21,6 +21,7 @@
<formEditList <formEditList
:key = "formKey" :key = "formKey"
:formSub = "form" :formSub = "form"
:isTrue="true"
:FBGBUSSFileListSub = "FBGBUSSFileList" :FBGBUSSFileListSub = "FBGBUSSFileList"
:LSBBBUSSFileListSub = "LSBBBUSSFileList" :LSBBBUSSFileListSub = "LSBBBUSSFileList"
:BZSMBUSSFileListSub = "BZSMBUSSFileList" :BZSMBUSSFileListSub = "BZSMBUSSFileList"
@@ -21,6 +21,7 @@
<formEditList <formEditList
:key = "formKey" :key = "formKey"
:formSub = "form" :formSub = "form"
:isTrue="true"
:FBGBUSSFileListSub = "FBGBUSSFileList" :FBGBUSSFileListSub = "FBGBUSSFileList"
:LSBBBUSSFileListSub = "LSBBBUSSFileList" :LSBBBUSSFileListSub = "LSBBBUSSFileList"
:BZSMBUSSFileListSub = "BZSMBUSSFileList" :BZSMBUSSFileListSub = "BZSMBUSSFileList"
@@ -20,6 +20,7 @@
<div style="flex: auto;" v-show="active === '1'"> <div style="flex: auto;" v-show="active === '1'">
<formList <formList
:form = "form" :form = "form"
:isTrue="true"
:FBGBUSSFileList = "FBGBUSSFileList" :FBGBUSSFileList = "FBGBUSSFileList"
:LSBBBUSSFileList = "LSBBBUSSFileList" :LSBBBUSSFileList = "LSBBBUSSFileList"
:BZSMBUSSFileList = "BZSMBUSSFileList" :BZSMBUSSFileList = "BZSMBUSSFileList"
@@ -1,4 +1,5 @@
<template><div class="bzrkStep1"> <template>
<div class="bzrkStep1">
<!-- 标准入库流程--> <!-- 标准入库流程-->
<ProcessHeader toggle> <ProcessHeader toggle>
<template slot="proName">企标制修订-技术标准</template> <template slot="proName">企标制修订-技术标准</template>
@@ -65,7 +66,8 @@
width='100' width='100'
> >
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.valueType === 'number' ? scope.row.weight * 100 : '加分项('+scope.row.weight+'分)'}} {{scope.row.valueType === 'number' ? scope.row.weight * 100 :
'加分项('+scope.row.weight+'分)'}}
</template> </template>
</el-table-column> </el-table-column>
</el-table-column> </el-table-column>
@@ -102,7 +104,8 @@
align="center" align="center"
label="简述扣分理由(不合格<6分,必填)" label="简述扣分理由(不合格<6分,必填)"
> >
<template slot-scope="scope" v-if="(scope.row.valueType !== 'add' && scope.row.score !== undefined && scope.row.score !== '' && scope.row.score < 10)"> <template slot-scope="scope"
v-if="(scope.row.valueType !== 'add' && scope.row.score !== undefined && scope.row.score !== '' && scope.row.score < 10)">
<el-form-item <el-form-item
:prop="'evaluationData.'+scope.$index + '.reason'" :prop="'evaluationData.'+scope.$index + '.reason'"
:rules="scope.row.score < 6 ? rules.reason : rules.reasonNot"> :rules="scope.row.score < 6 ? rules.reason : rules.reasonNot">
@@ -151,6 +154,7 @@
<div style="flex: auto;" v-show="active === '2'"> <div style="flex: auto;" v-show="active === '2'">
<formList <formList
:form="form" :form="form"
:isTrue=true
:FBGBUSSFileList="FBGBUSSFileList" :FBGBUSSFileList="FBGBUSSFileList"
:LSBBBUSSFileList="LSBBBUSSFileList" :LSBBBUSSFileList="LSBBBUSSFileList"
:BZSMBUSSFileList="BZSMBUSSFileList" :BZSMBUSSFileList="BZSMBUSSFileList"
@@ -351,7 +355,8 @@
> >
<div class="search-area"> <div class="search-area">
<div class="left"> <div class="left">
<el-form :modal="replaceLawsNumForm" :inline="true" class="label-input-form" @keyup.enter.native="getReplaceLawsNumRowFirst"> <el-form :modal="replaceLawsNumForm" :inline="true" class="label-input-form"
@keyup.enter.native="getReplaceLawsNumRowFirst">
<el-form-item label="标准来源" class="search-item" v-if="dataSource"> <el-form-item label="标准来源" class="search-item" v-if="dataSource">
<el-select <el-select
:popper-append-to-body="false" :popper-append-to-body="false"
@@ -407,8 +412,10 @@
<el-table-column <el-table-column
label="标准编号"> label="标准编号">
<template slot-scope="scope"> <template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a> <a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a> scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{
scope.row.standNumber }}</a>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@@ -419,7 +426,9 @@
prop="issueTime" prop="issueTime"
label="发布日期" label="发布日期"
width="130"> width="130">
<template slot-scope="scope">{{ scope.row.issueTime ? $moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}</template> <template slot-scope="scope">{{ scope.row.issueTime ?
$moment(scope.row.issueTime).format('YYYY-MM-DD') : '' }}
</template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
prop="textStatus" prop="textStatus"
@@ -439,8 +448,12 @@
@pageChange="pageChangeReplace" @pageChange="pageChangeReplace"
@pageSizeChange="pageSizeChangeReplace"></pagination> @pageSizeChange="pageSizeChangeReplace"></pagination>
<div slot="footer" class="demo-drawer-footer"> <div slot="footer" class="demo-drawer-footer">
<el-button class="common-button-default" round icon="el-icon-close" @click="replaceLawsNumModel = false">取消</el-button> <el-button class="common-button-default" round icon="el-icon-close"
<el-button type="primary" round class="common-button-primary" icon="el-icon-check" @click="replaceLawsNumModelBt">提交</el-button> @click="replaceLawsNumModel = false">取消
</el-button>
<el-button type="primary" round class="common-button-primary" icon="el-icon-check"
@click="replaceLawsNumModelBt">提交
</el-button>
</div> </div>
</el-dialog> </el-dialog>
<Role-tree <Role-tree
@@ -530,7 +543,8 @@
:maxlength="100"></el-input> :maxlength="100"></el-input>
</el-form-item> </el-form-item>
<el-formItem label="文本状态" prop="lawsTextState" class="search-item"> <el-formItem label="文本状态" prop="lawsTextState" class="search-item">
<el-select v-model="standardSearchForm.lawsTextState" placeholder="" filterable clearable> <el-select v-model="standardSearchForm.lawsTextState" placeholder="" filterable
clearable>
<el-option <el-option
v-for="item in standStateOptions" v-for="item in standStateOptions"
:key="item.value" :key="item.value"
@@ -629,18 +643,21 @@
class="common-button-primary" class="common-button-primary"
icon="el-icon-check" icon="el-icon-check"
type="primary" type="primary"
@click="handleProcessStandardNext(1)">新增</el-button> @click="handleProcessStandardNext(1)">新增
</el-button>
<el-button <el-button
round round
class="common-button-primary" class="common-button-primary"
icon="el-icon-check" icon="el-icon-check"
type="primary" type="primary"
@click="handleProcessStandardNext(2)">带入</el-button> @click="handleProcessStandardNext(2)">带入
</el-button>
<el-button <el-button
round round
class="common-button-default" class="common-button-default"
icon="el-icon-close" icon="el-icon-close"
@click="handleProcessStandardNext(3)">取消</el-button> @click="handleProcessStandardNext(3)">取消
</el-button>
</div> </div>
</el-drawer> </el-drawer>
<!-- 组件树--> <!-- 组件树-->
@@ -673,10 +690,19 @@
import ProcessHeader from '../../components/ProcessHeader' import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter' import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle' import ProcessTitle from '../../components/ProcessTitle'
import {saveTaskForPub,saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,inboundLiaisonDetail,changeAssigneeNew,evaluationHisListByOne} from "api/process"; import {
saveTaskForPub,
saveTaskFirst,
queryTaskFirst,
getBusStandFileByAttId,
inboundLiaisonDetail,
changeAssigneeNew,
evaluationHisListByOne
} from "api/process";
import {getEvaluationIndex} from "api/businessApi"; import {getEvaluationIndex} from "api/businessApi";
import TreeSelect from '@/components/treeSelect/treeSelect.vue'; import TreeSelect from '@/components/treeSelect/treeSelect.vue';
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue'; import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
let Base64 = require('js-base64').Base64; let Base64 = require('js-base64').Base64;
export default { export default {
@@ -1661,7 +1687,8 @@
case 'glwj': case 'glwj':
this.getFileList(value, this.glwjFileList); this.getFileList(value, this.glwjFileList);
break; break;
default: ; default:
;
} }
}, getFileList(fileIds, defaultFileList) { }, getFileList(fileIds, defaultFileList) {
@@ -2149,7 +2176,8 @@
case 'GLWJBUSS': case 'GLWJBUSS':
this.GLWJBUSSFileList = fileList this.GLWJBUSSFileList = fileList
break; break;
default : ; default :
;
} }
this.$message({ this.$message({
// showClose: true, // showClose: true,
@@ -2184,7 +2212,8 @@
case 'GLWJBUSS': case 'GLWJBUSS':
this.fileList = this.GLWJBUSSFileList this.fileList = this.GLWJBUSSFileList
break; break;
default : ; default :
;
} }
this.fileMadel = true; this.fileMadel = true;
@@ -2207,7 +2236,8 @@
case 'GLWJBUSS': case 'GLWJBUSS':
this.GLWJBUSSFileList = fileList this.GLWJBUSSFileList = fileList
break; break;
default : ; default :
;
} }
}, },
popoverHideBusVs(checkedIds, checkedData, isShow, isLoadChild, topId) { popoverHideBusVs(checkedIds, checkedData, isShow, isLoadChild, topId) {
@@ -2686,18 +2716,23 @@
<style lang="less" scoped> <style lang="less" scoped>
@import '~@/assets/styles/style'; @import '~@/assets/styles/style';
/deep/ .column1 { /deep/ .column1 {
font-size: 18px !important; font-size: 18px !important;
} }
/deep/ .el-input__suffix { /deep/ .el-input__suffix {
display: none !important; display: none !important;
} }
/deep/ #active1 .el-form-item__content { /deep/ #active1 .el-form-item__content {
margin-left: 0px !important; margin-left: 0px !important;
} }
/deep/ #active2 .el-form-item__content { /deep/ #active2 .el-form-item__content {
margin-left: 0px !important; margin-left: 0px !important;
} }
.bzrkStep1 { .bzrkStep1 {
/deep/ .el-drawer__container { /deep/ .el-drawer__container {
.prc-content-border { .prc-content-border {
@@ -2705,8 +2740,10 @@
padding: 0 20px 0; padding: 0 20px 0;
} }
} }
position: relative; position: relative;
height: 100%; height: 100%;
.headerTabs { .headerTabs {
height: 52px; height: 52px;
display: flex; display: flex;
@@ -2714,6 +2751,7 @@
position: absolute; position: absolute;
top: 0; top: 0;
right: 10px; right: 10px;
.headerTabsItem { .headerTabsItem {
border: 1px solid #c1c1c1; border: 1px solid #c1c1c1;
padding: 0 5px; padding: 0 5px;
@@ -2721,18 +2759,21 @@
line-height: 30px; line-height: 30px;
cursor: pointer; cursor: pointer;
} }
.active { .active {
border: 1px solid #E6A23C; border: 1px solid #E6A23C;
color: #fff; color: #fff;
background: #E6A23C; background: #E6A23C;
} }
} }
.content { .content {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
height: calc(~'100% - 103px'); height: calc(~'100% - 103px');
overflow: auto; overflow: auto;
.tableTitle { .tableTitle {
margin-bottom: 10px; margin-bottom: 10px;
height: 30px; height: 30px;
@@ -2740,6 +2781,7 @@
position: relative; position: relative;
font-size: 13px; font-size: 13px;
font-weight: bold; font-weight: bold;
.tableButton { .tableButton {
position: absolute; position: absolute;
right: 0; right: 0;
@@ -2748,20 +2790,25 @@
} }
} }
} }
.standard-content { .standard-content {
height: 100%; height: 100%;
padding: 10px 0 0; padding: 10px 0 0;
.content { .content {
height: 100%; height: 100%;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
padding: 0 10px; padding: 0 10px;
.standard-table-wrap { .standard-table-wrap {
flex: auto; flex: auto;
overflow-y: auto; overflow-y: auto;
} }
.pagination { .pagination {
position: static; position: static;
/deep/ .pagination-slot { /deep/ .pagination-slot {
padding: 0; padding: 0;
} }
@@ -145,6 +145,7 @@
<formEditList <formEditList
:key = "formKey" :key = "formKey"
:formSub = "form" :formSub = "form"
:is-true="true"
:FBGBUSSFileListSub = "FBGBUSSFileList" :FBGBUSSFileListSub = "FBGBUSSFileList"
:LSBBBUSSFileListSub = "LSBBBUSSFileList" :LSBBBUSSFileListSub = "LSBBBUSSFileList"
:BZSMBUSSFileListSub = "BZSMBUSSFileList" :BZSMBUSSFileListSub = "BZSMBUSSFileList"
@@ -21,6 +21,7 @@
<formEditList <formEditList
:key = "formKey" :key = "formKey"
:formSub = "form" :formSub = "form"
:isTrue="true"
:FBGBUSSFileListSub = "FBGBUSSFileList" :FBGBUSSFileListSub = "FBGBUSSFileList"
:LSBBBUSSFileListSub = "LSBBBUSSFileList" :LSBBBUSSFileListSub = "LSBBBUSSFileList"
:BZSMBUSSFileListSub = "BZSMBUSSFileList" :BZSMBUSSFileListSub = "BZSMBUSSFileList"
@@ -150,6 +150,7 @@
<formEditList <formEditList
:key = "formKey" :key = "formKey"
:formSub = "form" :formSub = "form"
:is-true="true"
:FBGBUSSFileListSub = "FBGBUSSFileList" :FBGBUSSFileListSub = "FBGBUSSFileList"
:LSBBBUSSFileListSub = "LSBBBUSSFileList" :LSBBBUSSFileListSub = "LSBBBUSSFileList"
:BZSMBUSSFileListSub = "BZSMBUSSFileList" :BZSMBUSSFileListSub = "BZSMBUSSFileList"