草稿
This commit is contained in:
@@ -150,6 +150,14 @@ export function saveTaskFirst (data) {
|
||||
data
|
||||
})
|
||||
}
|
||||
// 技术标准-起草 保存
|
||||
export function updateBusProcessNew (data) {
|
||||
return axios({
|
||||
url: '/api/lawss/activiti/updateBusProcessNew',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
// 复审流程-模拟发起
|
||||
export function autoTaskFirst (data) {
|
||||
|
||||
@@ -1327,6 +1327,7 @@
|
||||
import ProcessTitle from '../../components/ProcessTitle'
|
||||
import {
|
||||
saveTaskFirst,
|
||||
updateBusProcessNew,
|
||||
queryTaskFirst,
|
||||
getBusStandFileByAttId,
|
||||
taskDel,
|
||||
@@ -3156,7 +3157,8 @@
|
||||
this.saveLoading = true
|
||||
let _formData = new FormData()
|
||||
this.fileInfoHandle()
|
||||
_formData.append('id', this.bpnId || '')
|
||||
console.log(this.todoId)
|
||||
_formData.append('id', this.todoId || '')
|
||||
_formData.append('createUser', this.$store.getters.userInfo.userId)
|
||||
_formData.append('createUserName', this.$store.getters.userInfo.uName)
|
||||
_formData.append('prcType', '25')
|
||||
@@ -3167,7 +3169,7 @@
|
||||
roleForm: this.roleForm,
|
||||
commentText: this.commentText
|
||||
}))
|
||||
saveTaskFirst(_formData).then(res => {
|
||||
updateBusProcessNew(_formData).then(res => {
|
||||
this.saveLoading = false
|
||||
this.$message.success('保存成功')
|
||||
this.bpnId = res.result
|
||||
@@ -3451,6 +3453,7 @@
|
||||
const processForm = JSON.parse(res.mesg)
|
||||
console.log(processForm);
|
||||
this.todoId = res.id
|
||||
_formData.append("id",this.todoId || '')
|
||||
if (processForm.reviseStatus == '制定') {
|
||||
processForm.reviseStatus = '1'
|
||||
} else if (processForm.reviseStatus == '修订') {
|
||||
|
||||
Reference in New Issue
Block a user