|
|
@@ -477,12 +477,12 @@ export default {
|
|
|
this.$message.error('该项目已经上报')
|
|
|
return
|
|
|
}
|
|
|
- this.$confirm('是否确定进行项目上报', {
|
|
|
+ this.$confirm(res.project_stage === 1 ? '上报后该项目情况将更新为正式项目,请确认项目相关信息已经审核完成' : '是否确定进行项目上报', {
|
|
|
confirmButtonText: '确定',
|
|
|
cancelButtonText: '取消',
|
|
|
type: 'warning'
|
|
|
}).then(() => {
|
|
|
- const data = { id: res.id, is_report: 1 }
|
|
|
+ const data = { id: res.id, is_report: 1, project_stage: res.project_stage === 1 ? 2 : res.project_stage }
|
|
|
this.$api.project.proUpdate(data).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
this.onLoad()
|