修改入会、参会
This commit is contained in:
@@ -1083,3 +1083,21 @@ export function processCreateMeeting (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
|
||||
:editable="true"
|
||||
:disabled="disabled"
|
||||
:placeholder="placeholder"
|
||||
:placeholder="placeholder || defaultPlaceholder"
|
||||
@input="handleChange"
|
||||
>
|
||||
</el-date-picker>
|
||||
@@ -49,10 +49,13 @@ export default {
|
||||
span: {
|
||||
type: Number,
|
||||
default: 24
|
||||
},
|
||||
placeholder: {
|
||||
type: String
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
placeholder () {
|
||||
defaultPlaceholder () {
|
||||
return `请选择${this.config.attrName}`
|
||||
},
|
||||
showMessage () {
|
||||
|
||||
@@ -295,7 +295,7 @@
|
||||
:disabled="formdisableflag"
|
||||
></custom-SVPPS>
|
||||
</template>
|
||||
<!--人员选择:投稿人||责任部门-->
|
||||
<!--人员选择:投稿人||责任工程师-->
|
||||
<template v-else-if="field.attrField === 'TGRLAWS' || field.attrField === 'ZRGCSLAWS'">
|
||||
<el-form-item v-if="field.attrField === 'TGRLAWS'"
|
||||
prop="TGRBUSS"
|
||||
|
||||
@@ -115,7 +115,7 @@ import PersonInfo from "./components/PersonInfo";
|
||||
import ReceiptDescription from "@/components/hzwlComponents/ReceiptDescription";
|
||||
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 {
|
||||
name: "policyTopicEnrollment",
|
||||
@@ -455,8 +455,12 @@ export default {
|
||||
this.roleForm = {
|
||||
applyUserId: processForm.applyUserId,
|
||||
applyUserName: processForm.applyUserName,
|
||||
jlUserId: processForm.jlUserId,
|
||||
jlUserName: processForm.jlUserName,
|
||||
ministerId: processForm.ministerId,
|
||||
ministerIdName: processForm.ministerIdName,
|
||||
inspectorId: processForm.inspectorId,
|
||||
inspectorIdName: processForm.inspectorIdName,
|
||||
presidentId: processForm.presidentId,
|
||||
presidentIdName: processForm.presidentIdName
|
||||
}
|
||||
this.$nextTick(() => {
|
||||
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(){
|
||||
this.form.approvalOpinion = 1
|
||||
|
||||
+1
-1
@@ -242,7 +242,7 @@ export default {
|
||||
case 2:
|
||||
if (this.selectedList.length === 1) {
|
||||
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'})
|
||||
if (res && res.data) {
|
||||
|
||||
@@ -123,7 +123,7 @@ import PersonInfo from "./components/PersonInfo";
|
||||
import RetrieveTopics from "./components/RetrieveTopics";
|
||||
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'
|
||||
|
||||
export default {
|
||||
@@ -493,19 +493,18 @@ export default {
|
||||
processCreate (json) {
|
||||
const _formData = new FormData()
|
||||
_formData.append('infoJson', json)
|
||||
alert('入库')
|
||||
// processCreateMeeting(_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
|
||||
// })
|
||||
processLawsTopicParticipation(_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(){
|
||||
|
||||
Reference in New Issue
Block a user