Compare commits
2 Commits
9c5846ac29
...
d6a4763c60
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d6a4763c60 | ||
![]() |
7ceba25584 |
@ -36,10 +36,10 @@
|
|||||||
<el-table-column label="备注" align="center" prop="remark" />
|
<el-table-column label="备注" align="center" prop="remark" />
|
||||||
<el-table-column label="操作" align="center">
|
<el-table-column label="操作" align="center">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-button type="text" size="mini" icon="el-icon-view" @click="handleShow(scope.row)">
|
<el-button v-if="scope.row.status === '02' || userRole === 3 || userRole === 4" type="text" size="mini" icon="el-icon-view" @click="handleShow(scope.row)">
|
||||||
查看
|
查看
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button v-if="userRole === 1 || userRole === 2 && scope.row.status === '01'" type="text" size="mini" icon="el-icon-s-check">
|
<el-button v-if="userRole === 1 || userRole === 2 && scope.row.status === '01'" @click="handleAudit(scope.row)" type="text" size="mini" icon="el-icon-s-check">
|
||||||
审核
|
审核
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button v-if="userRole === 3 || userRole === 4 && scope.row.status !== '01'" type="text" size="mini" icon="el-icon-finished">
|
<el-button v-if="userRole === 3 || userRole === 4 && scope.row.status !== '01'" type="text" size="mini" icon="el-icon-finished">
|
||||||
@ -108,6 +108,9 @@ export default {
|
|||||||
},
|
},
|
||||||
handleShow(row){
|
handleShow(row){
|
||||||
this.$refs.ticketWaresShow.open(row)
|
this.$refs.ticketWaresShow.open(row)
|
||||||
|
},
|
||||||
|
handleAudit(row){
|
||||||
|
this.handleShow(row)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -172,6 +172,10 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
</el-card>
|
</el-card>
|
||||||
|
<div slot="footer" class="dialog-footer" v-if="info.status === '01' && (userRole === 1 || userRole === 2)">
|
||||||
|
<el-button type="primary" @click="handleAudit(true)">通 过</el-button>
|
||||||
|
<el-button @click="handleAudit(false)">驳 回</el-button>
|
||||||
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@ -204,6 +208,7 @@ export default {
|
|||||||
if (row){
|
if (row){
|
||||||
const res = await getTicketsById(row.ticketId)
|
const res = await getTicketsById(row.ticketId)
|
||||||
this.info = res.data
|
this.info = res.data
|
||||||
|
this.info.status = row.status
|
||||||
this.queryParams.twId = row.id
|
this.queryParams.twId = row.id
|
||||||
await this.getTwItem()
|
await this.getTwItem()
|
||||||
}
|
}
|
||||||
@ -233,7 +238,11 @@ export default {
|
|||||||
}finally {
|
}finally {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
// TODO 审核
|
||||||
|
handleAudit(flag){
|
||||||
|
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user