misId
This commit is contained in:
parent
eedab43e4a
commit
5729625d80
2 changed files with 6 additions and 6 deletions
|
|
@ -82,7 +82,7 @@ const formData = reactive<FormDataAgency>({
|
||||||
responsibility: "",
|
responsibility: "",
|
||||||
isOfficer: false,
|
isOfficer: false,
|
||||||
isDeputy: false,
|
isDeputy: false,
|
||||||
orgMisId: "",
|
misId: "",
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -121,7 +121,7 @@ function onSubmit() {
|
||||||
["org" + type + "Fax"]: formData.orgFax,
|
["org" + type + "Fax"]: formData.orgFax,
|
||||||
["org" + type + "Rank"]: formData.orgLevel,
|
["org" + type + "Rank"]: formData.orgLevel,
|
||||||
["org" + type + "RankSub"]: formData.orgLevelSub,
|
["org" + type + "RankSub"]: formData.orgLevelSub,
|
||||||
misId: formData.orgMisId,
|
misId: formData.misId,
|
||||||
|
|
||||||
[nameId]: rootId,
|
[nameId]: rootId,
|
||||||
responsibility:
|
responsibility:
|
||||||
|
|
@ -208,7 +208,7 @@ function closeClear() {
|
||||||
formData.orgLevel = "";
|
formData.orgLevel = "";
|
||||||
formData.responsibility = "";
|
formData.responsibility = "";
|
||||||
formData.isOfficer = false;
|
formData.isOfficer = false;
|
||||||
formData.orgMisId = "";
|
formData.misId = "";
|
||||||
props.close?.();
|
props.close?.();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -406,7 +406,7 @@ watch(
|
||||||
formData.responsibility = props.dataNode.responsibility;
|
formData.responsibility = props.dataNode.responsibility;
|
||||||
formData.isOfficer = props.dataNode.isOfficer ?? false;
|
formData.isOfficer = props.dataNode.isOfficer ?? false;
|
||||||
formData.isDeputy = props.dataNode.isDeputy ?? false;
|
formData.isDeputy = props.dataNode.isDeputy ?? false;
|
||||||
formData.orgMisId = props.dataNode.isDeputy;
|
formData.misId = props.dataNode.misId;
|
||||||
orgLevelOption.value =
|
orgLevelOption.value =
|
||||||
props.dataNode.orgTreeRank === "DEPARTMENT"
|
props.dataNode.orgTreeRank === "DEPARTMENT"
|
||||||
? orgLevelOptionMain.value
|
? orgLevelOptionMain.value
|
||||||
|
|
@ -603,7 +603,7 @@ watch(
|
||||||
</div>
|
</div>
|
||||||
<div class="col-4">
|
<div class="col-4">
|
||||||
<q-input
|
<q-input
|
||||||
v-model="formData.orgMisId"
|
v-model="formData.misId"
|
||||||
ref="orgMisIdRef"
|
ref="orgMisIdRef"
|
||||||
dense
|
dense
|
||||||
outlined
|
outlined
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ interface FormDataAgency {
|
||||||
responsibility: string;
|
responsibility: string;
|
||||||
isOfficer?: boolean;
|
isOfficer?: boolean;
|
||||||
isDeputy?: boolean;
|
isDeputy?: boolean;
|
||||||
orgMisId: string;
|
misId: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface FormDataPosition {
|
interface FormDataPosition {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue