Commit f107455e by liangzhen

删除无用代码

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