| | |
| | | placeholder="请输入专家总人数" |
| | | style="width: 150px;" |
| | | @input="queryParams.num = queryParams.num.replace(/[^0-9]/g,'')" |
| | | :disabled="!state.isAble || state.newProgress >=3 " |
| | | :disabled="!state.isAble || state.newProgress >=3 || !state.isAbleNum" |
| | | |
| | | > |
| | | </el-input> |
| | |
| | | <el-table-column label="身份证号" prop="idCard" align="center" /> |
| | | <el-table-column label="等级" prop="ratingLevel" align="center" > |
| | | <template #default="scope"> |
| | | <span>{{scope.row.ratingLevel == 1 ?'一级':scope.row.ratingLevel == 1?'二级':'三级'}}</span> |
| | | <span>{{scope.row.ratingLevel == 1 ?'一级':scope.row.ratingLevel == 1?'二级':scope.row.ratingLevel == 3?'三级':scope.row.ratingLevel == 10?'库外':''}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="专业领域" prop="domain" align="center" /> |
| | |
| | | <el-table-column label="身份证号" prop="idCard" align="center" /> |
| | | <el-table-column label="等级" prop="ratingLevel" align="center" > |
| | | <template #default="scope"> |
| | | <span>{{scope.row.ratingLevel == 1 ?'一级':scope.row.ratingLevel == 2?'二级': scope.row.ratingLevel == 3?'三级' :'' }}</span> |
| | | <span>{{scope.row.ratingLevel == 1 ?'一级':scope.row.ratingLevel == 1?'二级':scope.row.ratingLevel == 3?'三级':scope.row.ratingLevel == 10?'库外':''}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column label="专业领域" prop="domain" align="center" /> |
| | |
| | | projectId: null, |
| | | newProgress: null, |
| | | randomNum:0, |
| | | isAble: true |
| | | isAble: true, |
| | | isAbleNum: true |
| | | }) |
| | | const choosedRandomList = ref([]) |
| | | const userInfo = ref() |
| | |
| | | state.randomNum = Number(item.randomNum) |
| | | } |
| | | }) |
| | | } |
| | | if(state.randomNum > 0){ |
| | | state.isAbleNum = false |
| | | } |
| | | if(state.randomNum == 3){ |
| | | state.isAble = false |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | const random = async () => { |
| | | console.log('first',firstRandomList.value) |
| | | firstRandomList.value.forEach(item => { |
| | |
| | | randomNum: state.randomNum |
| | | } |
| | | saveObjectToLocalStorage('randomNum',obj) |
| | | if(state.randomNum > 0){ |
| | | state.isAbleNum = false |
| | | } |
| | | if(state.randomNum == 3){ |
| | | state.isAble = false |
| | | } |