工单
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
<div class="mod-config">
|
<div class="mod-config">
|
||||||
<el-descriptions title="工单详情" direction="vertical" :column="column" size="mini" border>
|
<el-descriptions title="工单详情" direction="vertical" :column="column" size="mini" border>
|
||||||
<template slot="extra">
|
<template slot="extra">
|
||||||
<el-button type="primary" size="small" @click="doOperate">审批</el-button>
|
<el-button v-if="String(ticketsData.status) === '1'" type="primary" size="small" @click="doOperate">审批</el-button>
|
||||||
</template>
|
</template>
|
||||||
<el-descriptions-item label="工单ID">
|
<el-descriptions-item label="工单ID">
|
||||||
<el-tag size="small">{{ ticketsData.ticketsId }}</el-tag>
|
<el-tag size="small">{{ ticketsData.ticketsId }}</el-tag>
|
||||||
|
|||||||
@@ -123,12 +123,13 @@
|
|||||||
fixed="right"
|
fixed="right"
|
||||||
header-align="center"
|
header-align="center"
|
||||||
align="center"
|
align="center"
|
||||||
width="150"
|
width="170"
|
||||||
label="操作">
|
label="操作">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button type="text" size="small" @click="addOrUpdateHandle(scope.row.ticketsId)">修改</el-button>
|
<el-button type="text" size="small" @click="addOrUpdateHandle(scope.row.ticketsId)">修改</el-button>
|
||||||
<el-button type="text" size="small" @click="deleteHandle(scope.row.ticketsId)">删除</el-button>
|
<el-button type="text" size="small" @click="deleteHandle(scope.row.ticketsId)">删除</el-button>
|
||||||
<el-button v-show="!scope.row.status" type="text" size="small" @click="startFlowHandle(scope.row.ticketsId)">指派</el-button>
|
<el-button v-if="!scope.row.status" type="text" size="small" @click="startFlowHandle(scope.row.ticketsId)">指派</el-button>
|
||||||
|
<el-button type="text" size="small" @click="$router.push(`/tickets-detail?id=${scope.row.ticketsId}`)">详情</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
|
|||||||
Reference in New Issue
Block a user