Commit 115d0124 authored by tianhongyang's avatar tianhongyang

fix bug

parent c5324969
...@@ -37,7 +37,7 @@ export function editProjectInfo(data) { ...@@ -37,7 +37,7 @@ export function editProjectInfo(data) {
//删除项目 //删除项目
export function batchDeleteProject(ids) { export function batchDeleteProject(ids) {
return request({ return request({
url: '/cbProjectRecord/batchDeleteProject/'+ids, url: '/cbProjectRecord/batchDeleteProject/' + ids,
method: 'Delete', method: 'Delete',
}); });
} }
...@@ -102,7 +102,7 @@ export function getProjectList(data) { ...@@ -102,7 +102,7 @@ export function getProjectList(data) {
return request({ return request({
url: '/cbProjectRecord/getProjectList', url: '/cbProjectRecord/getProjectList',
method: 'get', method: 'get',
params:data params: data
}); });
} }
...@@ -111,13 +111,13 @@ export const getProfitLossMenuTreeApi = (params = {}) => request({ ...@@ -111,13 +111,13 @@ export const getProfitLossMenuTreeApi = (params = {}) => request({
url: "/cbSummary/cbNameList", url: "/cbSummary/cbNameList",
method: "get", method: "get",
params params
}) });
// 工料汇总 // 工料汇总
/** /**
* 获取料汇总左侧菜单 * 获取料汇总左侧菜单
* @param {*} params * @param {*} params
* @returns * @returns
*/ */
...@@ -125,6 +125,22 @@ export const getFeedSummaryMenuTreeApi = (params = {}) => request({ ...@@ -125,6 +125,22 @@ export const getFeedSummaryMenuTreeApi = (params = {}) => request({
url: "/cb/quantity/summary/subjectTree", url: "/cb/quantity/summary/subjectTree",
method: "get", method: "get",
params params
});
/**
* 获取科目月份列表
* @param {{
* cbSubjectName : string;
* recordDate : string;
* projectId : number;
* cbStage : number
* }} params
* @returns
*/
export const getFeedSummaryListApi = (params = {}) => request({
url: "/cb/quantity/summary/subjectList",
method: "get",
params
}) })
...@@ -139,7 +139,7 @@ export default { ...@@ -139,7 +139,7 @@ export default {
}, },
toCooperateDetail(row) { toCooperateDetail(row) {
if (!row.advisoryBodyCid) return this.$message.warning("缺少咨询机构id"); if (!row.advisoryBodyCid) return this.$message.warning("缺少咨询机构id");
this.$tab.openPage(`${row.advisoryBodyName}合作明细`, `/enterprise/${encodeStr(row.advisoryBodyCid)}?path=cooperationRecord&companyName=${replaceDomTags(row.advisoryBodyName)}`); this.$tab.openPage(`${row.advisoryBodyName}合作明细`, `/enterprise/${encodeStr(row.advisoryBodyCid)}?path=consultingAgencyCooperation&companyName=${replaceDomTags(row.advisoryBodyName)}`);
}, },
// 跳转到企业详情 // 跳转到企业详情
viewEnterprise(row) { viewEnterprise(row) {
......
...@@ -550,6 +550,14 @@ export default { ...@@ -550,6 +550,14 @@ export default {
margin-top: -5px; margin-top: -5px;
} }
} }
/* 禁用时 不需要选中文字颜色 */
::v-deep .el-menu-item {
&.is-disabled {
&:focus {
color: unset !important;
}
}
}
.is-disabled:hover { .is-disabled:hover {
color: rgba(35, 35, 35, 0.8) !important; color: rgba(35, 35, 35, 0.8) !important;
&:before { &:before {
......
...@@ -52,7 +52,7 @@ export default { ...@@ -52,7 +52,7 @@ export default {
return { return {
queryParams: { queryParams: {
customerId: this.companyId, customerId: this.companyId,
companyName: this.companyName, customerName: this.companyName,
pageNum: 1, pageNum: 1,
pageSize: 10, pageSize: 10,
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment