|
|
@@ -758,10 +758,10 @@ export default {
|
|
|
* 管理员已经审核通过的项目,上报到固定资产
|
|
|
* @param res
|
|
|
*/
|
|
|
- projectReportFormal(res) {
|
|
|
+ projectReportFormal(item) {
|
|
|
this.$confirm('确定上报到固定资产?').then(res => {
|
|
|
if (res === 'confirm') {
|
|
|
- this.$api.project.reportToAssets({ ids: res.id }).then(res => {
|
|
|
+ this.$api.project.reportToAssets({ ids: item.id }).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.$message.success(res.msg)
|
|
|
this.refreshChange()
|