|
@ -20,8 +20,6 @@ const moduleName = 'costManagement' |
|
|
// }
|
|
|
// }
|
|
|
// }
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 造价表
|
|
|
// 造价表
|
|
|
export const costTable = Object.assign({}, COMMON_METHOD, { |
|
|
export const costTable = Object.assign({}, COMMON_METHOD, { |
|
|
serveUrl: '/' + moduleName + '/' + 'costTable' + '/', |
|
|
serveUrl: '/' + moduleName + '/' + 'costTable' + '/', |
|
@ -35,7 +33,10 @@ export const costTable = Object.assign({}, COMMON_METHOD, { |
|
|
}, |
|
|
}, |
|
|
modifyCostTable(params) { |
|
|
modifyCostTable(params) { |
|
|
return request.put({ url: this.serveUrl + 'modifyCostTable', data: params }) |
|
|
return request.put({ url: this.serveUrl + 'modifyCostTable', data: params }) |
|
|
|
|
|
}, |
|
|
|
|
|
// 导出数据
|
|
|
|
|
|
exportData(id) { |
|
|
|
|
|
return request.download({ url: this.serveUrl + 'exportData/'+id }) |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
@ -52,7 +53,6 @@ export const costItemDetail = Object.assign({}, COMMON_METHOD, { |
|
|
}, |
|
|
}, |
|
|
modifyCostTable(params) { |
|
|
modifyCostTable(params) { |
|
|
return request.put({ url: this.serveUrl + 'modifyCostTable', data: params }) |
|
|
return request.put({ url: this.serveUrl + 'modifyCostTable', data: params }) |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
// 字典类型
|
|
|
// 字典类型
|
|
|