[update] 修改年度制修订标准化发起流程驳回报错
This commit is contained in:
+6
-3
@@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<internal-detail-page :title="pageTitle" :content-padding="0">
|
<internal-detail-page :title="pageTitle" :content-padding="0" :loading="loading">
|
||||||
<!-- 标题右侧tab -->
|
<!-- 标题右侧tab -->
|
||||||
<template v-slot:titleRightCustom>
|
<template v-slot:titleRightCustom>
|
||||||
<div class="table-operator-tab">
|
<div class="table-operator-tab">
|
||||||
@@ -303,6 +303,7 @@ export default {
|
|||||||
func = standardizationInitGetDataDraft
|
func = standardizationInitGetDataDraft
|
||||||
params = param
|
params = param
|
||||||
}
|
}
|
||||||
|
this.loading = true
|
||||||
func(params).then(res => {
|
func(params).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.model = res.result
|
this.model = res.result
|
||||||
@@ -319,6 +320,8 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
this.$message.warning(res.message)
|
this.$message.warning(res.message)
|
||||||
}
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.loading = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
switchChange (value) {
|
switchChange (value) {
|
||||||
@@ -503,8 +506,8 @@ export default {
|
|||||||
if (!err) {
|
if (!err) {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
const param = {}
|
const param = {}
|
||||||
param.commom = Object.assign({}, values)
|
param.commom = Object.assign({}, values, { taskId: this.$route.query.taskId })
|
||||||
param.common.taskId = this.$route.query.taskId
|
console.log(param, this.$route.query.taskId)
|
||||||
standardizationInitReject(param).then(res => {
|
standardizationInitReject(param).then(res => {
|
||||||
if (res.success) {
|
if (res.success) {
|
||||||
this.$message.success(res.message)
|
this.$message.success(res.message)
|
||||||
|
|||||||
Reference in New Issue
Block a user