项目合规评估流程赋值
This commit is contained in:
@@ -365,15 +365,21 @@ export default {
|
||||
let dataChildren = []
|
||||
let dataListChildren = []
|
||||
this.listForm.dataList.forEach(item => {
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
this.$set(items, "standEnName", item.standEnName);
|
||||
this.$set(items, "standYear", item.standYear);
|
||||
this.$set(items, "standSort", item.standSort);
|
||||
this.$set(items, "standNumber", item.standNumber);
|
||||
}
|
||||
})
|
||||
if(item.workPeople !== ''){
|
||||
this.dataList.push(item)
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
this.$set(items, "standEnName", item.standEnName);
|
||||
this.$set(items, "standYear", item.standYear);
|
||||
this.$set(items, "standSort", item.standSort);
|
||||
this.$set(items, "standNumber", item.standNumber);
|
||||
this.$set(items, "zccssrq", item.zccssrq);
|
||||
this.$set(items, "xcxssrq", item.xcxssrq);
|
||||
this.$set(items, "ssrq", item.ssrq);
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
this.listForm.dataList.forEach(item => {
|
||||
dataChildren.push(item.children)
|
||||
|
||||
@@ -476,7 +476,9 @@ export default {
|
||||
this.listForm["id"] = item.id;
|
||||
this.listForm.dataList = item.dataList;
|
||||
this.listForm.dataList.forEach(item => {
|
||||
this.dataList.push(item)
|
||||
if(item.workPeople !== ''){
|
||||
this.dataList.push(item)
|
||||
}
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
|
||||
@@ -474,7 +474,9 @@ export default {
|
||||
this.listForm["id"] = item.id;
|
||||
this.listForm.dataList = item.dataList;
|
||||
this.listForm.dataList.forEach(item => {
|
||||
this.dataList.push(item)
|
||||
if(item.workPeople !== ''){
|
||||
this.dataList.push(item)
|
||||
}
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
|
||||
@@ -476,19 +476,21 @@ export default {
|
||||
this.listForm["id"] = item.id;
|
||||
this.listForm.dataList = item.dataList;
|
||||
this.listForm.dataList.forEach(item => {
|
||||
this.dataList.push(item)
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
this.$set(items, "standEnName", item.standEnName);
|
||||
this.$set(items, "standYear", item.standYear);
|
||||
this.$set(items, "standSort", item.standSort);
|
||||
this.$set(items, "standNumber", item.standNumber);
|
||||
this.$set(items, "zccssrq", item.zccssrq);
|
||||
this.$set(items, "xcxssrq", item.xcxssrq);
|
||||
this.$set(items, "ssrq", item.ssrq);
|
||||
}
|
||||
})
|
||||
if(item.workPeople !== ''){
|
||||
this.dataList.push(item)
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
this.$set(items, "standEnName", item.standEnName);
|
||||
this.$set(items, "standYear", item.standYear);
|
||||
this.$set(items, "standSort", item.standSort);
|
||||
this.$set(items, "standNumber", item.standNumber);
|
||||
this.$set(items, "zccssrq", item.zccssrq);
|
||||
this.$set(items, "xcxssrq", item.xcxssrq);
|
||||
this.$set(items, "ssrq", item.ssrq);
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
this.listForm.dataList.forEach(item => {
|
||||
dataChildren.push(item.children)
|
||||
|
||||
@@ -799,6 +799,11 @@ export default {
|
||||
this.$message.warning('请填写完整的不符合项信息')
|
||||
this.comFlag = 0
|
||||
}else{
|
||||
this.listForm.dataList.forEach(item => {
|
||||
if(item.workPeople === '请选择责任人'){
|
||||
item.workPeople = ''
|
||||
}
|
||||
})
|
||||
this.isSubmit = true;
|
||||
this.listForm.commentText = this.commentText;
|
||||
const json = JSON.stringify(this.listForm);
|
||||
|
||||
@@ -435,7 +435,9 @@ export default {
|
||||
this.listForm["id"] = item.id;
|
||||
this.listForm.dataList = item.dataList;
|
||||
this.listForm.dataList.forEach(item => {
|
||||
this.dataList.push(item)
|
||||
if(item.workPeople !== ''){
|
||||
this.dataList.push(item)
|
||||
}
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
|
||||
@@ -474,7 +474,9 @@ export default {
|
||||
this.listForm["id"] = item.id;
|
||||
this.listForm.dataList = item.dataList;
|
||||
this.listForm.dataList.forEach(item => {
|
||||
this.dataList.push(item)
|
||||
if(item.workPeople !== ''){
|
||||
this.dataList.push(item)
|
||||
}
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
|
||||
@@ -476,7 +476,9 @@ export default {
|
||||
this.listForm["id"] = item.id;
|
||||
this.listForm.dataList = item.dataList;
|
||||
this.listForm.dataList.forEach(item => {
|
||||
this.dataList.push(item)
|
||||
if(item.workPeople !== ''){
|
||||
this.dataList.push(item)
|
||||
}
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
|
||||
@@ -423,7 +423,9 @@ export default {
|
||||
this.listForm["id"] = item.id;
|
||||
this.listForm.dataList = item.dataList;
|
||||
this.listForm.dataList.forEach(item => {
|
||||
this.dataList.push(item)
|
||||
if(item.workPeople !== ''){
|
||||
this.dataList.push(item)
|
||||
}
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
|
||||
@@ -421,7 +421,9 @@ export default {
|
||||
this.listForm["id"] = item.id;
|
||||
this.listForm.dataList = item.dataList;
|
||||
this.listForm.dataList.forEach(item => {
|
||||
this.dataList.push(item)
|
||||
if(item.workPeople !== ''){
|
||||
this.dataList.push(item)
|
||||
}
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
|
||||
@@ -423,7 +423,9 @@ export default {
|
||||
this.listForm["id"] = item.id;
|
||||
this.listForm.dataList = item.dataList;
|
||||
this.listForm.dataList.forEach(item => {
|
||||
this.dataList.push(item)
|
||||
if(item.workPeople !== ''){
|
||||
this.dataList.push(item)
|
||||
}
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
|
||||
@@ -424,7 +424,7 @@ export default {
|
||||
this.listForm["id"] = item.id;
|
||||
this.listForm.dataList = item.dataList;
|
||||
this.listForm.dataList.forEach(item => {
|
||||
if(item.children.length < 1 && item.workPeopleId === this.$store.getters.userInfo.userId ){
|
||||
if(item.workPeople !== ''){
|
||||
this.dataList.push(item)
|
||||
}
|
||||
item.children.forEach(items=> {
|
||||
@@ -434,6 +434,9 @@ export default {
|
||||
this.$set(items, "standYear", item.standYear);
|
||||
this.$set(items, "standSort", item.standSort);
|
||||
this.$set(items, "standNumber", item.standNumber);
|
||||
this.$set(items, "zccssrq", item.zccssrq);
|
||||
this.$set(items, "xcxssrq", item.xcxssrq);
|
||||
this.$set(items, "ssrq", item.ssrq);
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
@@ -423,19 +423,21 @@ export default {
|
||||
this.listForm["id"] = item.id;
|
||||
this.listForm.dataList = item.dataList;
|
||||
this.listForm.dataList.forEach(item => {
|
||||
this.dataList.push(item)
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
this.$set(items, "standEnName", item.standEnName);
|
||||
this.$set(items, "standYear", item.standYear);
|
||||
this.$set(items, "standSort", item.standSort);
|
||||
this.$set(items, "standNumber", item.standNumber);
|
||||
this.$set(items, "zccssrq", item.zccssrq);
|
||||
this.$set(items, "xcxssrq", item.xcxssrq);
|
||||
this.$set(items, "ssrq", item.ssrq);
|
||||
}
|
||||
})
|
||||
if(item.workPeople !== ''){
|
||||
this.dataList.push(item)
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
this.$set(items, "standEnName", item.standEnName);
|
||||
this.$set(items, "standYear", item.standYear);
|
||||
this.$set(items, "standSort", item.standSort);
|
||||
this.$set(items, "standNumber", item.standNumber);
|
||||
this.$set(items, "zccssrq", item.zccssrq);
|
||||
this.$set(items, "xcxssrq", item.xcxssrq);
|
||||
this.$set(items, "ssrq", item.ssrq);
|
||||
}
|
||||
})
|
||||
}
|
||||
})
|
||||
this.listForm.dataList.forEach(item => {
|
||||
dataChildren.push(item.children)
|
||||
|
||||
@@ -422,7 +422,9 @@ export default {
|
||||
this.listForm["id"] = item.id;
|
||||
this.listForm.dataList = item.dataList;
|
||||
this.listForm.dataList.forEach(item => {
|
||||
this.dataList.push(item)
|
||||
if(item.workPeople !== ''){
|
||||
this.dataList.push(item)
|
||||
}
|
||||
item.children.forEach(items=> {
|
||||
if(items.key === item.standId){
|
||||
this.$set(items, "standName", item.standName);
|
||||
|
||||
Reference in New Issue
Block a user