调整法规库编辑的提的sb 问题

This commit is contained in:
shenyanpei
2022-01-18 15:31:50 +08:00
parent 68471bda31
commit 11298ff68e
3 changed files with 962 additions and 912 deletions
@@ -15,6 +15,7 @@
format="yyyy-MM-dd" format="yyyy-MM-dd"
:value="value" :value="value"
type="date" type="date"
clearable
:editable="true" :editable="true"
:disabled="disabled" :disabled="disabled"
:placeholder="placeholder" :placeholder="placeholder"
@@ -197,7 +197,7 @@
:header-cell-style="{background: '#E8E8E8', color: '#333333', fontSize: '16px', :header-cell-style="{background: '#E8E8E8', color: '#333333', fontSize: '16px',
fontWeight: 'bold', height: '48px'}" fontWeight: 'bold', height: '48px'}"
@selection-change="standSelectChange"> @selection-change="standSelectChange">
<!-- v-if="isPermission('b17f1d035219c47344032e261342d87d,c09dc12531085e30e39bbdc6cb6116ba,5aedea192a77b14c364f19bdcee3513a')>0"--> <!-- v-if="isPermission('b17f1d035219c47344032e261342d87d,c09dc12531085e30e39bbdc6cb6116ba,5aedea192a77b14c364f19bdcee3513a')>0"-->
<el-table-column <el-table-column
type="selection" type="selection"
min-width="5%" min-width="5%"
@@ -503,7 +503,7 @@
class="add-form-item" class="add-form-item"
> >
<template slot="label">是否纳入认证清单</template> <template slot="label">是否纳入认证清单</template>
<el-select v-model="sarStandardsInfoEO.isRelateAccess" @change="isRegulationsChange"> <el-select v-model="sarStandardsInfoEO.isRelateAccess" clearable @change="isRegulationsChange">
<el-option value="1" label="是" key="1"></el-option> <el-option value="1" label="是" key="1"></el-option>
<el-option value="2" label="否" key="2"></el-option> <el-option value="2" label="否" key="2"></el-option>
</el-select> </el-select>
@@ -547,7 +547,7 @@
:disabled="formdisableflag" :disabled="formdisableflag"
></custom-date-pick-group> ></custom-date-pick-group>
</template> </template>
<!-- 关联信息-代替标准号--> <!-- 关联信息-代替标准号-->
<template <template
v-else-if="field.attrType === 'INPUT_STR' && field.attrField !== 'XGLC' && field.attrField !== 'CHJL'"> v-else-if="field.attrType === 'INPUT_STR' && field.attrField !== 'XGLC' && field.attrField !== 'CHJL'">
<template <template
@@ -568,6 +568,7 @@
> >
<template slot="label">关联模块--乘用车VPPS编码</template> <template slot="label">关联模块--乘用车VPPS编码</template>
<el-input v-model="sarStandardsInfoEO.CYCVPPSBM" placeholder="选择乘用车VPPS编码" <el-input v-model="sarStandardsInfoEO.CYCVPPSBM" placeholder="选择乘用车VPPS编码"
clearable
@click.native="choiceZRR2('cycvppsbm', '乘用车VPPS', sarStandardsInfoEO.cycvppsbm)"></el-input> @click.native="choiceZRR2('cycvppsbm', '乘用车VPPS', sarStandardsInfoEO.cycvppsbm)"></el-input>
</el-form-item> </el-form-item>
</template> </template>
@@ -579,6 +580,7 @@
> >
<template slot="label">关联模块--卡车VPPS编码</template> <template slot="label">关联模块--卡车VPPS编码</template>
<el-input v-model="sarStandardsInfoEO.KCCVPPSBM" placeholder="选择卡车VPPS编码" <el-input v-model="sarStandardsInfoEO.KCCVPPSBM" placeholder="选择卡车VPPS编码"
clearable
@click.native="choiceZRR3('kccvppsbm', '卡车VPPS', sarStandardsInfoEO.kccvppsbm)"></el-input> @click.native="choiceZRR3('kccvppsbm', '卡车VPPS', sarStandardsInfoEO.kccvppsbm)"></el-input>
</el-form-item> </el-form-item>
</template> </template>
@@ -590,6 +592,7 @@
> >
<template slot="label">模块结构单元变型号</template> <template slot="label">模块结构单元变型号</template>
<el-input v-model="sarStandardsInfoEO.DYBXH" placeholder="选择模块结构单元变型号" <el-input v-model="sarStandardsInfoEO.DYBXH" placeholder="选择模块结构单元变型号"
clearable
@click.native="choiceZRR4('dybxh', '模块结构单元', sarStandardsInfoEO.dybxh)"></el-input> @click.native="choiceZRR4('dybxh', '模块结构单元', sarStandardsInfoEO.dybxh)"></el-input>
</el-form-item> </el-form-item>
</template> </template>
@@ -597,7 +600,15 @@
<el-form-item title="关联模块--乘用车VPPS中文名称" label="关联模块--乘用车VPPS中文名称" label-width="150px" <el-form-item title="关联模块--乘用车VPPS中文名称" label="关联模块--乘用车VPPS中文名称" label-width="150px"
prop="cycvppscn" class="add-form-item"> prop="cycvppscn" class="add-form-item">
<el-input <el-input
v-model="sarStandardsInfoEO.CYCVPPSCN" disabled v-if="sarStandardsInfoEO.CYCVPPSBM === '' || sarStandardsInfoEO.CYCVPPSBM === undefined"
v-model="sarStandardsInfoEO.CYCVPPSCN = ''"
disabled
clearable
></el-input>
<el-input
v-else
v-model="sarStandardsInfoEO.CYCVPPSCN"
disabled
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
@@ -606,7 +617,15 @@
<el-form-item title="关联模块--卡车VPPS中文名称" label="关联模块--卡车VPPS中文名称" label-width="150px" prop="kccvppscn" <el-form-item title="关联模块--卡车VPPS中文名称" label="关联模块--卡车VPPS中文名称" label-width="150px" prop="kccvppscn"
class="add-form-item"> class="add-form-item">
<el-input <el-input
v-model="sarStandardsInfoEO.KCCVPPSCN" disabled v-if="sarStandardsInfoEO.KCCVPPSBM === '' || sarStandardsInfoEO.KCCVPPSBM === undefined"
v-model="sarStandardsInfoEO.KCCVPPSCN = ''"
disabled
clearable
></el-input>
<el-input
v-else
v-model="sarStandardsInfoEO.KCCVPPSCN"
disabled
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
@@ -614,7 +633,15 @@
<template v-else-if="field.attrField === 'DYMC'"> <template v-else-if="field.attrField === 'DYMC'">
<el-form-item label="模块结构单元名称" label-width="150px" prop="dymc" class="add-form-item"> <el-form-item label="模块结构单元名称" label-width="150px" prop="dymc" class="add-form-item">
<el-input <el-input
v-model="sarStandardsInfoEO.DYMC" disabled v-if="sarStandardsInfoEO.DYBXH === '' || sarStandardsInfoEO.DYBXH === undefined"
v-model="sarStandardsInfoEO.DYMC = ''"
disabled
clearable
></el-input>
<el-input
v-else
v-model="sarStandardsInfoEO.DYMC"
disabled
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
@@ -702,14 +729,14 @@
<template slot="label">责任工程师</template> <template slot="label">责任工程师</template>
<el-input v-model="sarStandardsInfoEO['ZRGCS']" placeholder="选择责任工程师" @click.native="choiceZRRS('zrgcs', '选择责任工程师', sarStandardsInfoEO['ZRGCS'])"> <el-input v-model="sarStandardsInfoEO['ZRGCS']" placeholder="选择责任工程师" @click.native="choiceZRRS('zrgcs', '选择责任工程师', sarStandardsInfoEO['ZRGCS'])">
</el-input> </el-input>
<!-- <el-input--> <!-- <el-input-->
<!-- :key="field.attrField"--> <!-- :key="field.attrField"-->
<!-- :config="field"--> <!-- :config="field"-->
<!-- clearable--> <!-- clearable-->
<!-- v-model="sarStandardsInfoEO['ZRGCS']"--> <!-- v-model="sarStandardsInfoEO['ZRGCS']"-->
<!-- :disabled="formdisableflag" placeholder="选择责任工程师"--> <!-- :disabled="formdisableflag" placeholder="选择责任工程师"-->
<!-- @click.native="choiceRole('ZRGCSUserId', '责任工程师', sarStandardsInfoEO.ZRGCSUserId)">--> <!-- @click.native="choiceRole('ZRGCSUserId', '责任工程师', sarStandardsInfoEO.ZRGCSUserId)">-->
<!-- </el-input>--> <!-- </el-input>-->
</el-form-item> </el-form-item>
</template> </template>
<template v-else-if="field.attrField === 'WSSMR'"> <template v-else-if="field.attrField === 'WSSMR'">
@@ -721,14 +748,14 @@
<template slot="label">我司署名人</template> <template slot="label">我司署名人</template>
<el-input clearable v-model="sarStandardsInfoEO['WSSMR']" placeholder="选择我司署名人" @click.native="choiceZRRS('wssmr', '选择我司署名人', sarStandardsInfoEO['WSSMR'])"> <el-input clearable v-model="sarStandardsInfoEO['WSSMR']" placeholder="选择我司署名人" @click.native="choiceZRRS('wssmr', '选择我司署名人', sarStandardsInfoEO['WSSMR'])">
</el-input> </el-input>
<!-- <el-input--> <!-- <el-input-->
<!-- :key="field.attrField"--> <!-- :key="field.attrField"-->
<!-- :config="field"--> <!-- :config="field"-->
<!-- clearable--> <!-- clearable-->
<!-- v-model="sarStandardsInfoEO['WSSMR']"--> <!-- v-model="sarStandardsInfoEO['WSSMR']"-->
<!-- :disabled="formdisableflag" placeholder="选择我司署名人"--> <!-- :disabled="formdisableflag" placeholder="选择我司署名人"-->
<!-- @click.native="choiceRole('WSSMRUserId', '我司署名人', sarStandardsInfoEO.WSSMRUserId)">--> <!-- @click.native="choiceRole('WSSMRUserId', '我司署名人', sarStandardsInfoEO.WSSMRUserId)">-->
<!-- </el-input>--> <!-- </el-input>-->
</el-form-item> </el-form-item>
</template> </template>
<template v-else-if="field.attrField === 'QCDW'"> <template v-else-if="field.attrField === 'QCDW'">
@@ -743,9 +770,6 @@
<el-input <el-input
:config="field" :config="field"
clearable clearable
type="textarea"
resize="none"
:autosize="true"
v-model="sarStandardsInfoEO['QCDW']" v-model="sarStandardsInfoEO['QCDW']"
:disabled="formdisableflag" placeholder="选择或输入起草单位"> :disabled="formdisableflag" placeholder="选择或输入起草单位">
</el-input> </el-input>
@@ -763,13 +787,14 @@
size="mini" size="mini"
type="primary" type="primary"
@click="QCDWClick(field.options)" @click="QCDWClick(field.options)"
class="common-button-primary">手动查找</el-button> class="common-button-primary">手动查找
</el-button>
</div> </div>
</div> </div>
<!-- @click.native="choiceZRBM('QCDWId', '起草单位', sarStandardsInfoEO.QCDWId)">--> <!-- @click.native="choiceZRBM('QCDWId', '起草单位', sarStandardsInfoEO.QCDWId)">-->
</el-form-item> </el-form-item>
</template> </template>
<!-- 全选--> <!-- 全选-->
<template v-else> <template v-else>
<custom-select-array <custom-select-array
:config="field" :config="field"
@@ -1059,16 +1084,16 @@
{{ formatIssueDate(scope.row.issueTime) }} {{ formatIssueDate(scope.row.issueTime) }}
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column--> <!-- <el-table-column-->
<!-- prop="XCXSSRQ"--> <!-- prop="XCXSSRQ"-->
<!-- label="实施日期"--> <!-- label="实施日期"-->
<!-- sortable="custom"--> <!-- sortable="custom"-->
<!-- width="120"--> <!-- width="120"-->
<!-- align="center">--> <!-- align="center">-->
<!-- <template slot-scope="scope">--> <!-- <template slot-scope="scope">-->
<!-- <span>{{ formatText(scope.row.XCXSSRQ) }}</span>--> <!-- <span>{{ formatText(scope.row.XCXSSRQ) }}</span>-->
<!-- </template>--> <!-- </template>-->
<!-- </el-table-column>--> <!-- </el-table-column>-->
<el-table-column <el-table-column
prop="ssrq" prop="ssrq"
label="实施日期" label="实施日期"
@@ -1684,15 +1709,15 @@
v-model="sarStandardsSearch['CLLX']" v-model="sarStandardsSearch['CLLX']"
></custom-select-array> ></custom-select-array>
</template> </template>
<!-- <el-form-item :label="$t('m.applicableModels')" class="add-form-item form-item-disabled">--> <!-- <el-form-item :label="$t('m.applicableModels')" class="add-form-item form-item-disabled">-->
<!-- <el-select v-model="sarStandardsSearch.applyArctic"--> <!-- <el-select v-model="sarStandardsSearch.applyArctic"-->
<!-- :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable--> <!-- :placeholder="$t('m.searchAccordingToThApplicableModel')" clearable-->
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">--> <!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
<!-- <el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value"--> <!-- <el-option v-for="opt in applyArcticOptions" :value="opt.value === undefined ? '' :opt.value"-->
<!-- :key="opt.value" :label="opt.label">{{ opt.label }}--> <!-- :key="opt.value" :label="opt.label">{{ opt.label }}-->
<!-- </el-option>--> <!-- </el-option>-->
<!-- </el-select>--> <!-- </el-select>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<!-- 适用认证--> <!-- 适用认证-->
<template> <template>
<custom-select-array <custom-select-array
@@ -1701,15 +1726,15 @@
v-model="advanceSearchMapping['SYRZ']" v-model="advanceSearchMapping['SYRZ']"
></custom-select-array> ></custom-select-array>
</template> </template>
<!-- <el-form-item label="适用认证" class="add-form-item form-item-disabled">--> <!-- <el-form-item label="适用认证" class="add-form-item form-item-disabled">-->
<!-- <el-select v-model="advanceSearchMapping.SYRZ" placeholder="根据适用认证查找" clearable--> <!-- <el-select v-model="advanceSearchMapping.SYRZ" placeholder="根据适用认证查找" clearable-->
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">--> <!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
<!-- <el-option v-for="opt in syrzOptions" :value="opt.value === undefined ? '' :opt.value"--> <!-- <el-option v-for="opt in syrzOptions" :value="opt.value === undefined ? '' :opt.value"-->
<!-- :key="opt.value"--> <!-- :key="opt.value"-->
<!-- :label="opt.label">{{ opt.label }}--> <!-- :label="opt.label">{{ opt.label }}-->
<!-- </el-option>--> <!-- </el-option>-->
<!-- </el-select>--> <!-- </el-select>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<!-- 责任工程师--> <!-- 责任工程师-->
<template> <template>
<el-form-item <el-form-item
@@ -1723,22 +1748,22 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
</template> </template>
<!-- <template>--> <!-- <template>-->
<!-- <custom-select-array--> <!-- <custom-select-array-->
<!-- :key="zrgcsOptions.options"--> <!-- :key="zrgcsOptions.options"-->
<!-- :config="zrgcsOptions"--> <!-- :config="zrgcsOptions"-->
<!-- v-model="advanceSearchMapping['ZRGCS']"--> <!-- v-model="advanceSearchMapping['ZRGCS']"-->
<!-- ></custom-select-array>--> <!-- ></custom-select-array>-->
<!-- </template>--> <!-- </template>-->
<!-- <el-form-item label="责任工程师" class="add-form-item form-item-disabled">--> <!-- <el-form-item label="责任工程师" class="add-form-item form-item-disabled">-->
<!-- <el-select v-model="advanceSearchMapping.ZRGCS" placeholder="根据责任工程师查找" clearable filterable--> <!-- <el-select v-model="advanceSearchMapping.ZRGCS" placeholder="根据责任工程师查找" clearable filterable-->
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">--> <!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
<!-- <el-option v-for="opt in zrgcsOptions" :value="opt.value === undefined ? '' :opt.value"--> <!-- <el-option v-for="opt in zrgcsOptions" :value="opt.value === undefined ? '' :opt.value"-->
<!-- :key="opt.value"--> <!-- :key="opt.value"-->
<!-- :label="opt.label">{{ opt.label }}--> <!-- :label="opt.label">{{ opt.label }}-->
<!-- </el-option>--> <!-- </el-option>-->
<!-- </el-select>--> <!-- </el-select>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<!-- 关联模块--乘用车VPPS编码--> <!-- 关联模块--乘用车VPPS编码-->
<el-form-item title="关联模块--乘用车VPPS编码" label=" 关联模块--乘用车VPPS编码" prop="standNumber" <el-form-item title="关联模块--乘用车VPPS编码" label=" 关联模块--乘用车VPPS编码" prop="standNumber"
class="add-form-item form-item-disabled"> class="add-form-item form-item-disabled">
@@ -1781,15 +1806,15 @@
v-model="advanceSearchMapping['NYLX']" v-model="advanceSearchMapping['NYLX']"
></custom-select-array> ></custom-select-array>
</template> </template>
<!-- <el-form-item label="能源类型" class="add-form-item form-item-disabled">--> <!-- <el-form-item label="能源类型" class="add-form-item form-item-disabled">-->
<!-- <el-select v-model="advanceSearchMapping.NYLX" placeholder="请选择能源类型" clearable--> <!-- <el-select v-model="advanceSearchMapping.NYLX" placeholder="请选择能源类型" clearable-->
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">--> <!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
<!-- <el-option v-for="opt in nylxOptions" :value="opt.value === undefined ? '' :opt.value"--> <!-- <el-option v-for="opt in nylxOptions" :value="opt.value === undefined ? '' :opt.value"-->
<!-- :key="opt.value"--> <!-- :key="opt.value"-->
<!-- :label="opt.label">{{ opt.label }}--> <!-- :label="opt.label">{{ opt.label }}-->
<!-- </el-option>--> <!-- </el-option>-->
<!-- </el-select>--> <!-- </el-select>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<!-- 适用产品线(新增字段)--> <!-- 适用产品线(新增字段)-->
<template> <template>
<custom-select-array <custom-select-array
@@ -1798,16 +1823,16 @@
v-model="advanceSearchMapping['SYCPX']" v-model="advanceSearchMapping['SYCPX']"
></custom-select-array> ></custom-select-array>
</template> </template>
<!-- <el-form-item :label="$t('m.applicableProductLine')" class="add-form-item form-item-disabled">--> <!-- <el-form-item :label="$t('m.applicableProductLine')" class="add-form-item form-item-disabled">-->
<!-- <el-select v-model="advanceSearchMapping.SYCPX" :placeholder="$t('m.searchByApplicableProductLine')"--> <!-- <el-select v-model="advanceSearchMapping.SYCPX" :placeholder="$t('m.searchByApplicableProductLine')"-->
<!-- clearable--> <!-- clearable-->
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">--> <!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
<!-- <el-option v-for="opt in sycpxOptions" :value="opt.value === undefined ? '' :opt.value"--> <!-- <el-option v-for="opt in sycpxOptions" :value="opt.value === undefined ? '' :opt.value"-->
<!-- :key="opt.value"--> <!-- :key="opt.value"-->
<!-- :label="opt.label">{{ opt.label }}--> <!-- :label="opt.label">{{ opt.label }}-->
<!-- </el-option>--> <!-- </el-option>-->
<!-- </el-select>--> <!-- </el-select>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<!-- 责任部门--> <!-- 责任部门-->
<template> <template>
<el-form-item <el-form-item
@@ -1825,22 +1850,22 @@
</el-input> </el-input>
</el-form-item> </el-form-item>
</template> </template>
<!-- <template>--> <!-- <template>-->
<!-- <custom-select-array--> <!-- <custom-select-array-->
<!-- :key="zrbmOptions.options"--> <!-- :key="zrbmOptions.options"-->
<!-- :config="zrbmOptions"--> <!-- :config="zrbmOptions"-->
<!-- v-model="advanceSearchMapping['ZRBM']"--> <!-- v-model="advanceSearchMapping['ZRBM']"-->
<!-- ></custom-select-array>--> <!-- ></custom-select-array>-->
<!-- </template>--> <!-- </template>-->
<!-- <el-form-item label="责任部门" class="add-form-item form-item-disabled">--> <!-- <el-form-item label="责任部门" class="add-form-item form-item-disabled">-->
<!-- <el-select v-model="advanceSearchMapping.ZRBM" placeholder="根据责任部门查找" clearable filterable--> <!-- <el-select v-model="advanceSearchMapping.ZRBM" placeholder="根据责任部门查找" clearable filterable-->
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">--> <!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)">-->
<!-- <el-option v-for="opt in zrbmOptions" :value="opt.value === undefined ? '' :opt.value"--> <!-- <el-option v-for="opt in zrbmOptions" :value="opt.value === undefined ? '' :opt.value"-->
<!-- :key="opt.value"--> <!-- :key="opt.value"-->
<!-- :label="opt.label">{{ opt.label }}--> <!-- :label="opt.label">{{ opt.label }}-->
<!-- </el-option>--> <!-- </el-option>-->
<!-- </el-select>--> <!-- </el-select>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<!--关联模块--卡车VPPS编码--> <!--关联模块--卡车VPPS编码-->
<el-form-item title="关联模块--卡车VPPS编码" label="关联模块--卡车VPPS编码" prop="standNumber" <el-form-item title="关联模块--卡车VPPS编码" label="关联模块--卡车VPPS编码" prop="standNumber"
class="add-form-item form-item-disabled"> class="add-form-item form-item-disabled">
@@ -1886,10 +1911,10 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<!-- 被代替标准号--> <!-- 被代替标准号-->
<!-- <el-form-item label="被代替标准号" class="add-form-item form-item-disabled">--> <!-- <el-form-item label="被代替标准号" class="add-form-item form-item-disabled">-->
<!-- <el-input v-model="sarStandardsSearch.replacedStandNum" clearable placeholder="根据被代替标准号查找"--> <!-- <el-input v-model="sarStandardsSearch.replacedStandNum" clearable placeholder="根据被代替标准号查找"-->
<!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>--> <!-- @keyup.enter.native="getDomesticStandardTableBtn(sarStandardsSearch)"></el-input>-->
<!-- </el-form-item>--> <!-- </el-form-item>-->
<!-- 引用标准--> <!-- 引用标准-->
<el-form-item label="引用标准" class="add-form-item form-item-disabled"> <el-form-item label="引用标准" class="add-form-item form-item-disabled">
<el-input v-model="advanceSearchMapping.YYBJ" clearable placeholder="根据引用标准查找" <el-input v-model="advanceSearchMapping.YYBJ" clearable placeholder="根据引用标准查找"
@@ -2004,7 +2029,10 @@
<loading :loading="OCRLoading">数据加载中……</loading> <loading :loading="OCRLoading">数据加载中……</loading>
<div class="demo-drawer-footer"> <div class="demo-drawer-footer">
<el-button size="mini" @click="OCRclose">取消</el-button> <el-button size="mini" @click="OCRclose">取消</el-button>
<el-button type="primary" :loading="OCRSubmitLoading" size="mini" @click="OCRsubmit">{{ OCRSubmitButton }}</el-button> <el-button type="primary" :loading="OCRSubmitLoading" size="mini" @click="OCRsubmit">{{
OCRSubmitButton
}}
</el-button>
</div> </div>
</div> </div>
</el-drawer> </el-drawer>
@@ -2240,7 +2268,7 @@ export default {
// sycpxOptions: [], // 适用产品线 // sycpxOptions: [], // 适用产品线
syzrOptions: { syzrOptions: {
attrName: '适用认证', attrName: '适用认证',
options:[] options: []
}, // 适用认证 }, // 适用认证
// zrgcsOptions: [], // 责任工程师 // zrgcsOptions: [], // 责任工程师
@@ -2250,32 +2278,32 @@ export default {
standSystemOptions: [], // 标准体系下拉框 standSystemOptions: [], // 标准体系下拉框
sycpxOptions: { sycpxOptions: {
attrName: '适用产品线', attrName: '适用产品线',
options:[] options: []
}, // 适用产品线下拉框 }, // 适用产品线下拉框
zrbmOptions: { zrbmOptions: {
attrName: '责任部门', attrName: '责任部门',
options:[] options: []
}, // 责任部门下拉框 }, // 责任部门下拉框
zrgcsOptions: { zrgcsOptions: {
attrName: '责任工程师', attrName: '责任工程师',
options:[] options: []
}, // 责任工程师下拉框 }, // 责任工程师下拉框
txlbOptions: [], // 体系类别下拉框 txlbOptions: [], // 体系类别下拉框
standSortConfigOptions: [], // 标准类别下拉框 standSortConfigOptions: [], // 标准类别下拉框
applyArcticOptions: { applyArcticOptions: {
attrName: '适用车型', attrName: '适用车型',
options:[] options: []
}, // 适用车型下拉框 }, // 适用车型下拉框
standStateOptions: [], // 标准状态下拉框 standStateOptions: [], // 标准状态下拉框
standNatureOptions: [], // 标准性质下拉框 standNatureOptions: [], // 标准性质下拉框
adoptExtentOptions: [], // 采标程度下拉框 adoptExtentOptions: [], // 采标程度下拉框
emergyKindOptions: { emergyKindOptions: {
attrName: '能源种类', attrName: '能源种类',
options:[] options: []
}, // 能源种类下拉框 }, // 能源种类下拉框
applyAuthOptions: { applyAuthOptions: {
attrName: '适用认证', attrName: '适用认证',
options:[] options: []
}, // 适用认证下拉框 }, // 适用认证下拉框
categoryOptions: [], // 所属类别下拉框 categoryOptions: [], // 所属类别下拉框
categoryConfigOptions: [], // 所属类别下拉框 categoryConfigOptions: [], // 所属类别下拉框
@@ -2284,11 +2312,11 @@ export default {
cysdOptions: [], //我司参与深度下拉框 cysdOptions: [], //我司参与深度下拉框
nylxOptions: { nylxOptions: {
attrName: '能源类型', attrName: '能源类型',
options:[] options: []
},//能源类型下拉框 },//能源类型下拉框
syrzOptions: { syrzOptions: {
attrName: '适用认证', attrName: '适用认证',
options:[] options: []
},//适用认证下拉框 },//适用认证下拉框
gkglbmOptions: [],//归口管理部门下拉框 gkglbmOptions: [],//归口管理部门下拉框
@@ -3344,31 +3372,31 @@ export default {
let SSRQStr = '' let SSRQStr = ''
let ZCCSSRQStr = '' let ZCCSSRQStr = ''
let XCXSSRQStr = '' let XCXSSRQStr = ''
if (res.data.attrInfoMap.SSRQ != null && res.data.attrInfoMap.SSRQ!= ''){ if (res.data.attrInfoMap.SSRQ != null && res.data.attrInfoMap.SSRQ != '') {
let SSRQ = res.data.attrInfoMap.SSRQ.split(',') let SSRQ = res.data.attrInfoMap.SSRQ.split(',')
for (let i = 0; i < SSRQ.length; i++) { for (let i = 0; i < SSRQ.length; i++) {
SSRQStr += SSRQ[i].substring(0,10)+',' SSRQStr += SSRQ[i].substring(0, 10) + ','
} }
SSRQStr = SSRQStr.substring(0,SSRQStr.length-1) SSRQStr = SSRQStr.substring(0, SSRQStr.length - 1)
} }
if (res.data.attrInfoMap.ZCCSSRQ != null && res.data.attrInfoMap.ZCCSSRQ!= '') { if (res.data.attrInfoMap.ZCCSSRQ != null && res.data.attrInfoMap.ZCCSSRQ != '') {
let ZCCSSRQ = res.data.attrInfoMap.ZCCSSRQ.split(',') let ZCCSSRQ = res.data.attrInfoMap.ZCCSSRQ.split(',')
for (let i = 0; i < ZCCSSRQ.length; i++) { for (let i = 0; i < ZCCSSRQ.length; i++) {
ZCCSSRQStr += ZCCSSRQ[i].substring(0,10)+',' ZCCSSRQStr += ZCCSSRQ[i].substring(0, 10) + ','
} }
ZCCSSRQStr = ZCCSSRQStr.substring(0,ZCCSSRQStr.length-1) ZCCSSRQStr = ZCCSSRQStr.substring(0, ZCCSSRQStr.length - 1)
} }
if (res.data.attrInfoMap.XCXSSRQ != null && res.data.attrInfoMap.XCXSSRQ!= '') { if (res.data.attrInfoMap.XCXSSRQ != null && res.data.attrInfoMap.XCXSSRQ != '') {
let XCXSSRQ = res.data.attrInfoMap.XCXSSRQ.split(',') let XCXSSRQ = res.data.attrInfoMap.XCXSSRQ.split(',')
for (let i = 0; i < XCXSSRQ.length; i++) { for (let i = 0; i < XCXSSRQ.length; i++) {
XCXSSRQStr += XCXSSRQ[i].substring(0,10)+',' XCXSSRQStr += XCXSSRQ[i].substring(0, 10) + ','
} }
XCXSSRQStr = XCXSSRQStr.substring(0,XCXSSRQStr.length-1) XCXSSRQStr = XCXSSRQStr.substring(0, XCXSSRQStr.length - 1)
} }
res.data.attrInfoMap.SSRQ = SSRQStr res.data.attrInfoMap.SSRQ = SSRQStr
res.data.attrInfoMap.ZCCSSRQ = ZCCSSRQStr res.data.attrInfoMap.ZCCSSRQ = ZCCSSRQStr
@@ -4341,28 +4369,28 @@ export default {
const advanceSearchVOList = []; const advanceSearchVOList = [];
for (let key in this.advanceSearchMapping) { for (let key in this.advanceSearchMapping) {
const value = this.advanceSearchMapping[key]; const value = this.advanceSearchMapping[key];
if (value !== null && value !== '' && (key === 'NYLX' || key === 'SYRZ' || key === 'SYCPX' || (item.CLLX&&item.CLLX.length>0)) ){ if (value !== null && value !== '' && (key === 'NYLX' || key === 'SYRZ' || key === 'SYCPX' || (item.CLLX && item.CLLX.length > 0))) {
advanceSearchVOList.push({ advanceSearchVOList.push({
connect: "and", connect: "and",
field: key || '', field: key || '',
type: 'regexp', type: 'regexp',
value: value.join(',') value: value.join(',')
}); });
}else if (value !== null && value !== '' && (key === 'SSRQ' || key === 'XCXSSRQ' || key === 'ZCCSSRQ' )){ } else if (value !== null && value !== '' && (key === 'SSRQ' || key === 'XCXSSRQ' || key === 'ZCCSSRQ')) {
advanceSearchVOList.push({ advanceSearchVOList.push({
connect: "and", connect: "and",
field: key || '', field: key || '',
type: 'between', type: 'between',
value: value.join(',') value: value.join(',')
}); });
}else if (value !== null && value !== '' && (key === 'BARQ')){ } else if (value !== null && value !== '' && (key === 'BARQ')) {
advanceSearchVOList.push({ advanceSearchVOList.push({
connect: "and", connect: "and",
field: key || '', field: key || '',
type: 'equals', type: 'equals',
value: value value: value
}); });
}else if (value !== null && value !== ''){ } else if (value !== null && value !== '') {
advanceSearchVOList.push({ advanceSearchVOList.push({
connect: "and", connect: "and",
field: key || '', field: key || '',
@@ -4374,8 +4402,8 @@ export default {
} }
formData.advanceSearchVOStr = JSON.stringify(advanceSearchVOList); formData.advanceSearchVOStr = JSON.stringify(advanceSearchVOList);
this.SarExportSearchEo = formData this.SarExportSearchEo = formData
formData.startIssueTime = formData.issueTime?formData.issueTime[0]:null formData.startIssueTime = formData.issueTime ? formData.issueTime[0] : null
formData.endIssueTime = formData.issueTime?formData.issueTime[1]:null formData.endIssueTime = formData.issueTime ? formData.issueTime[1] : null
formData.issueTime = null formData.issueTime = null
this.loading = true this.loading = true
this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', formData, { this.$http.get('sarStandardsInfo/sar-standards-info/getSarStandardsInfoPage', formData, {
@@ -5587,17 +5615,17 @@ export default {
this.$set(this.textStatusMap, item.value, item.label) this.$set(this.textStatusMap, item.value, item.label)
}) })
}, },
choiceZRRS (type, title, id) { choiceZRRS(type, title, id) {
this.nodeList = [] this.nodeList = []
this.nodeList.push(id) this.nodeList.push(id)
this.userType = type this.userType = type
this.drawerTitle = title this.drawerTitle = title
this.modalShowRoleFlag = true this.modalShowRoleFlag = true
}, },
checkedRole2 (data) { checkedRole2(data) {
let idList = '' let idList = ''
let nameList = '' let nameList = ''
data.forEach( item => { data.forEach(item => {
if (nameList.length > 0) { if (nameList.length > 0) {
nameList += ',' nameList += ','
idList += ',' idList += ','
@@ -5605,11 +5633,11 @@ export default {
idList += item.id idList += item.id
nameList += item.name nameList += item.name
}) })
if (this.drawerTitle === '选择我司署名人'){ if (this.drawerTitle === '选择我司署名人') {
this.sarStandardsInfoEO['WSSMR'] = nameList this.sarStandardsInfoEO['WSSMR'] = nameList
}else if (this.drawerTitle === '选择责任工程师'){ } else if (this.drawerTitle === '选择责任工程师') {
this.sarStandardsInfoEO['ZRGCS'] = nameList this.sarStandardsInfoEO['ZRGCS'] = nameList
}else if (this.drawerTitle === '查询责任工程师'){ } else if (this.drawerTitle === '查询责任工程师') {
this.advanceSearchMapping['ZRGCS'] = nameList this.advanceSearchMapping['ZRGCS'] = nameList
} }
@@ -5655,10 +5683,10 @@ export default {
nameList += item.name nameList += item.name
// } // }
}) })
if (this.drawerTitle === '责任部门'){ if (this.drawerTitle === '责任部门') {
this.sarStandardsInfoEO.ZRBMId = idList; this.sarStandardsInfoEO.ZRBMId = idList;
this.sarStandardsInfoEO['ZRBM'] = nameList; this.sarStandardsInfoEO['ZRBM'] = nameList;
}else if (this.drawerTitle === '查询责任部门'){ } else if (this.drawerTitle === '查询责任部门') {
this.advanceSearchMapping['ZRBM'] = nameList this.advanceSearchMapping['ZRBM'] = nameList
} }
@@ -5686,8 +5714,6 @@ export default {
} }
} }
}, },
created() {
},
async mounted() { async mounted() {
// 进入页面后查询树形结构目录 // 进入页面后查询树形结构目录
await this.selectMenu() await this.selectMenu()
@@ -5763,7 +5789,7 @@ export default {
overflow-x: scroll; overflow-x: scroll;
} }
/deep/ .label-input-form .add-form-item .el-form-item__content .el-input .el-input__inner{ /deep/ .label-input-form .add-form-item .el-form-item__content .el-input .el-input__inner {
width: 280px; width: 280px;
} }
@@ -955,22 +955,22 @@
placeholder="请输入标准英文名称" placeholder="请输入标准英文名称"
clearable></el-input> clearable></el-input>
</el-form-item> </el-form-item>
<!-- <el-form-item prop="standNature" label-width="150px" class="add-form-item">--> <!-- <el-form-item prop="standNature" label-width="150px" class="add-form-item">
<!-- <template slot="label">标准性质</template>--> <template slot="label">标准性质</template>
<!-- <el-select v-model="sarStandardsInfoEO.standNature"--> <el-select v-model="sarStandardsInfoEO.standNature"
<!-- placeholder="请选择标准性质"--> placeholder="请选择标准性质"
<!-- clearable>--> clearable>
<!-- <el-option--> <el-option
<!-- v-for="item in standNatureOptions"--> v-for="item in standNatureOptions"
<!-- placeholder="请选择"--> placeholder="请选择"
<!-- :key="item.value"--> :key="item.value"
<!-- :value="item.value"--> :value="item.value"
<!-- :label="item.label"--> :label="item.label"
<!-- >--> >
<!-- {{ item.label }}--> {{ item.label }}
<!-- </el-option>--> </el-option>
<!-- </el-select>--> </el-select>
<!-- </el-form-item>--> </el-form-item>-->
<el-form-item title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。" <el-form-item title="“计划修订”、“修订中”均为现行有效版本;“已修订”标准的有效性根据实际实施情况判定。"
prop="standState" label-width="150px" class="add-form-item"> prop="standState" label-width="150px" class="add-form-item">
<template slot="label">文本状态</template> <template slot="label">文本状态</template>
@@ -988,10 +988,7 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<custom-date-pick <custom-date-pick
:config="{ :config="{ attrName: '发布日期',attrField: 'issueTime'}"
attrName: '发布日期',
attrField: 'issueTime'
}"
v-model="sarStandardsInfoEO.issueTime" v-model="sarStandardsInfoEO.issueTime"
:disabled="formdisableflag" :disabled="formdisableflag"
></custom-date-pick> ></custom-date-pick>
@@ -1002,7 +999,7 @@
class="add-form-item" class="add-form-item"
> >
<template slot="label">是否纳入认证清单</template> <template slot="label">是否纳入认证清单</template>
<el-select v-model="sarStandardsInfoEO.isRelateAccess" @change="isRegulationsChange"> <el-select v-model="sarStandardsInfoEO.isRelateAccess" clearable @change="isRegulationsChange">
<el-option value="1" label="是" key="1"></el-option> <el-option value="1" label="是" key="1"></el-option>
<el-option value="2" label="否" key="2"></el-option> <el-option value="2" label="否" key="2"></el-option>
</el-select> </el-select>
@@ -1072,6 +1069,7 @@
> >
<template slot="label">关联模块--乘用车VPPS编码</template> <template slot="label">关联模块--乘用车VPPS编码</template>
<el-input v-model="sarStandardsInfoEO.CYCVPPSBM" placeholder="选择乘用车VPPS编码" <el-input v-model="sarStandardsInfoEO.CYCVPPSBM" placeholder="选择乘用车VPPS编码"
clearable
@click.native="choiceZRR2('cycvppsbm', '乘用车VPPS', sarStandardsInfoEO.cycvppsbm)"></el-input> @click.native="choiceZRR2('cycvppsbm', '乘用车VPPS', sarStandardsInfoEO.cycvppsbm)"></el-input>
</el-form-item> </el-form-item>
</template> </template>
@@ -1082,7 +1080,7 @@
class="add-form-item" class="add-form-item"
> >
<template slot="label">关联模块--卡车VPPS编码</template> <template slot="label">关联模块--卡车VPPS编码</template>
<el-input v-model="sarStandardsInfoEO.KCCVPPSBM" placeholder="选择卡车VPPS编码" @click.native="choiceZRR3('kccvppsbm', '卡车VPPS', sarStandardsInfoEO.kccvppsbm)"></el-input> <el-input v-model="sarStandardsInfoEO.KCCVPPSBM" placeholder="选择卡车VPPS编码" clearable @click.native="choiceZRR3('kccvppsbm', '卡车VPPS', sarStandardsInfoEO.kccvppsbm)"></el-input>
</el-form-item> </el-form-item>
</template> </template>
<template v-else-if="field.attrField === 'DYBXH'"> <template v-else-if="field.attrField === 'DYBXH'">
@@ -1092,13 +1090,14 @@
class="add-form-item" class="add-form-item"
> >
<template slot="label">模块结构单元变型号</template> <template slot="label">模块结构单元变型号</template>
<el-input v-model="sarStandardsInfoEO.DYBXH" placeholder="选择模块结构单元变型号" @click.native="choiceZRR4('dybxh', '模块结构单元', sarStandardsInfoEO.dybxh)"></el-input> <el-input v-model="sarStandardsInfoEO.DYBXH" placeholder="选择模块结构单元变型号" clearable @click.native="choiceZRR4('dybxh', '模块结构单元', sarStandardsInfoEO.dybxh)"></el-input>
</el-form-item> </el-form-item>
</template> </template>
<template v-else-if="field.attrField === 'CYCVPPSCN'"> <template v-else-if="field.attrField === 'CYCVPPSCN'">
<el-form-item label="关联模块--乘用车vpps中文名称" label-width="150px" prop="CYCVPPSCN" class="add-form-item"> <el-form-item label="关联模块--乘用车vpps中文名称" label-width="150px" prop="CYCVPPSCN" class="add-form-item">
<el-input <el-input
v-model="sarStandardsInfoEO.CYCVPPSCN" disabled v-model="sarStandardsInfoEO.CYCVPPSCN"
disabled
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
@@ -1106,7 +1105,8 @@
<template v-else-if="field.attrField === 'KCCVPPSCN'"> <template v-else-if="field.attrField === 'KCCVPPSCN'">
<el-form-item label="关联模块--卡车vpps中文名称" label-width="150px" prop="KCCVPPSCN" class="add-form-item"> <el-form-item label="关联模块--卡车vpps中文名称" label-width="150px" prop="KCCVPPSCN" class="add-form-item">
<el-input <el-input
v-model="sarStandardsInfoEO.KCCVPPSCN" disabled v-model="sarStandardsInfoEO.KCCVPPSCN"
disabled
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
@@ -1114,7 +1114,8 @@
<template v-else-if="field.attrField === 'DYMC'"> <template v-else-if="field.attrField === 'DYMC'">
<el-form-item label="模块结构单元名称" label-width="150px" prop="DYMC" class="add-form-item"> <el-form-item label="模块结构单元名称" label-width="150px" prop="DYMC" class="add-form-item">
<el-input <el-input
v-model="sarStandardsInfoEO.DYMC" disabled v-model="sarStandardsInfoEO.DYMC"
disabled
clearable clearable
></el-input> ></el-input>
</el-form-item> </el-form-item>
@@ -1819,6 +1820,7 @@ export default {
urlChild: '', urlChild: '',
drawerTitle: '', //drawer标题 drawerTitle: '', //drawer标题
nodeKey: 'id', nodeKey: 'id',
defaultCheckedKeys: [],
defaultCheckedKeys1: [], defaultCheckedKeys1: [],
defaultCheckedKeys2: [], defaultCheckedKeys2: [],
defaultCheckedKeys3: [], defaultCheckedKeys3: [],
@@ -2490,6 +2492,27 @@ export default {
} }
} }
}, },
'sarStandardsInfoEO.CYCVPPSBM': {
handler() {
if (this.sarStandardsInfoEO.CYCVPPSBM === '') {
this.sarStandardsInfoEO.CYCVPPSCN = ''
}
}
},
'sarStandardsInfoEO.KCCVPPSBM': {
handler() {
if (this.sarStandardsInfoEO.KCCVPPSBM === '') {
this.sarStandardsInfoEO.KCCVPPSCN = ''
}
}
},
'sarStandardsInfoEO.DYBXH': {
handler() {
if (this.sarStandardsInfoEO.DYBXH === '') {
this.sarStandardsInfoEO.DYMC = ''
}
}
},
filterText(val) { filterText(val) {
this.$refs.tree.filter(val); this.$refs.tree.filter(val);
} }
@@ -3842,7 +3865,7 @@ export default {
type: 'between', type: 'between',
value: value.join(',') value: value.join(',')
}); });
}else if (value !== null && value !== '' && (key === 'BARQ')){ } else if (value !== null && value !== '' && (key === 'BARQ')) {
advanceSearchVOList.push({ advanceSearchVOList.push({
connect: "and", connect: "and",
field: key || '', field: key || '',