|
@@ -1231,10 +1231,13 @@ export default {
|
|
//人员请销假
|
|
//人员请销假
|
|
getLeavlNumber().then(res => {
|
|
getLeavlNumber().then(res => {
|
|
// console.log(res.data)
|
|
// console.log(res.data)
|
|
- if (res.data[i] >= 0) {
|
|
|
|
- res.data[i];
|
|
|
|
- } else {
|
|
|
|
- res.data[i] = 0;
|
|
|
|
|
|
+ for (var i in res.data) {
|
|
|
|
+ console.log(res.data[i])
|
|
|
|
+ if (res.data[i] >= 0) {
|
|
|
|
+ res.data[i];
|
|
|
|
+ } else {
|
|
|
|
+ res.data[i] = 0;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
this.qjlist = res.data;
|
|
this.qjlist = res.data;
|
|
});
|
|
});
|