@ -370,34 +370,6 @@
< / span >
< / 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
label = "优先级"
type = "level"
width = "100"
>
< template slot -scope = " scope " >
< div class = "cell-text" >
< el -button style = "display:block;" :type ="item.className" plain round v-for ="(item,index) in formatterPriorityDicts(scope.row.level)" :key ="index" > {{ item.name }} < / el -button >
< / div >
< span class = "cell-bar" >
< el -select @visible-change ="selectVisible(scope.row,$event)" v-model ="scope.row.level" placeholder="优先级" style="display:block;" @change="editXmTaskSomeFields(scope.row,'level',$event)" >
< el -option :value ="item.id" :label ="item.name" v-for ="(item,index) in dicts.priority" :key ="index" > < / el -option >
< / e l - s e l e c t >
< / span >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column
sortable
prop = "budgetWorkload"
label = "工时"
width = "150"
>
< template slot -scope = " scope " >
< span title = "实际工时 / 预算工时 或者 (剩余工时+实际工时)" > { { scope . row . actWorkload } } & nbsp ; / & n b s p ; { { s c o p e . r o w . r w o r k l o a d ? p a r s e I n t ( s c o p e . r o w . a c t W o r k l o a d ) + p a r s e I n t ( s c o p e . r o w . r w o r k l o a d ) : s c o p e . r o w . b u d g e t W o r k l o a d } } h < / s p a n >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column sortable prop = "rate" label = "进度" width = "100" >
< el -table -column sortable prop = "rate" label = "进度" width = "100" >
< template slot -scope = " scope " >
< template slot -scope = " scope " >
< el -link v -if = " scope.row.ntype = = ' 0 ' "
< el -link v -if = " scope.row.ntype = = ' 0 ' "
@ -424,21 +396,16 @@
< / div >
< / div >
< / 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
sortable
prop = "budgetWorkload"
label = "工时"
width = "150"
>
< el -table -column sortable prop = "productId" label = "产品" width = "100" show -overflow -tooltip >
< / e l - t a b l e - c o l u m n >
< el -table -column sortable prop = "projectId" label = "项目" width = "100" show -overflow -tooltip >
< / e l - t a b l e - c o l u m n >
< el -table -column sortable prop = "tagNames" label = "标签" width = "100" show -overflow -tooltip >
< template slot -scope = " scope " >
< div class = "cell-text" >
{ { scope . row . tagNames } }
< / div >
< span class = "cell-bar" >
< el -button @click ="$refs.tagDialog.open({data:scope.row,action:'editTagIds'})" > 选标签 < / el -button >
< / span >
< / template >
< template slot -scope = " scope " >
< span title = "实际工时 / 预算工时 或者 (剩余工时+实际工时)" > { { scope . row . actWorkload } } & nbsp ; / & n b s p ; { { s c o p e . r o w . r w o r k l o a d ? p a r s e I n t ( s c o p e . r o w . a c t W o r k l o a d ) + p a r s e I n t ( s c o p e . r o w . r w o r k l o a d ) : s c o p e . r o w . b u d g e t W o r k l o a d } } h < / s p a n >
< / 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
< el -table -column
sortable
sortable
@ -478,6 +445,39 @@
< / span >
< / 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 sortable prop = "productId" label = "产品" width = "100" show -overflow -tooltip >
< / e l - t a b l e - c o l u m n >
< el -table -column sortable prop = "projectId" label = "项目" width = "100" show -overflow -tooltip >
< / e l - t a b l e - c o l u m n >
< el -table -column sortable prop = "tagNames" label = "标签" width = "100" show -overflow -tooltip >
< template slot -scope = " scope " >
< div class = "cell-text" >
{ { scope . row . tagNames } }
< / div >
< span class = "cell-bar" >
< el -button @click ="$refs.tagDialog.open({data:scope.row,action:'editTagIds'})" > 选标签 < / el -button >
< / span >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column
label = "优先级"
type = "level"
width = "100"
>
< template slot -scope = " scope " >
< div class = "cell-text" >
< el -button style = "display:block;" :type ="item.className" plain round v-for ="(item,index) in formatterPriorityDicts(scope.row.level)" :key ="index" > {{ item.name }} < / el -button >
< / div >
< span class = "cell-bar" >
< el -select @visible-change ="selectVisible(scope.row,$event)" v-model ="scope.row.level" placeholder="优先级" style="display:block;" @change="editXmTaskSomeFields(scope.row,'level',$event)" >
< el -option :value ="item.id" :label ="item.name" v-for ="(item,index) in dicts.priority" :key ="index" > < / el -option >
< / e l - s e l e c t >
< / span >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column
< el -table -column
sortable
sortable
prop = "startTime"
prop = "startTime"