调整法规库编辑的提的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"
File diff suppressed because it is too large Load Diff
@@ -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: [],
@@ -2298,11 +2300,11 @@ export default {
synopsis: [ synopsis: [
{type: 'string', max: 1000, message: '文本说明不能超过1000个字符', trigger: 'change'} {type: 'string', max: 1000, message: '文本说明不能超过1000个字符', trigger: 'change'}
], ],
/* standEnName: [ /* standEnName: [
{required: true, message: '英文名称不能为空', trigger: 'change'}, {required: true, message: '英文名称不能为空', trigger: 'change'},
// {validator: this.verify.valiateEnName, trigger: 'blur'}, // {validator: this.verify.valiateEnName, trigger: 'blur'},
{type: 'string', max: 500, message: '英文名称不能超过500个字符不', trigger: 'change'} {type: 'string', max: 500, message: '英文名称不能超过500个字符不', trigger: 'change'}
],*/ ],*/
standName: [ standName: [
{required: false, message: '中文名称不能为空', trigger: 'change'}, {required: false, message: '中文名称不能为空', trigger: 'change'},
{type: 'string', max: 500, message: '中文名称不能超过500个字符', trigger: 'change'} {type: 'string', max: 500, message: '中文名称不能超过500个字符', trigger: 'change'}
@@ -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 || '',