feat: There is no way the, 企标复审选复审计划 可再次选择
This commit is contained in:
@@ -757,12 +757,15 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
replaceLawsNumModelBt(){
|
replaceLawsNumModelBt(){
|
||||||
if(this.modelDataSelect && this.modelDataSelect.length > 0){
|
if(this.modelDataSelect && this.modelDataSelect.length > 0){
|
||||||
this.qbfsForm.modelData = []
|
this.qbfsForm.modelData = this.unique(this.qbfsForm.modelData.concat(this.modelDataSelect))
|
||||||
this.qbfsForm.modelData = this.modelDataSelect
|
|
||||||
}
|
}
|
||||||
console.log(this.qbfsForm.modelData)
|
console.log(this.qbfsForm.modelData)
|
||||||
this.replaceLawsNumModel = false
|
this.replaceLawsNumModel = false
|
||||||
},
|
},
|
||||||
|
unique(newArr) {
|
||||||
|
const res = new Map();
|
||||||
|
return newArr.filter((newArr) => !res.has(newArr.id) && res.set(newArr.id, 1));
|
||||||
|
},
|
||||||
// 更多
|
// 更多
|
||||||
handleCommand (command) {
|
handleCommand (command) {
|
||||||
if (command[2] === '删除') {
|
if (command[2] === '删除') {
|
||||||
|
|||||||
Reference in New Issue
Block a user