zhangjintao 1 year ago
parent
commit
3dbce065a9

+ 1 - 1
online/index.html

@@ -33,7 +33,7 @@
     />
     <meta content="vue-admin-better" name="author" />
     <link
-      href="static/css/loading.css?random=2023-09-07 15:30:03-zh-mead"
+      href="static/css/loading.css?random=2023-09-07 19:25:37-zh-mead"
       rel="stylesheet"
     />
   <script defer src="static/js/chunk-vendors.js"></script><script defer src="static/js/app.js"></script><!--[if IE]><link rel="icon" type="image/svg+xml" href="img/icons/favicon.svg"><![endif]--><link rel="icon" type="image/png" sizes="32x32" href="img/icons/favicon-32x32.png"><link rel="icon" type="image/png" sizes="16x16" href="img/icons/favicon-16x16.png"><link rel="manifest" href="manifest.json"><meta name="theme-color" content="#ffffff"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta name="apple-mobile-web-app-title" content="admin-plus"><link rel="apple-touch-icon" href="img/icons/apple-touch-icon-152x152.png"><link rel="mask-icon" href="img/icons/safari-pinned-tab.svg" color="#ffffff"><meta name="msapplication-TileImage" content="img/icons/msapplication-icon-144x144.png"><meta name="msapplication-TileColor" content="#ffffff"></head>

File diff suppressed because it is too large
+ 1 - 1
online/static/js/app.js


File diff suppressed because it is too large
+ 1 - 1
online/static/js/chunk-vendors.js


File diff suppressed because it is too large
+ 1 - 1
online/static/js/library_components_Batchimport_index_vue-src_plugins_VabCount_index_vue-src_plugins_VabCroppe-40e644.js


+ 1 - 1
online/static/js/library_components_RichText_index_vue.js

@@ -1,7 +1,7 @@
 /*!
  *  build: Vue  Admin Plus
  *  copyright: vue-admin-beautiful.com
- *  time: 2023-09-07 15:30:03
+ *  time: 2023-09-07 19:25:37
  */
 /*
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").

File diff suppressed because it is too large
+ 1 - 1
online/static/js/library_components_VabColorfulCard_index_vue-library_components_VabNotice_components_NoticeEd-9701ec.js


+ 1 - 1
online/static/js/node_modules__sortablejs_1_10_2_sortablejs_modular_sortable_esm_js-src_plugins_VabAnchor_inde-b5a264.js

@@ -1,7 +1,7 @@
 /*!
  *  build: Vue  Admin Plus
  *  copyright: vue-admin-beautiful.com
- *  time: 2023-09-07 15:30:03
+ *  time: 2023-09-07 19:25:37
  */
 /*
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").

+ 1 - 1
online/static/js/src_plugins_VabAvatarList_index_vue-src_views_equipment_components_DataPermission_vue-src_vie-3e7342.js

@@ -1,7 +1,7 @@
 /*!
  *  build: Vue  Admin Plus
  *  copyright: vue-admin-beautiful.com
- *  time: 2023-09-07 15:30:03
+ *  time: 2023-09-07 19:25:37
  */
 /*
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").

+ 1 - 1
online/static/js/src_plugins_VabChart_index_vue.js

@@ -1,7 +1,7 @@
 /*!
  *  build: Vue  Admin Plus
  *  copyright: vue-admin-beautiful.com
- *  time: 2023-09-07 15:30:03
+ *  time: 2023-09-07 19:25:37
  */
 /*
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").

+ 1 - 1
online/static/js/src_views_403_vue-src_views_404_vue-src_views_callback_index_vue-src_views_index_components_P-0884fb.js

@@ -1,7 +1,7 @@
 /*!
  *  build: Vue  Admin Plus
  *  copyright: vue-admin-beautiful.com
- *  time: 2023-09-07 15:30:03
+ *  time: 2023-09-07 19:25:37
  */
 /*
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").

+ 1 - 1
online/static/js/src_views_register_index_vue.js

@@ -1,7 +1,7 @@
 /*!
  *  build: Vue  Admin Plus
  *  copyright: vue-admin-beautiful.com
- *  time: 2023-09-07 15:30:03
+ *  time: 2023-09-07 19:25:37
  */
 /*
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").

+ 9 - 0
src/views/equipment/api/index.ts

@@ -93,6 +93,15 @@ export function allFloorDistributeById(params: any) {
   })
 }
 
+//下发人脸
+export function allFloorDistributeImageById(params: any) {
+  return request({
+    url: '/sys/device/allFloorDistributeImageById',
+    method: 'get',
+    params,
+  })
+}
+
 //设备内部人员列表
 export function getStudentList(params: any) {
   return request({

+ 16 - 1
src/views/equipment/index.vue

@@ -245,7 +245,7 @@
           fixed="right"
           label="操作"
           show-overflow-tooltip
-          width="300"
+          width="380"
         >
           <template #default="{ row }">
             <!-- <el-button type="text" @click="listeningHost(row)">
@@ -257,6 +257,9 @@
             <el-button type="text" @click="allFloorDistributeByIdFn(row)">
               下发数据
             </el-button>
+            <el-button type="text" @click="allFloorDistributeImageByIdFn(row)">
+              下发人脸
+            </el-button>
             <el-button type="text" @click="handleDetail(row)">详情</el-button>
             <el-button type="text" @click="handleEdit(row)">编辑</el-button>
             <el-button type="text" @click="handleDelete(row)">删除</el-button>
@@ -292,6 +295,7 @@
     synchronization,
     allFloorDistribute,
     allFloorDistributeById,
+    allFloorDistributeImageById,
   } from './api/index'
   import {
     Delete,
@@ -394,6 +398,16 @@
         await fetchData()
         state.listLoading = false
       }
+      //下发人脸
+      const allFloorDistributeImageByIdFn = async (row) => {
+        state.listLoading = true
+        const { msg } = await allFloorDistributeImageById({
+          id: row.id,
+        })
+        $baseMessage(msg, 'success', 'vab-hey-message-success')
+        await fetchData()
+        state.listLoading = false
+      }
       //用户删除
       const handleDelete = (row) => {
         if (row.id) {
@@ -505,6 +519,7 @@
         remoteMethodAccount,
         handlePremission,
         allFloorDistributeByIdFn,
+        allFloorDistributeImageByIdFn,
         getPupilFn,
         handleImport,
         Delete,

Some files were not shown because too many files changed in this diff