diff --git a/src/api/reagent/overView.js b/src/api/reagent/overView.js
index 706e2f6..a2e203b 100644
--- a/src/api/reagent/overView.js
+++ b/src/api/reagent/overView.js
@@ -43,3 +43,12 @@ export function update_warning_tp(data) {
data
})
}
+
+// /api/home/home_warning_num
+export function home_warning_num(data) {
+ return request({
+ url: '/api/home/home_warning_num',
+ method: 'post',
+ data
+ })
+}
diff --git a/src/components/WaringForm/index.vue b/src/components/WaringForm/index.vue
new file mode 100644
index 0000000..034e68f
--- /dev/null
+++ b/src/components/WaringForm/index.vue
@@ -0,0 +1,171 @@
+
+
+
+
+
+
+
+
+ {{ warning_data_map[scope.row.object_type - 1] }}
+
+
+
+
+
+
+
+
+ {{ rowData.object_name }}
+ {{ rowData.warning_content }}
+ {{ warning_data_map[rowData.object_type - 1] }}
+ {{ rowData.object_name }}
+
+ {{ rowData.warning_user_name }}
+
+
+
+ 确认
+
+
+
+
+
+
+
+
+
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index ca34fe9..d7151fe 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -4,9 +4,12 @@

-
@@ -298,10 +294,11 @@
import Detail from '@/components/Detail/index'
import { home_info, home_warning_list, home_drug_remaining, get_monitoring_info} from '@/api/reagent/overView'
import stringify from '@/utils/stringify'
+import WaringListView from '@/components/WaringForm/index'
export default {
name: 'MainOverview',
- components: { Detail },
+ components: { Detail, WaringListView},
data() {
return {
headerStyle: { 'background': '#E6E6E6' },
@@ -496,7 +493,7 @@ export default {
warnAll() {
this.dialogTableVisible = true
// 拉去数据
- this.getWarnList()
+ // this.getWarnList()
},
getLoadEcharts() {
this.myChart = this.$echarts.init(