Compare commits
3 commits
4cfcd48a20
...
c7accb6044
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c7accb6044 | ||
|
|
dd5b2e0676 | ||
|
|
3c15bb3b0b |
3 changed files with 5 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ watch(
|
|||
outlined
|
||||
option-label="name"
|
||||
option-value="id"
|
||||
@update:model-value="rows = []"
|
||||
@update:model-value="(rows = []), (selected = [])"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -222,6 +222,7 @@ const itemsCard = ref([
|
|||
* @param id กลุ่ม
|
||||
*/
|
||||
async function fetchDataQuota(id: string) {
|
||||
if (!id) return;
|
||||
await http
|
||||
.get(config.API.salaryListPeriodQuota(id))
|
||||
.then((res) => {
|
||||
|
|
@ -254,6 +255,7 @@ async function fetchDataQuota(id: string) {
|
|||
* @param id กลุ่ม
|
||||
*/
|
||||
async function fetchDataPeriod(id: string, force: boolean = false) {
|
||||
if (!id) return;
|
||||
force && showLoader();
|
||||
let formData = {
|
||||
...params.value,
|
||||
|
|
|
|||
|
|
@ -215,6 +215,7 @@ const itemsCard = ref([
|
|||
* @param id กลุ่ม
|
||||
*/
|
||||
async function fetchDataQuota(id: string) {
|
||||
if (!id) return;
|
||||
await http
|
||||
.get(config.API.salaryListPeriodQuotaEmp(id))
|
||||
.then((res) => {
|
||||
|
|
@ -246,6 +247,7 @@ async function fetchDataQuota(id: string) {
|
|||
* @param id กลุ่ม
|
||||
*/
|
||||
async function fetchDataPeriod(id: string, force: boolean = false) {
|
||||
if (!id) return;
|
||||
force && showLoader();
|
||||
let formData = {
|
||||
...params.value,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue