工单详情
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
align="center"
|
||||
label="合同编号">
|
||||
<template slot-scope="scope">
|
||||
{{ dictData[2] | findByValue(scope.row.contractNumber) }}
|
||||
{{ dictData[2] | findByValue(scope.row.contractId) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
@@ -99,12 +99,18 @@
|
||||
header-align="center"
|
||||
align="center"
|
||||
label="是否验收">
|
||||
<template slot-scope="scope">
|
||||
{{ ['否', '是'][Number(scope.row.isCheck)] }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="status"
|
||||
header-align="center"
|
||||
align="center"
|
||||
label="工单状态">
|
||||
<template slot-scope="scope">
|
||||
{{ statusOpt | findByValue(scope.row.status) }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column
|
||||
prop="updateTime"
|
||||
@@ -122,7 +128,7 @@
|
||||
<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 type="text" size="small" @click="startFlowHandle(scope.row.ticketsId)">指派</el-button>
|
||||
<el-button v-show="!scope.row.status" type="text" size="small" @click="startFlowHandle(scope.row.ticketsId)">指派</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
@@ -204,7 +210,8 @@
|
||||
flowForm:{ticketsId: null},
|
||||
dynamiForm:[],
|
||||
users: [],
|
||||
roles: []
|
||||
roles: [],
|
||||
statusOpt: [{value: '0', label: '未开始'}, {value: '1', label: '已指派'}, {value: '2', label: '处理中'}, {value: '3', label: '已完成'}]
|
||||
}
|
||||
},
|
||||
mixins: [apiUtils],
|
||||
|
||||
Reference in New Issue
Block a user