|
|
@@ -331,7 +331,7 @@ export default {
|
|
|
loading: false,
|
|
|
parentCount: 1,
|
|
|
buildTime: null,
|
|
|
- isSubmitting: false,
|
|
|
+ // isSubmitting: false,
|
|
|
defaultSelect: [],
|
|
|
selectedValues: [],
|
|
|
resumptionRoles: [],
|
|
|
@@ -842,10 +842,9 @@ export default {
|
|
|
if (!isValidate) return;
|
|
|
this.loading = true;
|
|
|
// this.formData.planStatus = 0;
|
|
|
- this.isSubmitting = true;
|
|
|
+ // this.isSubmitting = true;
|
|
|
// this.formData.note = this.formData.description;
|
|
|
- this.formData.planCreateOrgId = this.orgId;
|
|
|
- this.formData.planCreateOrgName = this.orgName;
|
|
|
+
|
|
|
|
|
|
this.formData.itemList = this.tableData == null ? [] : this.tableData;
|
|
|
//新需求,自动填充角色
|
|
|
@@ -894,10 +893,12 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
async update(data, immediateEffect) {
|
|
|
+ data.planCreateOrgId = this.orgId;
|
|
|
+ data.planCreateOrgName = this.orgName;
|
|
|
await api
|
|
|
.update(data, immediateEffect)
|
|
|
.then((data) => {
|
|
|
- this.isSubmitting = false;
|
|
|
+ // this.isSubmitting = false;
|
|
|
this.loading = false;
|
|
|
this.$emit("success");
|
|
|
this.onHide();
|