{"remainingRequest":"D:\\jenkins\\workspace\\reform-fvue\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\jenkins\\workspace\\reform-fvue\\src\\views\\satisfactionManagement\\SatisfactionSurveys.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\jenkins\\workspace\\reform-fvue\\src\\views\\satisfactionManagement\\SatisfactionSurveys.vue","mtime":1698318300766},{"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\r\nimport pagination from '@/components/pagination'\r\nimport { TableMixin } from '@/mixins/tableMixin'\r\nimport sat from '@/api/satisfaction/satisfaction'\r\nimport moment from 'moment'\r\nimport filePreview from '@/components/FilePreview/filePreview.vue'\r\nimport UploadFile from '@/components/uploadFile/index.vue'\r\nimport Docx from '@/components/docx'\r\nimport req from '@/request.js'\r\nimport reportDialog from './reportDialog.vue'\r\nconst portal = window.context.portal\r\nexport default {\r\n name: 'SatisfactionSurveys',\r\n components: {\r\n pagination,\r\n filePreview,\r\n UploadFile,\r\n Docx,\r\n reportDialog\r\n },\r\n mixins: [TableMixin],\r\n data() {\r\n return {\r\n // 导入------------\r\n unploading: false,\r\n actionUrl: '',\r\n importData: {\r\n satisfactionId: '',\r\n },\r\n columnData: [\r\n {\r\n label: '综合\\n评价得分',\r\n key: 'satisfaction',\r\n width: '80',\r\n },\r\n {\r\n label: '经济社会\\n发展领域\\n评价得分\\n(40%)',\r\n key: 'ecoField',\r\n width: '80',\r\n },\r\n {\r\n label: '招商引资成效\\n评价得分',\r\n key: 'ecoZs',\r\n width: '80',\r\n },\r\n {\r\n label: '就业创业环境\\n评价得分',\r\n key: 'ecoCy',\r\n width: '80',\r\n },\r\n {\r\n label: '医疗卫生服务\\n评价得分',\r\n key: 'ecoYl',\r\n width: '80',\r\n },\r\n {\r\n label: '教育环境\\n评价得分',\r\n key: 'ecoJy',\r\n width: '80',\r\n },\r\n {\r\n label: '生态环境\\n评价得分',\r\n key: 'ecoSt',\r\n width: '80',\r\n },\r\n {\r\n label: '民主政治领域\\n评价得分\\n(15%)',\r\n key: 'demField',\r\n width: '80',\r\n },\r\n {\r\n label: '民主议事开展\\n评价得分',\r\n key: 'demYs',\r\n width: '80',\r\n },\r\n {\r\n label: '办事效率\\n评价得分',\r\n key: 'demBs',\r\n width: '80',\r\n },\r\n {\r\n label: '文化领域\\n评价得分\\n(15%)',\r\n key: 'culField',\r\n width: '80',\r\n },\r\n {\r\n label: '文化、体育、\\n艺术活动\\n评价得分',\r\n key: 'culWh',\r\n width: '80',\r\n },\r\n {\r\n label: '爱国主义\\n教育成效\\n评价得分',\r\n key: 'culAg',\r\n width: '80',\r\n },\r\n {\r\n label: '平安法治领域\\n评价得分\\n(15%)',\r\n key: 'peaceField',\r\n width: '80',\r\n },\r\n {\r\n label: '司法机关\\n公正司法\\n评价得分',\r\n key: 'peaceSf',\r\n width: '80',\r\n },\r\n {\r\n label: '社会治安状况\\n评价得分',\r\n key: 'peaceZa',\r\n width: '80',\r\n },\r\n {\r\n label: '党建统领领域\\n评价得分\\n(15%)',\r\n key: 'partyField',\r\n width: '80',\r\n },\r\n {\r\n label: '党政领导机关\\n干部干事劲头\\n和精神状态\\n评价得分',\r\n key: 'partyGB',\r\n width: '80',\r\n },\r\n {\r\n label: '党员干部\\n清廉从政\\n评价得分',\r\n key: 'partyQL',\r\n width: '80',\r\n },\r\n\r\n {\r\n label: '综合得分\\n区域排名',\r\n key: 'regionSn',\r\n width: '80',\r\n },\r\n {\r\n label: '综合得分\\n全市排名',\r\n key: 'allSn',\r\n width: '80',\r\n },\r\n ],\r\n // 导入------------\r\n dialogVisible: false,\r\n dialogImageUrl: '',\r\n tableMaxHeight: 400,\r\n loading: false,\r\n tableLoading: false,\r\n tableData: [],\r\n multipleSelection: [],\r\n params: {\r\n pageBean: {\r\n page: 1,\r\n pageSize: 10,\r\n showTotal: true,\r\n },\r\n querys: [\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: '', // 字段名\r\n relation: 'AND',\r\n value: {},\r\n },\r\n ],\r\n },\r\n pageResult: {\r\n page: 1,\r\n pageSize: 20,\r\n total: 0,\r\n },\r\n searchForm: {\r\n estigationName: '',\r\n scoringDate: '',\r\n status: null,\r\n }, // 顶部搜索对象\r\n deleteIds: '', // 是否选中列表解锁删除按钮\r\n activeCollapse1: ['1'],\r\n fileList: [], // 文件上传\r\n dialog: {\r\n title: '添加',\r\n visible: false,\r\n },\r\n id: null,\r\n dialogForm: {\r\n estigationName: '',\r\n scoringDate: '',\r\n satisfaction: '',\r\n investigationConclusion: '',\r\n // status: 0, //0:草稿,1:已录入待审核,2:改革办审核驳回,3:改革办审核通过\r\n classified: 1, //0:不涉密,1:涉密\r\n scoringYear: '',\r\n scoringQuarter: 1,\r\n scoringMonth: 1,\r\n },\r\n disabled: false, // 是否禁止输入输入\r\n rules: {\r\n satisfaction: [\r\n { required: true, message: '请输入分数', trigger: 'blur' },\r\n {\r\n pattern: /(^(\\d|[1-9]\\d)(\\.\\d{1,2})?$)|(^100$)g/,\r\n message: '请输入正确分数,最多输入两位小数',\r\n trigger: 'change',\r\n },\r\n ],\r\n estigationName: [\r\n {\r\n required: true,\r\n message: '请输入调查名称',\r\n trigger: 'blur',\r\n },\r\n ],\r\n scoringDate: [\r\n {\r\n required: true,\r\n message: '请选择调查时间',\r\n trigger: 'change',\r\n },\r\n ],\r\n investigationConclusion: [\r\n {\r\n required: true,\r\n message: '请输入调查名称',\r\n trigger: 'blur',\r\n },\r\n ],\r\n scoringYear: [\r\n { required: true, message: '请选择年份', trigger: '.change' },\r\n ],\r\n scoringQuarter: [\r\n { required: true, message: '请选择季度', trigger: '.change' },\r\n ],\r\n scoringMonth: [\r\n { required: true, message: '请选择月份', trigger: '.change' },\r\n ],\r\n },\r\n rules1: {},\r\n isDialog: false,\r\n districtData: [],\r\n btnLoading: false,\r\n scoresLoading: false,\r\n options: [\r\n {\r\n value: 1,\r\n label: '第一季度',\r\n },\r\n {\r\n value: 2,\r\n label: '第二季度',\r\n },\r\n {\r\n value: 3,\r\n label: '第三季度',\r\n },\r\n {\r\n value: 4,\r\n label: '第四季度',\r\n },\r\n ],\r\n active: true\r\n }\r\n },\r\n created() {\r\n this.actionUrl = window.context.portal\r\n // this.getDistrictList()\r\n this.getSurveyList(this.params)\r\n },\r\n methods: {\r\n changeUpload(e) {\r\n this.active = e\r\n },\r\n refreshData() {\r\n this.getSurveyList(this.params)\r\n },\r\n // 满意度报告\r\n openDialog(title,{id}) {\r\n this.$refs.reportDialog.openDialog(title,id)\r\n // this.title = title\r\n // let data = this.qs.stringify({\r\n // id,\r\n // })\r\n // sat.queryById(data,res => {\r\n // if (res) {\r\n // this.formData = res\r\n // // this.formData.fileList = this.formData.fileList || []\r\n // }\r\n // })\r\n // this.dialogVisible1 = true\r\n },\r\n setLoading() {\r\n\r\n },\r\n beforeUpload(res, file, fileList) {\r\n if (res.success) {\r\n let newFile = {\r\n ...file,\r\n id: file.response.fileId,\r\n }\r\n this.formData.fileList = [newFile]\r\n this.previewUrl = `${portal}/file/onlinePreviewController/v1/getFileById_${newFile.id}`\r\n this.fileId = newFile.id\r\n this.uploadLoading = true\r\n this.$nextTick(() => {\r\n this.$refs.docx.initDocx()\r\n })\r\n this.$message.success('附件上传成功')\r\n console.log(this.formData);\r\n } else {\r\n this.$message.error(res.message)\r\n }\r\n },\r\n closeLoading() {\r\n\r\n },\r\n removeFile() {\r\n this.$confirm(`确定删除后重新上传吗?`, this.$t('common.tips'), {\r\n confirmButtonText: this.$t('common.confirm'),\r\n cancelButtonText: this.$t('common.cancel'),\r\n type: 'error',\r\n }).then(() => {\r\n req.remove(portal + `/file/v1/?ids=${this.fileId}`).then((res) => {\r\n console.log(res);\r\n if (res.data.state) {\r\n this.formData.fileList = []\r\n this.$message.success('附件删除成功')\r\n this.uploadLoading = false\r\n }\r\n })\r\n })\r\n },\r\n\r\n\r\n\r\n selectable(row, index) {\r\n if (row.status == 0 || row.status == 2 || row.status == 4) {\r\n return true\r\n } else {\r\n return false\r\n }\r\n },\r\n // 导入---------------\r\n // 获取导入的满意度数据\r\n getImportData() {\r\n this.scoresLoading = true\r\n let data = this.qs.stringify({\r\n satisfactionId: this.id,\r\n })\r\n sat.getImportDataById(data, (res) => {\r\n this.districtData = res.value\r\n this.scoresLoading = false\r\n })\r\n },\r\n //导入运营kpl数据\r\n handleImport() {\r\n if (!this.districtData.length) {\r\n this.dialogVisible = true\r\n } else {\r\n this.$confirm('此操作将覆盖填报数据, 是否继续?', '提示', {\r\n confirmButtonText: '确认',\r\n cancelButtonText: '取消',\r\n type: 'warning',\r\n })\r\n .then(() => {\r\n this.dialogVisible = true\r\n })\r\n .catch(() => {\r\n this.unploading = false\r\n })\r\n }\r\n },\r\n //上传成功\r\n handleImportSuccess(res, file) {\r\n this.dialogVisible = false\r\n this.$notify({\r\n type: 'success',\r\n message: '导入成功',\r\n duration: 2000,\r\n })\r\n this.unploading = false\r\n this.getImportData()\r\n },\r\n // 预报存,为导入获取数据id\r\n preSave() {\r\n this.unploading = true\r\n if (!this.id) {\r\n this.$refs['form'].validate((valid) => {\r\n if (valid) {\r\n let {\r\n estigationName,\r\n investigationConclusion,\r\n classified,\r\n scoringYear,\r\n scoringQuarter,\r\n } = this.dialogForm\r\n let ids = this.fileList.map((item) => {\r\n return item.id ? item.id : item.response.fileId\r\n })\r\n let year = moment(scoringYear).format('YYYY') - 0\r\n let data = {\r\n estigationName, //调查名称\r\n investigationConclusion, //调查结论\r\n status: 0, //0:草稿,1:已录入待审核,2:改革办审核驳回,3:改革办审核通过\r\n classified, //0:不涉密,1:涉密\r\n id: '',\r\n bizReformSatisfactionDistricts: [],\r\n ids,\r\n scoringYear: year,\r\n scoringQuarter,\r\n }\r\n sat.addSurvey(data, (res) => {\r\n if (res.state) {\r\n //返回id\r\n this.id = res.value\r\n this.importData.satisfactionId = res.value\r\n this.handleImport()\r\n }\r\n })\r\n } else {\r\n this.unploading = false\r\n }\r\n })\r\n } else {\r\n this.importData.satisfactionId = this.id\r\n this.handleImport()\r\n }\r\n },\r\n // 导入---------------\r\n openUploade() {\r\n this.$refs.uploadFile.dialogVisible = true\r\n },\r\n setFileList(file) {\r\n this.fileList.push(file)\r\n },\r\n beforeRemove(file, fileList) {\r\n console.log(file)\r\n this.$confirm(`确定删除 ${file.name}?`, this.$t('common.tips'), {\r\n confirmButtonText: this.$t('common.confirm'),\r\n cancelButtonText: this.$t('common.cancel'),\r\n type: 'warning',\r\n }).then(() => {\r\n let id = file.fileId\r\n ? file.fileId\r\n : file.id\r\n ? file.id\r\n : file.response.fileId\r\n sat.deleteFileById(id, (res) => {\r\n if (res.state) {\r\n this.$message.success('附件删除成功')\r\n this.fileList = this.fileList.filter((item) => {\r\n let fileId = item.id || item.response.fileId\r\n if (fileId !== id) {\r\n return item\r\n }\r\n })\r\n } else {\r\n this.$message.error('附件删除失败')\r\n }\r\n })\r\n })\r\n },\r\n handlePreview(file) {\r\n let id = file.fileId\r\n ? file.fileId\r\n : file.id\r\n ? file.id\r\n : file.response.fileId\r\n this.dialogImageUrl = this.previewUrl + id\r\n let type = file.fileType || (file.extensionName\r\n ? file.extensionName\r\n : file.name.split('.')[1])\r\n this.$refs.filePreview.previewUrl = this.previewUrl + id\r\n this.$refs.filePreview.open(type)\r\n },\r\n // 文件下载\r\n handleDownloadFile(file) {\r\n console.log(file)\r\n let id = file.fileId\r\n ? file.fileId\r\n : file.id\r\n ? file.id\r\n : file.response.fileId\r\n window.open(portal + `/file/v1/downloadFile?fileId=${id}`, '_self')\r\n },\r\n // 根据id查询附件信息\r\n getFileListById(id) {\r\n let data = JSON.parse(JSON.stringify(this.params))\r\n data.querys = [\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'biz_id_',\r\n relation: 'AND',\r\n value: id,\r\n },\r\n ]\r\n sat.getFileListById(data, (res) => {\r\n res.rows.forEach((item) => {\r\n let { id, fileName, extensionName } = item\r\n let url = `${portal}/file/onlinePreviewController/v1/getFileById_${id}`\r\n let obj = {\r\n id,\r\n name: `${fileName}.${extensionName}`,\r\n url,\r\n fileType: extensionName,\r\n }\r\n this.fileList.push(obj)\r\n })\r\n })\r\n },\r\n // 文件下载\r\n handleDownload(file) {\r\n console.log(file)\r\n let id = file.id ? file.id : file.response.fileId\r\n sat.getDownloadById(id, (res) => { })\r\n },\r\n // 表单提交保存\r\n submit(status) {\r\n this.btnLoading = true\r\n this.$refs['form'].validate((valid) => {\r\n if (valid) {\r\n let {\r\n estigationName,\r\n investigationConclusion,\r\n classified,\r\n scoringYear,\r\n scoringQuarter,\r\n } = this.dialogForm\r\n let ids = this.fileList.map((item) => {\r\n return item.id ? item.id : item.response.fileId\r\n })\r\n let year = moment(scoringYear).format('YYYY') - 0\r\n console.log(year)\r\n let data = {\r\n estigationName, //调查名称\r\n investigationConclusion, //调查结论\r\n status: status, //0:草稿,1:已录入待审核,2:改革办审核驳回,3:改革办审核通过\r\n classified, //0:不涉密,1:涉密\r\n id: this.id,\r\n bizReformSatisfactionDistricts: [],\r\n ids,\r\n scoringYear: year,\r\n scoringQuarter,\r\n }\r\n data.bizReformSatisfactionDistricts = this.districtData\r\n if (data.bizReformSatisfactionDistricts.length) {\r\n this.$confirm(\r\n `${status == 1\r\n ? '确认提交上报?'\r\n : '确认保存草稿?'\r\n }`,\r\n this.$t('common.tips'),\r\n {\r\n confirmButtonText: this.$t('common.confirm'),\r\n cancelButtonText: this.$t('common.cancel'),\r\n type: 'warning',\r\n }\r\n )\r\n .then(() => {\r\n sat.addSurvey(data, (res) => {\r\n if (res.state) {\r\n this.dialog.visible = false\r\n this.btnLoading = false\r\n this.getSurveyList(this.params)\r\n this.$message.success('保存成功')\r\n } else {\r\n this.btnLoading = false\r\n this.$message.error('保存失败')\r\n }\r\n })\r\n })\r\n .catch(() => {\r\n this.btnLoading = false\r\n })\r\n } else {\r\n this.btnLoading = false\r\n this.$message.error('请选择区县进行打分')\r\n }\r\n }\r\n })\r\n },\r\n // 单击单元格\r\n cellClick(row) {\r\n console.log(row)\r\n },\r\n // 删除区县打分\r\n tableDel(item) {\r\n console.log(item)\r\n let arr = this.districtData.filter(\r\n (district) => district.id !== item.id\r\n )\r\n this.districtData = arr\r\n },\r\n formatFileList(list) {\r\n list.forEach((item) => {\r\n let { id, fileName, extensionName } = item\r\n let url = `${portal}/file/onlinePreviewController/v1/getFileById_${id}`\r\n let obj = {\r\n id,\r\n name: `${fileName}.${extensionName}`,\r\n url,\r\n fileType: extensionName,\r\n }\r\n this.fileList.push(obj)\r\n })\r\n },\r\n\r\n // 查看详情 修改\r\n openUpdate(item, flag) {\r\n let data = this.qs.stringify({\r\n id: item.id,\r\n })\r\n sat.queryById(data, (res) => {\r\n let data = res\r\n console.log(data, '.bizReformSatisfactionDistricts')\r\n this.id = res.id\r\n this.dialogForm.estigationName = res.estigationName\r\n this.dialogForm.scoringDate = res.scoringDate\r\n this.dialogForm.classified = res.classified\r\n this.dialogForm.investigationConclusion =\r\n res.investigationConclusion\r\n this.dialogForm.scoringYear = res.scoringYear + ''\r\n this.dialogForm.scoringQuarter = res.scoringQuarter\r\n this.dialogForm.scoringMonth = res.scoringMonth\r\n this.districtData =\r\n res.bizReformSatisfactionDistricts &&\r\n res.bizReformSatisfactionDistricts.length\r\n ? res.bizReformSatisfactionDistricts\r\n : []\r\n if (res.fileList && res.fileList.length) {\r\n this.formatFileList(res.fileList)\r\n }\r\n this.scoresLoading = false\r\n this.dialog.visible = true\r\n })\r\n },\r\n // 编辑\r\n openEdit(item) {\r\n this.$router.push({\r\n path: '/platLayout/SatisfactionApplication',\r\n query: {\r\n id: item.id,\r\n type: 'edit',\r\n key: 'SatisfactionSurveys',\r\n },\r\n })\r\n },\r\n // 查看详情\r\n handleDetils(item) {\r\n this.$router.push({\r\n path: '/platLayout/SatisfactionApplication',\r\n query: {\r\n id: item.id,\r\n type: 'detail',\r\n key: 'SatisfactionSurveys',\r\n },\r\n })\r\n },\r\n // 上报\r\n handleVerify(item) {\r\n this.$confirm('确认上报吗?', this.$t('common.tips'), {\r\n confirmButtonText: this.$t('common.confirm'),\r\n cancelButtonText: this.$t('common.cancel'),\r\n type: 'success',\r\n }).then(() => {\r\n let data = {\r\n id: item.id,\r\n status: 1,\r\n }\r\n sat.auditById(data, (res) => {\r\n if (res.state) {\r\n item.status = 1\r\n this.$message.success('上报成功')\r\n } else {\r\n this.$message.error('上报失败')\r\n }\r\n this.getSurveyList(this.params)\r\n })\r\n })\r\n },\r\n // 查询所有区县\r\n getDistrictList() {\r\n sat.getDistrictList((res) => {\r\n this.districtData = res.value\r\n })\r\n },\r\n // 分页查询所有数据\r\n getSurveyList(data) {\r\n this.tableLoading = true\r\n sat.queryByPage(data, 'false', (res) => {\r\n this.tableData = res.rows\r\n this.tableLoading = false\r\n })\r\n },\r\n //添加\r\n handleAdd() {\r\n // this.disabled = false\r\n // // this.getDistrictList()\r\n // this.dialog.visible = true\r\n // this.id = null\r\n this.dialogForm.scoringDate = new Date()\r\n this.$router.push({\r\n path: '/platLayout/SatisfactionApplication',\r\n query: {\r\n type: 'add',\r\n key: 'SatisfactionSurveys',\r\n },\r\n })\r\n },\r\n // 删除\r\n handleDelete() {\r\n this.$confirm('确认删除?', this.$t('common.tips'), {\r\n confirmButtonText: this.$t('common.confirm'),\r\n cancelButtonText: this.$t('common.cancel'),\r\n type: 'warning',\r\n }).then(() => {\r\n sat.deleteSurvey(this.deleteIds, (res) => {\r\n if (res.state) {\r\n this.$message.success('删除成功')\r\n this.getSurveyList(this.params)\r\n } else {\r\n this.$message.error('删除失败')\r\n }\r\n })\r\n })\r\n },\r\n // 顶部搜索\r\n handleSearch() {\r\n // this.tableLoading = true\r\n let { estigationName, scoringDate, status } = this.searchForm\r\n let time = scoringDate\r\n ? moment(scoringDate).format('YYYY-MM-DD')\r\n : scoringDate\r\n let data = [\r\n {\r\n group: 'main',\r\n operation: 'LIKE',\r\n parentGroup: '',\r\n property: 'estigationName', // 字段名\r\n relation: 'AND',\r\n value: estigationName,\r\n },\r\n {\r\n group: 'main',\r\n operation: 'BETWEEN',\r\n parentGroup: '',\r\n property: 'scoringDate', // 字段名\r\n relation: 'AND',\r\n value: scoringDate,\r\n },\r\n {\r\n group: 'main',\r\n operation: 'EQUAL',\r\n parentGroup: '',\r\n property: 'status', // 字段名\r\n relation: 'AND',\r\n value: status,\r\n },\r\n ]\r\n this.params.querys = data\r\n console.log(this.params)\r\n this.getSurveyList(this.params)\r\n },\r\n // 弹层关闭\r\n handleDialogClose() {\r\n this.scoresLoading = false\r\n this.dialog.visible = false\r\n this.dialogForm = {\r\n estigationName: '',\r\n scoringDate: '',\r\n satisfaction: '',\r\n investigationConclusion: '',\r\n // status: 0, //0:草稿,1:已录入待审核,2:改革办审核驳回,3:改革办审核通过\r\n classified: 0, //0:不涉密,1:涉密\r\n scoringYear: '',\r\n scoringQuarter: 1,\r\n scoringMonth: 1,\r\n }\r\n this.districtData = []\r\n this.$refs['form'].resetFields()\r\n this.fileList = []\r\n },\r\n\r\n handleSelectionChange(currentData) {\r\n if (currentData.length === 0) return (this.deleteIds = '')\r\n let ids = []\r\n currentData.forEach((item) => {\r\n ids.push(item.id)\r\n })\r\n this.deleteIds = ids.join(',')\r\n console.log(this.deleteIds)\r\n },\r\n handleCurrentChange(page) {\r\n this.params.pageBean = { ...this.params.pageBean, page }\r\n this.loadData(this.params)\r\n },\r\n handleSizeChange(pageSize) {\r\n this.params.pageBean = { ...this.params.pageBean, pageSize }\r\n this.loadData(this.params)\r\n },\r\n },\r\n}\r\n",null]}