|
@@ -117,25 +117,23 @@
|
|
|
" type="text" size="small" @click="attachDetails(scope.row)">查看</el-button>
|
|
" type="text" size="small" @click="attachDetails(scope.row)">查看</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
- <el-table-column fixed="right" header-align="center" align="center" width="150" label="操作">
|
|
|
|
|
|
|
+ <el-table-column fixed="right" header-align="center" align="center" width="180" label="操作">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<el-button v-if="isAuth('order:ctl:info')" type="text" size="small"
|
|
<el-button v-if="isAuth('order:ctl:info')" type="text" size="small"
|
|
|
@click="detailHandle(scope.row.orderId)">查看</el-button>
|
|
@click="detailHandle(scope.row.orderId)">查看</el-button>
|
|
|
<el-button v-if="
|
|
<el-button v-if="
|
|
|
- isAuth('order:ctl:editor') &&
|
|
|
|
|
- (Number(scope.row.state) === 0 || Number(scope.row.state) === 2)
|
|
|
|
|
|
|
+ isAuth('order:ctl:editor')
|
|
|
" type="text" size="small" @click="addOrUpdateHandle(scope.row.orderId, false)">编辑</el-button>
|
|
" type="text" size="small" @click="addOrUpdateHandle(scope.row.orderId, false)">编辑</el-button>
|
|
|
<!-- <el-button v-if="isAuth('order:clt:revoke') && Number(scope.row.state) === 1 && scope.row.creatorId === userId.toString()" type="text" size="small" @click="cancelOrder(scope.row)">撤回</el-button> -->
|
|
<!-- <el-button v-if="isAuth('order:clt:revoke') && Number(scope.row.state) === 1 && scope.row.creatorId === userId.toString()" type="text" size="small" @click="cancelOrder(scope.row)">撤回</el-button> -->
|
|
|
<el-button v-if="
|
|
<el-button v-if="
|
|
|
- isAuth('order:clt:editor') &&
|
|
|
|
|
- Number(scope.row.state) === 0 &&
|
|
|
|
|
- scope.row.creatorId === userId.toString()
|
|
|
|
|
- " type="text" size="small" @click="deleteOrder(scope.row)">删除</el-button>
|
|
|
|
|
- <el-button v-if="
|
|
|
|
|
|
|
+ isAuth('order:ctl:delete') &&
|
|
|
|
|
+ Number(scope.row.orderState) === 1
|
|
|
|
|
+ " type="text" size="small" @click="deleteOrder(scope.row)" style="color: red">删除</el-button>
|
|
|
|
|
+ <!-- <el-button v-if="
|
|
|
isAuth('order:ctl:determine') &&
|
|
isAuth('order:ctl:determine') &&
|
|
|
Number(scope.row.state) === 3 &&
|
|
Number(scope.row.state) === 3 &&
|
|
|
Number(scope.row.orderState) === 6
|
|
Number(scope.row.orderState) === 6
|
|
|
- " type="text" size="small" @click="techConfirm(scope.row)">技术确定</el-button>
|
|
|
|
|
|
|
+ " type="text" size="small" @click="techConfirm(scope.row)">技术确定</el-button> -->
|
|
|
<el-button type="text" size="small" @click="exportHandle(scope.row.orderId)">导出</el-button>
|
|
<el-button type="text" size="small" @click="exportHandle(scope.row.orderId)">导出</el-button>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|