修改因手机端rem布局引发的问题

This commit is contained in:
范强强
2023-06-14 15:22:50 +08:00
parent f60d5dfbdc
commit 58ccbcefaa
@@ -347,9 +347,13 @@
this.textLoading = this.$t('Submitting') this.textLoading = this.$t('Submitting')
this.show = true this.show = true
if (this.$route.query.taskDefinitionKey == 'Task Review') { if (this.$route.query.taskDefinitionKey == 'Task Review') {
this.ApprovedClick() if (this.form.disposeResult == 'rzgcssc_tg') {
this.preservationClick()
} else {
this.ApprovedClick()
}
} else if (this.$route.query.taskDefinitionKey == 'Task handling') { } else if (this.$route.query.taskDefinitionKey == 'Task handling') {
this.submitClick() this.submitPreservation()
} else if (this.$route.query.taskDefinitionKey == 'Task responsibility confirmation') { } else if (this.$route.query.taskDefinitionKey == 'Task responsibility confirmation') {
this.ApprovedClick() this.ApprovedClick()
} }
@@ -361,7 +365,6 @@
'projectLibraryId': this.queryForm.projectLibraryId, 'projectLibraryId': this.queryForm.projectLibraryId,
'ids': this.queryForm.id 'ids': this.queryForm.id
} }
this.submitPreservation()
postAction('/project/projectCertificationInventoryEO/submitTask', query).then((res) => { postAction('/project/projectCertificationInventoryEO/submitTask', query).then((res) => {
if (res.success) { if (res.success) {
Toast(this.$t('OperationSuccessful')) Toast(this.$t('OperationSuccessful'))
@@ -384,6 +387,9 @@
} }
content[0] = Object.assign(this.queryForm, form) content[0] = Object.assign(this.queryForm, form)
postAction(this.url.saveBatch, { 'dataList': content }).then((res) => { postAction(this.url.saveBatch, { 'dataList': content }).then((res) => {
if (res.success) {
this.submitClick()
}
}) })
}, },
ApprovedClick() { ApprovedClick() {
@@ -393,9 +399,6 @@
'ids': this.queryForm.id, 'ids': this.queryForm.id,
reasonForReturn: this.form.reasonForReturn reasonForReturn: this.form.reasonForReturn
} }
if (this.form.disposeResult == 'rzgcssc_tg') {
this.preservationClick()
}
postAction('/project/projectCertificationInventoryEO/submitTask', query).then((res) => { postAction('/project/projectCertificationInventoryEO/submitTask', query).then((res) => {
if (res.success) { if (res.success) {
Toast(this.$t('OperationSuccessful')) Toast(this.$t('OperationSuccessful'))
@@ -411,6 +414,9 @@
let content = [] let content = []
content[0] = Object.assign(this.queryForm, this.form) content[0] = Object.assign(this.queryForm, this.form)
postAction(this.url.saveBatch, { 'dataList': content }).then((res) => { postAction(this.url.saveBatch, { 'dataList': content }).then((res) => {
if (res.success) {
this.ApprovedClick()
}
}) })
}, },
getData() { getData() {