feat: There is no way the,Laws
This commit is contained in:
@@ -76,6 +76,14 @@ export function processCreateStand (data) {
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
export function processCreateLaws (data) {
|
||||
return axios({
|
||||
url: '/api/lawss/actSarItemsLaws/processCreateLaws',
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
// 流程3 法规流程入库
|
||||
export function processCreatePG (data) {
|
||||
return axios({
|
||||
|
||||
@@ -603,7 +603,7 @@
|
||||
import ProcessHeader from '../../components/ProcessHeader'
|
||||
import ProcessFooter from '../../components/ProcessFooter'
|
||||
import ProcessTitle from '../../components/ProcessTitle'
|
||||
import {inboundLiaisonDetail,processCreateStand,changeAssigneeNew} from 'api/process'
|
||||
import {inboundLiaisonDetail,processCreateLaws,changeAssigneeNew} from 'api/process'
|
||||
import TreeSelect from '@/components/treeSelect/treeSelect.vue';
|
||||
|
||||
export default {
|
||||
@@ -1081,6 +1081,7 @@
|
||||
this.form.commentText = this.formTongGuo.commentText
|
||||
this.form.approvalOpinion = this.formTongGuo.approvalOpinion
|
||||
const json = JSON.stringify(this.form);
|
||||
this.processCreateLaws(json)
|
||||
this.$http.post('lawss/activiti/completeTask', {
|
||||
taskIds: this.taskIds,
|
||||
userId : this.userId,
|
||||
@@ -1095,8 +1096,7 @@
|
||||
// 流程提交之后,应该流转至待办任务页面
|
||||
this.$router.push({path:'/processCenter?tabsName=ProcessCenter'})
|
||||
}else{
|
||||
// ?????????????????????????????/
|
||||
// this.processCreateStand(json)
|
||||
this.processCreateLaws(json)
|
||||
}
|
||||
}
|
||||
})
|
||||
@@ -1108,10 +1108,10 @@
|
||||
* @date: 2020-11-18 21:47:58
|
||||
* @auth: chenxiaoxi
|
||||
*/
|
||||
processCreateStand(json) {
|
||||
processCreateLaws(json) {
|
||||
const _formData = new FormData()
|
||||
_formData.append('infoJson', json)
|
||||
processCreateStand(_formData).then(res => {
|
||||
processCreateLaws(_formData).then(res => {
|
||||
if (res.result === '操作成功' || res.data === '入库成功') {
|
||||
this.$message.success(res.data)
|
||||
setTimeout(() => {
|
||||
|
||||
@@ -378,7 +378,7 @@ export default {
|
||||
case 'laws1':
|
||||
// 政策入库流程
|
||||
this.$router.push({
|
||||
name: 'zcrkStep1'
|
||||
name: 'zcrkwStep1'
|
||||
})
|
||||
break
|
||||
case '1':
|
||||
|
||||
Reference in New Issue
Block a user