@ -40,12 +40,28 @@
< / e l - f o r m >
< / e l - f o r m >
< / 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 = "username" label = "姓名" min -width = " 30 0" >
< el -table -column prop = "username" label = "姓名" min -width = " 15 0" >
< template slot -scope = " scope " >
< template slot -scope = " scope " >
< div >
< div >
{ { scope . row . username } } < el -tag type = "info" > { { scope . row . quoteStartTime } } ~ { { scope . row . quoteEndTime } } < / e l - t a g > < e l - t o o l t i p c o n t e n t = " 报 价 金 额 " > < e l - t a g t y p e = " d a n g e r " > { { s c o p e . r o w . q u o t e A m o u n t } } 元 < / e l - t a g > < / e l - t o o l t i p >
< el -popover trigger = "hover"
width = "400" >
{ { scope . row . username } }
< / div >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "quoteStartTime" label = "报价工期" min -width = " 150 " >
< template slot -scope = " scope " >
{ { scope . row . quoteStartTime } } ~ { { scope . row . quoteEndTime } }
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column prop = "status" label = "状态" width = "100" >
< template slot -scope = " scope " >
< el -tag v-for ="(item,index) in formatDictsWithClass(dicts,'projectTaskExecuserStatus',scope.row.status)" :key="index" :type="item.className" > {{ item.name }} < / el -tag >
< / template >
< / e l - t a b l e - c o l u m n >
< el -table -column label = "操作" width = "200" >
< template slot -scope = " scope " >
< el -row >
< el -row >
<!-- 结算状态0未结算1已部分结算2无需结算4已申请结算5结算失败6已全部结算 -- >
<!-- 结算状态0未结算1已部分结算2无需结算4已申请结算5结算失败6已全部结算 -- >
< el -button type = "primary" v-if ="scope.row.status=='7' " @click="becomeCandidate(scope.row)" > 成为候选人 < / el -button >
< el -button type = "primary" v-if ="scope.row.status=='7' " @click="becomeCandidate(scope.row)" > 成为候选人 < / el -button >
@ -54,15 +70,6 @@
< el -button type = "primary" v-if ="scope.row.status=='0'" @click="execute(scope.row)" > 成为执行人 < / el -button >
< el -button type = "primary" v-if ="scope.row.status=='0'" @click="execute(scope.row)" > 成为执行人 < / el -button >
< el -button type = "warning" v-if ="scope.row.status!='7' " @click="leave(scope.row)" > 离开任务 < / el -button >
< el -button type = "warning" v-if ="scope.row.status!='7' " @click="leave(scope.row)" > 离开任务 < / el -button >
< / e l - r o w >
< / e l - r o w >
< font slot = "reference" >
< el -link type = "primary" v-if ="scope.row.status=='0'" > 候选中 ( {{ formatToDoByStatus ( scope.row ) }} ) < / el -link >
< el -link type = "success" v -else -if = " scope.row.status = = ' 1 ' " > 执行中 ( { { formatToDoByStatus ( scope . row ) } } ) < / e l - l i n k >
< el -link type = "info" v -else -if = " scope.row.status = = ' 7 ' " > 已放弃任务 ( { { formatToDoByStatus ( scope . row ) } } ) < / e l - l i n k >
< el -link type = "danger" v -else -if = " scope.row.status = = ' 8 ' " > 黑名单 ( { { formatToDoByStatus ( scope . row ) } } ) < / e l - l i n k >
< / font >
< / e l - p o p o v e r >
< / 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 >
< / e l - t a b l e >
< / e l - t a b l e >
@ -205,6 +212,7 @@
}
}
} , / / e n d d a t a
} , / / e n d d a t a
methods : {
methods : {
... util ,
handleSizeChange ( pageSize ) {
handleSizeChange ( pageSize ) {
this . pageInfo . pageSize = pageSize ;
this . pageInfo . pageSize = pageSize ;
this . getXmTaskExecusers ( ) ;
this . getXmTaskExecusers ( ) ;