diff --git a/src/api/report/index.js b/src/api/report/index.js deleted file mode 100644 index e69de29..0000000 diff --git a/src/api/report/report.js b/src/api/report/report.js index 5389753..77f49a6 100644 --- a/src/api/report/report.js +++ b/src/api/report/report.js @@ -1,37 +1,25 @@ import request from "@/router/axios"; // 查看任务统计 -export const missionCount = (current, size, params) => { +export const missionCount = (params) => { return request({ url: "/api/jobslink-api/report/roleMissionCount/missionCount", method: "get", - params: { - ...params, - current, - size, - }, + params, }); }; // 查看岗位统计 -export const roleCount = (current, size, params) => { +export const roleCount = (params) => { return request({ url: "/api/jobslink-api/report/roleMissionCount/roleCount", method: "get", - params: { - ...params, - current, - size, - }, + params, }); }; //查看审核统计 -export const reviewCount = (current, size, params) => { +export const reviewCount = (params) => { return request({ url: "/api/jobslink-api/report/roleMissionCount/reviewCount", method: "get", - params: { - ...params, - current, - size, - }, + params, }); }; diff --git a/src/components/Custom-Loading/index.vue b/src/components/Custom-Loading/index.vue index 312d96a..a604d9e 100644 --- a/src/components/Custom-Loading/index.vue +++ b/src/components/Custom-Loading/index.vue @@ -1,7 +1,7 @@ @@ -51,7 +77,15 @@ export default { align-items: center; justify-content: center; flex-direction: column; - .image{ + .image_small{ + width: 56px; + height: 56px; + } + .image_default{ + width: 100px; + height: 100px; + } + .image_large{ width: 180px; height: 180px; } diff --git a/src/main.js b/src/main.js index 6f29ed4..4e9e5a4 100644 --- a/src/main.js +++ b/src/main.js @@ -51,7 +51,11 @@ Vue.prototype.website = website; // iconfontVersion.forEach(ele => { // loadStyle(iconfontUrl.replace('$key', ele)); // }); - +// 睡眠函数 +function sleep (time) { + return new Promise((resolve) => setTimeout(resolve, time)) +} +Vue.prototype.$api = { sleep } Vue.config.productionTip = false; new Vue({router, store, i18n, render: h => h(App)}).$mount('#app') diff --git a/src/views/report/auditInfo.vue b/src/views/report/auditInfo.vue index 16722cb..3a314b5 100644 --- a/src/views/report/auditInfo.vue +++ b/src/views/report/auditInfo.vue @@ -1,21 +1,126 @@ diff --git a/src/views/report/postInfo.vue b/src/views/report/postInfo.vue index 16722cb..45f4080 100644 --- a/src/views/report/postInfo.vue +++ b/src/views/report/postInfo.vue @@ -1,21 +1,129 @@ @@ -23,3 +131,4 @@ export default { + diff --git a/src/views/report/taskInfo.vue b/src/views/report/taskInfo.vue index 16722cb..f6980ad 100644 --- a/src/views/report/taskInfo.vue +++ b/src/views/report/taskInfo.vue @@ -1,21 +1,129 @@ @@ -23,3 +131,4 @@ export default { + diff --git a/src/views/tenant/main/serve/Dialog/pushService.vue b/src/views/tenant/main/serve/Dialog/pushService.vue index ef2e6cf..b344f0b 100644 --- a/src/views/tenant/main/serve/Dialog/pushService.vue +++ b/src/views/tenant/main/serve/Dialog/pushService.vue @@ -24,7 +24,7 @@ - +
@@ -50,7 +50,7 @@ - +
diff --git a/vue.config.js b/vue.config.js index daacde0..90ff354 100644 --- a/vue.config.js +++ b/vue.config.js @@ -23,7 +23,7 @@ module.exports = { port: 1888, proxy: { "/api": { - target: 'http://10.165.0.173:8000', + target: 'http://localhost:8000', ws: true, changeOrigin: true, pathRewrite: {