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