Merge branch 'develop' into dev
All checks were successful
Build & Deploy on Dev / build (push) Successful in 3m40s
All checks were successful
Build & Deploy on Dev / build (push) Successful in 3m40s
This commit is contained in:
commit
c7accb6044
3 changed files with 5 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ watch(
|
||||||
outlined
|
outlined
|
||||||
option-label="name"
|
option-label="name"
|
||||||
option-value="id"
|
option-value="id"
|
||||||
@update:model-value="rows = []"
|
@update:model-value="(rows = []), (selected = [])"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -222,6 +222,7 @@ const itemsCard = ref([
|
||||||
* @param id กลุ่ม
|
* @param id กลุ่ม
|
||||||
*/
|
*/
|
||||||
async function fetchDataQuota(id: string) {
|
async function fetchDataQuota(id: string) {
|
||||||
|
if (!id) return;
|
||||||
await http
|
await http
|
||||||
.get(config.API.salaryListPeriodQuota(id))
|
.get(config.API.salaryListPeriodQuota(id))
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|
@ -254,6 +255,7 @@ async function fetchDataQuota(id: string) {
|
||||||
* @param id กลุ่ม
|
* @param id กลุ่ม
|
||||||
*/
|
*/
|
||||||
async function fetchDataPeriod(id: string, force: boolean = false) {
|
async function fetchDataPeriod(id: string, force: boolean = false) {
|
||||||
|
if (!id) return;
|
||||||
force && showLoader();
|
force && showLoader();
|
||||||
let formData = {
|
let formData = {
|
||||||
...params.value,
|
...params.value,
|
||||||
|
|
|
||||||
|
|
@ -215,6 +215,7 @@ const itemsCard = ref([
|
||||||
* @param id กลุ่ม
|
* @param id กลุ่ม
|
||||||
*/
|
*/
|
||||||
async function fetchDataQuota(id: string) {
|
async function fetchDataQuota(id: string) {
|
||||||
|
if (!id) return;
|
||||||
await http
|
await http
|
||||||
.get(config.API.salaryListPeriodQuotaEmp(id))
|
.get(config.API.salaryListPeriodQuotaEmp(id))
|
||||||
.then((res) => {
|
.then((res) => {
|
||||||
|
|
@ -246,6 +247,7 @@ async function fetchDataQuota(id: string) {
|
||||||
* @param id กลุ่ม
|
* @param id กลุ่ม
|
||||||
*/
|
*/
|
||||||
async function fetchDataPeriod(id: string, force: boolean = false) {
|
async function fetchDataPeriod(id: string, force: boolean = false) {
|
||||||
|
if (!id) return;
|
||||||
force && showLoader();
|
force && showLoader();
|
||||||
let formData = {
|
let formData = {
|
||||||
...params.value,
|
...params.value,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue