@ -152,14 +152,14 @@
< / e l - r o w >
< / e l - r o w >
< el -table ref = "table" :height ="maxTableHeight" v -cloak v-show ="!showType" fit stripe :data="ScreenData" @sort-change="sortChange" highlight-current-row v-loading="load.list" @selection-change="selsChange" @row-click="rowClick" style="width: 100%;" >
< el -table ref = "table" :height ="maxTableHeight" v -cloak v-show ="!showType" fit stripe :data="ScreenData" @sort-change="sortChange" highlight-current-row v-loading="load.list" @selection-change="selsChange" @row-click="rowClick" style="width: 100%;" >
< el -table -column type = "index" label = "序号" width = "60" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "id" label = "项目编码" width = "120 " sortable show -overflow -tooltip > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "name" label = "标题" sortable min -width = " 200 " >
< el -table -column type = "index" label = "序号" width = "60" fixed = "left" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "id" label = "项目编码" min -width = " 150 " sortable show -overflow -tooltip fixed = "left" > < / e l - t a b l e - c o l u m n >
< el -table -column prop = "name" label = "标题" sortable min -width = " 250 " fixed = "left" >
< template slot -scope = " scope " >
< template slot -scope = " scope " >
< el -link type = "primary" @click.stop ="intoInfo(scope.row)" > { { scope . row . name } } < / e l - l i n k >
< el -link type = "primary" @click.stop ="intoInfo(scope.row)" > { { scope . row . name } } < / e l - l i n k >
< / template >
< / template >
< / e l - t a b l e - c o l u m n >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "status" label = "状态" width = "80 sortable" :formatter ="formatterByDicts " >
< el -table -column prop = "status" label = "状态" width = "100" sortable fixed = "left " >
< template slot -scope = " scope " >
< template slot -scope = " scope " >
< el -tag v-for ="(item,index) in formatDictsWithClass(dicts,'projectStatus',scope.row.status)" :key="index" :type="item.className" > {{ item.name }} < / el -tag >
< el -tag v-for ="(item,index) in formatDictsWithClass(dicts,'projectStatus',scope.row.status)" :key="index" :type="item.className" > {{ item.name }} < / el -tag >
< / template >
< / template >
@ -173,21 +173,21 @@
< / font >
< / font >
< / template >
< / template >
< / e l - t a b l e - c o l u m n >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "productCnt" label = "产品数" sortable min -width = " 8 0" >
< el -table -column prop = "productCnt" label = "产品数" sortable min -width = " 12 0" >
< / e l - t a b l e - c o l u m n >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "iterationCnt" label = "迭代数" sortable min -width = " 8 0" >
< el -table -column prop = "iterationCnt" label = "迭代数" sortable min -width = " 12 0" >
< / e l - t a b l e - c o l u m n >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "menuCnt" label = "需求数" sortable min -width = " 8 0" >
< el -table -column prop = "menuCnt" label = "需求数" sortable min -width = " 12 0" >
< template slot -scope = " scope " >
< template slot -scope = " scope " >
< span title = "完成的需求数 / 需求总数 " > { { scope . row . menuCnt > 0 ? scope . row . menuFinishCnt + ' / ' + scope . row . menuCnt : '' } } < / span >
< span title = "完成的需求数 / 需求总数 " > { { scope . row . menuCnt > 0 ? scope . row . menuFinishCnt + ' / ' + scope . row . menuCnt : '' } } < / span >
< / template >
< / template >
< / e l - t a b l e - c o l u m n >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "taskCnt" label = "任务数" sortable min -width = " 8 0" >
< el -table -column prop = "taskCnt" label = "任务数" sortable min -width = " 12 0" >
< template slot -scope = " scope " >
< template slot -scope = " scope " >
< span title = "完成的任务数 / 任务总数 " > { { scope . row . taskCnt > 0 ? scope . row . taskFinishCnt + ' / ' + scope . row . taskCnt : '' } } < / span >
< span title = "完成的任务数 / 任务总数 " > { { scope . row . taskCnt > 0 ? scope . row . taskFinishCnt + ' / ' + scope . row . taskCnt : '' } } < / span >
< / template >
< / template >
< / e l - t a b l e - c o l u m n >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "bugCnt" label = "缺陷" sortable min -width = " 8 0" >
< el -table -column prop = "bugCnt" label = "缺陷" sortable min -width = " 12 0" >
< template slot -scope = " scope " >
< template slot -scope = " scope " >
< span title = "关闭的缺陷数 / 缺陷总数 " > { { scope . row . bugCnt > 0 ? scope . row . closedBugs + ' / ' + scope . row . bugCnt : '' } } < / span >
< span title = "关闭的缺陷数 / 缺陷总数 " > { { scope . row . bugCnt > 0 ? scope . row . closedBugs + ' / ' + scope . row . bugCnt : '' } } < / span >
< / template >
< / template >
@ -197,7 +197,7 @@
{ { scope . row . startTime ? scope . row . startTime . substr ( 0 , 10 ) : "" } } ~ { { scope . row . endTime ? scope . row . endTime . substr ( 0 , 10 ) : "" } }
{ { scope . row . startTime ? scope . row . startTime . substr ( 0 , 10 ) : "" } } ~ { { scope . row . endTime ? scope . row . endTime . substr ( 0 , 10 ) : "" } }
< / template >
< / template >
< / e l - t a b l e - c o l u m n >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "bizFlowState" label = "审批状态" min -width = " 8 0" >
< el -table -column prop = "bizFlowState" label = "审批状态" min -width = " 12 0" >
< template slot -scope = " scope " >
< template slot -scope = " scope " >
< el -tag v-for ="(item,index) in formatDictsWithClass(dicts,'bizFlowState',scope.row.bizFlowState)" :key="index" :type="item.className" > {{ item.name }} < / el -tag >
< el -tag v-for ="(item,index) in formatDictsWithClass(dicts,'bizFlowState',scope.row.bizFlowState)" :key="index" :type="item.className" > {{ item.name }} < / el -tag >
< / template >
< / template >