zhangjintao 1 年間 前
コミット
85392b8ea4

+ 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 11:33:52-zh-mead"
+      href="static/css/loading.css?random=2023-09-07 15:30:03-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>

ファイルの差分が大きいため隠しています
+ 1 - 1
online/static/js/app.js


ファイルの差分が大きいため隠しています
+ 1 - 1
online/static/js/chunk-vendors.js


ファイルの差分が大きいため隠しています
+ 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 11:33:52
+ *  time: 2023-09-07 15:30:03
  */
 /*
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").

ファイルの差分が大きいため隠しています
+ 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 11:33:52
+ *  time: 2023-09-07 15:30:03
  */
 /*
  * 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 11:33:52
+ *  time: 2023-09-07 15:30:03
  */
 /*
  * 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 11:33:52
+ *  time: 2023-09-07 15:30:03
  */
 /*
  * 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 11:33:52
+ *  time: 2023-09-07 15:30:03
  */
 /*
  * 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 11:33:52
+ *  time: 2023-09-07 15:30:03
  */
 /*
  * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").

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

@@ -84,6 +84,15 @@ export function allFloorDistribute(params: any) {
   })
 }
 
+//单个下发数据
+export function allFloorDistributeById(params: any) {
+  return request({
+    url: '/sys/device/allFloorDistributeById',
+    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="280"
+          width="300"
         >
           <template #default="{ row }">
             <!-- <el-button type="text" @click="listeningHost(row)">
@@ -254,6 +254,9 @@
             <el-button type="text" @click="handlePremission(row)">
               关联房间
             </el-button>
+            <el-button type="text" @click="allFloorDistributeByIdFn(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>
@@ -288,6 +291,7 @@
     getList,
     synchronization,
     allFloorDistribute,
+    allFloorDistributeById,
   } from './api/index'
   import {
     Delete,
@@ -380,6 +384,16 @@
       const handlePremission = (row) => {
         state['premission'].showEdit(row)
       }
+      //下发数据
+      const allFloorDistributeByIdFn = async (row) => {
+        state.listLoading = true
+        const { msg } = await allFloorDistributeById({
+          id: row.id,
+        })
+        $baseMessage(msg, 'success', 'vab-hey-message-success')
+        await fetchData()
+        state.listLoading = false
+      }
       //用户删除
       const handleDelete = (row) => {
         if (row.id) {
@@ -490,6 +504,7 @@
         remoteMethodTruename,
         remoteMethodAccount,
         handlePremission,
+        allFloorDistributeByIdFn,
         getPupilFn,
         handleImport,
         Delete,

この差分においてかなりの量のファイルが変更されているため、一部のファイルを表示していません