Commit f107455e by liangzhen

删除无用代码

1 parent 4999bad8
NODE_ENV = 'development' NODE_ENV = 'development'
VUE_APP_BASE_URL ="/arch-evaluation" VUE_APP_BASE_URL ="/arch-evaluation"
# VUE_APP_BASE_URL = "http://192.168.50.1:18000" # VUE_APP_BASE_URL = "http://192.168.50.1:18000"
VUE_APP_ZJ_IFRAME = "http://192.168.91.1:18000" VUE_APP_ZJ_IFRAME = "http://192.168.69.1:18000"
...@@ -69,10 +69,18 @@ export const routes = [ ...@@ -69,10 +69,18 @@ export const routes = [
name: 'confirmRelease', name: 'confirmRelease',
component: () => import('@/views/assessZC/confirmRelease.vue'), component: () => import('@/views/assessZC/confirmRelease.vue'),
meta: { meta: {
title: "自查评估项目确认", title: "自查评估项目确认",
}, },
}, },
{
path: '/assessZC/assistedViewing',
name: 'assistedViewing',
component: () => import('@/views/assessZC/assistedViewing.vue'),
meta: {
title: "自查评估结果查看",
},
},
{ {
path: '/assesszc/Compliance', path: '/assesszc/Compliance',
name: 'Compliance', name: 'Compliance',
...@@ -133,17 +141,49 @@ export const routes = [ ...@@ -133,17 +141,49 @@ export const routes = [
path: '/compliance/checkRules', path: '/compliance/checkRules',
name: 'checkRules', name: 'checkRules',
component: () => import('@/views/compliance/checkRules.vue'), component: () => import('@/views/compliance/checkRules.vue'),
meta: {
title: "检查规则编制",
},
}, },
{ {
path: '/compliance/taskConfigure', path: '/compliance/taskConfigure',
name: 'taskConfigure', name: 'taskConfigure',
component: () => import('@/views/compliance/taskConfigure.vue'), component: () => import('@/views/compliance/taskConfigure.vue'),
meta: {
title: "自动稽核任务配置",
},
}, },
//后评估集中检查
// {
// path: '/mainLayout/projectcheckQuestionQuery',
// name: 'projectcheckQuestionQuery',
// component: () => import('@/views/postConcentrationCheck/projectCheckQuestionQuery.vue '),
// },
{
path: '/mainLayout/projectcheckQuestionQuery',
name: 'projectcheckQuestionQuery',
component: () => import('@/views/postConcentrationCheck/projectCheckQuestionQuery.vue'),
meta: {
title: "项目检查问题查询",
},
},
{
path: '/mainLayout/rectificationFeedbackQuery',
name: 'projectcheckQuestionQuery',
component: () => import('@/views/postConcentrationCheck/rectificationFeedbackQuery.vue'),
meta: {
title: "整改反馈查询",
},
},
//项目合规检查 //项目合规检查
{ {
path: '/projectCheck/checkResault', path: '/projectCheck/checkResault',
name: 'projectCheck/checkResault', name: 'projectCheck/checkResault',
component: () => import('@/views/projectCheck/checkResault.vue'), component: () => import('@/views/projectCheck/checkResault.vue'),
meta: {
title: "合规检查结果",
},
}, },
{ {
path: '/projectCheck/confirmResault', path: '/projectCheck/confirmResault',
...@@ -153,17 +193,26 @@ export const routes = [ ...@@ -153,17 +193,26 @@ export const routes = [
{ {
path: '/projectCheck/problemRectify', path: '/projectCheck/problemRectify',
name: 'projectCheck/problemRectify', name: 'projectCheck/problemRectify',
component: () => import('@/views/projectCheck/problemRectify.vue'), component: () => import('@/views/projectCheck/problemRectify.vue'),
meta: {
title: "合规问题整改",
},
}, },
{ {
path: '/projectCheck/verificationRectify', path: '/projectCheck/verificationRectify',
name: 'projectCheck/verificationRectify', name: 'projectCheck/verificationRectify',
component: () => import('@/views/projectCheck/verificationRectify.vue'), component: () => import('@/views/projectCheck/verificationRectify.vue'),
meta: {
title: "合规问题整改核验",
},
}, },
{ {
path: '/checkCompliance/automaticCheck', path: '/checkCompliance/automaticCheck',
name: 'checkCompliance/automaticCheck', name: 'checkCompliance/automaticCheck',
component: () => import('@/views/checkCompliance/automaticCheck.vue'), component: () => import('@/views/checkCompliance/automaticCheck.vue'),
meta: {
title: "合规性检查提醒",
},
}, },
//后评估结果管理 //后评估结果管理
...@@ -171,44 +220,65 @@ export const routes = [ ...@@ -171,44 +220,65 @@ export const routes = [
path: '/managementResult/releaseResultpublicity', path: '/managementResult/releaseResultpublicity',
name: 'releaseResultpublicity', name: 'releaseResultpublicity',
component: () => import('@/views/managementResult/releaseResult/publicity.vue'), component: () => import('@/views/managementResult/releaseResult/publicity.vue'),
meta: {
title: "检查结果公示及评价",
},
}, },
{ {
path: '/managementResult/situationResaultschedule', path: '/managementResult/situationResaultschedule',
name: 'situationResaultschedule', name: 'situationResaultschedule',
component: () => import('@/views/managementResult/situationResault/schedule.vue'), component: () => import('@/views/managementResult/situationResault/schedule.vue'),
meta: {
title: "后评估进度情况",
},
}, },
{ {
path: '/managementResult/situationResaultissuesLink', path: '/managementResult/situationResaultissuesLink',
name: 'situationResaultissuesLink', name: 'situationResaultissuesLink',
component: () => import('@/views/managementResult/situationResault/issuesLink.vue'), component: () => import('@/views/managementResult/situationResault/issuesLink.vue'),
meta: {
title: "评估各环节问题分布",
},
}, },
{ {
path: '/managementResult/issuesInspection', path: '/managementResult/issuesInspection',
name: 'issuesInspection', name: 'issuesInspection',
component: () => import('@/views/managementResult/situationResault/issuesInspection.vue'), component: () => import('@/views/managementResult/situationResault/issuesInspection.vue'),
meta: {
title: "合规检查问题情况",
},
}, },
{ {
path: '/managementResult/maintenancePg', path: '/managementResult/maintenancePg',
name: 'maintenancePg', name: 'maintenancePg',
component: () => import('@/views/managementResult/pgReportManagement/maintenancePg.vue'), component: () => import('@/views/managementResult/pgReportManagement/maintenancePg.vue'),
}, },
{ {
path: '/managementResult/maintenanceHg', path: '/managementResult/maintenanceHg',
name: 'maintenanceHg', name: 'maintenanceHg',
component: () => import('@/views/managementResult/hgReportManagement/maintenanceHg.vue'), component: () => import('@/views/managementResult/hgReportManagement/maintenanceHg.vue'),
meta: {
title: "合规性检查报告维护",
},
}, },
{ {
path: '/managementResult/managementPg', path: '/managementResult/managementPg',
name: 'maintenancePg', name: 'maintenancePg',
component: () => import('@/views/managementResult/pgReportManagement/managementPg.vue'), component: () => import('@/views/managementResult/pgReportManagement/managementPg.vue'),
meta: {
title: "后评估报告模板管理",
},
}, },
{ {
path: '/managementResult/managementHg', path: '/managementResult/managementHg',
name: 'maintenancePg', name: 'maintenancePg',
component: () => import('@/views/managementResult/pgReportManagement/managementHg.vue'), component: () => import('@/views/managementResult/pgReportManagement/managementHg.vue'),
meta: {
title: "合规性检查报告模板管理",
},
}, },
] ]
}, },
......
...@@ -7,8 +7,6 @@ export function getCurrentDate() { ...@@ -7,8 +7,6 @@ export function getCurrentDate() {
const minutes = date.getMinutes().toString().padStart(2, '0'); // 补零 const minutes = date.getMinutes().toString().padStart(2, '0'); // 补零
return `${year}-${month}-${day}-${hours}:${minutes}`; return `${year}-${month}-${day}-${hours}:${minutes}`;
console.log(this.currentDate, '3322323')
} }
...@@ -238,38 +238,12 @@ export function trendsRules(type) { ...@@ -238,38 +238,12 @@ export function trendsRules(type) {
url: "/assesszc/auxiliaryInspection", url: "/assesszc/auxiliaryInspection",
children: [], children: [],
}, },
// {
// name: "自查问题下发",
// url: "/assesszc/assitedDistribution",
// children: [],
// },
{
name: "自查问题反馈",
url: "/assesszc/assistedFeedback",
children: [],
},
{ {
name: "自查申诉确认", name: "自查评估结果查看",
url: "/assesszc/assistedConfirm", url: "/assesszc/assistedViewing",
children: [],
},
{
name: "自查问题整改",
url: "/assesszc/assistedRect",
children: [],
},
{
name: "自查整改核验",
url: "/assesszc/correctiveAssistanceVerification",
children: [],
},
{
name: "自查同步归档",
url: "/assesszc/attachSynchronousArchiving",
children: [], children: [],
}, },
], ],
}, },
{ {
...@@ -291,7 +265,6 @@ export function trendsRules(type) { ...@@ -291,7 +265,6 @@ export function trendsRules(type) {
url: "/mainLayout/materialAcquisition", url: "/mainLayout/materialAcquisition",
children: [], children: [],
}, },
// { name: "评估材料自动解析", url: "/mainLayout/materialAnalysis", children: [] },
{ {
name: "项目辅助检查", name: "项目辅助检查",
url: "/mainLayout/auxiliaryInspection", url: "/mainLayout/auxiliaryInspection",
...@@ -303,41 +276,6 @@ export function trendsRules(type) { ...@@ -303,41 +276,6 @@ export function trendsRules(type) {
url: "/mainLayout/assistedViewing", url: "/mainLayout/assistedViewing",
children: [], children: [],
}, },
// {
// name: "问题下发",
// url: "/mainLayout/assitedDistribution",
// children: [],
// },
// {
// name: "问题查询",
// url: "/mainLayout/auxiliaryQuery",
// children: [],
// },
// {
// name: "问题反馈",
// url: "/mainLayout/assistedFeedback",
// children: [],
// },
// {
// name: "申诉确认",
// url: "/mainLayout/assistedConfirm",
// children: [],
// },
// {
// name: "问题整改",
// url: "/mainLayout/assistedRect",
// children: [],
// },
// {
// name: "整改核验",
// url: "/mainLayout/correctiveAssistanceVerification",
// children: [],
// },
// {
// name: "同步归档",
// url: "/mainLayout/attachSynchronousArchiving",
// children: [],
// },
], ],
}, },
{ {
...@@ -382,7 +320,6 @@ export function trendsRules(type) { ...@@ -382,7 +320,6 @@ export function trendsRules(type) {
url: "", url: "",
children: [ children: [
{ name: "合规检查结果", url: "/projectCheck/checkResault", children: [] }, { name: "合规检查结果", url: "/projectCheck/checkResault", children: [] },
// { name: "合规检查结果确认", url: "/projectCheck/confirmResault", children: [] },
{ name: "合规问题整改", url: "/projectCheck/problemRectify", children: [] }, { name: "合规问题整改", url: "/projectCheck/problemRectify", children: [] },
{ name: "合规问题整改核验", url: "/projectCheck/verificationRectify", children: [] }, { name: "合规问题整改核验", url: "/projectCheck/verificationRectify", children: [] },
], ],
...@@ -430,7 +367,6 @@ export function defaultRouter() { ...@@ -430,7 +367,6 @@ export function defaultRouter() {
sessionStorage.setItem("author", "weizheng"); sessionStorage.setItem("author", "weizheng");
sessionStorage.setItem("authorName",99); sessionStorage.setItem("authorName",99);
let type=sessionStorage.getItem('authorName') let type=sessionStorage.getItem('authorName')
console.log( type,'hahaha ')
switch (type) { switch (type) {
case '1': case '1':
return "/mainLayout/auxiliarySelection" return "/mainLayout/auxiliarySelection"
......
...@@ -403,7 +403,6 @@ export default { ...@@ -403,7 +403,6 @@ export default {
pageSize: this.pageSize, pageSize: this.pageSize,
}; };
Object.assign(params, this.ruleForm); Object.assign(params, this.ruleForm);
console.log(params);
let res = await fzcxselect(params); let res = await fzcxselect(params);
if (res.code == "200") { if (res.code == "200") {
...@@ -516,7 +515,6 @@ export default { ...@@ -516,7 +515,6 @@ export default {
} }
}, },
async handleClick() { async handleClick() {
console.log(this.activeName, "this.activeName");
if (this.activeName == "second") { if (this.activeName == "second") {
let params = { let params = {
batchId: this.checkedList[0].batchId, batchId: this.checkedList[0].batchId,
...@@ -556,13 +554,13 @@ export default { ...@@ -556,13 +554,13 @@ export default {
// 有url拆分调接口换预览 // 有url拆分调接口换预览
if (urlStr) { if (urlStr) {
console.log(urlStr, "urlStr");
if (urlStr.includes(",")) { if (urlStr.includes(",")) {
arrUrl = item.url.split(","); arrUrl = item.url.split(",");
} else { } else {
arrUrl.push(urlStr); arrUrl.push(urlStr);
} }
console.log(arrUrl, "arrUrlarrUrl");
arrUrl.forEach(async (showUrl) => { arrUrl.forEach(async (showUrl) => {
let paramsUrl = { let paramsUrl = {
url: showUrl, url: showUrl,
...@@ -570,7 +568,7 @@ export default { ...@@ -570,7 +568,7 @@ export default {
let resUrl = await presignedUrl(paramsUrl); let resUrl = await presignedUrl(paramsUrl);
showUrlList.push(resUrl.msg); showUrlList.push(resUrl.msg);
}); });
console.log(showUrlList, "showUrlList");
this.$set(item, "images", showUrlList); this.$set(item, "images", showUrlList);
} }
......
...@@ -489,7 +489,7 @@ export default { ...@@ -489,7 +489,7 @@ export default {
this.$set(item, "tagId", arrID); this.$set(item, "tagId", arrID);
} }
}); });
console.log(this.tableDataQR, "加不进去?");
this.dataPretreatment(); this.dataPretreatment();
} }
}, },
...@@ -563,8 +563,6 @@ export default { ...@@ -563,8 +563,6 @@ export default {
if (sessionStorage.getItem("authorName") == 3) { if (sessionStorage.getItem("authorName") == 3) {
this.$message("只有专家可以操作归档"); this.$message("只有专家可以操作归档");
} }
console.log("只有专家可以操作归档");
let params = { let params = {
projectId: this.checkedList[0].projectId, projectId: this.checkedList[0].projectId,
batchId: this.checkedList[0].batchId, batchId: this.checkedList[0].batchId,
...@@ -698,8 +696,6 @@ export default { ...@@ -698,8 +696,6 @@ export default {
this.$message("该项目还未提交"); this.$message("该项目还未提交");
return; return;
} }
console.log("222");
let params = { let params = {
current: this.currentPage, current: this.currentPage,
pageSize: this.pageSize, pageSize: this.pageSize,
...@@ -719,7 +715,7 @@ export default { ...@@ -719,7 +715,7 @@ export default {
return ""; return "";
}, },
async handleClickXZ(fileId, fileName) { async handleClickXZ(fileId, fileName) {
console.log(fileId, "22222");
let response = await downloadObject({ let response = await downloadObject({
fileId: fileId * 1, fileId: fileId * 1,
}); });
...@@ -754,15 +750,15 @@ export default { ...@@ -754,15 +750,15 @@ export default {
} }
} }
this.ruleFormdialog = this.checkedList[0]; this.ruleFormdialog = this.checkedList[0];
console.log(this.checkedList, "2222");
}, },
handleSizeChange(val) { handleSizeChange(val) {
console.log(`每页 ${val} 条`);
this.pageSize = val; this.pageSize = val;
this.submitForm(); this.submitForm();
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.currentPage = val; this.currentPage = val;
this.submitForm(); this.submitForm();
}, },
...@@ -774,7 +770,7 @@ export default { ...@@ -774,7 +770,7 @@ export default {
this.dialogQR = false; this.dialogQR = false;
}, },
closeDialog() { closeDialog() {
console.log("guanbi");
this.showButton = true; this.showButton = true;
}, },
}, },
......
...@@ -848,7 +848,6 @@ export default { ...@@ -848,7 +848,6 @@ export default {
methods: { methods: {
timeChange(time) { timeChange(time) {
console.log("tttttt", time);
if (time) { if (time) {
//给后端的参数 //给后端的参数
this.ruleForm.createStartTime = time[0]; this.ruleForm.createStartTime = time[0];
...@@ -863,9 +862,9 @@ export default { ...@@ -863,9 +862,9 @@ export default {
current: this.currentPage, current: this.currentPage,
pageSize: this.pageSize, pageSize: this.pageSize,
}; };
console.log(this.ruleForm, " this.ruleForm");
Object.assign(params, this.ruleForm); Object.assign(params, this.ruleForm);
console.log(params);
let res = await evalBatchInfo(params); let res = await evalBatchInfo(params);
if (res.code == "200") { if (res.code == "200") {
...@@ -938,7 +937,7 @@ export default { ...@@ -938,7 +937,7 @@ export default {
} }
this.checkedList = this.$refs.multipleTable.selection; this.checkedList = this.$refs.multipleTable.selection;
this.ruleFormdialog = this.checkedList[0]; this.ruleFormdialog = this.checkedList[0];
console.log(this.checkedList, "2222");
}, },
handleSizeChange(val) { handleSizeChange(val) {
console.log(`每页 ${val} 条`); console.log(`每页 ${val} 条`);
...@@ -946,24 +945,24 @@ export default { ...@@ -946,24 +945,24 @@ export default {
this.submitForm(); this.submitForm();
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.currentPage = val; this.currentPage = val;
this.submitForm(); this.submitForm();
}, },
handleSizeChangeZJ(val) { handleSizeChangeZJ(val) {
console.log(`每页 ${val} 条`);
this.pageSizeZJ = val; this.pageSizeZJ = val;
}, },
handleCurrentChangeZJ(val) { handleCurrentChangeZJ(val) {
console.log(`当前页: ${val}`);
this.currentZJ = val; this.currentZJ = val;
}, },
handleSizeChangetjcl(val) { handleSizeChangetjcl(val) {
console.log(`每页 ${val} 条`);
this.pageSizetjcl = val; this.pageSizetjcl = val;
}, },
handleCurrentChangetjcl(val) { handleCurrentChangetjcl(val) {
console.log(`当前页: ${val}`);
this.currentPagetjcl = val; this.currentPagetjcl = val;
}, },
handleSizeChangeAdd(val) { handleSizeChangeAdd(val) {
...@@ -973,23 +972,23 @@ export default { ...@@ -973,23 +972,23 @@ export default {
this.addcurrentPage = val; this.addcurrentPage = val;
}, },
handleSizeChangeBJ(val) { handleSizeChangeBJ(val) {
console.log(`每页 ${val} 条`);
this.pageSizeBJ = val; this.pageSizeBJ = val;
this.edit(); this.edit();
}, },
handleCurrentChangeBJ(val) { handleCurrentChangeBJ(val) {
console.log(`当前页: ${val}`);
this.currentPageBJ = val; this.currentPageBJ = val;
this.edit(); this.edit();
}, },
//详情分页 //详情分页
handleSizeChangeXQ(val) { handleSizeChangeXQ(val) {
console.log(`每页 ${val} 条`);
this.pageSizeXQ = val; this.pageSizeXQ = val;
this.detailsForm(); this.detailsForm();
}, },
handleCurrentChangeXQ(val) { handleCurrentChangeXQ(val) {
console.log(`当前页: ${val}`);
this.currentPageXQ = val; this.currentPageXQ = val;
this.detailsForm(); this.detailsForm();
}, },
...@@ -1038,7 +1037,7 @@ export default { ...@@ -1038,7 +1037,7 @@ export default {
let res = await expertInfo(params); let res = await expertInfo(params);
this.zjtableData = res.data.records; this.zjtableData = res.data.records;
this.zjtotal = res.data.total * 1; this.zjtotal = res.data.total * 1;
console.log(res, "xxx");
}, },
cancelBJ() { cancelBJ() {
...@@ -1068,7 +1067,7 @@ export default { ...@@ -1068,7 +1067,7 @@ export default {
}; };
Object.assign(params, this.ruleFormdialogAdd); Object.assign(params, this.ruleFormdialogAdd);
this.xfParams = JSON.parse(JSON.stringify(params)); this.xfParams = JSON.parse(JSON.stringify(params));
console.log(params, "222");
adEvalBatchInfo(params).then((res) => { adEvalBatchInfo(params).then((res) => {
this.dialogAdd = false; this.dialogAdd = false;
this.expertIdList = expertIdList; this.expertIdList = expertIdList;
...@@ -1085,28 +1084,28 @@ export default { ...@@ -1085,28 +1084,28 @@ export default {
this.dialogAdd = false; this.dialogAdd = false;
}, },
saveBJ() { saveBJ() {
console.log("保存编辑验证", this.$refs.formNameBJ);
this.$refs.formNameBJ.validate((valid) => { this.$refs.formNameBJ.validate((valid) => {
if (!valid) { if (!valid) {
console.log("error submit!!");
return false; return false;
} else { } else {
if (this.addtableData.length < 1) { if (this.addtableData.length < 1) {
this.$message("请选择专家"); this.$message("请选择专家");
} }
console.log(this.addtableData, "addtableData");
let expertIdList = []; let expertIdList = [];
let expertStr = ""; let expertStr = "";
this.addtableData.forEach((item) => { this.addtableData.forEach((item) => {
expertIdList.push(item.expertId); expertIdList.push(item.expertId);
expertStr = JSON.stringify(expertIdList).slice(1, -1); expertStr = JSON.stringify(expertIdList).slice(1, -1);
}); });
console.log(expertStr, "expertStr");
let params = { let params = {
expertStr: expertStr, expertStr: expertStr,
}; };
Object.assign(this.ruleFormdialogBJ, params); Object.assign(this.ruleFormdialogBJ, params);
console.log(this.ruleFormdialogBJ, "222");
updEvalBatchInfo(this.ruleFormdialogBJ).then((res) => { updEvalBatchInfo(this.ruleFormdialogBJ).then((res) => {
this.dialogedit = false; this.dialogedit = false;
this.resetForm(); this.resetForm();
...@@ -1117,7 +1116,7 @@ export default { ...@@ -1117,7 +1116,7 @@ export default {
//选中的专家 //选中的专家
handleSelectionChangeZJ() { handleSelectionChangeZJ() {
this.addZJList = this.$refs.multipleTableZJ.selection; this.addZJList = this.$refs.multipleTableZJ.selection;
console.log(this.$refs.multipleTableZJ.selection, "2222");
}, },
//点击编辑 //点击编辑
async edit() { async edit() {
...@@ -1139,7 +1138,7 @@ export default { ...@@ -1139,7 +1138,7 @@ export default {
pageSize: this.pageSizeedit, pageSize: this.pageSizeedit,
batchId: this.checkedList[0].batchId, batchId: this.checkedList[0].batchId,
}; };
console.log(params, "params");
let res = await expert(params); let res = await expert(params);
this.addtableData = res.data.records; this.addtableData = res.data.records;
......
...@@ -307,8 +307,6 @@ export default { ...@@ -307,8 +307,6 @@ export default {
// on-change添加文件,上传成功和上传失败时都会被调用 // on-change添加文件,上传成功和上传失败时都会被调用
handleEditChange(file, fileList) { handleEditChange(file, fileList) {
this.hideUploadEdit = fileList.length >= this.limitNum; this.hideUploadEdit = fileList.length >= this.limitNum;
// this.fileList.push({ name: items.name, url: items.url });
console.log(fileList, " this.fileList");
}, },
// http-request自定义上传 // http-request自定义上传
...@@ -651,41 +649,9 @@ export default { ...@@ -651,41 +649,9 @@ export default {
}); });
} }
}, },
// successHandler(items) {
// this.fileList.push({ name: items.name, url: items.url });
// console.log("来了么222222", this.fileList);
// },
}, },
// beforeRouteLeave(to,from,next){
// if(JSON.stringify(this.questionList) ==JSON.stringify(this.oldQuestionList)){
// console.log('相同么')
// next({replace: true,redirect: '/mainLayout/auxiliaryInspection'})
// }else{
// console.log('不同么')
// setTimeout(() => {
// this.$confirm("是否保存?", "提示", {
// confirmButtonText: "是",
// cancelButtonText: "否",
// distinguishCancelAndClose: true,
// type: "warning",
// }).then(() => {
// this.save('leave');
// next({replace: true,redirect: '/mainLayout/auxiliaryInspection'})
// })
// .catch((action) => {
// console.log(action, "actionaction");
// if (action === "cancel") {
// next({replace: true,redirect: '/mainLayout/auxiliaryInspection'})
// } else {
// // next()
// }
// });
// },16)
// }
// }
}; };
</script> </script>
......
...@@ -1242,13 +1242,13 @@ export default { ...@@ -1242,13 +1242,13 @@ export default {
}, },
watch: { watch: {
"ruleFormdialogAdd.auditType"(newVal, oldVal) { "ruleFormdialogAdd.auditType"(newVal, oldVal) {
console.log(newVal, oldVal, "2222");
if (newVal == 1) { if (newVal == 1) {
console.log("隐藏"); ;
this.ruleFormdialogAdd.auditTime = ""; this.ruleFormdialogAdd.auditTime = "";
this.showDate = false; this.showDate = false;
} else { } else {
console.log("显示");
this.showDate = true; this.showDate = true;
} }
}, },
...@@ -1372,7 +1372,7 @@ export default { ...@@ -1372,7 +1372,7 @@ export default {
}, },
async handleClick() { async handleClick() {
console.log(this.activeName, "this.activeName");
if (this.activeName == "second") { if (this.activeName == "second") {
let params = { let params = {
batchId: this.checkedList[0].batchId, batchId: this.checkedList[0].batchId,
...@@ -1427,15 +1427,15 @@ export default { ...@@ -1427,15 +1427,15 @@ export default {
} }
this.checkedList = this.$refs.multipleTable.selection; this.checkedList = this.$refs.multipleTable.selection;
this.ruleFormdialog = this.checkedList[0]; this.ruleFormdialog = this.checkedList[0];
console.log(this.checkedList, "2222");
}, },
handleSizeChange(val) { handleSizeChange(val) {
console.log(`每页 ${val} 条`);
this.pageSize = val; this.pageSize = val;
this.submitForm(); this.submitForm();
}, },
handleCurrentChange(val) { handleCurrentChange(val) {
console.log(`当前页: ${val}`);
this.currentPage = val; this.currentPage = val;
this.submitForm(); this.submitForm();
}, },
...@@ -1483,7 +1483,6 @@ export default { ...@@ -1483,7 +1483,6 @@ export default {
this.addtableData = this.addtableData.filter( this.addtableData = this.addtableData.filter(
(obj, index, self) => index === self.findIndex((t) => t.id === obj.id) (obj, index, self) => index === self.findIndex((t) => t.id === obj.id)
); );
console.log(this.addtableData, "新增");
this.addtotal = this.addtableData.length; this.addtotal = this.addtableData.length;
this.dialogRule = false; this.dialogRule = false;
}, },
...@@ -1611,7 +1610,7 @@ export default { ...@@ -1611,7 +1610,7 @@ export default {
); );
}); });
} }
console.log( this.oldid,this.addtableDataXM,'this.addtableDataXM')
}); });
}, },
//删除 //删除
...@@ -1670,15 +1669,15 @@ export default { ...@@ -1670,15 +1669,15 @@ export default {
); );
}); });
this.zjtotal = res.data.total * 1; this.zjtotal = res.data.total * 1;
console.log(res, "xxx");
}, },
handleSizeChangeZJ(val) { handleSizeChangeZJ(val) {
console.log(`每页 ${val} 条`);
this.pageSizeZJ = val; this.pageSizeZJ = val;
this.checkXM(); this.checkXM();
}, },
handleCurrentChangeZJ(val) { handleCurrentChangeZJ(val) {
console.log(`当前页: ${val}`);
this.currentZJ = val; this.currentZJ = val;
this.checkXM(); this.checkXM();
}, },
...@@ -1692,7 +1691,7 @@ export default { ...@@ -1692,7 +1691,7 @@ export default {
this.addtableDataXM = this.addtableDataXM.filter((obj, index, self) => { this.addtableDataXM = this.addtableDataXM.filter((obj, index, self) => {
return index == self.findIndex((t) => t.projectId == obj.projectId); return index == self.findIndex((t) => t.projectId == obj.projectId);
}); });
console.log(this.addtableDataXM, "3332223");
this.addtotalXM = this.addtableDataXM.length; this.addtotalXM = this.addtableDataXM.length;
this.dialogAddzj = false; this.dialogAddzj = false;
}, },
...@@ -1736,10 +1735,10 @@ export default { ...@@ -1736,10 +1735,10 @@ export default {
}, },
saveXZ() { saveXZ() {
console.log("保存验证", this.$refs);
this.$refs.formNameAD.validate((valid) => { this.$refs.formNameAD.validate((valid) => {
if (!valid) { if (!valid) {
console.log("error submit!!");
return false; return false;
} else { } else {
if (this.addtableData.length < 1) { if (this.addtableData.length < 1) {
...@@ -1790,10 +1789,10 @@ export default { ...@@ -1790,10 +1789,10 @@ export default {
this.dialogBJ = false; this.dialogBJ = false;
}, },
saveBJ() { saveBJ() {
console.log("保存验证", this.$refs);
this.$refs.formNameBJ.validate((valid) => { this.$refs.formNameBJ.validate((valid) => {
if (!valid) { if (!valid) {
console.log("error submit!!");
return false; return false;
} else { } else {
if (this.addtableData.length < 1) { if (this.addtableData.length < 1) {
......
...@@ -692,7 +692,7 @@ export default { ...@@ -692,7 +692,7 @@ export default {
console.log(response); console.log(response);
this.file = []; this.file = [];
this.$set(row, type, response.data.fileId); this.$set(row, type, response.data.fileId);
console.log(this.XQtableData, "XQtableDataXQtableData");
}) })
.catch((error) => { .catch((error) => {
console.error(error); console.error(error);
...@@ -703,7 +703,7 @@ export default { ...@@ -703,7 +703,7 @@ export default {
}, },
//问题确认开关 //问题确认开关
controlSwitch(val, row) { controlSwitch(val, row) {
console.log("333", val, row);
}, },
}, },
}; };
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!