修改onlyoffice传参

This commit is contained in:
范强强
2023-02-16 13:42:32 +08:00
parent 4eeb7cbb81
commit ba5476b5fe
2 changed files with 3527 additions and 3367 deletions
+15
View File
@@ -21,6 +21,21 @@ export default (id,nodeName,userId,userName,query) => {
} }
const nowTime = new Date().getTime() const nowTime = new Date().getTime()
if (query){ 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+ window.open(onlyOfficeUrl+'/editor?fileId='+editFileInfo.id+'&pid='+editFileInfo.pId+
'&taskIds='+editFileInfo.taskId+'&editType='+editFileInfo.editType+'&oldFileName=' + showName + '&taskIds='+editFileInfo.taskId+'&editType='+editFileInfo.editType+'&oldFileName=' + showName +
'&fileType=' + 'docx' + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl + '&fileType=' + 'docx' + '&attId=' + editFileInfo.id + '&fileUrl=' + editFileInfo.downLoadUrl +
@@ -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="请选择企标实施日期"
@@ -198,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"
@@ -223,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"
@@ -246,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"
@@ -278,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="请输入文件上传人员"
@@ -287,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="请选择"
@@ -297,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>-->
@@ -310,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">
@@ -324,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="请选择"
@@ -335,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="请选择"
@@ -345,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>-->
@@ -381,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"
@@ -395,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"
@@ -409,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">
@@ -456,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"
@@ -573,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>
@@ -816,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"
@@ -836,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"
@@ -896,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>-->
@@ -911,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"
@@ -926,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"
@@ -934,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"
@@ -942,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"
@@ -1021,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
@@ -1139,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"
@@ -1162,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
@@ -1586,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'},
@@ -1601,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'},
@@ -1695,6 +1800,8 @@ export default {
syrzOptions: [],//适用认证下拉框 syrzOptions: [],//适用认证下拉框
data: [], // 标准列表数据 data: [], // 标准列表数据
ListForm: {}, // 新增数据 ListForm: {}, // 新增数据
fileId: '',
fileName: '',
} }
}, },
watch: { watch: {
@@ -1745,12 +1852,18 @@ export default {
handler: function (val) { handler: function (val) {
if (val && val !== '') { if (val && val !== '') {
this.form.FBGBUSSName = val this.form.FBGBUSSName = val
this.FBGBUSSFileList = [] if (this.FBGBUSSFileList.length > 0) {
this.FBGBUSSFileList = this.assemble(this.form.FBGBUSS, val); this.FBGBUSSFileList[0].name = val
}
// this.FBGBUSSFileList = []
// this.FBGBUSSFileList = this.assemble(this.form.FBGBUSS, val);
} else { } else {
this.form.FBGBUSSName = '企业标准' this.form.FBGBUSSName = '企业标准'
this.FBGBUSSFileList = [] if (this.FBGBUSSFileList.length > 0) {
this.FBGBUSSFileList = this.assemble(this.form.FBGBUSS, '企业标准'); this.FBGBUSSFileList[0].name = '企业标准'
}
// this.FBGBUSSFileList = []
// this.FBGBUSSFileList = this.assemble(this.form.FBGBUSS, '企业标准');
} }
} }
}, },
@@ -2133,12 +2246,12 @@ export default {
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
@@ -2147,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);
@@ -2211,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) {
@@ -2752,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 {
@@ -2798,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,
@@ -2829,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;
@@ -2852,7 +2975,8 @@ export default {
case 'GLWJBUSS': case 'GLWJBUSS':
this.GLWJBUSSFileList = fileList this.GLWJBUSSFileList = fileList
break; break;
default : ; default :
;
} }
}, },
drawerCheckZRBM(data) { drawerCheckZRBM(data) {
@@ -3078,9 +3202,9 @@ export default {
id = file.response.data.id id = file.response.data.id
} }
if (type === 'preview') { if (type === 'preview') {
this.$onlineEditPreview(id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName,this.form) this.$onlineEditPreview(id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, JSON.parse(JSON.stringify(this.form)))
} else { } else {
this.$onlineEdit(id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName,this.form) this.$onlineEdit(id, fileNam2, this.$store.getters.userInfo.userId, this.$store.getters.userInfo.userName, JSON.parse(JSON.stringify(this.form)))
} }
}, },
changeRestTree(val) { changeRestTree(val) {
@@ -3207,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)
@@ -3300,6 +3425,8 @@ export default {
if (res) { if (res) {
this.form.FBGBUSS = res.id this.form.FBGBUSS = res.id
this.form.FBGBUSSName = '企业标准' this.form.FBGBUSSName = '企业标准'
this.fileId = res.id
this.fileName = '企业标准'
this.FBGBUSSFileList = this.assemble(res.id, '企业标准'); this.FBGBUSSFileList = this.assemble(res.id, '企业标准');
} }
}) })
@@ -3314,15 +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 { .fileClassName {
margin-bottom: 10px; 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 {
@@ -3330,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;
@@ -3339,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;
@@ -3346,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;
@@ -3365,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;
@@ -3373,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