diff --git a/src/views/xm/core/xmProject/XmProjectInfo.vue b/src/views/xm/core/xmProject/XmProjectInfo.vue index ea5e3f2f..d66899e8 100644 --- a/src/views/xm/core/xmProject/XmProjectInfo.vue +++ b/src/views/xm/core/xmProject/XmProjectInfo.vue @@ -1,169 +1,171 @@ @@ -189,7 +191,7 @@ import xmBudget from './XmProjectBudgetCost'; import xmContract from '../xmProjectContract/XmProjectContractMng'; import xmEnvList from '../xmProjectEnvList/XmProjectEnvListMng'; - import xmProjectPhaseMng from '../xmProjectPhase/XmProjectPhaseMng'; + import xmProjectPhaseMng from '../xmProjectPhase/XmProjectPhaseMng'; import xmMenuMng from '../xmMenu/XmMenuMng'; import xmMenuWithPlan from '../xmMenu/XmMenuWithPlan'; import xmProjectStateMng from '../xmProjectState/XmProjectStateMng'; @@ -197,28 +199,29 @@ import xmIterationMng from '../xmIteration/XmIterationMng'; import xmProductMng from '../xmProduct/XmProductMng'; import XmIterationComplex from '../xmIteration/XmIterationComplex.vue'; + import XmProjectOverview from "./XmProjectOverview"; - export default { + export default { props: ["selProject","visible"], computed: { ...mapGetters([ 'userInfo','roles' - ]), - }, + ]), + }, watch:{ selProject:function(selProject){ var oldInfotype=this.infotype this.infotype='' this.$nextTick(()=>{ - + this.infotype=oldInfotype }) - + } }, data() { - return { + return { platformViewVisible:false, tabPosition:'left', infotype:"项目概览", @@ -228,27 +231,27 @@ /**end 自定义属性请在上面加 请加备注**/ } },//end data - methods: { - + methods: { + afterEditSubmit:function(project){ this.$emit("submit",project) }, - toArchive:function(){ + toArchive:function(){ this.$router.push({ path: "/mdp/arc/mate/archive/ArchiveMng" - }); + }); }, toIm:function(){ this.groupUserVisible=true }, - toHelpMe:function(){ + toHelpMe:function(){ this.$router.push({ path: "/mdp/im/messages/crmChat", query:{ categoryId:'css', sendContent:'咨询' } - }); + }); }, handleMenuSelect(menuId){ this.infotype=menuId @@ -257,7 +260,7 @@ if(this.groupUserVisible==true){ var query={} if(users){ - if( users.length==1 ){ + if( users.length==1 ){ var user=users[0] query.toUserid=user.userid query.toUsername=user.username @@ -271,10 +274,10 @@ this.$router.push({ path: "/mdp/im/messages/messageChat", query: query - }); + }); } - - + + }, setInfotype(infotype){ this.infotype=infotype; @@ -302,10 +305,10 @@ keyList = ['seqNo', 'menuName', 'planStatus', 'chargeUsername', 'onlineTime', 'planStartTime', 'actStartTime', 'planEndTime', 'actEndTime', 'planWorkload', 'actWorkload', 'planCostAmount', 'actCostAmount', 'finishRate', 'demandRate', 'designRate', 'devRate', 'sitRate', 'uatRate', 'onlineStatus']; list = this.$refs.xmMenuWithPlan.xmMenusTreeData; pageNum = this.$refs.xmMenuWithPlan.pageInfo.pageNum; - } + } const filename = `${this.selProject.name}_${this.infotype}_第${pageNum}页`; const data = this.formatJson(keyList, list); - + import('@/vendor/Export2Excel').then(excel => { excel.export_json_to_excel({ header, @@ -395,15 +398,16 @@ goBack(){ this.$router.back() } - + },//end methods - components: { + components: { + XmProjectOverview, xmTaskMng, xmProjectPhaseMng, xmGroupMng, xmExchange, xmQuestion, - xmFileMng, + xmFileMng, xmDetail, xmProjectKpi, xmRecord, @@ -421,19 +425,19 @@ XmIterationComplex, //在下面添加其它组件 }, - mounted() { + mounted() { this.$nextTick(() => { - - }); + + }); } } - \ No newline at end of file + diff --git a/src/views/xm/core/xmProject/XmProjectOverview.vue b/src/views/xm/core/xmProject/XmProjectOverview.vue new file mode 100644 index 00000000..94b733a8 --- /dev/null +++ b/src/views/xm/core/xmProject/XmProjectOverview.vue @@ -0,0 +1,578 @@ + + + + + + +