Browse Source

工单

master
蔡玲玲 1 week ago
parent
commit
b385b095b9
  1. 2
      base-vue/src/views/modules/tickets/detail.vue
  2. 5
      base-vue/src/views/modules/tickets/tickets.vue

2
base-vue/src/views/modules/tickets/detail.vue

@ -2,7 +2,7 @@
<div class="mod-config">
<el-descriptions title="工单详情" direction="vertical" :column="column" size="mini" border>
<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>
<el-descriptions-item label="工单ID">
<el-tag size="small">{{ ticketsData.ticketsId }}</el-tag>

5
base-vue/src/views/modules/tickets/tickets.vue

@ -123,12 +123,13 @@
fixed="right"
header-align="center"
align="center"
width="150"
width="170"
label="操作">
<template slot-scope="scope">
<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 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>
</el-table-column>
</el-table>

Loading…
Cancel
Save