diff --git a/src/App.vue b/src/App.vue index aa81bb77..add3aeae 100644 --- a/src/App.vue +++ b/src/App.vue @@ -119,4 +119,15 @@ export default { #table1.el-table th.el-table__cell.is-leaf { background: rgba(0, 0, 0, 0); } - + +.el-calendar-table .el-calendar-day { + height: 43px !important; +} + +.el-calendar { + border-radius: 15px; +} + +.el-calendar>.el-calendar__body { + padding: 0 20px 20px; +} diff --git a/src/api/model/inm.js b/src/api/model/inm.js index 3f619ff4..0bd7190d 100644 --- a/src/api/model/inm.js +++ b/src/api/model/inm.js @@ -130,5 +130,13 @@ export default { `${config.API_URL}/inm/mioitem/${id}/`); } }, + test: { + name: "检验", + req: async function(id,data){ + return await http.post( + `${config.API_URL}/inm/mioitem/${id}/test/`, + data); + } + }, } } \ No newline at end of file diff --git a/src/api/model/qm.js b/src/api/model/qm.js index a2d1dad1..fbd8a112 100644 --- a/src/api/model/qm.js +++ b/src/api/model/qm.js @@ -79,5 +79,47 @@ export default { } } }, + ptest: { + list: { + name: "检验列表", + req: async function(data){ + return await http.get( + `${config.API_URL}/qm/ptest/`, + data + ); + } + }, + item: { + name: "检验", + req: async function(id){ + return await http.get( + `${config.API_URL}/qm/ptest/${id}/` + ); + } + }, + update: { + name: "更新检验", + req: async function(id, data){ + return await http.put( + `${config.API_URL}/qm/ptest/${id}/`, + data); + } + }, + create: { + name: "创建检验", + req: async function(data){ + return await http.post( + `${config.API_URL}/qm/ptest/`, + data); + } + }, + delete: { + name: "删除检验", + req: async function(id){ + return await http.delete( + `${config.API_URL}/qm/ptest/${id}/`); + } + } + }, } diff --git a/src/views/home/widgets/index_photon.vue b/src/views/home/widgets/index_photon.vue index 1bfaebc8..25c4ae4c 100644 --- a/src/views/home/widgets/index_photon.vue +++ b/src/views/home/widgets/index_photon.vue @@ -18,29 +18,29 @@
6700
-同比上周 8.63%▲
+同比前天 8.63%▲
6700
-同比上周 8.63%▲
+同比前天 8.63%▲
6700
-同比上周 8.63%▼
+同比前天 8.63%▼
6700
- +同比前天 8.63%▲
6700
- +同比前天 8.63%▲
189762670
+6700
+6700
+80%
80%
同比上周 8.63%
70%
+80%
同比上周 8.63%
45.82%
-同比上周 8.63%▲ 月同比6.47%
- +99%
+ +延期任务数量上月同比增加 10.23%