commit
This commit is contained in:
@@ -521,6 +521,8 @@
|
|||||||
newText: '',
|
newText: '',
|
||||||
reason: '',
|
reason: '',
|
||||||
id: id,
|
id: id,
|
||||||
|
department: this.$store.getters.userInfo.upDeptName,
|
||||||
|
responUserName: this.$store.getters.userInfo.userName,
|
||||||
}
|
}
|
||||||
this.data.push(json)
|
this.data.push(json)
|
||||||
this.itemId = id
|
this.itemId = id
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<!-- 标准调研流程-->
|
<!-- 标准调研流程-->
|
||||||
<ProcessHeader toggle>
|
<ProcessHeader toggle>
|
||||||
<template slot="proName">标准征求意见流程</template>
|
<template slot="proName">标准征求意见流程</template>
|
||||||
<template slot="proNode">对接人批准</template>
|
<template slot="proNode">责任部门对接人汇总并选择审批人</template>
|
||||||
</ProcessHeader>
|
</ProcessHeader>
|
||||||
<div class="headerTabs">
|
<div class="headerTabs">
|
||||||
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
<div class="headerTabsItem" :class="active === '1' ? 'active' : ''" @click="handleTabs('1')">基础信息</div>
|
||||||
@@ -62,6 +62,14 @@
|
|||||||
- -
|
- -
|
||||||
</div>
|
</div>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="审批人" prop="spId" class="add-form-item form-item-disabled">
|
||||||
|
<el-input
|
||||||
|
v-model="form.spId"
|
||||||
|
style="display: none;"
|
||||||
|
clearable
|
||||||
|
></el-input>
|
||||||
|
<el-input v-model="form.spName" placeholder="请选择审批人" @click.native="choiceZRR(form.spId)"></el-input>
|
||||||
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
</el-row>
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
@@ -212,12 +220,7 @@
|
|||||||
:saveLoading="saveLoading"
|
:saveLoading="saveLoading"
|
||||||
show-transfer
|
show-transfer
|
||||||
@transfer="handleTransfer"
|
@transfer="handleTransfer"
|
||||||
@save="handleSave"
|
|
||||||
@submit="handleSubmit"
|
@submit="handleSubmit"
|
||||||
show-back
|
|
||||||
@back="handleSubmitNo"
|
|
||||||
approval
|
|
||||||
submitBTNText="同意"
|
|
||||||
>
|
>
|
||||||
</ProcessFooter>
|
</ProcessFooter>
|
||||||
<Role-tree
|
<Role-tree
|
||||||
@@ -235,6 +238,13 @@
|
|||||||
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="itermsConditionsClose">关闭</el-button>
|
<el-button class="common-button-default" size="mini" icon="el-icon-close" @click="itermsConditionsClose">关闭</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
<Role-tree
|
||||||
|
check-box
|
||||||
|
is-title="选择责任部门对接人"
|
||||||
|
:is-visible.sync="modalshowflag"
|
||||||
|
@checkedRole="checkedRole2"
|
||||||
|
:nodeList="nodeList"
|
||||||
|
></Role-tree>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -281,6 +291,8 @@ export default {
|
|||||||
textType: '',
|
textType: '',
|
||||||
modelList: [],
|
modelList: [],
|
||||||
modelNameList: '',
|
modelNameList: '',
|
||||||
|
spId: '',
|
||||||
|
spName: '',
|
||||||
},
|
},
|
||||||
formRules: {
|
formRules: {
|
||||||
responUserList: [
|
responUserList: [
|
||||||
@@ -296,6 +308,15 @@ export default {
|
|||||||
ProcessTitle
|
ProcessTitle
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
checkedRole2(data) {
|
||||||
|
this.form.spId = data[0].id
|
||||||
|
this.form.spName = data[0].name
|
||||||
|
},
|
||||||
|
choiceZRR(id) {
|
||||||
|
this.nodeList = []
|
||||||
|
this.nodeList.push(id)
|
||||||
|
this.modalshowflag = true;
|
||||||
|
},
|
||||||
itermsConditionsClose () {
|
itermsConditionsClose () {
|
||||||
this.itermsConditionsFlag = false
|
this.itermsConditionsFlag = false
|
||||||
},
|
},
|
||||||
@@ -367,6 +388,8 @@ export default {
|
|||||||
var json = this.json
|
var json = this.json
|
||||||
json.actionFlag = 0
|
json.actionFlag = 0
|
||||||
json.commentText = this.commentText
|
json.commentText = this.commentText
|
||||||
|
json.spId = this.form.spId
|
||||||
|
json.spName = this.form.spName
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
this.$http.post('lawss/activiti/completeTask', {
|
||||||
json: JSON.stringify(json),
|
json: JSON.stringify(json),
|
||||||
taskId: this.taskIds,
|
taskId: this.taskIds,
|
||||||
@@ -379,26 +402,26 @@ export default {
|
|||||||
this.isSubmit = false
|
this.isSubmit = false
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
handleSubmitNo() {
|
// handleSubmitNo() {
|
||||||
if (this.commentText) {
|
// if (this.commentText) {
|
||||||
var json = this.json
|
// var json = this.json
|
||||||
json.actionFlag = 1
|
// json.actionFlag = 1
|
||||||
json.commentText = this.commentText
|
// json.commentText = this.commentText
|
||||||
this.$http.post('lawss/activiti/completeTask', {
|
// this.$http.post('lawss/activiti/completeTask', {
|
||||||
json: JSON.stringify(json),
|
// json: JSON.stringify(json),
|
||||||
taskId: this.taskIds,
|
// taskId: this.taskIds,
|
||||||
userId: this.$store.getters.userInfo.userId
|
// userId: this.$store.getters.userInfo.userId
|
||||||
}, {}, res => {
|
// }, {}, res => {
|
||||||
if (res.success) {
|
// if (res.success) {
|
||||||
this.$message.success('提交成功')
|
// this.$message.success('提交成功')
|
||||||
this.$router.push('/processCenter')
|
// this.$router.push('/processCenter')
|
||||||
}
|
// }
|
||||||
})
|
// })
|
||||||
} else {
|
// } else {
|
||||||
this.$message.warning('请输入反馈意见')
|
// this.$message.warning('请输入反馈意见')
|
||||||
}
|
// }
|
||||||
|
//
|
||||||
},
|
// },
|
||||||
getData() {
|
getData() {
|
||||||
return new Promise((resolve, reject) => {
|
return new Promise((resolve, reject) => {
|
||||||
inboundLiaisonDetail({
|
inboundLiaisonDetail({
|
||||||
@@ -418,8 +441,9 @@ export default {
|
|||||||
this.form.textType = data.textType
|
this.form.textType = data.textType
|
||||||
this.form.modelList = data.modelList
|
this.form.modelList = data.modelList
|
||||||
this.form.modelNameList = data.modelNameList
|
this.form.modelNameList = data.modelNameList
|
||||||
|
this.form.spId = data.spId || ''
|
||||||
|
this.form.spName = data.spName || ''
|
||||||
this.json = data
|
this.json = data
|
||||||
console.log(data);
|
|
||||||
this.data = data.info || data.data
|
this.data = data.info || data.data
|
||||||
}).catch(e => {
|
}).catch(e => {
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -614,7 +614,7 @@ export default {
|
|||||||
prcType: row.prcType
|
prcType: row.prcType
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else if (row.taskInfo === '标准法规工程师汇总填写处理意见') {
|
} else if (row.taskInfo === '审批人审批') {
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: 'bzzqyjStep5',
|
name: 'bzzqyjStep5',
|
||||||
query: {
|
query: {
|
||||||
|
|||||||
Reference in New Issue
Block a user