@ -1,21 +1,7 @@
< template >
< section >
< el -row class = "padding-left padding-right" >
< el -col :span ="6" class = "border padding" >
< el -row >
< el -row >
您可以通过 & nbsp ; < el -button @click ="showAdd" icon = "el-icon-plus" type = "primary" plain > 项目 < / e l - b u t t o n > & n b s p ; 创 建 一 个 新 项 目
< / e l - r o w >
< el -row >
通过 & nbsp ; < el -button @click ="templateVisible=true" type = "primary" plain style = "margin-bottom:5px;" > 公共模板 < /el-button> 体验项目的过程。<br/ >
< / e l - r o w >
< el -row >
通过 & nbsp ; < el -button @click ="templateVisible=true" type = "primary" plain style = "margin-bottom:5px;" > 拷贝模板 < /el-button> 快速创建新项目。<br/ >
< / e l - r o w >
< / e l - r o w >
< / e l - c o l >
< el -col :span ="18" class = "padding-left" >
< el -col :span ="24" class = "padding-left" >
< el -row >
< xm -product -select style = "display:inline;" class = "hidden-md-and-down" :auto-select ="false" @row-click ="onProductSelected" @clear ="onProductClose" > < / xm -product -select >
< el -select v-model ="menukey" @change="handleSelect" clearable style="width:100px;" >
@ -49,7 +35,7 @@
< / e l - r o w >
< / e l - c o l >
< el -col :span ="24" style = "padding-top:5px; " class = "hidden-lg-and-up" >
< font v-if ="filters.productId" class="more-label-font" > 产品 : < / font >
< font v-if ="filters.productId" class="more-label-font" > 项目 : < / font >
< xm -product -select style = "display:inline;" :auto-select ="false" @row-click ="onProductSelected" @clear ="onProductClose" > < / xm -product -select >
< / e l - c o l >
@ -94,7 +80,7 @@
< / e l - c o l >
< el -col :span ="24" style = "padding-top:5px;" >
< el -badge value = "进阶" >
< el -button type = "primary" icon = "el-icon-plus" > 通过 【 产品 - 复制 】 一键创建新的项目 < / e l - b u t t o n >
< el -button type = "primary" icon = "el-icon-plus" > 通过 【 项目 - 复制 】 一键创建新的项目 < / e l - b u t t o n >
< / e l - b a d g e >
< / e l - c o l >
< el -col :span ="24" style = "padding-top:5px;" >
@ -107,13 +93,14 @@
< / e l - p o p o v e r >
< / span >
< / e l - r o w >
< el -row >
< el -row ref = "table1" >
<!-- 列表 XmProject xm_project -- >
< el -row v-show ="showType" v-loading="load.list" :style="{overflowX:'hidden',height:maxTableHeight+'px'}" ref="table1" >
< el -col v -cloak v-for ="(p,i) in ScreenData" :key="i" :xl="8" :lg="8" :md="12" :sm ="12" >
< el -row v -show = " showType " v -loading = " load.list " :style ="{overflowX:'hidden',height:maxTableHeight+'px'}" >
< el -row >
< el -col v -cloak v-for ="(p,i) in ScreenData" :key="i" :xl="6" :lg="8" :md="8" :sm ="12" >
< el -card @click.native ="intoInfo(p,i)" class = "project-card" shadow = "always" id = "prj-view-box" >
< div class = "project-name" title = "这是项目名称" > { { p . name } } < / div >
< div class = "project-id" > < span title = "项目代号" > { { p . code } } < / span >
< div class = "project-id" > < span title = "项目代号" > { { p . id } } < / span >
< el -tag title = "项目状态" v-for ="(item,index) in formatDictsWithClass(dicts,'projectStatus',p.status)" :key="index" :type="item.className" > {{ item.name }} < / el -tag >
< el -link id = "prj-del-btn" type = "danger" style = "font-size:14px;float:right;margin-left:2px;" title = "删除项目" @click.stop ="handleDel(p)" v-loading ="load.add" > 删除 < / el -link >
< el -link id = "prj-copy-btn" type = "primary" style = "font-size:14px;float:right;margin-left:2px;" title = "通过复制快速创建新项目" @click.stop ="onCopyToBtnClick(p)" v-loading ="load.add" > 复制 & nbsp ; < / el -link >
@ -166,8 +153,42 @@
< / e l - c a r d >
< / e l - c o l >
< / e l - r o w >
< el -row v-if ="!load.list && xmProjects.length<=0" >
< el -result icon = "info" title = "信息提示" subTitle = "没有查到相关项目,有可能是您暂时还没有项目,有可能是您无权限查询项目。" >
< template slot = "extra" >
< el -row >
< el -row >
您可以通过 & nbsp ; < el -button @click ="showAdd" icon = "el-icon-plus" type = "primary" plain > 项目 < / e l - b u t t o n > & n b s p ; 创 建 一 个 新 项 目
< / e l - r o w >
< el -row >
通过 & nbsp ; < el -button @click ="templateVisible=true" type = "primary" plain style = "margin-bottom:5px;" > 公共模板 < /el-button> 体验项目的过程。<br/ >
< / e l - r o w >
< el -row >
通过 & nbsp ; < el -button @click ="templateVisible=true" type = "primary" plain style = "margin-bottom:5px;" > 拷贝模板 < /el-button> 快速创建新项目。<br/ >
< / e l - r o w >
< / e l - r o w >
< / template >
< / e l - r e s u l t >
< / 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 -row slot = "empty" >
< el -result icon = "info" title = "信息提示" subTitle = "没有查到相关项目,有可能是您暂时还没有项目,有可能是您无权限查询项目。" >
< template slot = "extra" >
< el -row >
< el -row >
您可以通过 & nbsp ; < el -button @click ="showAdd" icon = "el-icon-plus" type = "primary" plain > 项目 < / e l - b u t t o n > & n b s p ; 创 建 一 个 新 项 目
< / e l - r o w >
< el -row >
通过 & nbsp ; < el -button @click ="templateVisible=true" type = "primary" plain style = "margin-bottom:5px;" > 公共模板 < /el-button> 体验项目的过程。<br/ >
< / e l - r o w >
< el -row >
通过 & nbsp ; < el -button @click ="templateVisible=true" type = "primary" plain style = "margin-bottom:5px;" > 拷贝模板 < /el-button> 快速创建新项目。<br/ >
< / e l - r o w >
< / e l - r o w >
< / template >
< / e l - r e s u l t >
< / e l - r o w >
< 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" >
@ -189,7 +210,7 @@
< / font >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "productCnt" label = "产品 数" sortable min -width = " 120 " >
< el -table -column prop = "productCnt" label = "项目 数" sortable min -width = " 120 " >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "iterationCnt" label = "迭代数" sortable min -width = " 120 " >
< / e l - t a b l e - c o l u m n >