feat: 国内外标准 反向标准显示逻辑
This commit is contained in:
@@ -186,6 +186,7 @@ export default {
|
|||||||
replaceLawsNumRow: [], // 代替政策号 数组内容
|
replaceLawsNumRow: [], // 代替政策号 数组内容
|
||||||
replaceTotal: 0,
|
replaceTotal: 0,
|
||||||
selectedListRep: [],
|
selectedListRep: [],
|
||||||
|
ids: [],
|
||||||
replaceLoading: true,
|
replaceLoading: true,
|
||||||
replacePage: 1
|
replacePage: 1
|
||||||
|
|
||||||
@@ -297,6 +298,7 @@ export default {
|
|||||||
// 代替政策编号确定
|
// 代替政策编号确定
|
||||||
replaceLawsNumModelBt () {
|
replaceLawsNumModelBt () {
|
||||||
let textArr = []
|
let textArr = []
|
||||||
|
this.ids = []
|
||||||
|
|
||||||
if (typeof this.value === 'string') {
|
if (typeof this.value === 'string') {
|
||||||
if (this.value) {
|
if (this.value) {
|
||||||
@@ -322,12 +324,14 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
texts = item.standSortShow !== null ? item.standSortShow + ' ' + item.standNumber : item.standNumber
|
texts = item.standSortShow !== null ? item.standSortShow + ' ' + item.standNumber : item.standNumber
|
||||||
}
|
}
|
||||||
|
this.ids.push(item.id);
|
||||||
textArr.push(texts)
|
textArr.push(texts)
|
||||||
textArr = [...new Set(textArr)]
|
textArr = [...new Set(textArr)]
|
||||||
this.replaceLawsNumModel = false
|
this.replaceLawsNumModel = false
|
||||||
})
|
})
|
||||||
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
|
||||||
this.$emit('input', textArr.join(','))
|
this.$emit('input', textArr.join(','))
|
||||||
|
this.$emit('popoverHide', this.ids, this.config.attrField);
|
||||||
this.$refs.selections.clearSelection()
|
this.$refs.selections.clearSelection()
|
||||||
},
|
},
|
||||||
// 点击查看
|
// 点击查看
|
||||||
|
|||||||
@@ -72,7 +72,7 @@
|
|||||||
:key="child.id"
|
:key="child.id"
|
||||||
class="modular-item"
|
class="modular-item"
|
||||||
:class="!(childIndex === item.half.length - 1) || childIndex % 2 === 1 ? 'half' : ''"
|
:class="!(childIndex === item.half.length - 1) || childIndex % 2 === 1 ? 'half' : ''"
|
||||||
v-if=" child.attrField === 'DTBJH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ' || child.attrField === 'XGLC' || child.attrField === 'BDTBZBH' || child.attrField === 'BFDTBZ' "
|
v-if=" child.attrField === 'DTBJH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ' || child.attrField === 'XGLC' || child.attrField === 'BDTBZBH' || child.attrField === 'BFDTBZ' || child.attrField === 'BBFDTBZ' "
|
||||||
>
|
>
|
||||||
<label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label>
|
<label class="modular-content-p-name" :title="child.attrName">{{ child.attrName }}</label>
|
||||||
<span
|
<span
|
||||||
@@ -216,7 +216,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
v-else-if="child.attrField === 'DTBJH'|| child.attrField === 'BDTBZBH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ' || child.attrField === 'BFDTBZ'"
|
v-else-if="child.attrField === 'DTBJH'|| child.attrField === 'BDTBZBH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ' || child.attrField === 'BFDTBZ' || child.attrField === 'BBFDTBZ'"
|
||||||
>
|
>
|
||||||
<p class="modular-content-p-val" v-if="child.value">
|
<p class="modular-content-p-val" v-if="child.value">
|
||||||
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
||||||
@@ -310,7 +310,7 @@
|
|||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
<template
|
<template
|
||||||
v-else-if="child.attrField === 'DTBJH'|| child.attrField === 'BDTBZBH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ' || child.attrField === 'BFDTBZ'"
|
v-else-if="child.attrField === 'DTBJH'|| child.attrField === 'BDTBZBH' || child.attrField === 'YYBJ' || child.attrField === 'BYYBJ' || child.attrField === 'CBBH' || child.attrField === 'DXBZ' || child.attrField === 'BFDTBZ' || child.attrField === 'BBFDTBZ'"
|
||||||
>
|
>
|
||||||
<p class="modular-content-p-val" v-if="child.value">
|
<p class="modular-content-p-val" v-if="child.value">
|
||||||
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
<span v-for="(item, index) in child.value.split(',')" :key="index">
|
||||||
|
|||||||
@@ -448,6 +448,7 @@
|
|||||||
:class="field.attrField === 'BYYBJ' ? 'classDisplay' : ''"
|
:class="field.attrField === 'BYYBJ' ? 'classDisplay' : ''"
|
||||||
v-model="sarStandardsInfoEO[field.attrField]"
|
v-model="sarStandardsInfoEO[field.attrField]"
|
||||||
:disabled="formdisableflag"
|
:disabled="formdisableflag"
|
||||||
|
@popoverHide="popoverHideQuery"
|
||||||
></custom-input-for-standards>
|
></custom-input-for-standards>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="field.attrField === 'CYCVPPSBM'">
|
<template v-else-if="field.attrField === 'CYCVPPSBM'">
|
||||||
@@ -1698,6 +1699,8 @@ export default {
|
|||||||
svpps: '', // 关联模块-VPPS编码
|
svpps: '', // 关联模块-VPPS编码
|
||||||
replaceStandNum: '', // 代替标准号
|
replaceStandNum: '', // 代替标准号
|
||||||
replacedStandNum: '', // 被代替标准号
|
replacedStandNum: '', // 被代替标准号
|
||||||
|
replacePartStandNum: '', // 代替标准号
|
||||||
|
replacedPartStandNum: '', // 被代替标准号
|
||||||
citeStand: '', // 引用标准
|
citeStand: '', // 引用标准
|
||||||
citedStand: '', // 被引用标准
|
citedStand: '', // 被引用标准
|
||||||
synopsis: '', // 内容摘要
|
synopsis: '', // 内容摘要
|
||||||
@@ -1744,6 +1747,8 @@ export default {
|
|||||||
standNature: '',
|
standNature: '',
|
||||||
replaceStandNum: '',
|
replaceStandNum: '',
|
||||||
replacedStandNum: '',
|
replacedStandNum: '',
|
||||||
|
replacePartStandNum: '', // 代替标准号
|
||||||
|
replacedPartStandNum: '', // 被代替标准号
|
||||||
interStandNum: '',
|
interStandNum: '',
|
||||||
adoptExtent: '',
|
adoptExtent: '',
|
||||||
emergyKind: '',
|
emergyKind: '',
|
||||||
@@ -1814,10 +1819,12 @@ export default {
|
|||||||
standState: '',
|
standState: '',
|
||||||
standNature: '',
|
standNature: '',
|
||||||
replaceStandNum: '',
|
replaceStandNum: '',
|
||||||
|
replacePartStandNum: '',
|
||||||
replaceStandNumId: '',
|
replaceStandNumId: '',
|
||||||
// replaceStandNumCope: '',
|
// replaceStandNumCope: '',
|
||||||
replaceStandNumList: [],
|
replaceStandNumList: [],
|
||||||
replacedStandNum: '',
|
replacedStandNum: '',
|
||||||
|
replacedPartStandNum: '',
|
||||||
interStandNum: '',
|
interStandNum: '',
|
||||||
adoptExtent: '',
|
adoptExtent: '',
|
||||||
emergyKind: '',
|
emergyKind: '',
|
||||||
@@ -2161,6 +2168,8 @@ export default {
|
|||||||
synopsis: '',
|
synopsis: '',
|
||||||
// replaceStandNumCope: '',
|
// replaceStandNumCope: '',
|
||||||
replacedStandNum: '',
|
replacedStandNum: '',
|
||||||
|
replacePartStandNum: '', // 代替标准号
|
||||||
|
replacedPartStandNum: '', // 被代替标准号
|
||||||
orderBy:'',
|
orderBy:'',
|
||||||
nowOrder: '',
|
nowOrder: '',
|
||||||
nowOrderBy: '',
|
nowOrderBy: '',
|
||||||
@@ -2223,6 +2232,11 @@ export default {
|
|||||||
this.url="sarModelTree/list"
|
this.url="sarModelTree/list"
|
||||||
this.urlChild="sarModelTree/childByList"
|
this.urlChild="sarModelTree/childByList"
|
||||||
},
|
},
|
||||||
|
popoverHideQuery(ids,attrField){
|
||||||
|
console.log(ids)
|
||||||
|
console.log("-----------------------------")
|
||||||
|
console.log(attrField)
|
||||||
|
},
|
||||||
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
popoverHide (checkedIds, checkedData,isShow,isLoadChild,topId) {
|
||||||
if(checkedData) {
|
if(checkedData) {
|
||||||
if(checkedData.length > 0){
|
if(checkedData.length > 0){
|
||||||
@@ -2742,6 +2756,8 @@ export default {
|
|||||||
this.sarStandardsSearch.applyArctic = ''
|
this.sarStandardsSearch.applyArctic = ''
|
||||||
this.sarStandardsSearch.replaceStandNum = ''
|
this.sarStandardsSearch.replaceStandNum = ''
|
||||||
this.sarStandardsSearch.replacedStandNum = ''
|
this.sarStandardsSearch.replacedStandNum = ''
|
||||||
|
this.sarStandardsSearch.replacePartStandNum = ''
|
||||||
|
this.sarStandardsSearch.replacedPartStandNum = ''
|
||||||
this.sarStandardsSearch.synopsis = ''
|
this.sarStandardsSearch.synopsis = ''
|
||||||
this.sarStandardsSearch.category = ''
|
this.sarStandardsSearch.category = ''
|
||||||
this.pageChange(1)
|
this.pageChange(1)
|
||||||
@@ -4035,6 +4051,8 @@ export default {
|
|||||||
this.sarConfigStandSearch.applyArctic = ''
|
this.sarConfigStandSearch.applyArctic = ''
|
||||||
this.sarConfigStandSearch.replaceStandNum = ''
|
this.sarConfigStandSearch.replaceStandNum = ''
|
||||||
this.sarConfigStandSearch.replacedStandNum = ''
|
this.sarConfigStandSearch.replacedStandNum = ''
|
||||||
|
this.sarStandardsSearch.replacePartStandNum = ''
|
||||||
|
this.sarStandardsSearch.replacedPartStandNum = ''
|
||||||
this.selectConfiguraStand()
|
this.selectConfiguraStand()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user