hgwms-2099 fix 提示展示逻辑修改
parent
8beb440874
commit
26efca11f8
|
|
@ -80,14 +80,14 @@ export default defineComponent({
|
|||
});
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key,
|
||||
});
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
edit(toRaw(formState)).then((response) => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key,
|
||||
});
|
||||
edit(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message
|
||||
.success({
|
||||
|
|
|
|||
|
|
@ -70,13 +70,13 @@ export default defineComponent({
|
|||
};
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key,
|
||||
});
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key,
|
||||
});
|
||||
save(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message
|
||||
|
|
|
|||
|
|
@ -83,13 +83,13 @@ export default defineComponent({
|
|||
};
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key,
|
||||
});
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key,
|
||||
});
|
||||
edit(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message.success({
|
||||
|
|
|
|||
|
|
@ -69,13 +69,13 @@ export default defineComponent({
|
|||
};
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key,
|
||||
});
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key,
|
||||
});
|
||||
save(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message.success({
|
||||
|
|
|
|||
|
|
@ -79,10 +79,10 @@ export default defineComponent({
|
|||
const editKey = "add";
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({ content: "提交中...", key: editKey });
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({ content: "提交中...", key: editKey });
|
||||
edit(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message
|
||||
|
|
|
|||
|
|
@ -70,10 +70,10 @@ export default defineComponent({
|
|||
const saveKey = "save";
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({ content: "提交中...", key: saveKey });
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({ content: "提交中...", key: saveKey });
|
||||
save(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message
|
||||
|
|
|
|||
|
|
@ -63,13 +63,13 @@ export default defineComponent({
|
|||
});
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key,
|
||||
});
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key,
|
||||
});
|
||||
edit(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message
|
||||
|
|
|
|||
|
|
@ -78,13 +78,13 @@ export default defineComponent({
|
|||
const formRules = {};
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key,
|
||||
});
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key,
|
||||
});
|
||||
save({user:formState.user,tenant:formState.tenant,powerIds:state.powerIds.checked}).then((response) => {
|
||||
if (response.success) {
|
||||
message
|
||||
|
|
|
|||
|
|
@ -278,13 +278,13 @@ export default defineComponent({
|
|||
var a = JSON.stringify(formState.sourceStactics);
|
||||
formState.sourceStactics = JSON.stringify(formState.sourceStactics);
|
||||
console.log("formState sourceStactics", a);
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: editKey,
|
||||
});
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: editKey,
|
||||
});
|
||||
edit(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message
|
||||
|
|
|
|||
|
|
@ -195,13 +195,13 @@ export default defineComponent({
|
|||
const saveKey = "save";
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: saveKey,
|
||||
});
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: saveKey,
|
||||
});
|
||||
save(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message
|
||||
|
|
|
|||
|
|
@ -401,13 +401,13 @@ export default defineComponent({
|
|||
const editKey = "add";
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: editKey,
|
||||
});
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: editKey,
|
||||
});
|
||||
edit(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message
|
||||
|
|
|
|||
|
|
@ -378,13 +378,13 @@ export default defineComponent({
|
|||
const saveKey = "save";
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: saveKey,
|
||||
});
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: saveKey,
|
||||
});
|
||||
save(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message
|
||||
|
|
|
|||
|
|
@ -305,13 +305,13 @@ export default defineComponent({
|
|||
const editKey = "add";
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: editKey,
|
||||
});
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: editKey,
|
||||
});
|
||||
edit(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message
|
||||
|
|
|
|||
|
|
@ -222,13 +222,13 @@ export default defineComponent({
|
|||
const saveKey = "save";
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: saveKey,
|
||||
});
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: saveKey,
|
||||
});
|
||||
save(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message
|
||||
|
|
|
|||
|
|
@ -182,13 +182,13 @@ export default defineComponent({
|
|||
const editKey = "add";
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: editKey,
|
||||
});
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: editKey,
|
||||
});
|
||||
edit(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message
|
||||
|
|
|
|||
|
|
@ -164,13 +164,13 @@ export default defineComponent({
|
|||
const saveKey = "save";
|
||||
|
||||
const submit = (e) => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: saveKey,
|
||||
});
|
||||
formRef.value
|
||||
.validate()
|
||||
.then(() => {
|
||||
.validate()
|
||||
.then(() => {
|
||||
message.loading({
|
||||
content: "提交中...",
|
||||
key: saveKey,
|
||||
});
|
||||
save(toRaw(formState)).then((response) => {
|
||||
if (response.success) {
|
||||
message
|
||||
|
|
|
|||
Loading…
Reference in New Issue