| | |
| | | <el-form-item label="关联模型" prop="models"> |
| | | <el-transfer :props="{key: 'id',label: 'pyName'}" :titles="['未选模型', '已选模型']" target-order="unshift" filterable :filter-method="filterMethod" v-model="formData.models" :data="modelList"> |
| | | <template #default="{ option }"> |
| | | <span :title="option.pyName">{{ option.pyName}}</span> |
| | | <span :title="option.pyChineseName">{{ option.pyName}}</span> |
| | | </template> |
| | | </el-transfer> |
| | | </el-form-item> |
| | |
| | | </Dialog> |
| | | </template> |
| | | <script lang="ts" setup> |
| | | import * as ProjectApi from '@/api/mpk/project' |
| | | import * as MpkApi from '@/api/mpk/mpk' |
| | | import * as ProjectApi from '@/api/model/mpk/project' |
| | | import * as MpkApi from '@/api/model/mpk/mpk' |
| | | import {FormRules} from 'element-plus' |
| | | |
| | | |