修改
This commit is contained in:
parent
b51192950e
commit
af93048702
@ -3,6 +3,7 @@
|
||||
<div slot="footer" style="float: right;padding:10px 10px 0 0;height:35px">
|
||||
<el-button size="mini" @click="cancel">取 消</el-button>
|
||||
<el-button size="mini" type="primary" @click="auditing">审核通过</el-button>
|
||||
<el-button size="mini" type="info" @click="ignore">忽略</el-button>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="cardleft">
|
||||
@ -241,6 +242,39 @@ export default {
|
||||
this.propagandaopen = false
|
||||
this.lookitem = {}
|
||||
},
|
||||
// 忽略
|
||||
ignore() {
|
||||
let manageRouteNodeIds = []
|
||||
this.nodelist.map(e => {
|
||||
manageRouteNodeIds = [...manageRouteNodeIds, ...e.nodeList.map(el => el.id)]
|
||||
})
|
||||
this.$prompt('请输入忽略备注信息?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
}).then(({ value }) => {
|
||||
let obj = {
|
||||
routeCheckPerson: JSON.parse(localStorage.getItem('user')).nickName,
|
||||
routeCheckRemark: value,
|
||||
routeCheckStatus: 'DISAGREE',
|
||||
manageRouteNodeIds: manageRouteNodeIds
|
||||
}
|
||||
audit(obj).then(res => {
|
||||
this.$notify({
|
||||
type: 'success',
|
||||
title: '提示',
|
||||
message: '已忽略,即将返回上一页',
|
||||
duration: 3000
|
||||
});
|
||||
setTimeout(() => {
|
||||
this.$store.dispatch('tagsView/delView', this.$route).then(({ visitedViews }) => {
|
||||
this.$router.push({
|
||||
path: "/task/manualReview",
|
||||
});
|
||||
})
|
||||
}, 3000);
|
||||
})
|
||||
})
|
||||
},
|
||||
//审核
|
||||
auditing() {
|
||||
let manageRouteNodeIds = []
|
||||
|
||||
Loading…
Reference in New Issue
Block a user