| | |
| | | <template> |
| | | <div class="task-algorithm" v-if="showAlgorithm"> |
| | | <el-select |
| | | class="ztzf-select" |
| | | :teleported="false" |
| | | :style="{ width: setWidth }" |
| | | :style="{ width: pxToRem(setWidth) }" |
| | | v-model="ai_types" |
| | | multiple |
| | | collapse-tags |
| | |
| | | </el-select> |
| | | </div> |
| | | <div class="task-business" v-if="showBusiness"> |
| | | <el-select |
| | | <el-select class="ztzf-select" |
| | | :teleported="false" |
| | | :style="{ width: setWidth }" |
| | | :style="{ width: pxToRem(setWidth) }" |
| | | v-model="industry_type" |
| | | placeholder="请选择类型" |
| | | clearable |
| | |
| | | |
| | | <script setup> |
| | | import { getMultipleDictionary } from '@/api/job/task' |
| | | // import { pxToRem } from '@/utils/rem' |
| | | import { pxToRem } from '@/utils/rem'; |
| | | |
| | | // 接收父组件传参 |
| | | const props = defineProps({ |
| | |
| | | emit('businessChange', value) |
| | | } |
| | | |
| | | const clear = () => { |
| | | ai_types.value = [] // 清空算法选择 |
| | | handleAlgorithmChange(ai_types.value) |
| | | } |
| | | |
| | | defineExpose({ |
| | | clear, |
| | | }) |
| | | |
| | | onMounted(() => { |
| | | requestDictionary() |
| | | }) |
| | |
| | | // --el-tag-hover-color: none !important; |
| | | // color: #fff !important; |
| | | // } |
| | | ::v-deep(.ztzf-select) { |
| | | .el-select__wrapper { |
| | | z-index: 1111; |
| | | |
| | | /* 修改 Tooltip 面板样式 */ |
| | | .el-popper.is-light { |
| | | background: #fff !important; |
| | | // box-shadow: none !important; |
| | | // border: none !important; |
| | | border-radius: 4px !important; |
| | | |
| | | .el-select__selection { |
| | | max-width: 240px !important; |
| | | |
| | | .el-select__selected-item { |
| | | .el-tag { |
| | | // background: #fff !important; |
| | | // color: #000; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .el-popper__arrow::before { |
| | | // background: #fff !important; |
| | | // border: 1px solid #8d8b8b !important; |
| | | } |
| | | } |
| | | } |
| | | } |
| | | </style> |