|
@@ -1748,6 +1748,8 @@
|
|
|
|
|
|
<script>
|
|
|
import moment from 'moment'
|
|
|
+import {mapGetters} from 'vuex';
|
|
|
+
|
|
|
import { getAction, postAction, downFile, downFilePost } from '@/api/manage'
|
|
|
import Treeselect from '@/views/modules/Statistics/components/Treeselect.vue'
|
|
|
import { TreeSelect } from 'ant-design-vue';
|
|
@@ -2149,6 +2151,7 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
|
+ ...mapGetters(['userInfo']),
|
|
|
keyDown(event){
|
|
|
if((event.keyCode>=96&&event.keyCode<=105)||(event.keyCode>=109&&event.keyCode<=111)||event.keyCode==46||event.keyCode==45||(event.keyCode>=48&&event.keyCode<=57)){
|
|
|
|
|
@@ -2482,7 +2485,7 @@ export default {
|
|
|
accountHttp(){
|
|
|
this.treeData=[];
|
|
|
this.accountIds=[];
|
|
|
- getAction('/ctop/projectMember/getProjectAccountByUserId?mediaType=2', {}).then(res => {
|
|
|
+ getAction('/ctop/projectMember/getProjectAccountByUserId?mediaType=2&userId=' + this.userInfo().id, {}).then(res => {
|
|
|
if(res.success){
|
|
|
// //console.log(res);
|
|
|
if(res.result){
|