车型项目库已维护未维护切换bug
This commit is contained in:
@@ -406,17 +406,15 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
checkedRole (data) {
|
checkedRole (data) {
|
||||||
let roleId = data[0].id
|
|
||||||
let roleName = data[0].name
|
|
||||||
if (this.type === 1) {
|
if (this.type === 1) {
|
||||||
this.dataList[this.zrIndex].liablePeopleId = roleId
|
this.dataList[this.zrIndex].liablePeopleId = data[0].id
|
||||||
this.dataList[this.zrIndex].liablePeople = roleName
|
this.dataList[this.zrIndex].liablePeople = data[0].name
|
||||||
} else if(this.type === 2) {
|
} else if(this.type === 2) {
|
||||||
this.dataList.forEach( item => {
|
this.dataList.forEach( item => {
|
||||||
this.selectList.forEach( items => {
|
this.selectList.forEach( items => {
|
||||||
if (item.standId === items.standId) {
|
if (item.standId === items.standId) {
|
||||||
item.liablePeopleId = roleId
|
item.liablePeopleId = data[0].id
|
||||||
item.liablePeople = roleName
|
item.liablePeople = data[0].name
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -546,7 +546,13 @@ export default {
|
|||||||
window.open(routeUrl.href, '_blank')
|
window.open(routeUrl.href, '_blank')
|
||||||
},
|
},
|
||||||
back () {
|
back () {
|
||||||
this.$router.push(this.$store.state.detailMap)
|
console.log(this.$route.query.tabName);
|
||||||
|
this.$router.push({
|
||||||
|
path: this.$store.state.detailMap,
|
||||||
|
query: {
|
||||||
|
tabName: this.$route.query.tabName
|
||||||
|
}
|
||||||
|
})
|
||||||
this.$store.commit('setDetailMap', '')
|
this.$store.commit('setDetailMap', '')
|
||||||
},
|
},
|
||||||
showLocalProductData (item) {
|
showLocalProductData (item) {
|
||||||
@@ -676,7 +682,6 @@ export default {
|
|||||||
_this: this,
|
_this: this,
|
||||||
loading: 'loading'
|
loading: 'loading'
|
||||||
}, res => {
|
}, res => {
|
||||||
console.log(res.data)
|
|
||||||
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
|
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
|
||||||
this.setMap(this.zrbmMap,res.data.ZRBMCLASS)
|
this.setMap(this.zrbmMap,res.data.ZRBMCLASS)
|
||||||
this.setMap(this.textStatusMap,res.data.WBZTCLASS)
|
this.setMap(this.textStatusMap,res.data.WBZTCLASS)
|
||||||
|
|||||||
Reference in New Issue
Block a user