Compare commits
No commits in common. "d6a4763c600b863ffa02e0533f6ed66a5cb34fe3" and "9c5846ac29d09d633762a3b7b9af7d7cf8ea42ff" have entirely different histories.
d6a4763c60
...
9c5846ac29
@ -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 v-if="scope.row.status === '02' || userRole === 3 || userRole === 4" type="text" size="mini" icon="el-icon-view" @click="handleShow(scope.row)">
|
<el-button 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'" @click="handleAudit(scope.row)" type="text" size="mini" icon="el-icon-s-check">
|
<el-button v-if="userRole === 1 || userRole === 2 && scope.row.status === '01'" 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,9 +108,6 @@ export default {
|
|||||||
},
|
},
|
||||||
handleShow(row){
|
handleShow(row){
|
||||||
this.$refs.ticketWaresShow.open(row)
|
this.$refs.ticketWaresShow.open(row)
|
||||||
},
|
|
||||||
handleAudit(row){
|
|
||||||
this.handleShow(row)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -172,10 +172,6 @@
|
|||||||
</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>
|
||||||
@ -208,7 +204,6 @@ 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()
|
||||||
}
|
}
|
||||||
@ -238,11 +233,7 @@ export default {
|
|||||||
}finally {
|
}finally {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
// TODO 审核
|
|
||||||
handleAudit(flag){
|
|
||||||
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user