@ -127,7 +127,6 @@
prop = "name"
prop = "name"
class - name = "title"
class - name = "title"
label = "计划名称"
label = "计划名称"
min - width = "300"
>
>
< template slot = "header" >
< template slot = "header" >
< div style = "display:flex;" >
< div style = "display:flex;" >
@ -145,23 +144,15 @@
< / div >
< / div >
-- >
-- >
< span class = "hidden-md-and-down" >
< span class = "hidden-md-and-down" >
{ { scope . row . sortLevel } } & nbsp ; < / span > < span > { { scope . row . name } }
{ { scope . row . sortLevel } } & nbsp ;
< / span >
< span > { { scope . row . name } }
< / span >
< / span >
< el -link
style = "border-radius: 30px"
: type = "scope.row.rate >= 100 ? 'success' : 'warning'"
@ click . stop = "calcProgress(scope.row)"
class = "el-icon-refresh"
>
{ { ( scope . row . rate != null ? scope . row . rate : 0 ) + "%" } }
< / e l - l i n k >
< el -tag class = "hidden-md-and-down" v-for ="(item,index) in formatDictsWithClass(dicts,'taskState',scope.row.taskState)" :key="index" :type="item.className" > {{ item.name }} < / el -tag >
< div class = "tool-bar" >
< div class = "tool-bar left" >
< span class = "u-btn" >
< span class = "u-btn" >
< el -popover
< el -popover
placement = "top-start"
placement = "top-start"
title = "选择创建计划/任务的方式"
title = "选择创建计划/任务的方式"
width = "300"
trigger = "click"
trigger = "click"
>
>
< el -row >
< el -row >
@ -195,11 +186,22 @@
< el -button @ click.stop = " showSubAdd ( scope.row , scope. $ index , ' 1 ' ) " icon = "el-icon-plus" title = "新建子计划" > 直接创建子计划 < / e l - b u t t o n >
< el -button @ click.stop = " showSubAdd ( scope.row , scope. $ index , ' 1 ' ) " icon = "el-icon-plus" title = "新建子计划" > 直接创建子计划 < / e l - b u t t o n >
< / e l - r o w >
< / e l - r o w >
< / e l - r o w >
< / e l - r o w >
< el -button slot = "reference" : style = "{backgroundColor: '#E6A23C'}" icon = "el-icon-plus" title = "新建子计划" circle plain > < / e l - b u t t o n >
< el -button slot = "reference" icon = "el-icon-plus" title = "新建子计划" circle plain > < / e l - b u t t o n >
< / e l - p o p o v e r >
< / e l - p o p o v e r >
< el -button @ click.stop = " showEdit ( scope.row , scope. $ index ) " icon = "el-icon-edit" title = "编辑" circle plain > < / e l - b u t t o n >
< el -button @ click.stop = " showEdit ( scope.row , scope. $ index ) " icon = "el-icon-edit" title = "编辑" circle plain > < / e l - b u t t o n >
< / span >
< / span >
< / div >
< / div >
< el -tag style = "float: right;" class = "hidden-md-and-down" v-for ="(item,index) in formatDictsWithClass(dicts,'taskState',scope.row.taskState)" :key="index" :type="item.className" > {{ item.name }} < / el -tag >
< el -link
style = "border-radius: 30px; float: right;"
: type = "scope.row.rate >= 100 ? 'success' : 'warning'"
@ click . stop = "calcProgress(scope.row)"
class = "el-icon-refresh"
>
{ { ( scope . row . rate != null ? scope . row . rate : 0 ) + "%" } }
< / 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 >
< / e l - t a b l e >
< / e l - t a b l e >
@ -1141,5 +1143,8 @@ export default {
overflow - x : auto ;
overflow - x : auto ;
overflow - y : hidden ;
overflow - y : hidden ;
}
}
. tool - bar . left {
transform : translate ( - 160 % , - 50 % ) ;
}
< / style >
< / style >