feat: There is no way the, bug #52424

This commit is contained in:
super_liu
2022-04-11 16:52:30 +08:00
parent 5c65b1ab5c
commit ed3e1d58fa
@@ -342,7 +342,7 @@ export default {
}, },
data() { data() {
return { return {
bpnId: '', bpnId: this.$route.query.bpnId,
standardCheckedList: [], standardCheckedList: [],
tableHeight: { tableHeight: {
standardTableHeight: null standardTableHeight: null
@@ -449,7 +449,6 @@ export default {
} }
}, },
mounted(){ mounted(){
this.bpnId = this.$route.query.bpnId
if(this.bpnId){ if(this.bpnId){
this.getData() this.getData()
} }
@@ -462,6 +461,7 @@ export default {
let mes = JSON.parse(res.mes); let mes = JSON.parse(res.mes);
this.form = mes.form this.form = mes.form
this.roleForm = mes.roleForm this.roleForm = mes.roleForm
this.commentText = mes.commentText
}); });
}, },
filterObj(obj){ filterObj(obj){
@@ -645,6 +645,7 @@ export default {
json.commentText = this.commentText json.commentText = this.commentText
json.filesId = this.addFjList json.filesId = this.addFjList
json.filesName = this.form.fjListName json.filesName = this.form.fjListName
_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", "laws2"); _formData.append("prcType", "laws2");
@@ -656,6 +657,7 @@ export default {
saveTaskFirst(_formData).then(res => { saveTaskFirst(_formData).then(res => {
this.saveLoading = false; this.saveLoading = false;
this.$message.success("保存成功"); this.$message.success("保存成功");
this.bpnId = res.result
}).catch(e => { }).catch(e => {
this.saveLoading = false; this.saveLoading = false;
}); });