Commit 24328878 by liangzhen

互查提交

1 parent ed4c149a
...@@ -436,7 +436,7 @@ export function projectInfoSy(params){ ...@@ -436,7 +436,7 @@ export function projectInfoSy(params){
} }
//项目列表页面 //项目列表页面
export function pmProInitiation(params){ export function pmProInitiation(params){
return post(`${ARCH_EVALUATION}/projectInfoZc/getProjectInfo`, params) return post(`${ARCH_EVALUATION}/projectInfo/getProjectInfo`, params)
} }
//项目清单 //项目清单
export function MaterialWarehous(params){ export function MaterialWarehous(params){
......
...@@ -445,7 +445,7 @@ export default { ...@@ -445,7 +445,7 @@ export default {
tabListYL: [], tabListYL: [],
iframeUrl: "", iframeUrl: "",
blobType: "", blobType: "",
inspectdisabled: false, inspectdisabled: true,
mergingPos: 0, mergingPos: 0,
mergingRows: [], mergingRows: [],
}; };
...@@ -574,6 +574,7 @@ export default { ...@@ -574,6 +574,7 @@ export default {
}; };
params.projectType = projectType; params.projectType = projectType;
let res = await chpmProInitiation(params); let res = await chpmProInitiation(params);
this.resetForm()
}, },
async MaterialWarehous(projectType) { async MaterialWarehous(projectType) {
this.mergingPos = 0; this.mergingPos = 0;
...@@ -649,6 +650,7 @@ export default { ...@@ -649,6 +650,7 @@ export default {
}, },
//主列表选中行信息 //主列表选中行信息
handleSelectionChange(selection) { handleSelectionChange(selection) {
if(selection.length>0){
this.inspectdisabled = false; this.inspectdisabled = false;
if (Array.isArray(selection) && selection.length > 1) { if (Array.isArray(selection) && selection.length > 1) {
this.$refs.multipleTable.toggleRowSelection(selection[0], false); this.$refs.multipleTable.toggleRowSelection(selection[0], false);
...@@ -658,6 +660,10 @@ export default { ...@@ -658,6 +660,10 @@ export default {
if (!this.ruleFormdialog.projectType) { if (!this.ruleFormdialog.projectType) {
this.inspectdisabled = true; this.inspectdisabled = true;
} }
}else{
this.inspectdisabled = true;
}
}, },
handleSizeChange(val) { handleSizeChange(val) {
console.log(`每页 ${val} 条`); console.log(`每页 ${val} 条`);
...@@ -693,7 +699,6 @@ export default { ...@@ -693,7 +699,6 @@ export default {
this.submitForm(); this.submitForm();
}, },
async history(msg) { async history(msg) {
console.log("达拉");
let res = await HistoryVersion({ ...msg }); let res = await HistoryVersion({ ...msg });
this.tableHistory = res.data.records; this.tableHistory = res.data.records;
this.innerVisible = true; this.innerVisible = true;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!