修改已知问题

This commit is contained in:
qq787203167
2022-05-25 15:49:09 +08:00
parent eb7d4b1b85
commit 6ed55e0fa3
5 changed files with 24 additions and 13 deletions
@@ -3,9 +3,9 @@
<div class="doc-detail-wrap">
<div class="doc-detail-header" style="position: fixed;top: 0">
<div class="doc-detail-title">
<span style="line-height: 66px;display: inline-block;float: left">
<a-icon type="home" style="margin-right: 6px;"/>
</span>
<!-- <span style="line-height: 66px;display: inline-block;float: left">-->
<!-- <a-icon type="home" style="margin-right: 6px;"/>-->
<!-- </span>-->
<a-tooltip placement="topLeft">
<template slot="title">
<span
@@ -149,6 +149,7 @@
}
},
mounted() {
this.formInline.approvalOpinion = ''
},
methods: {
clickButtonToUpload(item) {
@@ -192,7 +193,10 @@
callBack(this.formInline)
}
})
}
},
submitNoRule(callBack) {
callBack(this.formInline)
},
}
}
</script>
@@ -225,6 +225,7 @@
}
},
mounted() {
this.formInline.approvalOpinion = ''
this.$route.query.isDisplay = JSON.parse(this.$route.query.isDisplay)
if (this.queryBy && this.$route.query.TaskKey == 'fqrsh') {
this.formInline.reviewResult = this.queryBy.reviewResult || undefined
@@ -162,7 +162,9 @@
sendBack(handlingTime) {
this.textLoading = this.$t('Returning')
this.loading = true
this.completeTask({ flag: 1 }, handlingTime)
this.$refs.examineInformationRef.submitNoRule((res) => {
this.completeTask({ ...res,flag: 1 }, handlingTime,)
})
},
queryTaskDetailByTask(callback) {
this.loading = true
@@ -268,15 +268,19 @@
if (this.$route.query.TaskKey == 'zrrclrw') {
let dataSource = this.$refs.engineeringConfirmationRef.dataSource
let isTrue
for (let i = 0; i < dataSource.length; i++) {
if (dataSource[i].status == 'haveDone' || !dataSource[i].status) {
isTrue = true
} else {
isTrue = false
this.$message.warning(this.$t('pleaseSubmitStatus'))
this.loading = false
return
if (dataSource && dataSource.length > 0) {
for (let i = 0; i < dataSource.length; i++) {
if (dataSource[i].status == 'haveDone' || !dataSource[i].status) {
isTrue = true
} else {
isTrue = false
this.$message.warning(this.$t('pleaseSubmitStatus'))
this.loading = false
return
}
}
} else {
isTrue = true
}
if (isTrue) {
this.completeTask(res)