This commit is contained in:
@@ -10,8 +10,11 @@
|
|||||||
v-on="$listeners"
|
v-on="$listeners"
|
||||||
>
|
>
|
||||||
<template slot="main">
|
<template slot="main">
|
||||||
<v-sheet height="400" class="overflow-auto">
|
<v-sheet height="400" class="overflow-y-auto">
|
||||||
<div v-if="obj.length == 0" class="ml-3 mt-1 text-h6">
|
<div
|
||||||
|
v-if="obj.length == 0"
|
||||||
|
class="ml-6 mt-6 text-h4 grey--text text--lighten-1"
|
||||||
|
>
|
||||||
{{ $ay.t("NoData") }}
|
{{ $ay.t("NoData") }}
|
||||||
</div>
|
</div>
|
||||||
<template v-for="(item, i) in obj">
|
<template v-for="(item, i) in obj">
|
||||||
@@ -218,6 +221,7 @@ async function fetchWorkorderStatusList(vm) {
|
|||||||
window.$gz.form.setErrorBoxErrors(vm);
|
window.$gz.form.setErrorBoxErrors(vm);
|
||||||
} else {
|
} else {
|
||||||
vm.selectLists.wostatus = res.data.all.filter(z => z.completed == false); //TODO: weed out closed status
|
vm.selectLists.wostatus = res.data.all.filter(z => z.completed == false); //TODO: weed out closed status
|
||||||
|
vm.selectLists.wostatus.unshift(window.$gz.form.getNoSelectionItem(true));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user