Update record.vue
This commit is contained in:
parent
091b6df55d
commit
8fbea655d9
@ -79,6 +79,17 @@ function confirm() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function addHealthRecord() {
|
async function addHealthRecord() {
|
||||||
|
if (Object.keys(form.value).length === 0) {
|
||||||
|
const isFill = await fillNext();
|
||||||
|
if (isFill) return;
|
||||||
|
if (source.value === 'afterArchive') {
|
||||||
|
uni.redirectTo({
|
||||||
|
url: `/pages/archive/archive-result?corpId=${corpId.value}&teamId=${teamId.value}&customerId=${customerId.value}`
|
||||||
|
})
|
||||||
|
} else {
|
||||||
|
uni.navigateBack();
|
||||||
|
}
|
||||||
|
};
|
||||||
const data = {
|
const data = {
|
||||||
...form.value,
|
...form.value,
|
||||||
corpId: corpId.value,
|
corpId: corpId.value,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user