未符合项显示

This commit is contained in:
shen_yan_pu
2021-08-08 17:29:30 +08:00
parent 7a4a717297
commit e47a0e1c93
2 changed files with 6 additions and 6 deletions
@@ -406,7 +406,6 @@ export default {
}, },
// 保存按钮 // 保存按钮
handleSave() { handleSave() {
this.isSubmit = true
let zqa = new Map(); let zqa = new Map();
for (let lastDataListElement of this.dataList) { for (let lastDataListElement of this.dataList) {
let a = zqa.get(lastDataListElement.dutyPeopleInfoId) let a = zqa.get(lastDataListElement.dutyPeopleInfoId)
@@ -232,6 +232,7 @@ import ProcessFooter from '../../components/ProcessFooter'
import ProcessTitle from '../../components/ProcessTitle' import ProcessTitle from '../../components/ProcessTitle'
import {uploadFile} from '@/api/unqualProcess.js'; import {uploadFile} from '@/api/unqualProcess.js';
import {inboundLiaisonDetail, completeTask, saveTaskForPub} from "@/api/process" import {inboundLiaisonDetail, completeTask, saveTaskForPub} from "@/api/process"
import listOfCountries from "@/pages/regulatoryRepository/accessStandardsAndRegulations/page/listOfCountries";
export default { export default {
name: "wfhxzgStep4", name: "wfhxzgStep4",
@@ -307,11 +308,11 @@ export default {
}, },
getFormFieldList (item) { getFormFieldList (item) {
this.$nextTick(() => { this.$nextTick(() => {
let listJSON = JSON.parse(JSON.stringify(item.responUserInfo.info)) let listJSON = JSON.parse(JSON.stringify(item.responUserList))
if (listJSON.length !== undefined) { if (listJSON.length !== undefined) {
this.dataList = listJSON this.dataList = listJSON[0].standardInfoList
} else { } else {
this.dataList = [listJSON] this.dataList = [listJSON][0].standardInfoList
} }
this.dataList.forEach(item => { this.dataList.forEach(item => {
if (item.fileText.length !== 0) { if (item.fileText.length !== 0) {
@@ -427,8 +428,8 @@ export default {
_formData.append('taskIds', this.taskIds) _formData.append('taskIds', this.taskIds)
_formData.append('json', JSON.stringify({ _formData.append('json', JSON.stringify({
// roleForm: this.roleForm, // roleForm: this.roleForm,
responUserInfo: { responUserList: {
info: this.dataList.splice(-1, 1) standardInfoList: this.dataList
}, },
commentText: this.commentText commentText: this.commentText
})) }))