修改入会、参会
This commit is contained in:
@@ -1083,3 +1083,21 @@ export function processCreateMeeting (data) {
|
|||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 政策课题入会
|
||||||
|
export function processLawsTopicMembership (data) {
|
||||||
|
return axios({
|
||||||
|
url: '/api/lawss/sarLawsTopic/processLawsTopicMembership',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 政策课题参会
|
||||||
|
export function processLawsTopicParticipation (data) {
|
||||||
|
return axios({
|
||||||
|
url: '/api/lawss/sarLawsTopic/processLawsTopicParticipation',
|
||||||
|
method: 'post',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
clearable
|
clearable
|
||||||
:editable="true"
|
:editable="true"
|
||||||
:disabled="disabled"
|
:disabled="disabled"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder || defaultPlaceholder"
|
||||||
@input="handleChange"
|
@input="handleChange"
|
||||||
>
|
>
|
||||||
</el-date-picker>
|
</el-date-picker>
|
||||||
@@ -49,10 +49,13 @@ export default {
|
|||||||
span: {
|
span: {
|
||||||
type: Number,
|
type: Number,
|
||||||
default: 24
|
default: 24
|
||||||
|
},
|
||||||
|
placeholder: {
|
||||||
|
type: String
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
placeholder () {
|
defaultPlaceholder () {
|
||||||
return `请选择${this.config.attrName}`
|
return `请选择${this.config.attrName}`
|
||||||
},
|
},
|
||||||
showMessage () {
|
showMessage () {
|
||||||
|
|||||||
@@ -295,7 +295,7 @@
|
|||||||
:disabled="formdisableflag"
|
:disabled="formdisableflag"
|
||||||
></custom-SVPPS>
|
></custom-SVPPS>
|
||||||
</template>
|
</template>
|
||||||
<!--人员选择:投稿人||责任部门-->
|
<!--人员选择:投稿人||责任工程师-->
|
||||||
<template v-else-if="field.attrField === 'TGRLAWS' || field.attrField === 'ZRGCSLAWS'">
|
<template v-else-if="field.attrField === 'TGRLAWS' || field.attrField === 'ZRGCSLAWS'">
|
||||||
<el-form-item v-if="field.attrField === 'TGRLAWS'"
|
<el-form-item v-if="field.attrField === 'TGRLAWS'"
|
||||||
prop="TGRBUSS"
|
prop="TGRBUSS"
|
||||||
|
|||||||
@@ -115,7 +115,7 @@ import PersonInfo from "./components/PersonInfo";
|
|||||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
||||||
import ApprovalHistory from "@/components/hzwlComponents/ApprovalHistory";
|
import ApprovalHistory from "@/components/hzwlComponents/ApprovalHistory";
|
||||||
|
|
||||||
import { saveTaskFirst, queryTaskFirst, inboundLiaisonDetail, taskDel, saveTaskForPub, changeAssigneeNew } from 'api/process'
|
import { saveTaskFirst, queryTaskFirst, inboundLiaisonDetail, taskDel, saveTaskForPub, changeAssigneeNew, processLawsTopicMembership } from 'api/process'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "policyTopicEnrollment",
|
name: "policyTopicEnrollment",
|
||||||
@@ -455,8 +455,12 @@ export default {
|
|||||||
this.roleForm = {
|
this.roleForm = {
|
||||||
applyUserId: processForm.applyUserId,
|
applyUserId: processForm.applyUserId,
|
||||||
applyUserName: processForm.applyUserName,
|
applyUserName: processForm.applyUserName,
|
||||||
jlUserId: processForm.jlUserId,
|
ministerId: processForm.ministerId,
|
||||||
jlUserName: processForm.jlUserName,
|
ministerIdName: processForm.ministerIdName,
|
||||||
|
inspectorId: processForm.inspectorId,
|
||||||
|
inspectorIdName: processForm.inspectorIdName,
|
||||||
|
presidentId: processForm.presidentId,
|
||||||
|
presidentIdName: processForm.presidentIdName
|
||||||
}
|
}
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
this.reloadForm = true
|
this.reloadForm = true
|
||||||
@@ -608,6 +612,23 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// 流程入库
|
||||||
|
processCreate (json) {
|
||||||
|
const _formData = new FormData()
|
||||||
|
_formData.append('infoJson', json)
|
||||||
|
processLawsTopicMembership(_formData).then(res => {
|
||||||
|
if (res.result === '操作成功' || res.data === '入库成功') {
|
||||||
|
this.$message.success(res.data)
|
||||||
|
setTimeout(() => {
|
||||||
|
this.$router.push({ name: 'ProcessCenter' })
|
||||||
|
}, 100)
|
||||||
|
} else {
|
||||||
|
this.$message.warning(res.message)
|
||||||
|
}
|
||||||
|
}).finally(() => {
|
||||||
|
this.footerLoading = false
|
||||||
|
})
|
||||||
|
},
|
||||||
// 驳回
|
// 驳回
|
||||||
handleOver(){
|
handleOver(){
|
||||||
this.form.approvalOpinion = 1
|
this.form.approvalOpinion = 1
|
||||||
|
|||||||
+1
-1
@@ -242,7 +242,7 @@ export default {
|
|||||||
case 2:
|
case 2:
|
||||||
if (this.selectedList.length === 1) {
|
if (this.selectedList.length === 1) {
|
||||||
const query = {
|
const query = {
|
||||||
lawsTopicId: this.selectedList[0].id
|
id: this.selectedList[0].id
|
||||||
}
|
}
|
||||||
const res = await this.$http._getData(this.api.getLawsTopicInfo, query, {_this:this,loading: 'buttonLoading'})
|
const res = await this.$http._getData(this.api.getLawsTopicInfo, query, {_this:this,loading: 'buttonLoading'})
|
||||||
if (res && res.data) {
|
if (res && res.data) {
|
||||||
|
|||||||
@@ -123,7 +123,7 @@ import PersonInfo from "./components/PersonInfo";
|
|||||||
import RetrieveTopics from "./components/RetrieveTopics";
|
import RetrieveTopics from "./components/RetrieveTopics";
|
||||||
import ApprovalHistory from "@/components/hzwlComponents/ApprovalHistory";
|
import ApprovalHistory from "@/components/hzwlComponents/ApprovalHistory";
|
||||||
|
|
||||||
import { saveTaskFirst, queryTaskFirst, inboundLiaisonDetail, taskDel, saveTaskForPub, changeAssigneeNew } from 'api/process'
|
import { saveTaskFirst, queryTaskFirst, inboundLiaisonDetail, taskDel, saveTaskForPub, changeAssigneeNew, processLawsTopicParticipation } from 'api/process'
|
||||||
import pick from 'lodash/pick'
|
import pick from 'lodash/pick'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
@@ -493,19 +493,18 @@ export default {
|
|||||||
processCreate (json) {
|
processCreate (json) {
|
||||||
const _formData = new FormData()
|
const _formData = new FormData()
|
||||||
_formData.append('infoJson', json)
|
_formData.append('infoJson', json)
|
||||||
alert('入库')
|
processLawsTopicParticipation(_formData).then(res => {
|
||||||
// processCreateMeeting(_formData).then(res => {
|
if (res.result === '操作成功' || res.data === '入库成功') {
|
||||||
// if (res.result === '操作成功' || res.data === '入库成功') {
|
this.$message.success(res.data)
|
||||||
// this.$message.success(res.data)
|
setTimeout(() => {
|
||||||
// setTimeout(() => {
|
this.$router.push({ name: 'ProcessCenter' })
|
||||||
// this.$router.push({ name: 'ProcessCenter' })
|
}, 100)
|
||||||
// }, 100)
|
} else {
|
||||||
// } else {
|
this.$message.warning(res.message)
|
||||||
// this.$message.warning(res.message)
|
}
|
||||||
// }
|
}).finally(() => {
|
||||||
// }).finally(() => {
|
this.footerLoading = false
|
||||||
// this.footerLoading = false
|
})
|
||||||
// })
|
|
||||||
},
|
},
|
||||||
// 驳回
|
// 驳回
|
||||||
handleOver(){
|
handleOver(){
|
||||||
|
|||||||
Reference in New Issue
Block a user