diff --git a/src/api/model/system.ts b/src/api/model/system.ts index 2f203ee..e9c539c 100644 --- a/src/api/model/system.ts +++ b/src/api/model/system.ts @@ -118,5 +118,16 @@ export default { option: async function (data = {}) { return await http.get("crontab/option", data); }, + }, + crontab_log: { + list: async function (data = {}) { + return await http.get("crontab_log/list", data); + }, + del: async function (data = {}) { + return await http.delete("crontab_log/del", data); + }, + empty: async function (data = {}) { + return await http.delete("crontab_log/remove_all", data); + }, } } diff --git a/src/components/piSelect/index.vue b/src/components/piSelect/index.vue index 3989cf3..bba354b 100644 --- a/src/components/piSelect/index.vue +++ b/src/components/piSelect/index.vue @@ -1,35 +1,15 @@ diff --git a/src/components/piTableSelect/index.vue b/src/components/piTableSelect/index.vue new file mode 100644 index 0000000..3989cf3 --- /dev/null +++ b/src/components/piTableSelect/index.vue @@ -0,0 +1,254 @@ + + + + + diff --git a/src/views/monitor/crontab/index.vue b/src/views/monitor/crontab/index.vue index ff34a9c..03bf9d1 100644 --- a/src/views/monitor/crontab/index.vue +++ b/src/views/monitor/crontab/index.vue @@ -2,10 +2,12 @@