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-item>-->
</el-form> </el-form>
</div> </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>
<div class="content" v-show="active === '3'"> <div class="content" v-show="active === '3'">
<div class="flow-list" style="height: 100%"> <div class="flow-list" style="height: 100%">
@@ -284,7 +284,7 @@ export default {
formLoading: false, formLoading: false,
approvalFlag: false, approvalFlag: false,
showFlag: true, showFlag: true,
taskId: '', taskIds: '',
bpnId: '', bpnId: '',
drawerTitle: "", drawerTitle: "",
nodeList: [], nodeList: [],
@@ -330,12 +330,12 @@ export default {
}; };
}, },
mounted() { mounted() {
this.taskId = this.$route.query.taskIds this.taskIds = this.$route.query.taskIds
this.bpnId = this.$route.query.bpnId this.bpnId = this.$route.query.bpnId
if (this.bpnId !== undefined) { if (this.bpnId !== undefined) {
this.getData() this.getData()
} }
if(this.taskId){ if(this.taskIds){
this.approvalFlag = true this.approvalFlag = true
this.processTable() this.processTable()
//被驳回时调用 //被驳回时调用
@@ -387,10 +387,9 @@ export default {
* @description: 动态表单读取 * @description: 动态表单读取
*/ */
getFormFieldList(item) { getFormFieldList(item) {
console.log(item); this.toggleType= item.type || item.qbfsForm.type
let type = item.type || item.qbfsForm.type
this.$nextTick(() => { this.$nextTick(() => {
switch (type){ switch (this.toggleType){
case '1': case '1':
this.comName = "merge" this.comName = "merge"
break break
@@ -446,7 +445,6 @@ export default {
qbzxdFrom.type = this.toggleType qbzxdFrom.type = this.toggleType
this.saveLoading = true this.saveLoading = true
let _formData = new FormData() let _formData = new FormData()
_formData.append('id', this.bpnId || '')
_formData.append('createUser', this.$store.getters.userInfo.userId) _formData.append('createUser', this.$store.getters.userInfo.userId)
_formData.append('createUserName', this.$store.getters.userInfo.userName) _formData.append('createUserName', this.$store.getters.userInfo.userName)
_formData.append('prcType', '25') _formData.append('prcType', '25')
@@ -469,10 +467,8 @@ export default {
qbzxdFrom.type = this.toggleType qbzxdFrom.type = this.toggleType
this.saveLoading = true this.saveLoading = true
let _formData = new FormData() let _formData = new FormData()
console.log(qbzxdFrom); _formData.append("id", this.bpnId || "");
_formData.append('id', this.bpnId || '') _formData.append("taskIds", this.taskIds);
_formData.append('createUser', this.$store.getters.userInfo.userId)
_formData.append('createUserName', this.$store.getters.userInfo.userName)
_formData.append('prcType', '25') _formData.append('prcType', '25')
_formData.append('json', JSON.stringify({ _formData.append('json', JSON.stringify({
roleForm: this.roleForm, roleForm: this.roleForm,