fix:clear formRound
This commit is contained in:
parent
8f53521403
commit
ad9d26d3bf
1 changed files with 12 additions and 0 deletions
|
|
@ -233,6 +233,12 @@ function checkClosed() {
|
||||||
|
|
||||||
/** ค้นหาตัวชี้วัดตาม ค่า input */
|
/** ค้นหาตัวชี้วัดตาม ค่า input */
|
||||||
async function searchInput(check: boolean) {
|
async function searchInput(check: boolean) {
|
||||||
|
selected.value = [];
|
||||||
|
yearDialog.value = calculateFiscalYear(new Date());
|
||||||
|
formRound.kpiPeriodId = { id: "", name: "", isClosed: false };
|
||||||
|
formRound.evaluatorId = "";
|
||||||
|
formRound.commanderId = "";
|
||||||
|
formRound.commanderHighId = "";
|
||||||
if (check) {
|
if (check) {
|
||||||
searchRules.value = check;
|
searchRules.value = check;
|
||||||
|
|
||||||
|
|
@ -274,6 +280,12 @@ function updateSelect() {
|
||||||
|
|
||||||
/** ดึงข้อมูล ผู้ประเมิน */
|
/** ดึงข้อมูล ผู้ประเมิน */
|
||||||
function getOrgOp(check: boolean, id: string) {
|
function getOrgOp(check: boolean, id: string) {
|
||||||
|
yearDialog.value = calculateFiscalYear(new Date());
|
||||||
|
formRound.kpiPeriodId = { id: "", name: "", isClosed: false };
|
||||||
|
formRound.evaluatorId = "";
|
||||||
|
formRound.commanderId = "";
|
||||||
|
formRound.commanderHighId = "";
|
||||||
|
|
||||||
if (check == false) {
|
if (check == false) {
|
||||||
http
|
http
|
||||||
.get(config.API.Kpiorg + `/${id}`)
|
.get(config.API.Kpiorg + `/${id}`)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue