feat: There is no way the, BUG #52130

This commit is contained in:
super_liu
2022-03-27 12:07:15 +08:00
parent 5e44f3385a
commit 8eb9652d17
13 changed files with 293 additions and 121 deletions
@@ -775,8 +775,7 @@
<el-table-column
label="标准编号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode}}</a>
</template>
</el-table-column>
<el-table-column
@@ -2436,10 +2435,14 @@
let textArr2 = []
this.selectedListRep.map((item) => {
let texts = ''
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
if(item.standCode !== null && item.standCode !== ''){
texts = item.standCode
}else {
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
}
}
textArr2.push(item.standNumber)
textArr.push(texts)
@@ -2450,20 +2453,28 @@
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
if(this.replaceLawType === 'DTQBBHBUSS'){
this.form.DTQBBHBUSS = textArr.join(',')
this.form.DTQBBHBUSS = this.filterSetData(textArr.join(','))
}else if(this.replaceLawType === 'yybj'){
this.form.yybj = this.form.yybj ? this.form.yybj + ',' +textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'cbbh'){
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'BDTQBBHBUSS'){
this.form.BDTQBBHBUSS = textArr.join(',')
this.form.standNum = textArr2.join(',')
this.form.BDTQBBHBUSS = this.filterSetData(textArr.join(','))
this.form.standNum = this.filterSetData(textArr2.join(','))
}else {
this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',')
}
// this.$emit('input', textArr.join(','))
this.$refs.selections.clearSelection()
},
filterSetData(data){
const arr=new Set()
let permission = data.split(",");
permission.forEach((item, index) => {
arr.add(item)
})
return Array.from(arr).join(',');
},
// 点击查看
handlePreview (item) {
let routeUrl = this.$router.resolve({
@@ -323,8 +323,7 @@
<el-table-column
label="标准编号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode}}</a>
</template>
</el-table-column>
<el-table-column
@@ -1865,10 +1864,14 @@
let textArr2 = []
this.selectedListRep.map((item) => {
let texts = ''
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
if(item.standCode !== null && item.standCode !== ''){
texts = item.standCode
}else {
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
}
}
textArr2.push(item.standNumber)
textArr.push(texts)
@@ -1879,14 +1882,14 @@
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
if(this.replaceLawType === 'DTQBBHBUSS'){
this.form.DTQBBHBUSS = textArr.join(',')
this.form.DTQBBHBUSS = this.filterSetData(textArr.join(','))
}else if(this.replaceLawType === 'yybj'){
this.form.yybj = this.form.yybj ? this.form.yybj + ',' +textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'cbbh'){
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'BDTQBBHBUSS'){
this.form.BDTQBBHBUSS = textArr.join(',')
this.form.standNum = textArr2.join(',')
this.form.BDTQBBHBUSS = this.filterSetData(textArr.join(','))
this.form.standNum = this.filterSetData(textArr2.join(','))
}else {
this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',')
}
@@ -1894,6 +1897,14 @@
this.$refs.selections.clearSelection()
this.formKey++
},
filterSetData(data){
const arr=new Set()
let permission = data.split(",");
permission.forEach((item, index) => {
arr.add(item)
})
return Array.from(arr).join(',');
},
// 点击查看
handlePreview (item) {
let routeUrl = this.$router.resolve({
@@ -365,8 +365,7 @@
<el-table-column
label="标准编号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode}}</a>
</template>
</el-table-column>
<el-table-column
@@ -1924,10 +1923,14 @@
let textArr2 = []
this.selectedListRep.map((item) => {
let texts = ''
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
if(item.standCode !== null && item.standCode !== ''){
texts = item.standCode
}else {
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
}
}
textArr2.push(item.standNumber)
textArr.push(texts)
@@ -1938,14 +1941,14 @@
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
if(this.replaceLawType === 'DTQBBHBUSS'){
this.form.DTQBBHBUSS = textArr.join(',')
this.form.DTQBBHBUSS = this.filterSetData(textArr.join(','))
}else if(this.replaceLawType === 'yybj'){
this.form.yybj = this.form.yybj ? this.form.yybj + ',' +textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'cbbh'){
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'BDTQBBHBUSS'){
this.form.BDTQBBHBUSS = textArr.join(',')
this.form.standNum = textArr2.join(',')
this.form.BDTQBBHBUSS = this.filterSetData(textArr.join(','))
this.form.standNum = this.filterSetData(textArr2.join(','))
}else {
this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',')
}
@@ -1953,6 +1956,14 @@
this.$refs.selections.clearSelection()
this.formKey++
},
filterSetData(data){
const arr=new Set()
let permission = data.split(",");
permission.forEach((item, index) => {
arr.add(item)
})
return Array.from(arr).join(',');
},
// 点击查看
handlePreview (item) {
let routeUrl = this.$router.resolve({
@@ -435,8 +435,7 @@
<el-table-column
label="标准编号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode}}</a>
</template>
</el-table-column>
<el-table-column
@@ -2016,10 +2015,14 @@
let textArr2 = []
this.selectedListRep.map((item) => {
let texts = ''
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
if(item.standCode !== null && item.standCode !== ''){
texts = item.standCode
}else {
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
}
}
textArr2.push(item.standNumber)
textArr.push(texts)
@@ -2030,14 +2033,14 @@
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
if(this.replaceLawType === 'DTQBBHBUSS'){
this.form.DTQBBHBUSS = textArr.join(',')
this.form.DTQBBHBUSS = this.filterSetData(textArr.join(','))
}else if(this.replaceLawType === 'yybj'){
this.form.yybj = this.form.yybj ? this.form.yybj + ',' +textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'cbbh'){
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'BDTQBBHBUSS'){
this.form.BDTQBBHBUSS = textArr.join(',')
this.form.standNum = textArr2.join(',')
this.form.BDTQBBHBUSS = this.filterSetData(textArr.join(','))
this.form.standNum = this.filterSetData(textArr2.join(','))
}else {
this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',')
}
@@ -2045,6 +2048,14 @@
this.$refs.selections.clearSelection()
this.formKey++
},
filterSetData(data){
const arr=new Set()
let permission = data.split(",");
permission.forEach((item, index) => {
arr.add(item)
})
return Array.from(arr).join(',');
},
// 点击查看
handlePreview (item) {
let routeUrl = this.$router.resolve({
@@ -365,8 +365,7 @@
<el-table-column
label="标准编号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode}}</a>
</template>
</el-table-column>
<el-table-column
@@ -1925,10 +1924,14 @@
let textArr2 = []
this.selectedListRep.map((item) => {
let texts = ''
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
if(item.standCode !== null && item.standCode !== ''){
texts = item.standCode
}else {
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
}
}
textArr2.push(item.standNumber)
textArr.push(texts)
@@ -1939,14 +1942,14 @@
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
// 解决 标准入库流程--圈住的字段,先手动输入,然后再手动查找,点提交就会把手动输入的标准号覆盖
if(this.replaceLawType === 'DTQBBHBUSS'){
this.form.DTQBBHBUSS = textArr.join(',')
this.form.DTQBBHBUSS = this.filterSetData(textArr.join(','))
}else if(this.replaceLawType === 'yybj'){
this.form.yybj = this.form.yybj ? this.form.yybj + ',' +textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'cbbh'){
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'BDTQBBHBUSS'){
this.form.BDTQBBHBUSS = textArr.join(',')
this.form.standNum = textArr2.join(',')
this.form.BDTQBBHBUSS = this.filterSetData(textArr.join(','))
this.form.standNum = this.filterSetData(textArr2.join(','))
}else {
this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',')
}
@@ -1954,6 +1957,14 @@
this.$refs.selections.clearSelection()
this.formKey++
},
filterSetData(data){
const arr=new Set()
let permission = data.split(",");
permission.forEach((item, index) => {
arr.add(item)
})
return Array.from(arr).join(',');
},
// 点击查看
handlePreview (item) {
let routeUrl = this.$router.resolve({
@@ -696,14 +696,21 @@
</template>
<script>
import { onlyOfficeUrl } from '@/sysConfig'
import {onlyOfficeUrl} from '@/sysConfig'
import formEditList from './common/formEditList.vue'
import ProcessHeader from '../../components/ProcessHeader'
import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle'
import {saveTaskFirst, queryTaskFirst, getBusStandFileByAttId,inboundLiaisonDetail,processModelHisOneCount} from "api/process";
import {
getBusStandFileByAttId,
inboundLiaisonDetail,
processModelHisOneCount,
queryTaskFirst,
saveTaskFirst
} from "api/process";
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
import TreeSelectNew from '@/components/treeSelect/treeSelectNew.vue';
let Base64 = require('js-base64').Base64;
export default {
@@ -1992,7 +1999,7 @@
this.replaceLawsNumForm.pageSize = pageSize
this.getReplaceLawsNumRow()
},
//
//
replaceLawsNumModelBt () {
let textArr = []
@@ -2016,10 +2023,14 @@
let textArr2 = []
this.selectedListRep.map((item) => {
let texts = ''
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
if(item.standCode !== null && item.standCode !== ''){
texts = item.standCode
}else {
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
}
}
textArr2.push(item.standNumber)
textArr.push(texts)
@@ -2030,14 +2041,14 @@
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
// --
if(this.replaceLawType === 'DTQBBHBUSS'){
this.form.DTQBBHBUSS = textArr.join(',')
this.form.DTQBBHBUSS = this.filterSetData(textArr.join(','))
}else if(this.replaceLawType === 'yybj'){
this.form.yybj = this.form.yybj ? this.form.yybj + ',' +textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'cbbh'){
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'BDTQBBHBUSS'){
this.form.BDTQBBHBUSS = textArr.join(',')
this.form.standNum = textArr2.join(',')
this.form.BDTQBBHBUSS = this.filterSetData(textArr.join(','))
this.form.standNum = this.filterSetData(textArr2.join(','))
}else {
this.form.byybj = this.form.byybj ? this.form.byybj + ',' +textArr.join(',') : textArr.join(',')
}
@@ -2045,6 +2056,14 @@
this.$refs.selections.clearSelection()
this.formKey++
},
filterSetData(data){
const arr=new Set()
let permission = data.split(",");
permission.forEach((item, index) => {
arr.add(item)
})
return Array.from(arr).join(',');
},
//
handlePreview (item) {
let routeUrl = this.$router.resolve({
@@ -773,8 +773,7 @@
<el-table-column
label="标准编号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode }}</a>
</template>
</el-table-column>
<el-table-column
@@ -2396,10 +2395,14 @@
}
this.selectedListRep.map((item) => {
let texts = ''
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
if(item.standCode !== null && item.standCode !== ''){
texts = item.standCode
}else {
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
}
}
textArr.push(texts)
textArr = [...new Set(textArr)]
@@ -2408,11 +2411,14 @@
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
// --
if(this.replaceLawType === 'DTQBBHBUSS'){
this.form.DTQBBHBUSS = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
let arr1 = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
this.form.DTQBBHBUSS = this.filterSetData(arr1)
}else if(this.replaceLawType === 'CYBZ'){
this.form.CYBZ = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
let arr1 = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
this.form.CYBZ = this.filterSetData(arr1)
}else if(this.replaceLawType === 'YYBZ'){
this.form.YYBZ = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
let arr1 = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
this.form.YYBZ = this.filterSetData(arr1)
}else if(this.replaceLawType === 'bfbdtbzh'){
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
}else {
@@ -2421,6 +2427,14 @@
// this.$emit('input', textArr.join(','))
this.$refs.selections.clearSelection()
},
filterSetData(data){
const arr=new Set()
let permission = data.split(",");
permission.forEach((item, index) => {
arr.add(item)
})
return Array.from(arr).join(',');
},
//
handlePreview (item) {
let routeUrl = this.$router.resolve({
@@ -324,8 +324,7 @@
<el-table-column
label="标准编号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode}}</a>
</template>
</el-table-column>
<el-table-column
@@ -1901,10 +1900,14 @@
}
this.selectedListRep.map((item) => {
let texts = ''
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
if(item.standCode !== null && item.standCode !== ''){
texts = item.standCode
}else {
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
}
}
textArr.push(texts)
textArr = [...new Set(textArr)]
@@ -1912,12 +1915,15 @@
})
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
// --
if(this.replaceLawType === 'dtbjh'){
this.form.dtbjh = this.form.dtbjh ? this.form.dtbjh + ',' + textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'yybj'){
this.form.yybj = this.form.yybj ? this.form.yybj + ',' +textArr.join(',') : textArr.join(',')
}else if(this.replaceLawType === 'cbbh'){
this.form.cbbh = this.form.cbbh ? this.form.cbbh + ',' +textArr.join(',') : textArr.join(',')
if(this.replaceLawType === 'DTQBBHBUSS'){
let arr1 = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
this.form.DTQBBHBUSS = this.filterSetData(arr1)
}else if(this.replaceLawType === 'CYBZ'){
let arr1 = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
this.form.CYBZ = this.filterSetData(arr1)
}else if(this.replaceLawType === 'YYBZ'){
let arr1 = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
this.form.YYBZ = this.filterSetData(arr1)
}else if(this.replaceLawType === 'bfbdtbzh'){
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
}else {
@@ -1926,6 +1932,14 @@
// this.$emit('input', textArr.join(','))
this.$refs.selections.clearSelection()
},
filterSetData(data){
const arr=new Set()
let permission = data.split(",");
permission.forEach((item, index) => {
arr.add(item)
})
return Array.from(arr).join(',');
},
//
handlePreview (item) {
let routeUrl = this.$router.resolve({
@@ -325,8 +325,7 @@
<el-table-column
label="标准编号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode}}</a>
</template>
</el-table-column>
<el-table-column
@@ -1905,10 +1904,14 @@
}
this.selectedListRep.map((item) => {
let texts = ''
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
if(item.standCode !== null && item.standCode !== ''){
texts = item.standCode
}else {
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
}
}
textArr.push(texts)
textArr = [...new Set(textArr)]
@@ -1917,12 +1920,15 @@
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
// --
if(this.replaceLawType === 'DTQBBHBUSS'){
this.form.DTQBBHBUSS = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
let arr1 = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
this.form.DTQBBHBUSS = this.filterSetData(arr1)
this.getStandInfoByReviseStatus()
}else if(this.replaceLawType === 'CYBZ'){
this.form.CYBZ = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
let arr1 = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
this.form.CYBZ = this.filterSetData(arr1)
}else if(this.replaceLawType === 'YYBZ'){
this.form.YYBZ = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
let arr1 = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
this.form.YYBZ = this.filterSetData(arr1)
}else if(this.replaceLawType === 'bfbdtbzh'){
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
}else {
@@ -1931,6 +1937,14 @@
// this.$emit('input', textArr.join(','))
this.$refs.selections.clearSelection()
},
filterSetData(data){
const arr=new Set()
let permission = data.split(",");
permission.forEach((item, index) => {
arr.add(item)
})
return Array.from(arr).join(',');
},
//
handlePreview (item) {
let routeUrl = this.$router.resolve({
@@ -369,8 +369,7 @@
<el-table-column
label="标准编号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode}}</a>
</template>
</el-table-column>
<el-table-column
@@ -1955,10 +1954,14 @@
}
this.selectedListRep.map((item) => {
let texts = ''
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
if(item.standCode !== null && item.standCode !== ''){
texts = item.standCode
}else {
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
}
}
textArr.push(texts)
textArr = [...new Set(textArr)]
@@ -1967,11 +1970,14 @@
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
// --
if(this.replaceLawType === 'DTQBBHBUSS'){
this.form.DTQBBHBUSS = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
let arr1 = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
this.form.DTQBBHBUSS = this.filterSetData(arr1)
}else if(this.replaceLawType === 'CYBZ'){
this.form.CYBZ = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
let arr1 = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
this.form.CYBZ = this.filterSetData(arr1)
}else if(this.replaceLawType === 'YYBZ'){
this.form.YYBZ = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
let arr1 = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
this.form.YYBZ = this.filterSetData(arr1)
}else if(this.replaceLawType === 'bfbdtbzh'){
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
}else {
@@ -1981,6 +1987,14 @@
this.$refs.selections.clearSelection()
this.formKey++
},
filterSetData(data){
const arr=new Set()
let permission = data.split(",");
permission.forEach((item, index) => {
arr.add(item)
})
return Array.from(arr).join(',');
},
//
handlePreview (item) {
let routeUrl = this.$router.resolve({
@@ -572,8 +572,7 @@
<el-table-column
label="标准编号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode}}</a>
</template>
</el-table-column>
<el-table-column
@@ -2303,10 +2302,14 @@
}
this.selectedListRep.map((item) => {
let texts = ''
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
if(item.standCode !== null && item.standCode !== ''){
texts = item.standCode
}else {
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
}
}
textArr.push(texts)
textArr = [...new Set(textArr)]
@@ -2315,11 +2318,14 @@
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
// --
if(this.replaceLawType === 'DTQBBHBUSS'){
this.form.DTQBBHBUSS = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
let arr1 = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
this.form.DTQBBHBUSS = this.filterSetData(arr1)
}else if(this.replaceLawType === 'CYBZ'){
this.form.CYBZ = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
let arr1 = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
this.form.CYBZ = this.filterSetData(arr1)
}else if(this.replaceLawType === 'YYBZ'){
this.form.YYBZ = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
let arr1 = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
this.form.YYBZ = this.filterSetData(arr1)
}else if(this.replaceLawType === 'bfbdtbzh'){
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
}else {
@@ -2329,6 +2335,14 @@
this.$refs.selections.clearSelection()
this.formKey++
},
filterSetData(data){
const arr=new Set()
let permission = data.split(",");
permission.forEach((item, index) => {
arr.add(item)
})
return Array.from(arr).join(',');
},
//
handlePreview (item) {
let routeUrl = this.$router.resolve({
@@ -369,8 +369,7 @@
<el-table-column
label="标准编号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode}}</a>
</template>
</el-table-column>
<el-table-column
@@ -1955,10 +1954,14 @@
}
this.selectedListRep.map((item) => {
let texts = ''
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
if(item.standCode !== null && item.standCode !== ''){
texts = item.standCode
}else {
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
}
}
textArr.push(texts)
textArr = [...new Set(textArr)]
@@ -1967,11 +1970,14 @@
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
// --
if(this.replaceLawType === 'DTQBBHBUSS'){
this.form.DTQBBHBUSS = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
let arr1 = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
this.form.DTQBBHBUSS = this.filterSetData(arr1)
}else if(this.replaceLawType === 'CYBZ'){
this.form.CYBZ = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
let arr1 = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
this.form.CYBZ = this.filterSetData(arr1)
}else if(this.replaceLawType === 'YYBZ'){
this.form.YYBZ = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
let arr1 = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
this.form.YYBZ = this.filterSetData(arr1)
}else if(this.replaceLawType === 'bfbdtbzh'){
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
}else {
@@ -1981,6 +1987,14 @@
this.$refs.selections.clearSelection()
this.formKey++
},
filterSetData(data){
const arr=new Set()
let permission = data.split(",");
permission.forEach((item, index) => {
arr.add(item)
})
return Array.from(arr).join(',');
},
//
handlePreview (item) {
let routeUrl = this.$router.resolve({
@@ -572,8 +572,7 @@
<el-table-column
label="标准编号">
<template slot-scope="scope">
<a v-if="scope.row.standYear" class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}-{{ scope.row.standYear }}</a>
<a v-else class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standSort }} {{ scope.row.standNumber }}</a>
<a class="table-jump" @click="handlePreview(scope.row)">{{ scope.row.standCode}}</a>
</template>
</el-table-column>
<el-table-column
@@ -2302,10 +2301,14 @@
}
this.selectedListRep.map((item) => {
let texts = ''
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
if(item.standCode !== null && item.standCode !== ''){
texts = item.standCode
}else {
if (item.standYear != null && item.standYear !== '') {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber + '-' + item.standYear : item.standNumber + '-' + item.standYear
} else {
texts = item.standSort !== null ? item.standSort + ' ' + item.standNumber : item.standNumber
}
}
textArr.push(texts)
textArr = [...new Set(textArr)]
@@ -2314,11 +2317,14 @@
// this.SarLawsInfoEO.replaceLawsNum = textArr.join(',')
// --
if(this.replaceLawType === 'DTQBBHBUSS'){
this.form.DTQBBHBUSS = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
let arr1 = this.form.DTQBBHBUSS ? this.form.DTQBBHBUSS + ',' + textArr.join(',') : textArr.join(',')
this.form.DTQBBHBUSS = this.filterSetData(arr1)
}else if(this.replaceLawType === 'CYBZ'){
this.form.CYBZ = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
let arr1 = this.form.CYBZ ? this.form.CYBZ + ',' +textArr.join(',') : textArr.join(',')
this.form.CYBZ = this.filterSetData(arr1)
}else if(this.replaceLawType === 'YYBZ'){
this.form.YYBZ = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
let arr1 = this.form.YYBZ ? this.form.YYBZ + ',' +textArr.join(',') : textArr.join(',')
this.form.YYBZ = this.filterSetData(arr1)
}else if(this.replaceLawType === 'bfbdtbzh'){
this.form.bfbdtbzh = this.form.bfbdtbzh ? this.form.bfbdtbzh + ',' +textArr.join(',') : textArr.join(',')
}else {
@@ -2328,6 +2334,14 @@
this.$refs.selections.clearSelection()
this.formKey++
},
filterSetData(data){
const arr=new Set()
let permission = data.split(",");
permission.forEach((item, index) => {
arr.add(item)
})
return Array.from(arr).join(',');
},
//
handlePreview (item) {
let routeUrl = this.$router.resolve({