|
@@ -467,7 +467,7 @@ export default {
|
|
|
this.visibleAccount = true
|
|
|
this.accountId = item.accountId
|
|
|
this.projectId = item.projectId
|
|
|
-
|
|
|
+ this.accountLoading = false
|
|
|
setTimeout(() => {
|
|
|
this.formAccount.setFieldsValue({
|
|
|
projectId: item.projectId,
|
|
@@ -475,12 +475,13 @@ export default {
|
|
|
}, 0)
|
|
|
},
|
|
|
handleOkAccount(e) {
|
|
|
- this.accountLoading = true
|
|
|
+
|
|
|
|
|
|
this.formAccount.validateFieldsAndScroll((err, values) => {
|
|
|
if (err) {
|
|
|
// 这里做逻辑处理
|
|
|
} else {
|
|
|
+ this.accountLoading = true
|
|
|
var params = qs.stringify({
|
|
|
projectId: values.projectNewId,
|
|
|
accountId: this.accountId,
|
|
@@ -499,12 +500,13 @@ export default {
|
|
|
})
|
|
|
},
|
|
|
handleOkAdd(e) {
|
|
|
- this.confirmLoading = true
|
|
|
+
|
|
|
|
|
|
this.form.validateFieldsAndScroll((err, values) => {
|
|
|
if (err) {
|
|
|
// 这里做逻辑处理
|
|
|
} else {
|
|
|
+ this.confirmLoading = true
|
|
|
var params = {
|
|
|
...values,
|
|
|
}
|