52402 企标制修订计划管控 驳回到第一步,然后第一步修改信息,点保存,再次查看,保存失效

This commit is contained in:
宋伟佳
2022-04-02 17:53:21 +08:00
parent 9aaee4990e
commit 817d3f4fec
2 changed files with 7 additions and 27 deletions
@@ -234,22 +234,6 @@
<!-- </el-form-item>-->
</el-form>
</div>
<div>
<el-collapse accordion>
<el-collapse-item title="审批意见">
<div style="margin: 10px 0;">
<el-input
type="textarea"
:rows="3"
resize="none"
disabled
placeholder="请输入意见"
v-model="commentText">
</el-input>
</div>
</el-collapse-item>
</el-collapse>
</div>
</div>
<div class="content" v-show="active === '3'">
<div class="flow-list" style="height: 100%">
@@ -284,7 +284,7 @@ export default {
formLoading: false,
approvalFlag: false,
showFlag: true,
taskId: '',
taskIds: '',
bpnId: '',
drawerTitle: "",
nodeList: [],
@@ -330,12 +330,12 @@ export default {
};
},
mounted() {
this.taskId = this.$route.query.taskIds
this.taskIds = this.$route.query.taskIds
this.bpnId = this.$route.query.bpnId
if (this.bpnId !== undefined) {
this.getData()
}
if(this.taskId){
if(this.taskIds){
this.approvalFlag = true
this.processTable()
//被驳回时调用
@@ -387,10 +387,9 @@ export default {
* @description: 动态表单读取
*/
getFormFieldList(item) {
console.log(item);
let type = item.type || item.qbfsForm.type
this.toggleType= item.type || item.qbfsForm.type
this.$nextTick(() => {
switch (type){
switch (this.toggleType){
case '1':
this.comName = "merge"
break
@@ -446,7 +445,6 @@ export default {
qbzxdFrom.type = this.toggleType
this.saveLoading = true
let _formData = new FormData()
_formData.append('id', this.bpnId || '')
_formData.append('createUser', this.$store.getters.userInfo.userId)
_formData.append('createUserName', this.$store.getters.userInfo.userName)
_formData.append('prcType', '25')
@@ -469,10 +467,8 @@ export default {
qbzxdFrom.type = this.toggleType
this.saveLoading = true
let _formData = new FormData()
console.log(qbzxdFrom);
_formData.append('id', this.bpnId || '')
_formData.append('createUser', this.$store.getters.userInfo.userId)
_formData.append('createUserName', this.$store.getters.userInfo.userName)
_formData.append("id", this.bpnId || "");
_formData.append("taskIds", this.taskIds);
_formData.append('prcType', '25')
_formData.append('json', JSON.stringify({
roleForm: this.roleForm,