5 changed files with 150 additions and 23 deletions
-
6src/router/routes_xm.js
-
42src/views/xm/core/xmGroup/XmGroupForProject.vue
-
34src/views/xm/core/xmProject/top-nav.vue
-
44src/views/xm/core/xmQuestion/XmQuestionForProject.vue
-
47src/views/xm/core/xmTask/XmTaskListForProject.vue
@ -0,0 +1,42 @@ |
|||
<template> |
|||
<section class="padding"> |
|||
<xm-group-mng :sel-project="projectInfo" :visible="projectInfo && projectInfo.id"></xm-group-mng> |
|||
</section> |
|||
</template> |
|||
|
|||
<script> |
|||
import util from '@/common/js/util';//全局公共库 |
|||
|
|||
import { listXmProject } from '@/api/xm/core/xmProject'; |
|||
import { mapGetters } from 'vuex'; |
|||
import XmGroupMng from './XmGroupMng' |
|||
|
|||
export default { |
|||
computed: { |
|||
...mapGetters([ |
|||
'userInfo','roles','projectInfo' |
|||
]), |
|||
}, |
|||
watch:{ |
|||
|
|||
}, |
|||
data() { |
|||
return { |
|||
} |
|||
},//end data |
|||
methods: { |
|||
|
|||
},//end methods |
|||
components: { |
|||
XmGroupMng, |
|||
//在下面添加其它组件 |
|||
}, |
|||
activated(){ |
|||
}, |
|||
mounted() { |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style scoped> |
|||
</style> |
|||
@ -0,0 +1,44 @@ |
|||
<template> |
|||
<xm-question-mng class="padding-top" :sel-project="projectInfo"></xm-question-mng> |
|||
</template> |
|||
|
|||
<script> |
|||
import util from '@/common/js/util';//全局公共库 |
|||
|
|||
import config from '@/common/config';//全局公共库 |
|||
|
|||
import XmQuestionMng from './XmQuestionMng';//修改界面 |
|||
import { mapGetters } from 'vuex' |
|||
|
|||
export default { |
|||
computed: { |
|||
...mapGetters([ |
|||
'userInfo','roles','projectInfo' |
|||
]), |
|||
}, |
|||
|
|||
data() { |
|||
|
|||
return { |
|||
|
|||
|
|||
} |
|||
|
|||
},//end data |
|||
methods: { |
|||
|
|||
|
|||
},//end methods |
|||
components: { |
|||
XmQuestionMng |
|||
}, |
|||
mounted() { |
|||
|
|||
} |
|||
} |
|||
|
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
|
|||
</style> |
|||
@ -0,0 +1,47 @@ |
|||
<template> |
|||
<section> |
|||
<xm-task-mng :sel-project="projectInfo" ptype="0" query-scope="task"></xm-task-mng> |
|||
</section> |
|||
</template> |
|||
|
|||
<script> |
|||
import Vue from 'vue' |
|||
import util from '@/common/js/util';//全局公共库 |
|||
import { mapGetters } from 'vuex' |
|||
import XmTaskMng from './XmTaskMng.vue'; |
|||
|
|||
export default { |
|||
computed: { |
|||
...mapGetters([ |
|||
'userInfo','roles','projectInfo' |
|||
]), |
|||
}, |
|||
watch: { |
|||
|
|||
}, |
|||
data() { |
|||
return { |
|||
|
|||
/**end 自定义属性请在上面加 请加备注**/ |
|||
} |
|||
},//end data |
|||
methods: { |
|||
|
|||
|
|||
/**end 自定义函数请在上面加**/ |
|||
|
|||
},//end methods |
|||
components: { |
|||
XmTaskMng |
|||
|
|||
//在下面添加其它组件 |
|||
}, |
|||
mounted() { |
|||
|
|||
} |
|||
} |
|||
|
|||
</script> |
|||
|
|||
<style scoped> |
|||
</style> |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue