This commit is contained in:
2024-04-19 09:25:25 +08:00
parent b51192950e
commit af93048702

View File

@ -3,6 +3,7 @@
<div slot="footer" style="float: right;padding:10px 10px 0 0;height:35px"> <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" @click="cancel"> </el-button>
<el-button size="mini" type="primary" @click="auditing">审核通过</el-button> <el-button size="mini" type="primary" @click="auditing">审核通过</el-button>
<el-button size="mini" type="info" @click="ignore">忽略</el-button>
</div> </div>
<div class="card"> <div class="card">
<div class="cardleft"> <div class="cardleft">
@ -241,6 +242,39 @@ export default {
this.propagandaopen = false this.propagandaopen = false
this.lookitem = {} 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() { auditing() {
let manageRouteNodeIds = [] let manageRouteNodeIds = []