{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\reform-fvue\\src\\views\\MajorReformProjects\\components\\Updatedownturn.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\MajorReformProjects\\components\\Updatedownturn.vue","mtime":1681724620057},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport org from '@/api/org.js'\nimport utils from '@/utils.js'\nimport dictUtils from '@/components/dict/DictSelectUtils.js'\nimport majorProjects from '@/api/MajorReformProjects/majorProjects.js'\nimport targetDialog from './targetDialog.vue'\nimport planDialog from './planDialog.vue'\nimport sat from '@/api/satisfaction/satisfaction'\nimport {\n\tTableMixin\n} from '@/mixins/tableMixin'\nimport moment from 'moment'\nconst FileTree = () => import(\"@/components/Enclosure/FileTree.vue\");\nconst IframeSrc = () => import(\"@/components/Enclosure/IframeSrc.vue\");\nconst Pdf = () => import(\"@/components/Enclosure/Pdf.vue\");\nconst portal = window.context.portal\nexport default {\n\tname: 'MajorProjectsDialog',\n\tcomponents: {\n\t\ttargetDialog,\n\t\tplanDialog,\n\t\tFileTree,\n\t\tIframeSrc,\n\t\tPdf\n\t},\n\tmixins: [TableMixin],\n\tdata() {\n\t\treturn {\n\t\t\tparameter: {\n\t\t\t\tprojectName: '',\n\t\t\t\tleader: '',\n\t\t\t\tunitName: '',\n\t\t\t\tpilotQuantitativeObjectivesList: [{}], //量化目标\n\t\t\t\tpilotSpecificMeasuresList: [{}], //具体举措\n\t\t\t\t// pilotSpecificScheduleList: [{}], //进度计划\n\t\t\t\tpromotionSituationList: [], //开展经验总结推广情况\n\t\t\t\tpilotSpecificSchedulePushList: [], //搭建工作、推广重要、形成制度\n\t\t\t\tpilotBrandPushList: [], //品牌显示度\n\t\t\t\tpilotSpecificScheduleQuarterList: [], //季度\n\t\t\t},\n\t\t\tactiveCollapse1: '1',\n\t\t\tvisible: false,\n\t\t\ttitle: '更新',\n\t\t\tloading: false,\n\t\t\tdisabled: false,\n\t\t\tactiveName: '0',\n\t\t\ttableData: [],\n\t\t\tplanData: [],\n\t\t\tsaveloading: false,\n\t\t\tauditloading: false,\n\t\t\tqueryParam: {\n\t\t\t\tpageBean: {\n\t\t\t\t\tpage: 1,\n\t\t\t\t\tpageSize: -1,\n\t\t\t\t},\n\t\t\t},\n\t\t\t// 历史数据\n\t\t\tparams: {\n\t\t\t\tpilotProjectFill: {\n\t\t\t\t\tfillYear: '',\n\t\t\t\t\tfillMonth: ''\n\t\t\t\t},\n\t\t\t\tmunicipalMajorProjectManagement: [], //基础数据\n\t\t\t\tpilotQuantitativeObjectivesPushList: [], //季度计划\n\t\t\t\tnewpilotSpecificSchedulePushList: [], //\n\t\t\t\tnewpilotExperiencePushList: [], //其他改革成果\n\t\t\t\tnewpilotBrandPushList: [], //品牌显示度\n\t\t\t\tnewpilotMeasuresPushQuarterList: [], //改革方案明确的季度计划完成情况\n\t\t\t},\n\n\t\t\tnewtgxsList: [], //推广形式\n\t\t\tnewhkdxsList: [], //获肯定形式\n\t\t\tnewtjcmxjhlxList: [], //举措明细计划类型\n\t\t\tnewcgxsList: [],\n\n\n\n\t\t\ttreeData: [],\n\t\t\ttypeList: [],\n\t\t\tyear: moment().format('YYYY'),\n\t\t\tmonth: moment().format('MM'),\n\t\t\ttgxsList: [], //推广形式\n\t\t\thkdxsList: [], //获肯定形式\n\t\t\ttjcmxjhlxList: [], //举措明细计划类型\n\t\t\toptions: [], //具体情形\n\t\t\tprojectId: '', //项目id\n\t\t\tjdList: [], //季度\n\t\t\tjtqxList: [], //具体情形\n\t\t\tfileList: [],\n\t\t\tdialogImageUrl: '',\n\t\t\taccept: '.bmp,.jpg,.png,.tif,.gif,.pcx,.tga,.exif,.fpx,.svg,.psd,.cdr,.pcd,.dxf,.ufo,.eps,.ai,.raw,.WMF,.webp,.avif,.apng,.xls,.docx,.docm,.doc,.dotx,.pptx,.pptm,.ppt,.pdf,.xps,.potx,.txt,.xls,.xlsx,.xps,.zip,.rar,.7z',\n\t\t\turl: `${portal}/file/v1/uploadFileForConfig`,\n\t\t\tpreviewUrl: `${portal}/file/onlinePreviewController/v1/getFileById_`,\n\t\t\theader: {\n\t\t\t\tAuthorization: `Bearer ${this.$store.state.login.currentUser.token}`\n\t\t\t},\n\t\t\tuploadData: {\n\t\t\t\tbizCode: 'mydandfx',\n\t\t\t\tbizId: '',\n\t\t\t\tbizType: ''\n\t\t\t},\n\t\t\tportal: '',\n\t\t\topenloading: '',\n\t\t\tsrc: \"\",\n\t\t\tiframeSrc: \"\",\n\t\t\tfileRow: \"\",\n\t\t\tfileTree: ''\n\t\t}\n\t},\n\tcreated() {\n\t\tthis.tgxsList = dictUtils.getDictItemsFromCache('tgxs')\n\t\tthis.hkdxsList = dictUtils.getDictItemsFromCache('hkdxs')\n\t\tthis.tjcmxjhlxList = dictUtils.getDictItemsFromCache('jcmxjhlx')\n\t\tthis.jdList = dictUtils.getDictItemsFromCache('jd')\n\t\tthis.jtqxList = dictUtils.getDictItemsFromCache('jtqx')\n\n\t\tthis.newtgxsList = dictUtils.getDictItemsFromCache('tgxs')\n\t\tthis.newhkdxsList = dictUtils.getDictItemsFromCache('hkdxs')\n\t\tthis.newtjcmxjhlxList = dictUtils.getDictItemsFromCache('jcmxjhlx')\n\t\tthis.newcgxsList = dictUtils.getDictItemsFromCache('cgxs')\n\t\tthis.portal = window.context.portal\n\n\n\t\tthis.add(this.$route.query.id)\n\t},\n\tmounted() {\n\n\t},\n\tbeforeDestroy() {\n\t\tthis.openloading.close();\n\t},\n\tmethods: {\n\t\topenFullScreen2() {\n\t\t\tthis.openloading = this.$loading({\n\t\t\t\tlock: true,\n\t\t\t\t// text: 'Loading',\n\n\t\t\t\t// spinner: 'el-icon-loading',\n\t\t\t\tbackground: 'hsla(0,0%,100%,.9)',\n\t\t\t\ttarget: '.el-card__body',\n\t\t\t});\n\t\t},\n\t\tadd(val) {\n\t\t\tthis.openFullScreen2()\n\t\t\tthis.projectId = ''\n\t\t\tthis.title = '更新'\n\t\t\t//初始化数据\n\t\t\tmajorProjects.boostDetailId({\n\t\t\t\tfillDate: moment().format('YYYY-MM-DD'),\n\t\t\t\tprojectId: val\n\t\t\t}, res => {\n\t\t\t\tif (res) {\n\t\t\t\t\tconsole.log(res);\n\t\t\t\t\tlet data = JSON.parse(JSON.stringify(res))\n\t\t\t\t\tthis.projectId = data.id\n\t\t\t\t\tthis.parameter.promotionSituationList = []\n\t\t\t\t\tthis.parameter.projectName = data.projectName\n\t\t\t\t\tthis.parameter.leader = data.leader\n\t\t\t\t\tthis.parameter.unitName = data.unitName\n\t\t\t\t\t// 量化目标推进情况数据处理\n\t\t\t\t\tif (data.pilotQuantitativeObjectivesList && data.pilotQuantitativeObjectivesList.length >\n\t\t\t\t\t\t0) {\n\t\t\t\t\t\tdata.pilotQuantitativeObjectivesList.forEach(q => {\n\t\t\t\t\t\t\tq.pushProgress ? q.pushProgress : ''\n\t\t\t\t\t\t\tq.objectivesMeasuresId = q.id\n\t\t\t\t\t\t\tq.id = q.dataId ? q.dataId : ''\n\t\t\t\t\t\t\tdelete q.createTime\n\t\t\t\t\t\t\tdelete q.isDelete\n\t\t\t\t\t\t\tdelete q.id\n\t\t\t\t\t\t\t// delete q.pilotObjectivesDetailsList\n\t\t\t\t\t\t\t// delete q.pilotQuantitativeObjectivesPushList\n\n\t\t\t\t\t\t})\n\t\t\t\t\t\tthis.parameter.pilotQuantitativeObjectivesList = data.pilotQuantitativeObjectivesList\n\t\t\t\t\t}\n\t\t\t\t\tif (data.pilotSpecificMeasuresList && data.pilotSpecificMeasuresList.length > 0) {\n\t\t\t\t\t\tdata.pilotSpecificMeasuresList.forEach(f => {\n\t\t\t\t\t\t\tf.measuresId = f.id\n\t\t\t\t\t\t\tf.workPlan = ''\n\t\t\t\t\t\t\tf.problems = ''\n\t\t\t\t\t\t\tf.completedWork = ''\n\t\t\t\t\t\t\tdelete f.createTime\n\t\t\t\t\t\t\tdelete f.distributionType\n\t\t\t\t\t\t\tdelete f.id\n\t\t\t\t\t\t\tdelete f.isDelete\n\t\t\t\t\t\t\tdelete f.pkVal\n\t\t\t\t\t\t\tdelete f.specificMeasuresId\n\t\t\t\t\t\t\tdelete f.status\n\t\t\t\t\t\t})\n\t\t\t\t\t\tthis.parameter.pilotSpecificMeasuresList = data.pilotSpecificMeasuresList\n\t\t\t\t\t}\n\n\t\t\t\t\t//市级重大改革项目填报审核记录 项目信息\n\t\t\t\t\tthis.parameter.pilotProjectFill = {\n\t\t\t\t\t\tfillDate: moment().format('YYYY-MM-DD'),\n\t\t\t\t\t\tprojectId: this.projectId\n\t\t\t\t\t}\n\t\t\t\t\t// this.parameter.pilotSpecificScheduleList = data.pilotSpecificScheduleList\n\n\t\t\t\t\t//季度计划\n\t\t\t\t\tlet arr = []\n\t\t\t\t\tif (data.pilotSpecificScheduleQuarterList && data.pilotSpecificScheduleQuarterList.length >\n\t\t\t\t\t\t0) {\n\t\t\t\t\t\tdata.pilotSpecificScheduleQuarterList.forEach(f => {\n\t\t\t\t\t\t\tarr.push({\n\t\t\t\t\t\t\t\tquarter: Object.entries(f)[0][0],\n\t\t\t\t\t\t\t\tlist: Object.entries(f)[0][1]\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t\tthis.parameter.pilotSpecificScheduleQuarterList = arr\n\t\t\t\t\tconsole.log(arr);\n\n\t\t\t\t\t//处理举措明细计划类型数据结构\n\t\t\t\t\tif (data.pilotSpecificSchedulePushList && data.pilotSpecificSchedulePushList.length > 0) {\n\t\t\t\t\t\tthis.tjcmxjhlxList.forEach(tj => {\n\t\t\t\t\t\t\tdata.pilotSpecificSchedulePushList.forEach(pi => {\n\t\t\t\t\t\t\t\tif (tj.value == pi.measuresPlanType) {\n\t\t\t\t\t\t\t\t\tif (this.parameter.pilotSpecificSchedulePushList.length >\n\t\t\t\t\t\t\t\t\t\t0) {\n\t\t\t\t\t\t\t\t\t\tlet SpecificType = true\n\t\t\t\t\t\t\t\t\t\tthis.parameter.pilotSpecificSchedulePushList.forEach(\n\t\t\t\t\t\t\t\t\t\t\tpSS => {\n\t\t\t\t\t\t\t\t\t\t\t\tif (pi.measuresPlanType == pSS.value) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tpi.fileList = []\n\t\t\t\t\t\t\t\t\t\t\t\t\tconsole.log(1, pi.defaultFileList);\n\t\t\t\t\t\t\t\t\t\t\t\t\tif (pi.defaultFileList.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tpi.defaultFileList.forEach(df => {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tpi.fileList.push({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tname: df\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.fileName,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tresponse: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfileId: df\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.id,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfileName: df\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.fileName\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\tSpecificType = false\n\t\t\t\t\t\t\t\t\t\t\t\t\tpSS.content.push({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tprojectId: pi.projectId,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tmeasuresPlanType: pi\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.measuresPlanType,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tresultName: pi.resultName,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tbasis: pi.basis,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tid: pi.id ? pi.id : '',\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tclassified: pi.classified,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tdefaultFileList: pi\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.defaultFileList,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfileList: pi.fileList ? pi\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.fileList : []\n\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\tif (SpecificType) {\n\t\t\t\t\t\t\t\t\t\t\tpi.fileList = []\n\t\t\t\t\t\t\t\t\t\t\tconsole.log(2, pi.defaultFileList);\n\t\t\t\t\t\t\t\t\t\t\tif (pi.defaultFileList.length > 0) {\n\t\t\t\t\t\t\t\t\t\t\t\tpi.defaultFileList.forEach(df => {\n\t\t\t\t\t\t\t\t\t\t\t\t\tpi.fileList.push({\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tname: df.fileName,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tresponse: {\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfileId: df.id,\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tfileName: df\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t.fileName\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t\t})\n\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t\tthis.parameter.pilotSpecificSchedulePushList.push({\n\t\t\t\t\t\t\t\t\t\t\t\tname: tj.name,\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: tj.value,\n\t\t\t\t\t\t\t\t\t\t\t\tcontent: [{\n\t\t\t\t\t\t\t\t\t\t\t\t\tprojectId: pi.projectId,\n\t\t\t\t\t\t\t\t\t\t\t\t\tmeasuresPlanType: pi\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.measuresPlanType,\n\t\t\t\t\t\t\t\t\t\t\t\t\tresultName: pi.resultName,\n\t\t\t\t\t\t\t\t\t\t\t\t\tbasis: pi.basis,\n\t\t\t\t\t\t\t\t\t\t\t\t\tid: pi.id ? pi.id : '',\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassified: pi.classified,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdefaultFileList: pi\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.defaultFileList,\n\t\t\t\t\t\t\t\t\t\t\t\t\tfileList: pi.fileList ? pi\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.fileList : []\n\t\t\t\t\t\t\t\t\t\t\t\t}]\n\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tthis.parameter.pilotSpecificSchedulePushList.push({\n\t\t\t\t\t\t\t\t\t\t\tname: tj.name,\n\t\t\t\t\t\t\t\t\t\t\tvalue: tj.value,\n\t\t\t\t\t\t\t\t\t\t\tcontent: [{\n\t\t\t\t\t\t\t\t\t\t\t\tprojectId: pi.projectId,\n\t\t\t\t\t\t\t\t\t\t\t\tmeasuresPlanType: pi\n\t\t\t\t\t\t\t\t\t\t\t\t\t.measuresPlanType,\n\t\t\t\t\t\t\t\t\t\t\t\tresultName: pi.resultName,\n\t\t\t\t\t\t\t\t\t\t\t\tbasis: pi.basis,\n\t\t\t\t\t\t\t\t\t\t\t\tid: pi.id ? pi.id : '',\n\t\t\t\t\t\t\t\t\t\t\t\tclassified: pi.classified,\n\t\t\t\t\t\t\t\t\t\t\t\tdefaultFileList: pi\n\t\t\t\t\t\t\t\t\t\t\t\t\t.defaultFileList,\n\t\t\t\t\t\t\t\t\t\t\t\tfileList: pi.fileList ? pi\n\t\t\t\t\t\t\t\t\t\t\t\t\t.fileList : []\n\t\t\t\t\t\t\t\t\t\t\t}]\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t}\n\n\n\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t})\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.tjcmxjhlxList.forEach(t => {\n\t\t\t\t\t\t\tthis.parameter.pilotSpecificSchedulePushList.push({\n\t\t\t\t\t\t\t\tname: t.name,\n\t\t\t\t\t\t\t\tvalue: t.value,\n\t\t\t\t\t\t\t\tcontent: [{\n\t\t\t\t\t\t\t\t\tprojectId: this.projectId,\n\t\t\t\t\t\t\t\t\tmeasuresPlanType: t.value,\n\t\t\t\t\t\t\t\t\tresultName: '',\n\t\t\t\t\t\t\t\t\tbasis: '',\n\t\t\t\t\t\t\t\t\tclassified: 1\n\t\t\t\t\t\t\t\t}]\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t\tconsole.log(this.parameter.pilotSpecificSchedulePushList);\n\t\t\t\t\t//处理推广形式数据结构\n\t\t\t\t\tif (data.pilotExperiencePushList && data.pilotExperiencePushList.length > 0) {\n\t\t\t\t\t\tthis.tgxsList.forEach(tg => {\n\t\t\t\t\t\t\tdata.pilotExperiencePushList.forEach(pie => {\n\t\t\t\t\t\t\t\tif (tg.value == pie.promotionType) {\n\t\t\t\t\t\t\t\t\t//返回数据对接字典数据,如果对应就添加当前pie进入新数组,\n\t\t\t\t\t\t\t\t\t//promotionSituationList判断第一次是否为空,是就直接添加一条数据\n\t\t\t\t\t\t\t\t\t//判断当前数据中的promotionType是否再promotionSituationList存在\n\t\t\t\t\t\t\t\t\t//如果存在就在content添加一条数据\n\t\t\t\t\t\t\t\t\tif (this.parameter.promotionSituationList.length > 0) {\n\t\t\t\t\t\t\t\t\t\tlet arrType = true\n\t\t\t\t\t\t\t\t\t\tthis.parameter.promotionSituationList.forEach(pS => {\n\t\t\t\t\t\t\t\t\t\t\tconsole.log('触发', pS);\n\t\t\t\t\t\t\t\t\t\t\tif (pie.promotionType == pS.value) {\n\t\t\t\t\t\t\t\t\t\t\t\tconsole.log(1);\n\t\t\t\t\t\t\t\t\t\t\t\tarrType = false\n\t\t\t\t\t\t\t\t\t\t\t\tconsole.log(1, arrType);\n\t\t\t\t\t\t\t\t\t\t\t\tpS.content.push({\n\t\t\t\t\t\t\t\t\t\t\t\t\tprojectId: pie.projectId,\n\t\t\t\t\t\t\t\t\t\t\t\t\tpromotionType: pie\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.promotionType,\n\t\t\t\t\t\t\t\t\t\t\t\t\tpromotionContent: pie\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.promotionContent,\n\t\t\t\t\t\t\t\t\t\t\t\t\tid: pie.id ? pie.id : '',\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassified: pie.classified,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdefaultFileList: pie\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.defaultFileList\n\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\tif (arrType) {\n\t\t\t\t\t\t\t\t\t\t\tthis.parameter.promotionSituationList.push({\n\t\t\t\t\t\t\t\t\t\t\t\tname: tg.name,\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: tg.value,\n\t\t\t\t\t\t\t\t\t\t\t\tcontent: [{\n\t\t\t\t\t\t\t\t\t\t\t\t\tprojectId: pie.projectId,\n\t\t\t\t\t\t\t\t\t\t\t\t\tpromotionType: pie\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.promotionType,\n\t\t\t\t\t\t\t\t\t\t\t\t\tpromotionContent: pie\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.promotionContent,\n\t\t\t\t\t\t\t\t\t\t\t\t\tid: pie.id ? pie.id : '',\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassified: pie.classified,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdefaultFileList: pie\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.defaultFileList\n\t\t\t\t\t\t\t\t\t\t\t\t}]\n\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tthis.parameter.promotionSituationList.push({\n\t\t\t\t\t\t\t\t\t\t\tname: tg.name,\n\t\t\t\t\t\t\t\t\t\t\tvalue: tg.value,\n\t\t\t\t\t\t\t\t\t\t\tcontent: [{\n\t\t\t\t\t\t\t\t\t\t\t\tprojectId: pie.projectId,\n\t\t\t\t\t\t\t\t\t\t\t\tpromotionType: pie\n\t\t\t\t\t\t\t\t\t\t\t\t\t.promotionType,\n\t\t\t\t\t\t\t\t\t\t\t\tpromotionContent: pie\n\t\t\t\t\t\t\t\t\t\t\t\t\t.promotionContent,\n\t\t\t\t\t\t\t\t\t\t\t\tid: pie.id ? pie.id : '',\n\t\t\t\t\t\t\t\t\t\t\t\tclassified: pie.classified,\n\t\t\t\t\t\t\t\t\t\t\t\tdefaultFileList: pie\n\t\t\t\t\t\t\t\t\t\t\t\t\t.defaultFileList\n\t\t\t\t\t\t\t\t\t\t\t}]\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\tconsole.log(this.parameter.promotionSituationList);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t})\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.tgxsList.forEach(e => {\n\t\t\t\t\t\t\tthis.parameter.promotionSituationList.push({\n\t\t\t\t\t\t\t\tname: e.name,\n\t\t\t\t\t\t\t\tvalue: e.value,\n\t\t\t\t\t\t\t\tcontent: [{\n\t\t\t\t\t\t\t\t\tprojectId: this.projectId,\n\t\t\t\t\t\t\t\t\tpromotionType: e.value,\n\t\t\t\t\t\t\t\t\tpromotionContent: '',\n\t\t\t\t\t\t\t\t\tclassified: 1\n\t\t\t\t\t\t\t\t}]\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\n\n\n\t\t\t\t\t//处理获肯定形式数据结构\n\t\t\t\t\tif (data.pilotBrandPushList && data.pilotBrandPushList.length > 0) {\n\t\t\t\t\t\tthis.hkdxsList.forEach(hk => {\n\t\t\t\t\t\t\tdata.pilotBrandPushList.forEach(pib => {\n\t\t\t\t\t\t\t\tif (hk.value == pib.effectForm) {\n\t\t\t\t\t\t\t\t\t//返回数据对接字典数据,如果对应就添加当前pie进入新数组,\n\t\t\t\t\t\t\t\t\t//promotionSituationList判断第一次是否为空,是就直接添加一条数据\n\t\t\t\t\t\t\t\t\t//判断当前数据中的promotionType是否再promotionSituationList存在\n\t\t\t\t\t\t\t\t\t//如果存在就在content添加一条数据\n\t\t\t\t\t\t\t\t\tif (this.parameter.pilotBrandPushList.length > 0) {\n\t\t\t\t\t\t\t\t\t\tlet Brand = true\n\t\t\t\t\t\t\t\t\t\tthis.parameter.pilotBrandPushList.forEach(pB => {\n\t\t\t\t\t\t\t\t\t\t\tif (pib.effectForm == pB.value) {\n\t\t\t\t\t\t\t\t\t\t\t\tBrand = false\n\t\t\t\t\t\t\t\t\t\t\t\tpB.content.push({\n\t\t\t\t\t\t\t\t\t\t\t\t\tid: pib.id,\n\t\t\t\t\t\t\t\t\t\t\t\t\tprojectId: pib.projectId,\n\t\t\t\t\t\t\t\t\t\t\t\t\teffectForm: pib.effectForm,\n\t\t\t\t\t\t\t\t\t\t\t\t\tcompletionDate: pib\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.completionDate,\n\t\t\t\t\t\t\t\t\t\t\t\t\tpropulsiveDetailed: pib\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.propulsiveDetailed,\n\t\t\t\t\t\t\t\t\t\t\t\t\tspecificDetails: pib\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.specificDetails\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.toString(),\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassified: pib.classified,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdefaultFileList: pib\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.defaultFileList\n\t\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\tif (Brand) {\n\t\t\t\t\t\t\t\t\t\t\tthis.parameter.pilotBrandPushList.push({\n\t\t\t\t\t\t\t\t\t\t\t\tname: hk.name,\n\t\t\t\t\t\t\t\t\t\t\t\tvalue: hk.value,\n\t\t\t\t\t\t\t\t\t\t\t\tcontent: [{\n\t\t\t\t\t\t\t\t\t\t\t\t\tprojectId: pib.projectId,\n\t\t\t\t\t\t\t\t\t\t\t\t\teffectForm: pib.effectForm,\n\t\t\t\t\t\t\t\t\t\t\t\t\tcompletionDate: pib\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.completionDate,\n\t\t\t\t\t\t\t\t\t\t\t\t\tpropulsiveDetailed: pib\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.propulsiveDetailed,\n\t\t\t\t\t\t\t\t\t\t\t\t\tspecificDetails: pib\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.specificDetails ? pib\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.specificDetails\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.toString() : '',\n\t\t\t\t\t\t\t\t\t\t\t\t\tclassified: pib.classified,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdefaultFileList: pib\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t.defaultFileList,\n\t\t\t\t\t\t\t\t\t\t\t\t\tid: pib.id\n\t\t\t\t\t\t\t\t\t\t\t\t}]\n\t\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\t\tthis.parameter.pilotBrandPushList.push({\n\t\t\t\t\t\t\t\t\t\t\tname: hk.name,\n\t\t\t\t\t\t\t\t\t\t\tvalue: hk.value,\n\t\t\t\t\t\t\t\t\t\t\tcontent: [{\n\t\t\t\t\t\t\t\t\t\t\t\tid: pib.id,\n\t\t\t\t\t\t\t\t\t\t\t\tprojectId: pib.projectId,\n\t\t\t\t\t\t\t\t\t\t\t\teffectForm: pib.effectForm,\n\t\t\t\t\t\t\t\t\t\t\t\tcompletionDate: pib\n\t\t\t\t\t\t\t\t\t\t\t\t\t.completionDate,\n\t\t\t\t\t\t\t\t\t\t\t\tpropulsiveDetailed: pib\n\t\t\t\t\t\t\t\t\t\t\t\t\t.propulsiveDetailed,\n\t\t\t\t\t\t\t\t\t\t\t\tspecificDetails: pib\n\t\t\t\t\t\t\t\t\t\t\t\t\t.specificDetails ? pib\n\t\t\t\t\t\t\t\t\t\t\t\t\t.specificDetails\n\t\t\t\t\t\t\t\t\t\t\t\t\t.toString() : '',\n\t\t\t\t\t\t\t\t\t\t\t\tclassified: pib.classified,\n\t\t\t\t\t\t\t\t\t\t\t\tdefaultFileList: pib\n\t\t\t\t\t\t\t\t\t\t\t\t\t.defaultFileList\n\t\t\t\t\t\t\t\t\t\t\t}]\n\t\t\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t})\n\t\t\t\t\t} else {\n\t\t\t\t\t\tthis.hkdxsList.forEach(h => {\n\t\t\t\t\t\t\tthis.parameter.pilotBrandPushList.push({\n\t\t\t\t\t\t\t\tname: h.name,\n\t\t\t\t\t\t\t\tvalue: h.value,\n\t\t\t\t\t\t\t\tcontent: [{\n\t\t\t\t\t\t\t\t\tprojectId: this.projectId,\n\t\t\t\t\t\t\t\t\teffectForm: h.value,\n\t\t\t\t\t\t\t\t\tcompletionDate: '',\n\t\t\t\t\t\t\t\t\tpropulsiveDetailed: '',\n\t\t\t\t\t\t\t\t\tclassified: 1\n\t\t\t\t\t\t\t\t}]\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t\tthis.openloading.close();\n\t\t\t\t\tconsole.log(123);\n\t\t\t\t}\n\t\t\t})\n\n\t\t\t//历史数据\n\t\t\tmajorProjects.historyDetails(val, res => {\n\t\t\t\tif (Object.keys(res).length > 0) {\n\t\t\t\t\tthis.params = res\n\t\t\t\t\tthis.newcgxsList.forEach(c => {\n\t\t\t\t\t\tc.list = []\n\t\t\t\t\t\tif (this.params.pilotSpecificSchedulePushList.length > 0) {\n\t\t\t\t\t\t\tthis.params.pilotSpecificSchedulePushList.forEach(e => {\n\t\t\t\t\t\t\t\tif (c.value == e.measuresPlanType) {\n\t\t\t\t\t\t\t\t\tc.list.push(e)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\n\n\t\t\t\t\t})\n\t\t\t\t\tthis.params.newpilotSpecificSchedulePushList = this.newcgxsList\n\t\t\t\t\tthis.newtgxsList.forEach(pa => {\n\t\t\t\t\t\tpa.list = []\n\t\t\t\t\t\tif (this.params.pilotExperiencePushList.length > 0) {\n\t\t\t\t\t\t\tthis.params.pilotExperiencePushList.forEach(p => {\n\t\t\t\t\t\t\t\tif (pa.value == p.promotionType) {\n\t\t\t\t\t\t\t\t\tpa.list.push(p)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\tthis.params.newpilotExperiencePushList = this.newtgxsList\n\t\t\t\t\tthis.newhkdxsList.forEach(ba => {\n\t\t\t\t\t\tba.list = []\n\t\t\t\t\t\tif (this.params.pilotBrandPushList.length > 0) {\n\t\t\t\t\t\t\tthis.params.pilotBrandPushList.forEach(b => {\n\t\t\t\t\t\t\t\tif (ba.value == b.effectForm) {\n\t\t\t\t\t\t\t\t\tba.list.push(b)\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t}\n\n\t\t\t\t\t})\n\t\t\t\t\tconsole.log(this.newhkdxsList);\n\t\t\t\t\tlet Harr = []\n\t\t\t\t\tthis.newhkdxsList.forEach((k, ki) => {\n\t\t\t\t\t\tif (k.list) {\n\t\t\t\t\t\t\tHarr.push(k)\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\tthis.params.newpilotBrandPushList = Harr\n\t\t\t\t\tlet arr = []\n\t\t\t\t\tif (this.params.pilotMeasuresPushQuarterList.length > 0) {\n\t\t\t\t\t\tthis.params.pilotMeasuresPushQuarterList.forEach(f => {\n\t\t\t\t\t\t\tarr.push({\n\t\t\t\t\t\t\t\tquarter: Object.entries(f)[0][0],\n\t\t\t\t\t\t\t\tlist: Object.entries(f)[0][1]\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t\tthis.params.newpilotMeasuresPushQuarterList = arr\n\t\t\t\t\t// delete this.params.\n\n\t\t\t\t} else {\n\t\t\t\t\tthis.visible = true\n\t\t\t\t}\n\t\t\t})\n\t\t\tthis.loading = false\n\t\t\tconsole.log(this.params);\n\t\t},\n\t\tgetDictName(code, value) {\n\t\t\treturn utils.getDictName(code, value)\n\t\t},\n\t\n\t\t// 进度计划明细推进情况新增\n\t\taddList(val, index) {\n\t\t\tconsole.log(val, index);\n\t\t\tconsole.log(this.parameter.pilotSpecificSchedulePushList);\n\t\t\tthis.parameter.pilotSpecificSchedulePushList[index].content.push({\n\t\t\t\tresultName: '',\n\t\t\t\tmeasuresPlanType: val.content[0].measuresPlanType,\n\t\t\t\tprojectId: this.projectId,\n\t\t\t\tbasis: '',\n\t\t\t\tclassified: 1\n\t\t\t})\n\t\t\tconsole.log(this.parameter.pilotSpecificSchedulePushList[index]);\n\t\t},\n\t\taddTableList(text, name, index, value) {\n\t\t\tswitch (text) {\n\t\t\t\tcase 'promotionSituationList':\n\t\t\t\t\tthis.parameter.promotionSituationList[index].content.push({\n\t\t\t\t\t\tpromotionType: value,\n\t\t\t\t\t\tpromotionContent: '',\n\t\t\t\t\t\tprojectId: this.projectId,\n\t\t\t\t\t\tclassified: 1\n\t\t\t\t\t})\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'pilotBrandPushList':\n\n\t\t\t\t\tthis.parameter.pilotBrandPushList[index].content.push({\n\t\t\t\t\t\teffectForm: value,\n\t\t\t\t\t\tcompletionDate: '',\n\t\t\t\t\t\tpropulsiveDetailed: '',\n\t\t\t\t\t\tprojectId: this.projectId,\n\t\t\t\t\t\tclassified: 1\n\t\t\t\t\t})\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t},\n\t\t//上传附件\n\t\tbeforeUpload(res, file, fileList, val) {\n\t\t\tif (res.success) {\n\t\t\t\tval.fileList = fileList\n\t\t\t\tif (!val.defaultFileList) {\n\t\t\t\t\tval.defaultFileList = []\n\t\t\t\t}\n\t\t\t\tconsole.log(val.fileList);\n\t\t\t\tval.defaultFileList.push({\n\t\t\t\t\tbizCode: 'mydandfx',\n\t\t\t\t\tbizId: '',\n\t\t\t\t\tbizType: '',\n\t\t\t\t\tid: res.fileId,\n\t\t\t\t\tfileName: res.fileName,\n\t\t\t\t\tuid: file.uid\n\t\t\t\t})\n\t\t\t\tthis.$message.success('附件上传成功')\n\t\t\t} else {\n\t\t\t\tthis.$message.error('附件上传失败')\n\t\t\t}\n\t\t},\n\t\t//移除附件\n\t\thandleRemove(res, file, fileList, val) {\n\t\t\tval.defaultFileList.forEach(dF => {\n\t\t\t\tif (dF.uid == res.uid) {\n\t\t\t\t\tval.defaultFileList.splice(dF, 1)\n\t\t\t\t}\n\t\t\t})\n\n\t\t},\n\t\tpreview(file) {\n\t\t\twindow.open(this.portal + `/file/v1/downloadFile?fileId=${file.id}`, \"_blank\", );\n\t\t},\n\t\t//预览\n\t\thandlePreview(file, val) {\n\t\t\tconsole.log(file, val);\n\t\t\treturn\n\t\t\twindow.open(this.portal + `/file/v1/downloadFile?fileId=${file.response.fileId}`, \"_blank\", );\n\t\t\t// let id=''\n\t\t\t// let suffix=''\n\t\t\t// val.defaultFileList.forEach(dF=>{\n\t\t\t// \tif(dF.uid==file.uid){\n\t\t\t// \t\tid=dF.id\n\t\t\t// \t\tsuffix=dF.fileName.split('.').slice(-1)\n\t\t\t// \t}\n\t\t\t// })\n\t\t\t// this.src = window.context.portal + '/file/v1/downloadFile?fileId=' + id;\n\t\t\t// if (val.extensionName == 'jpg') {\n\t\t\t// \tconsole.log(this.src);\n\t\t\t// \treturn\n\t\t\t// \tthis.$refs.iframeSrcSearch.handleOpen();\n\t\t\t// }\n\t\t\t// if (val.extensionName == 'pdf') {\n\t\t\t// \tthis.$refs.pdfSearch.handleOpen();\n\t\t\t// }\n\n\n\t\t},\n\t\tbeforeRemove(file, fileList) {\n\t\t\treturn this.$confirm(`确定移除 ${ file.name }?`);\n\t\t},\n\t\t// 关闭新增人员窗口\n\t\thandleClose() {\n\t\t\tthis.$router.go(-1)\n\t\t\tthis.typeList = []\n\t\t\tthis.visible = false\n\t\t\tthis.disabled = false\n\t\t\tthis.title = ''\n\t\t\tthis.parameter = {\n\t\t\t\tprojectName: '',\n\t\t\t\tleader: '',\n\t\t\t\tunitName: '',\n\t\t\t\tpilotQuantitativeObjectivesList: [{}], //量化目标\n\t\t\t\tpilotSpecificMeasuresList: [{}], //具体举措\n\t\t\t\t// pilotSpecificScheduleList: [{}], //进度计划\n\t\t\t\tpromotionSituationList: [], //开展经验总结推广情况\n\t\t\t\tpilotSpecificSchedulePushList: [], //搭建工作、推广重要、形成制度\n\t\t\t\tpilotBrandPushList: [], //品牌显示度\n\t\t\t}\n\t\t},\n\t\t// 保存\n\t\thandleSave(val) {\n\t\t\t// let requiredType=true\n\t\t\t// this.parameter.pilotQuantitativeObjectivesList.forEach(pQ=>{\n\t\t\t// \tconsole.log(pQ);\n\t\t\t// \tif(!pQ.progressStatus&&pQ.progressStatus!=''){\n\n\t\t\t// \t}else{\n\t\t\t// \t\t requiredType=false\n\t\t\t// \t}\n\t\t\t// })\n\t\t\t// console.log(this.parameter.pilotSpecificScheduleQuarterList);\n\t\t\t// this.parameter.pilotSpecificScheduleQuarterList.forEach(pS=>{\n\n\t\t\t// })\n\n\t\t\t// console.log(requiredType);\n\t\t\t// return\n\n\t\t\tlet newParameter = JSON.parse(JSON.stringify(this.parameter))\n\t\t\tlet Aarr = []\n\t\t\tlet Barr = []\n\t\t\tlet Carr = []\n\t\t\tthis.parameter.pilotBrandPushList.forEach(p => {\n\t\t\t\tif (p.content) {\n\t\t\t\t\tp.content.forEach(c => {\n\t\t\t\t\t\tAarr.push(c)\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t\t\tthis.parameter.pilotSpecificSchedulePushList.forEach(n => {\n\t\t\t\tif (n.content) {\n\t\t\t\t\tn.content.forEach(nc => {\n\t\t\t\t\t\tBarr.push(nc)\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t\t\tthis.parameter.promotionSituationList.forEach(p => {\n\t\t\t\tif (p.content) {\n\t\t\t\t\tp.content.forEach(c => {\n\t\t\t\t\t\tCarr.push(c)\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t\t\t//项目具体举措计划推进情况集合\n\t\t\tnewParameter.pilotMeasuresPushList = []\n\t\t\tthis.parameter.pilotSpecificScheduleQuarterList.forEach(s => {\n\t\t\t\tif (s.list) {\n\t\t\t\t\ts.list.forEach(sa => {\n\t\t\t\t\t\tnewParameter.pilotMeasuresPushList.push({\n\t\t\t\t\t\t\tprojectId: sa.projectId,\n\t\t\t\t\t\t\tplanId: sa.planId,\n\t\t\t\t\t\t\tplanType: sa.planType,\n\t\t\t\t\t\t\tcompletedWork: sa.completedWork,\n\t\t\t\t\t\t\tproblems: sa.problems,\n\t\t\t\t\t\t\tworkPlan: sa.workPlan,\n\t\t\t\t\t\t\tisOver: sa.isOver,\n\t\t\t\t\t\t\tid: sa.id,\n\t\t\t\t\t\t\tmeasuresId: sa.id\n\t\t\t\t\t\t\t// planQuarter:sa.planQuarter\n\t\t\t\t\t\t})\n\t\t\t\t\t})\n\t\t\t\t}\n\t\t\t})\n\t\t\t//品牌显示度\n\t\t\tnewParameter.pilotBrandPushList = Aarr\n\t\t\t//进度计划明细推进情况集合\n\t\t\tnewParameter.pilotSpecificSchedulePushList = Barr\n\t\t\t//开展经验总结推广情况\n\t\t\tnewParameter.pilotExperiencePushList = Carr\n\t\t\t//量化目标推进情况集合\n\t\t\tnewParameter.pilotQuantitativeObjectivesPushList = this.parameter.pilotQuantitativeObjectivesList\n\t\t\t// 删除无效字段\n\t\t\tdelete newParameter.pilotSpecificScheduleQuarterList\n\t\t\tdelete newParameter.pilotQuantitativeObjectivesList\n\t\t\tdelete newParameter.pilotSpecificMeasuresList\n\t\t\tdelete newParameter.promotionSituationList\n\t\t\tdelete newParameter.leader\n\t\t\tdelete newParameter.projectName\n\t\t\tdelete newParameter.unitName\n\n\t\t\tlet requiredType = false\n\t\t\tnewParameter.pilotMeasuresPushList.forEach(pM => {\n\t\t\t\tif ((!pM.completedWork || pM.completedWork == '' || pM.completedWork === 'undefined') || (!pM.isOver || pM.isOver == '' || pM\n\t\t\t\t\t\t.isOver === 'undefined')) {\n\n\t\t\t\t\trequiredType = true\n\t\t\t\t}\n\t\t\t})\n\t\t\tconsole.log(newParameter.pilotQuantitativeObjectivesPushList);\n\t\t\tnewParameter.pilotQuantitativeObjectivesPushList.forEach(pQ => {\n\t\t\t\tif (!pQ.pushProgress || pQ.pushProgress == '' || pQ.pushProgress === 'undefined') {\n\t\t\t\t\trequiredType = true\n\t\t\t\t}\n\t\t\t})\n\n\t\t\tif (requiredType) {\n\t\t\t\tthis.$message.warning('必填项不能为空,请填写完在提交');\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\tswitch (val) {\n\t\t\t\tcase 'save':\n\t\t\t\t\tthis.saveloading = true\n\t\t\t\t\tmajorProjects.savaBoostData(newParameter, res => {\n\t\t\t\t\t\tif (res.state) {\n\t\t\t\t\t\t\tthis.$notify({\n\t\t\t\t\t\t\t\ttype: 'success',\n\t\t\t\t\t\t\t\tmessage: '保存成功',\n\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tthis.saveloading = false\n\t\t\t\t\t\t\tthis.handleClose()\n\t\t\t\t\t\t}\n\n\t\t\t\t\t})\n\t\t\t\t\tbreak;\n\t\t\t\tcase 'aduit':\n\t\t\t\t\tconsole.log(newParameter);\n\n\n\t\t\t\t\tthis.auditloading = true\n\t\t\t\t\tmajorProjects.aduitBoostData(newParameter, res => {\n\t\t\t\t\t\tif (res.state) {\n\t\t\t\t\t\t\tthis.$notify({\n\t\t\t\t\t\t\t\ttype: 'success',\n\t\t\t\t\t\t\t\tmessage: '提交成功',\n\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\tthis.auditloading = false\n\t\t\t\t\t\t\tthis.handleClose()\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t\tthis.saveloading = true\n\t\t\tthis.saveloading = false\n\t\t\t// this.handleClose()\n\n\n\n\n\n\t\t\treturn\n\t\t\tconsole.log(this.parameter);\n\t\t\tthis.$refs.formInfo.validate((valid) => {\n\t\t\t\tif (valid) {\n\t\t\t\t\tif (this.title === '添加' || this.title === 'add') {\n\t\t\t\t\t\tmajorProjects.addData(this.parameter, (res) => {\n\t\t\t\t\t\t\tif (res.state) {\n\t\t\t\t\t\t\t\tthis.$notify({\n\t\t\t\t\t\t\t\t\ttype: 'success',\n\t\t\t\t\t\t\t\t\tmessage: '添加成功',\n\t\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\tthis.$emit('getData')\n\t\t\t\t\t\t\t\tthis.handleClose()\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t} else if (this.title === '编辑' || this.title === 'edit') {\n\t\t\t\t\t\tmajorProjects.editData(this.parameter, (res) => {\n\t\t\t\t\t\t\tif (res.state) {\n\t\t\t\t\t\t\t\tthis.$notify({\n\t\t\t\t\t\t\t\t\ttype: 'success',\n\t\t\t\t\t\t\t\t\tmessage: '修改成功',\n\t\t\t\t\t\t\t\t\tduration: 2000,\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t\tthis.$emit('getData')\n\t\t\t\t\t\t\t\tthis.handleClose()\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t})\n\t\t},\n\t\thandleAuidt() {\n\t\t\tthis.aduitloading = true\n\t\t}\n\t},\n}\n",null]}