Explorar el Código

OKR-项目-BUG修复版本1

guojy hace 1 año
padre
commit
dd9ab435a7
Se han modificado 2 ficheros con 4 adiciones y 4 borrados
  1. 3 3
      src/main.js
  2. 1 1
      src/okr/views/targetMap/targetMap.vue

+ 3 - 3
src/main.js

@@ -10,8 +10,8 @@ import store from './store'
 import {getDept,openUrl, getToken, getTyps, getTypsName, supremeAuthority, getUserData, getEmployeeMap,getEmployeeMapAll,getEmployeeMapItem,getIsIdentity,getCache,setCache,removeCache,returnDeptName,getIsAdministrator} from '@/utils/auth'
 import './performanceSet' // 绩效系统相关配置
 import {onFilePreView } from '@/okr/utils/auth';
-// import { VueOkrTree } from "vue-okr-tree";
-// import "vue-okr-tree/dist/vue-okr-tree.css";
+import { VueOkrTree } from "vue-okr-tree";
+import "vue-okr-tree/dist/vue-okr-tree.css";
 import 'shepherd.js/dist/css/shepherd.css';
 
 import './icons'
@@ -33,7 +33,7 @@ Vue.component('userImage', UserImage)
 Vue.component('NoData', noData)
 Vue.component('BrawerBox', BrawerBox)
 Vue.component('TaskItem', TaskItem)
-// Vue.component('VueOkrTree', VueOkrTree)
+Vue.component('VueOkrTree', VueOkrTree)
 Vue.use(Element, {
   size: 'medium',
 })

+ 1 - 1
src/okr/views/targetMap/targetMap.vue

@@ -3,7 +3,7 @@
    <header class="header">
         <template v-if="isShow">
         <div class="flex-box-ce" style="margin-bottom: 10px;">
-          <div class="flex-1" style="font-size: 18px;font-weight: 700;">目标对齐</div>
+          <div class="flex-1" style="font-size: 18px;font-weight: 700;">目标地图</div>
           <SelectPeriod :dateParameter="dateParameter" @confirm="dateConfirm" :id="1">
               <div class="flex-box-ce gAdPnf">
                 <div>{{dateParameter.year}}年</div>