|
|
@ -57,10 +57,10 @@ |
|
|
fixed="right" |
|
|
fixed="right" |
|
|
label="操作"> |
|
|
label="操作"> |
|
|
<template slot-scope="scope"> |
|
|
<template slot-scope="scope"> |
|
|
<a type="text" size="small" v-if="scope.row.statusCode==='05'" @click="comfirmApply(scope.row)">下达</a> |
|
|
|
|
|
<a type="text" size="small" v-if="scope.row.statusCode==='05'" @click="editModalU(scope.row)">修改</a> |
|
|
|
|
|
|
|
|
<a type="text" size="small" v-if="scope.row.status==='计划'" @click="comfirmApply(scope.row)">下达</a> |
|
|
|
|
|
<a type="text" size="small" v-if="scope.row.status==='计划'" @click="editModalU(scope.row)">修改</a> |
|
|
<a type="text" size="small" v-if="scope.row.status=='审批中'" @click="editModal(scope.row)">审批</a> |
|
|
<a type="text" size="small" v-if="scope.row.status=='审批中'" @click="editModal(scope.row)">审批</a> |
|
|
<a type="text" size="small" v-if="scope.row.statusCode==='05'" @click="cancelApply(scope.row)">取消申请</a> |
|
|
|
|
|
|
|
|
<a type="text" size="small" v-if="scope.row.status==='计划'" @click="cancelApply(scope.row)">取消申请</a> |
|
|
</template> |
|
|
</template> |
|
|
</el-table-column> |
|
|
</el-table-column> |
|
|
<el-table-column |
|
|
<el-table-column |
|
|
@ -1461,8 +1461,9 @@ |
|
|
} |
|
|
} |
|
|
comfirmProjectToolApply(tempData).then(({data}) => { |
|
|
comfirmProjectToolApply(tempData).then(({data}) => { |
|
|
if (data && data.code === 0) { |
|
|
if (data && data.code === 0) { |
|
|
row.statusCode = '10' |
|
|
|
|
|
row.status = '下达' |
|
|
|
|
|
|
|
|
this.search() |
|
|
|
|
|
// row.statusCode = '10' |
|
|
|
|
|
// row.status = '下达' |
|
|
this.$message({ |
|
|
this.$message({ |
|
|
message: '操作成功', |
|
|
message: '操作成功', |
|
|
type: 'success', |
|
|
type: 'success', |
|
|
|