项目评估标准 如果localstorage里没有pastlist时做的判断(+)
This commit is contained in:
@@ -729,17 +729,21 @@ export default {
|
||||
this.standModel = false;
|
||||
} else {
|
||||
if (this.standList.length >= 1) {
|
||||
this.pastProject.forEach(item => {
|
||||
this.standList.map(items => {
|
||||
if( item.productLine === items.productLine){
|
||||
items.distributePersonId = item.distributePersonId
|
||||
items.distributePerson = item.distributePerson
|
||||
}
|
||||
if (this.pastProject === null){
|
||||
this.dataList = this.standList;
|
||||
}else {
|
||||
this.pastProject.forEach(item => {
|
||||
this.standList.map(items => {
|
||||
if( item.productLine === items.productLine){
|
||||
items.distributePersonId = item.distributePersonId
|
||||
items.distributePerson = item.distributePerson
|
||||
}
|
||||
})
|
||||
})
|
||||
})
|
||||
this.dataList = this.standList;
|
||||
this.roleForm.directorUser = this.dataList[0].uname;
|
||||
this.dataList = this.standList
|
||||
}
|
||||
this.listForm.dataList = this.standList;
|
||||
this.roleForm.directorUser = this.dataList[0].uname;
|
||||
this.standModel = false;
|
||||
} else {
|
||||
this.$message.warning("请选择一条数据进行添加");
|
||||
|
||||
@@ -704,17 +704,21 @@ export default {
|
||||
this.standModel = false;
|
||||
} else {
|
||||
if (this.standList.length >= 1) {
|
||||
this.pastProject.forEach(item => {
|
||||
this.standList.map(items => {
|
||||
if( item.productLine === items.productLine){
|
||||
items.distributePersonId = item.distributePersonId
|
||||
items.distributePerson = item.distributePerson
|
||||
}
|
||||
if (this.pastProject === null){
|
||||
this.dataList = this.standList;
|
||||
}else {
|
||||
this.pastProject.forEach(item => {
|
||||
this.standList.map(items => {
|
||||
if( item.productLine === items.productLine){
|
||||
items.distributePersonId = item.distributePersonId
|
||||
items.distributePerson = item.distributePerson
|
||||
}
|
||||
})
|
||||
})
|
||||
})
|
||||
this.dataList = this.standList;
|
||||
this.roleForm.directorUser = this.dataList[0].uname;
|
||||
this.dataList = this.standList
|
||||
}
|
||||
this.listForm.dataList = this.standList;
|
||||
this.roleForm.directorUser = this.dataList[0].uname;
|
||||
this.standModel = false;
|
||||
} else {
|
||||
this.$message.warning("请选择一条数据进行添加");
|
||||
|
||||
Reference in New Issue
Block a user