109 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
			
		
		
	
	
			109 lines
		
	
	
		
			3.2 KiB
		
	
	
	
		
			Plaintext
		
	
	
| <template>
 | |
|   <div>
 | |
|     <div>
 | |
|       <div style="line-height: 32px">
 | |
|         当前项目阅片模式为:{{ $fd('ReadingMethod', ReadingType) }}
 | |
|       </div>
 | |
|       <div style="line-height: 32px;margin-bottom: 10px;">
 | |
|         当前选择裁判为:<el-tag v-if="TaskAllocationRuleSelectList.length">{{ TaskAllocationRuleSelectList.map(v => `${v.UserName}(${v.FullName})`).toString() }}</el-tag>
 | |
|       </div>
 | |
|     </div>
 | |
|     <el-table
 | |
|       v-loading="loading"
 | |
|       border
 | |
|       :data="TaskAllocationRuleList"
 | |
|       stripe
 | |
|       @selection-change="handleTaskAllocationRuleListSelectChange"
 | |
|     >
 | |
|       <el-table-column :selectable="selectable" type="selection" align="left" width="45" />
 | |
|       <el-table-column
 | |
|         prop="UserName"
 | |
|         label="阅片人"
 | |
|         min-width="180"
 | |
|         show-overflow-tooltip
 | |
|       >
 | |
|         <template slot-scope="scope">
 | |
|           {{ `${scope.row.UserName}(${scope.row.FullName})` }}
 | |
|         </template>
 | |
|       </el-table-column>
 | |
|       <el-table-column
 | |
|         prop="PlanReadingRatio"
 | |
|         label="计划受试者比例"
 | |
|         min-width="130"
 | |
|         show-overflow-tooltip
 | |
|       >
 | |
|         <template slot-scope="scope">
 | |
|           {{ scope.row.PlanReadingRatio ? scope.row.PlanReadingRatio + '%' : '0%' }}
 | |
|         </template>
 | |
|       </el-table-column>
 | |
|       <el-table-column
 | |
|         prop="UserName"
 | |
|         label="当前受试者比例"
 | |
|         min-width="120"
 | |
|         show-overflow-tooltip
 | |
|       >
 | |
|         <template slot-scope="scope">
 | |
|           {{ scope.row.ApplyedTotalSubjectCount > 0 ? (scope.row.SelfApplyedSubjectCount * 100 / scope.row.ApplyedTotalSubjectCount).toFixed(2) + '%' : '0%' }}
 | |
|         </template>
 | |
|       </el-table-column>
 | |
|       <el-table-column
 | |
|         prop="UserName"
 | |
|         label="已分配任务比例"
 | |
|         min-width="120"
 | |
|         show-overflow-tooltip
 | |
|       >
 | |
|         <template slot-scope="scope">
 | |
|           {{ scope.row.ApplyedTotalTaskCount > 0 ? (scope.row.SelfApplyedTaskCount * 100 / scope.row.ApplyedTotalTaskCount).toFixed(2) + '%' : '0%' }}
 | |
|         </template>
 | |
|       </el-table-column>
 | |
|       <el-table-column
 | |
|         prop="UserName"
 | |
|         label="已分配总任务量"
 | |
|         min-width="120"
 | |
|         show-overflow-tooltip
 | |
|       >
 | |
|         <template slot-scope="scope">
 | |
|           {{ scope.row.SelfApplyedTaskCount }}
 | |
|         </template>
 | |
|       </el-table-column>
 | |
|       <el-table-column
 | |
|         prop="UserName"
 | |
|         label="待处理任务量"
 | |
|         min-width="120"
 | |
|         show-overflow-tooltip
 | |
|       >
 | |
|         <template slot-scope="scope">
 | |
|           {{ scope.row.SelfUndoTaskCount }}
 | |
|         </template>
 | |
|       </el-table-column>
 | |
|       <el-table-column
 | |
|         prop="IsEnable"
 | |
|         label="状态"
 | |
|         min-width="100"
 | |
|         show-overflow-tooltip
 | |
|       >
 | |
|         <template slot-scope="scope">
 | |
|           <el-tag v-if="!scope.row.IsEnable" type="danger">{{ $fd('IsEnable', scope.row.IsEnable) }}</el-tag>
 | |
|           <el-tag v-else>{{ $fd('IsEnable', scope.row.IsEnable) }}</el-tag>
 | |
|         </template>
 | |
|       </el-table-column>
 | |
|       <el-table-column
 | |
|         prop="Note"
 | |
|         label="备注"
 | |
|         min-width="100"
 | |
|         show-overflow-tooltip
 | |
|       />
 | |
|     </el-table>
 | |
|   </div>
 | |
| </template>
 | |
| 
 | |
| <script>
 | |
| export default {
 | |
| name: "ManualAllocationTable"
 | |
| }
 | |
| </script>
 | |
| 
 | |
| <style scoped>
 | |
| 
 | |
| </style>
 |