车型项目库已维护未维护切换bug

This commit is contained in:
宋伟佳
2021-08-05 14:53:15 +08:00
parent 1ac7563d70
commit 2cc5ca1632
3 changed files with 822 additions and 780 deletions
@@ -406,17 +406,15 @@ export default {
}
},
checkedRole (data) {
let roleId = data[0].id
let roleName = data[0].name
if (this.type === 1) {
this.dataList[this.zrIndex].liablePeopleId = roleId
this.dataList[this.zrIndex].liablePeople = roleName
this.dataList[this.zrIndex].liablePeopleId = data[0].id
this.dataList[this.zrIndex].liablePeople = data[0].name
} else if(this.type === 2) {
this.dataList.forEach( item => {
this.selectList.forEach( items => {
if (item.standId === items.standId) {
item.liablePeopleId = roleId
item.liablePeople = roleName
item.liablePeopleId = data[0].id
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')
},
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', '')
},
showLocalProductData (item) {
@@ -676,7 +682,6 @@ export default {
_this: this,
loading: 'loading'
}, res => {
console.log(res.data)
this.standSortOptions = res.data.STANDCLASSIFY // 标准类别
this.setMap(this.zrbmMap,res.data.ZRBMCLASS)
this.setMap(this.textStatusMap,res.data.WBZTCLASS)