Compare commits

..

No commits in common. "d6a4763c600b863ffa02e0533f6ed66a5cb34fe3" and "9c5846ac29d09d633762a3b7b9af7d7cf8ea42ff" have entirely different histories.

2 changed files with 3 additions and 15 deletions

View File

@ -36,10 +36,10 @@
<el-table-column label="备注" align="center" prop="remark" />
<el-table-column label="操作" align="center">
<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 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 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){
this.$refs.ticketWaresShow.open(row)
},
handleAudit(row){
this.handleShow(row)
}
}
}

View File

@ -172,10 +172,6 @@
</el-table>
</div>
</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>
</div>
</template>
@ -208,7 +204,6 @@ export default {
if (row){
const res = await getTicketsById(row.ticketId)
this.info = res.data
this.info.status = row.status
this.queryParams.twId = row.id
await this.getTwItem()
}
@ -238,11 +233,7 @@ export default {
}finally {
this.loading = false
}
},
// TODO
handleAudit(flag){
},
}
}
}
</script>