Merge branch 'develop' of github.com:Frappet/bma-ehr-frontend into me
This commit is contained in:
commit
5bfdd3cc2a
6 changed files with 616 additions and 421 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
|
@ -7738,7 +7738,7 @@
|
||||||
},
|
},
|
||||||
"node_modules/vue": {
|
"node_modules/vue": {
|
||||||
"version": "3.2.47",
|
"version": "3.2.47",
|
||||||
"resolved": "https://npm.joolsoft.com/vue/-/vue-3.2.47.tgz",
|
// "resolved": "https://npm.joolsoft.com/vue/-/vue-3.2.47.tgz",
|
||||||
"integrity": "sha512-60188y/9Dc9WVrAZeUVSDxRQOZ+z+y5nO2ts9jWXSTkMvayiWxCWOWtBQoYjLeccfXkiiPZWAHcV+WTPhkqJHQ==",
|
"integrity": "sha512-60188y/9Dc9WVrAZeUVSDxRQOZ+z+y5nO2ts9jWXSTkMvayiWxCWOWtBQoYjLeccfXkiiPZWAHcV+WTPhkqJHQ==",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@vue/compiler-dom": "3.2.47",
|
"@vue/compiler-dom": "3.2.47",
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "run-p type-check build-only",
|
"build": "run-p build-only",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"test:unit": "vitest --environment jsdom --root src/",
|
"test:unit": "vitest --environment jsdom --root src/",
|
||||||
"test:e2e": "start-server-and-test preview :4173 'cypress run --e2e'",
|
"test:e2e": "start-server-and-test preview :4173 'cypress run --e2e'",
|
||||||
|
|
|
||||||
|
|
@ -44,4 +44,6 @@ export default {
|
||||||
|
|
||||||
//education
|
//education
|
||||||
placementEducationId: (id: string) => `${placement}/education/${id}`,
|
placementEducationId: (id: string) => `${placement}/education/${id}`,
|
||||||
|
// position
|
||||||
|
placementPosition: () => `${placement}/position/use`,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -266,7 +266,7 @@ const selectData = (pid: string) => {
|
||||||
personalId.value = pid;
|
personalId.value = pid;
|
||||||
modal.value = true;
|
modal.value = true;
|
||||||
} else {
|
} else {
|
||||||
router.push("/placement/detail/" + pid);
|
router.push("/placement/personal-detail/" + pid);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -280,7 +280,7 @@ const editDetail = (
|
||||||
props: PartialTableName,
|
props: PartialTableName,
|
||||||
action: "disclaim" | "deferment" | "defermentInfo" | "disclaimInfo"
|
action: "disclaim" | "deferment" | "defermentInfo" | "disclaimInfo"
|
||||||
) => {
|
) => {
|
||||||
Name.value = props.fullName;
|
Name.value = props.name;
|
||||||
personalId.value = props.personalId;
|
personalId.value = props.personalId;
|
||||||
editRow.value = false;
|
editRow.value = false;
|
||||||
edit.value = true;
|
edit.value = true;
|
||||||
|
|
@ -376,9 +376,9 @@ const containStatus = ref<boolean>(false);
|
||||||
watch(containStatus, () => {
|
watch(containStatus, () => {
|
||||||
// console.log("containStatus===>", containStatus.value);
|
// console.log("containStatus===>", containStatus.value);
|
||||||
if (containStatus.value) {
|
if (containStatus.value) {
|
||||||
rows.value = rowsAll.value.filter((x: any) => x.statusId != 'CONTAIN');
|
|
||||||
} else {
|
|
||||||
rows.value = rowsAll.value.filter((x: any) => x.statusId == 'CONTAIN');
|
rows.value = rowsAll.value.filter((x: any) => x.statusId == 'CONTAIN');
|
||||||
|
} else {
|
||||||
|
rows.value = rowsAll.value.filter((x: any) => x.statusId != 'CONTAIN');
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ interface TableName {
|
||||||
interface PartialTableName {
|
interface PartialTableName {
|
||||||
personalId: string;
|
personalId: string;
|
||||||
fullName: string;
|
fullName: string;
|
||||||
|
name: string;
|
||||||
idCard: string;
|
idCard: string;
|
||||||
profilePhoto: string;
|
profilePhoto: string;
|
||||||
organizationName: string;
|
organizationName: string;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue