Browse Source

项目管理

ZaiZai 1 year ago
parent
commit
0d465dfb69
4 changed files with 8 additions and 9 deletions
  1. 1 1
      package.json
  2. 2 2
      src/components/directive/index.js
  3. 1 2
      src/views/project/modules/list/info-dialog.vue
  4. 4 4
      yarn.lock

+ 1 - 1
package.json

@@ -21,7 +21,7 @@
         "dayjs": "^1.11.10",
         "echarts": "^5.5.0",
         "element-plus": "2.6.1",
-        "hc-vue3-ui": "^3.3.0",
+        "hc-vue3-ui": "^3.3.2",
         "js-base64": "^3.7.7",
         "js-fast-way": "^0.4.6",
         "js-md5": "^0.8.3",

+ 2 - 2
src/components/directive/index.js

@@ -1,9 +1,9 @@
 import { vAuthBtn } from './auth-btn'
-import { vDelCom } from './del-com'
+//import { vDelCom } from './del-com'
 
 //注册自定义指令
 export const setupDirective = (App) => {
     //自定义指令
     App.directive('auth-btn', vAuthBtn)
-    App.directive('del-com', vDelCom)
+    //App.directive('del-com', vDelCom)
 }

+ 1 - 2
src/views/project/modules/list/info-dialog.vue

@@ -54,7 +54,6 @@
 </template>
 
 <script setup>
-import { delMessage } from 'hc-vue3-ui'
 import { ref, watch } from 'vue'
 import { deepClone, getArrValue, getObjValue, isNullES } from 'js-fast-way'
 import mainApi from '~api/project/project'
@@ -119,7 +118,7 @@ const dialogClose = () => {
 }
 
 //删除项目
-const delProject = async () => {
+const delProject = async (val) => {
     if (isNullES(projectId.value)) return
     const { error, code, msg } = await mainApi.del(projectId.value)
     if (!error && code === 200) {

+ 4 - 4
yarn.lock

@@ -1987,10 +1987,10 @@ has-flag@^4.0.0:
   resolved "http://39.108.216.210:9000/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b"
   integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==
 
-hc-vue3-ui@^3.3.0:
-  version "3.3.0"
-  resolved "http://39.108.216.210:9000/hc-vue3-ui/-/hc-vue3-ui-3.3.0.tgz#bf179cab0ed6b67df0d410be40a1649e13fb0653"
-  integrity sha512-lmSZUY9/5lZUBwC3XRxXBQw3z2hnYBArP/gr06Z+7es0cjiUVK0xrg45MU9nwpOjLq1Fyq6IidPOQYou3BUJkA==
+hc-vue3-ui@^3.3.2:
+  version "3.3.2"
+  resolved "http://39.108.216.210:9000/hc-vue3-ui/-/hc-vue3-ui-3.3.2.tgz#ee4b0181c8496c7a1b0552c96b34750be8c5c76e"
+  integrity sha512-v+ShGa9Qr7Caa3XLhUsPkWoBw+qPG91q1xr+2TZ/MW3dxNf0uwK2QXZuV4/vYt3x10yqZ0jLC3nieGO40dlpJA==
 
 human-signals@^2.1.0:
   version "2.1.0"